Page 1 of 1

It`s windows

Posted: Tue Oct 30, 2018 7:19 am
by vincitygialam
Dual core classic Asus P5 computer bord.
Why game ends in the middle of my playing by program fault warning?
How can I stop it? who did it? I lost 7 hours today.

Re: It`s windows

Posted: Tue Oct 30, 2018 8:21 am
by Knight Captain
AutoSave slot should have your progress.

Re: It`s windows

Posted: Wed Oct 31, 2018 7:04 am
by Dominus
Except we do not have autosave :(

Save often!!!

There is a bug I was able to trap in the debugger but I can't debug it on my own and no one else steps up :(

Re: It`s windows

Posted: Wed Oct 31, 2018 1:41 pm
by Gotcha!
Do you use mods by any chance?

For me crashes are an absolute rarity in both The Black Gate and Serpent Isle, but when using the key ring mod for TBG, it keeps crashing every few hours.

So if you're using mods, maybe it's worth trying to play without them.

Re: It`s windows

Posted: Wed Oct 31, 2018 1:43 pm
by Gotcha!
@Dominus: I'd step up if I could, but the only thing I could help with is getting coffee for the bug fixers. :(

Re: It`s windows

Posted: Fri Nov 02, 2018 4:28 am
by drcode
The bug Dominus is talking about keeps popping up. I'd like to fix it, but I haven't been able to see it on my computer. If anyone comes up with a savegame where it reliably happens, please submit it.

Re: It`s windows

Posted: Fri Nov 02, 2018 4:03 pm
by Knight Captain
What's the bug number / details? Gotcha and I could try to recreate it.

Re: It`s windows

Posted: Fri Nov 02, 2018 7:48 pm
by Dominus

Re: It`s windows

Posted: Sat Nov 03, 2018 1:42 am
by Knight Captain
Taking a quick look, this appears to be happening due to something in Usecode? Or can you tell it is the Exult engine?

Re: It`s windows

Posted: Sat Nov 03, 2018 7:59 am
by Dominus
To me it looks like the old disappearing items bug is showing agin in a different way. DrCode fixed that a while ago but somewhere in the schedule code we screw up...

Re: It`s windows

Posted: Sat Nov 03, 2018 5:19 pm
by drcode
Pretty sure it has to do with schedules which create objects and then delete them, like baking and serving at an inn. I fixed some problems a while ago, but there still seems to be one.

I was just reading about a newer C++ feature called 'smart pointers' which might be better in managing memory. I'll look into this, although it might require a large rewrite.

Re: It`s windows

Posted: Sun Nov 04, 2018 7:05 pm
by Gotcha!
@KC: Thanks for the vote of confidence, but I'm not sure how I can help. :P
The crashes I had felt completely random, although a lot of them occurred while I was trying to park my ship, for some reason. And they appeared more frequent as I progressed.
I still have the save games if anyone wants them, but again, I used a mod in that play-through, so....

Re: It`s windows

Posted: Mon Nov 12, 2018 9:58 pm
by drcode
Working on a change to the way Exult handles memory. Hopefully, this will solve some of the more mysterious problems, or at least make them easier to find.

Re: It`s windows

Posted: Tue Nov 13, 2018 10:38 pm
by Knight Captain
Would a GUI-based option for enabling extended logging help? Even just having what Usecode is running would be useful for debugging and modding.