BGforgeNet / Fallout2_Restoration_Project

Fallout 2 Restoration Project, updated
https://forums.bgforge.net/viewforum.php?f=39
583 stars 38 forks source link

Bad fps in encounter #147

Closed Lexx2k closed 2 years ago

Lexx2k commented 2 years ago

Had an encounter with farmers vs. geckos. Once the encounter was completed, the fps kept crashing down. See savegame:

SLOT14.zip

Maybe some critter_proc going haywire?

Note: I'm playing with pixotes new maps.

burner1024 commented 2 years ago

Had an encounter with farmers vs. geckos. Once the encounter was completed, the fps kept crashing down. See savegame:

I'm getting the same booted on v26. ^^^^^^^^^ is spammed in debug.log. I vaguely rememeber something similar discussed in sfall issues, possibly related to sound? Can't find it.

Note: I'm playing with pixotes new maps.

Cool, you're the designated tester then.

Lexx2k commented 2 years ago

Cool, you're the designated tester then.

If you enter the cave in that savegame, you can see one of the chests being spawned inside new scenery.

grafik

Also the Modoc door: grafik Maybe the door was moved from elevation 0 while that npc was standing in the original hex?

NovaRain commented 2 years ago

Looks like some script keeps searching/loading protos. Every time more than 512 protos are loaded, the game prints a caret ^ in the log.

burner1024 commented 2 years ago

Not sure how to find which script. Would it be hard to add some sfall debug option to replace the caret with actual script and proto file names/ids?

burner1024 commented 2 years ago
  1. Entering combat removes lag.
  2. Removing improved mysterious stranger dat fixes this.

Not sure how it's relevant, given that you don't have the corresponding perk. That component doesn't even have any scripts, only protos. Maybe one of them is corrupt? But then you'd have constant lag, not just on this map. My money on some engine/sfall bug.

NovaRain commented 2 years ago

The cause is two of the protos for improved mysterious stranger: 00000270.pro & 00000271.pro. They have incorrect PID set (30/31 instead of 270/271) and clashes with the robbers that use the real PID 30/31 (tough thug). Here's the fixed file: rpu_improved_mysterious_stranger_fix.zip

burner1024 commented 2 years ago

Thanks!