MantisBT - VCMI
View Issue Details
0001404VCMIAI - Adventure Mappublic2013-08-05 22:572013-08-18 21:03
Povelitel 
Tow 
highcrashalways
closedfixed 
WindowsXPSP3
0.93 
 
0001404: crash turn AI
just end turn
No tags attached.
child of 0001409closed Tow Crashes during AI turn (accessing removed objects) 
rar Crash.rar (601,653) 2013-08-05 22:57
https://bugs.vcmi.eu/file_download.php?file_id=1417&type=bug
Issue History
2013-08-05 22:57PovelitelNew Issue
2013-08-05 22:57PovelitelStatusnew => assigned
2013-08-05 22:57PovelitelAssigned To => Tow
2013-08-05 22:57PovelitelFile Added: Crash.rar
2013-08-05 23:19TowNote Added: 0003839
2013-08-05 23:19TowStatusassigned => confirmed
2013-08-05 23:19TowNote Edited: 0003839bug_revision_view_page.php?bugnote_id=3839#r2365
2013-08-05 23:29PovelitelNote Added: 0003840
2013-08-05 23:38PovelitelNote Added: 0003841
2013-08-13 14:22TowNote Added: 0003845
2013-08-15 15:19TowNote Added: 0003846
2013-08-15 15:19TowRelationship addedchild of 0001409
2013-08-15 23:04PovelitelNote Added: 0003861
2013-08-15 23:31TowNote Added: 0003862
2013-08-16 07:54PovelitelNote Added: 0003863
2013-08-16 11:07TowNote Added: 0003864
2013-08-17 07:15PovelitelNote Added: 0003867
2013-08-17 07:16PovelitelNote Edited: 0003867bug_revision_view_page.php?bugnote_id=3867#r2379
2013-08-17 07:17PovelitelNote Edited: 0003867bug_revision_view_page.php?bugnote_id=3867#r2380
2013-08-17 20:47TowNote Added: 0003868
2013-08-18 21:03TowNote Added: 0003870
2013-08-18 21:03TowStatusconfirmed => closed
2013-08-18 21:03TowResolutionopen => fixed

Notes
(0003839)
Tow   
2013-08-05 23:19   
Hi,
first of all, many thanks for submitting all the reports. It's quite a number of them!

I believe I have found a few possible scenarios leading to crashes you are observing. It's hard to debug because the time between the bug occurrence and its manifestation (crash) is long, often the savegames itself are corrupted. [It's most likely the same root cause that causes crash on save, like 0001391.]
I'm going to fix them by the next release (or at least make it a non-crashing issue), so by then there is no need to send further reports on crashes during AI turn.
Please let us know if the issues will be still present at the next release. :)

(0003840)
Povelitel   
2013-08-05 23:29   
Good :) I temporarily ceasing reports.
(In my opinion the easiest to test when 8 players).
(0003841)
Povelitel   
2013-08-05 23:38   
Do not think for being rude, but it would be more difficult AI :). Very, very weak. Do not even feel.

sorry for my english - google translate
(0003845)
Tow   
2013-08-13 14:22   
Well, I am aware that AI plays poorly and I really would like to improve it. Unfortunately, I don't have much time at the moment, but… sooner or later AI will be improved. By me or by another developer.
(0003846)
Tow   
2013-08-15 15:19   
Fixed I believe, played over a month without crash. Commit notice will be put in 0001409.
(0003861)
Povelitel   
2013-08-15 23:04   
Excellent! I'll wait for the new version!
I have an idea, can you make an analog of the original game cheat " gosolo " To make it more convenient and easier to test?
You by the same developers will be much easier ...
(0003862)
Tow   
2013-08-15 23:31   
Not exactly like "gosolo" but VCMI already provides means for running game with only AIs by command line parameters:
--onlyAI - runs game without GUI and human player (all are controlled by AI)
--autoSkip - automatically skips turns of human player (stops skipping when shift is pressed)

Thanks to them it is possible to run many months-long games without interaction.
(0003863)
Povelitel   
2013-08-16 07:54   
Very valuable information.
If there was a beta version, I would be deeply engaged in testing. To these fixes included in the version of September 1. (After all, if what that patch does not fall into this version, you'll have to wait another three months, which is very long)

The worst bugs are those - when the game itself does not allow you to play. And this happens on the go computer player.
(0003864)
Tow   
2013-08-16 11:07   
> The worst bugs are those - when the game itself does not allow you to play. And this happens on the go computer player.

Yeah, I know. And I feel bad about having released 0.93 with such annoying bug. I will make sure that fix will be included in the next build.


> If there was a beta version, I would be deeply engaged in testing. To these fixes included in the version of September 1. (After all, if what that patch does not fall into this version, you'll have to wait another three months, which is very long)

There will be preview development builds before 0.94. I will gladly welcome your help with testing. If the bug is not fixed properly, we can delay 0.94 or rush some bugfix build. :)
(0003867)
Povelitel   
2013-08-17 07:15   
(edited on: 2013-08-17 07:17)
Perhaps the complexity of translation ...
You can compile a beta version? (for windows) So I started doing this right now?

(0003868)
Tow   
2013-08-17 20:47   
VCMI source code is publicly available, you can get the latest version from the repository and build it on your own: http://wiki.vcmi.eu/index.php?title=How_to_build_VCMI_%28Windows%29 [^]

However this will be difficult on Windows XP — Visual Studio 2012 requires Windows 7, so you'll need to build VCMI with MinGW. There is no tutorial on how to do this. You can try using CMake to generate Makefile (or project files for some IDE) but this will most likely need a lot of manual tweaks.
If you don't have experience with MinGW, I'd suggest just waiting for the delopment build release.
(0003870)
Tow   
2013-08-18 21:03   
Covered by 0001409 and fixed in r3501.