Have done a search but can't find this bug mentioned.
I'm having a recurring crash in Serpent Isle (w/Silver Seed). In the City of Order, my game crashes to desktop every time I enter the room just before you meet Deadeye, after aswering the guard automaton's question correctly. I've had a couple of random crashes but this is the first replicable and recurring show-stopper.
I've tried going back to earlier saves, changing graphics options and disabling sound with no effect. I'm running Exult 1.5 plus the latest version of Serpent Isle Fixes.
Thanks for your help!
Did you upgrade your version of Exult or SI Fixes while continuing the same saved game run?
I have seen this happen when that Metal_Man automaton opens the gate, then tries to turn on the Serpent Lamppost to the west. What does he do immediately before the crash?
A workaround would be:
Answer his question and let him press the button.
Then open a inventory window.
Click on him once.
Press F2.
Use the cheat menu to edit his current activity back to Patrol.
I was not able to recreate this with a new game. The flag to allow answering his question is 594.
Thanks for the quick response. To answer your questions:
What time in the game in your crash? HH:MM?
The problem here seems to be the Street_maintenance_schedule in schedule.cc at line 529 where it does not check for the non-double-click serpent lamp posts. Path eggs 1 and 4 are set to Quality 14, which tries street maintenance at line 1255.
I was able to recreate this by:
Setting the time to 1AM.
Removing the sliding door to the west.
As soon as the NPC on PATROL hit one of those Quality 14 eggs, it crashed.
Last entry in stdout.txt is:
automaton walking for street maintenance
Last two entries in stderr.txt are both:
Illegal egg itype: 0
Attached is a savegame of the unmodded game. Door is already open, you just have to wait a moment before the street maintenance kicks in and the game crashes.
lddb backtrace:
this is a regression from between 24.11.2016 and 27.11.2016... Need to do a regression test later.
It's caused by Marzo's commit https://github.com/exult/exult/commit/fd3dbd05f64e80ca1662b32d22326e477b75b544
is the culprit
Last edit: Dominik Reichardt 2017-04-27
observing this automaton (NPC #202) in the original, it seems to me as if he should never actually start the street maintenance
Temporarily reverted this.
Bug [#2019] may play a part in this as Street Maintenance should not trigger for the serpent lampposts.
Related
Bugs:
#2019I found a proper fix for this which also handles the memory leak. When I push a lot of stuff, the fix will also be pushed in.