dkfans / keeperfx

Open source remake and Fan Expansion of Dungeon Keeper.
https://keeperfx.net/
GNU General Public License v2.0
779 stars 79 forks source link

Game crashes with specific screen resolutions #1067

Open Tasosgemah opened 3 years ago

Tasosgemah commented 3 years ago

Edit by @Loobinex : It turned out to be that windows 7 compatibility mode was enabled. Turning it off again stopped the crashes.


I tried the first few levels where heroes are trying to breach and got a ton of crashes.

The log is massive, sometimes more then 1MB and consists of lines like this:

Sync: creature_follow_leader: The creature THIEF index 434 owned by player 4 can no longer follow creature TUNNELLER - no place amongst followers Sync: creature_follow_leader: The creature DWARFA index 653 owned by player 4 can no longer follow creature TUNNELLER - no place amongst followers Sync: creature_follow_leader: The creature ARCHER index 545 owned by player 4 can no longer follow creature TUNNELLER - no place amongst followers

But repeated hundreds of times. Game crashes about 5 or 6 times per level and i have to do a ton of saves.

I don't remember this being an issue 3 years ago when i played an older version of KeeperFX. I finished the whole game back then with no crashes.

Loobinex commented 3 years ago

Crashes are not common now either. Could you share such a log file, or at least tell me what version you're using? In case you're using a latest alpha, be sure to not update directly from the previous full release as that does cause crashes.

Also, be sure to join the discord server: https://discord.gg/zKTjfDh There's a tech-support there where I'd love to help you out and learn what's causing issues for you.

O, that log message is most likely completely unrelated. See #1068 for the log message.

Tasosgemah commented 3 years ago

Crashes are not common now either. Could you share such a log file, or at least tell me what version you're using? In case you're using a latest alpha, be sure to not update directly from the previous full release as that does cause crashes.

Also, be sure to join the discord server: https://discord.gg/zKTjfDh There's a tech-support there where I'd love to help you out and learn what's causing issues for you.

The log file is here:

keeperfx.log

I'm using version KeeperFX 0.4.8 , build 2154, as released on 2020-09-03 on Windows 10

Loobinex commented 3 years ago

Thanks.

Could you try this for me please: 1) Go to this topic: https://keeperklan.com/threads/7239 2) Redownload the 2215 version from here or here 3) Do a clean install from that. Do not overwrite an older version with it. 4) After installing with the launcher, update to the latest alpha from here. It's 2374 now, but a newer one would be fine if you come back later. 5) Try again and come back to: a-> tell me it's fixed now b-> share the log file from the latest alpha

At the very least, the latest alpha has improved logging and the actual crash is not in the log.

Loobinex commented 3 years ago

Sorry, I noticed you said you were on 2154, not 2215. That's indeed the latest full version. Still, please try the latest alpha.

Loobinex commented 3 years ago

Also received a crash log from latest alpha: keeperfx.log.txt

Tasosgemah commented 3 years ago

Anyway, for anyone reading, the problem wasn't with the keeper version but with the aspect/resolution i was using. I got no crashes at 1080p resolution.

Loobinex commented 3 years ago

Yes, there have been multiple people who have reported crashes, with nothing useful in the logs, that disappeared as soon as I helped them set up screen resolutions 'properly'.

But people should be able to set up their resolutions how they want, and it should never crash.

Tasosgemah commented 3 years ago

After hours of testing, seems like resolution/aspect ratio make no difference. I'm still getting crashes at native resolution or at 60hz. Monitor status plays no role. The game will crash. Maybe not in a few minutes but it will.