Page 1 of 1

Game freezes on end turn

Posted: Mon Aug 10, 2009 7:48 pm
by Harain
Basically, the turn never finishes, it locks after the events phase, before the naval phase.

Including the autosave (changed the human players so it starts with Russia, just end turn after loading) and the ConsoleOut.txt

Really hope you can figure this 1 out, was really enjoying this game [:)]


Well, apparentely the upload limit is 500kb and both the autosave and the consoleout.txt are over 700k, so not going to bother with the ConsoloOut, since you should be able to recreate it if you get the same problem. It was just endless events, pasting the last 10 lines:

Expression OK, starting resolving it...
Condition for event with ID=16055 is false.
Expression OK, starting resolving it...
Expression OK, starting resolving it...
Expression OK, starting resolving it...
Expression OK, starting resolving it...
Condition for event with ID=9701 is false.
Expression OK, starting resolving it...
Expression OK, starting resolving it...
Expression OK, starting resolving it...

Btw, just noticed that over 280000 line of the file is these events, probably stuck in an infinite loop



Now for the Autosave zip: since 1 file was over 500k, i had to break it in 2. The 1st half is in the autosave folder, and is called reports.dat

The second part is on the next post (hope it will allow attaching on a reply :p ). Just copy the contents of reports2.dat in Autosave2.zip, and paste it at the end of reports.dat on autosave.zip

RE: Game freezes on end turn

Posted: Mon Aug 10, 2009 7:48 pm
by Harain
2nd part of zip [:)]

RE: Game freezes on end turn

Posted: Mon Aug 10, 2009 9:13 pm
by Bleck
OK, thx for info, I've found the reason.

Open \data\events\technology_upgrading_spain.xml in notepad or any other simple txt/xml editor (e.g. notepad++ is very good)
go to line 255

Code: Select all

<effect method="Flag.SetValue" param0="10168" param1="1"/>

change it to:

Code: Select all

<effect method="Flag.SetValue" param0="10238" param1="1"/>

Save, run ToW, load game and enjoy it :)

RE: Game freezes on end turn

Posted: Tue Aug 11, 2009 4:19 am
by Harain
Worked perfectly, thx a lot [:)]

RE: Game freezes on end turn

Posted: Tue Aug 11, 2009 5:53 pm
by iceolate
I was having trouble with the screen freezing and flickering and this fixed that but now it freezes a few seconds later during a research step (judging by log output) , this is on (or starting?) turn 01 Aug 1940

RE: Game freezes on end turn

Posted: Tue Aug 11, 2009 6:44 pm
by Bleck
Send Autosave folder to my mail: bleck[at]bittergory[dot]com , I will check it
And one more thing - did you tried clicking and pressing <enter> key few times?