It`s windows

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
vincitygialam
Posts: 2
Joined: Thu May 14, 2020 1:34 pm

It`s windows

Post 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.
Knight Captain
Posts: 1219
Joined: Thu May 14, 2020 1:34 pm

Re: It`s windows

Post by Knight Captain »

AutoSave slot should have your progress.
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: It`s windows

Post 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 :(
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Gotcha!
Posts: 354
Joined: Thu May 14, 2020 1:34 pm

Re: It`s windows

Post 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.
Gotcha!
Posts: 354
Joined: Thu May 14, 2020 1:34 pm

Re: It`s windows

Post 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. :(
drcode
Site Admin
Posts: 2267
Joined: Thu May 14, 2020 1:34 pm

Re: It`s windows

Post 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.
Knight Captain
Posts: 1219
Joined: Thu May 14, 2020 1:34 pm

Re: It`s windows

Post by Knight Captain »

What's the bug number / details? Gotcha and I could try to recreate it.
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: It`s windows

Post by Dominus »

--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Knight Captain
Posts: 1219
Joined: Thu May 14, 2020 1:34 pm

Re: It`s windows

Post 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?
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: It`s windows

Post 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...
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
drcode
Site Admin
Posts: 2267
Joined: Thu May 14, 2020 1:34 pm

Re: It`s windows

Post 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.
Gotcha!
Posts: 354
Joined: Thu May 14, 2020 1:34 pm

Re: It`s windows

Post 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....
drcode
Site Admin
Posts: 2267
Joined: Thu May 14, 2020 1:34 pm

Re: It`s windows

Post 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.
Knight Captain
Posts: 1219
Joined: Thu May 14, 2020 1:34 pm

Re: It`s windows

Post 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.
Locked