PDA

View Full Version : Pahlava Rebel EB Script CTD



george585
09-01-2007, 20:13
Hi!
This is my second CTD report.
This time I am playing as Pahlava.

1. The link to savegame is here: http://uploaded.to/?id=4oy6om
2. Now the otehr info:
- Version: 0.81a V2
- NO unofficial mods.
- Applied all permanent and temp fixes.
- Deleted map.rwm
3. The CTD itself:
- Happens ONLY when background script is active.
- Happens consistently (the same turn even if reloaded - as long as bg script is active)
- Was happening for 3 turns by now (I did not activate the bg script to get past the crash).
- The script happens in the middle of Rebel turn.

Thanks.

bovi
09-01-2007, 23:05
Thank you for your report. I'll try to take a look at it tomorrow.

george585
09-01-2007, 23:32
Thanks for your fast response!
Fortunately I can still play it, but without EB script though :( Hope it is something fixable...

Ice
09-02-2007, 07:44
Thanks for your fast response!
Fortunately I can still play it, but without EB script though :( Hope it is something fixable...

without the script the game is useless. Don't bother playing.

bovi
09-02-2007, 08:09
So far I've found that if I remove Section 7 from the script it will not crash. It's a pretty big chunk, but if you want you can make a copy of the script then comment out or delete that section to play with at least the rest of the script.

bovi
09-02-2007, 09:14
I've narrowed it down to section 7f. To get past the crash, replace


;--------------------------------------------------
;Section 7f: Pahlava Shahanshah
;--------------------------------------------------

declare_counter shahanshah

set_counter shahanshah 0


monitor_event SettlementTurnStart SettlementName Gáwjám~Skándzáwárjoz
and SettlementBuildingExists = hinterland_victory

set_counter shahanshah 1

end_monitor


monitor_event CharacterTurnStart FactionType parthia
and CharacterIsLocal
and I_SettlementOwner Seleukeia = parthia
and I_SettlementOwner Susa = parthia
and I_SettlementOwner Ekbatana = parthia
and I_SettlementOwner Persepolis = parthia
and I_CompareCounter shahanshah = 0

console_command test_message disaster_fire
console_command create_building Gawjam_Skandzawarjoz hinterland_victory


terminate_monitor
end_monitor

with

;;--------------------------------------------------
;;Section 7f: Pahlava Shahanshah
;;--------------------------------------------------
;
;declare_counter shahanshah
;
;set_counter shahanshah 0
;
;
;monitor_event SettlementTurnStart SettlementName Gáwjám~Skándzáwárjoz
;and SettlementBuildingExists = hinterland_victory
;
;set_counter shahanshah 1
;
;end_monitor
;
;
;monitor_event CharacterTurnStart FactionType parthia
;and CharacterIsLocal
;and I_SettlementOwner Seleukeia = parthia
;and I_SettlementOwner Susa = parthia
;and I_SettlementOwner Ekbatana = parthia
;and I_SettlementOwner Persepolis = parthia
;and I_CompareCounter shahanshah = 0
;
;console_command test_message disaster_fire
;console_command create_building Gawjam_Skandzawarjoz hinterland_victory
;
;
;terminate_monitor
;end_monitor

I'll try to find out exactly why it crashes, you'll see that in the CTD fixes thread if I do. Thanks again for your report :2thumbsup:!

george585
09-02-2007, 22:22
First of all, thank you so much, Bovi, for your so quick and so accurate instructions. I will definitely implement your suggestion.

Another issue though, that I saw with my game was that in one of the towns that I conquered I saw as one of the building options a "WARNING!" item that said I shouldn't be seeing it there... You can see it yourself in my save game in city "Gava-Haomavarga".

Also just a little question.... is it a bug that I cannot hire any units in many cities when I play as Pahlva, despite I have Pahlav gov-ts established there and recruitemnt building built?

Thanks.

bovi
09-03-2007, 06:52
You will find a more precise fix in the CTD fixes thread... The only line you need to change is
console_command test_message disaster_fire to
;console_command test_message disaster_fire

I don't know about the WARNING-building, but I'm pretty sure it has been addressed in the internal build already as we've had beta testing for quite a while.

Also for the Pahlavi recruitment, not all units are implemented in 0.81a, and recruitment has a couple of holes. You'll see change in the next version.

george585
09-03-2007, 17:36
I tried your latest fix, Bovi, and it worked! Thank you so much for your fast an professional help!

george585
09-04-2007, 00:05
Unfortunately after playing a few more turns I can across another CTD. This time it is pretty different. I decided to post it here, as all the info (such as version I use. etc) is the smae. This time background script has nothing to do with it, as it happens even when it is inactive.
Here is the file: http://uploaded.to/?id=iuoxxr
There are 2 files inside:
autosave - is the save game before my turn ended
the other savegame is after autosave - during Arche Seleukeia's turn.
The crash occurs when I choose ANY option for the city I have just conquered. The city is Edessa btw. This is the SECOND time I conquered this city.. if it helps... That is - it was Seleucid, I conquered it, destroyed their gov-t, built regional pacification, but did not had a time to build my own Pahlava gov-t, then it revolted, became once again Seleucid's and now after having dfeated EVERY soldier inside and near it (I don't know may be this info is important for you)... I come across this situation.
Thanks.