Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad fps in encounter #147

Closed
Lexx2k opened this issue Jul 16, 2022 · 7 comments
Closed

Bad fps in encounter #147

Lexx2k opened this issue Jul 16, 2022 · 7 comments
Assignees

Comments

@Lexx2k
Copy link

Lexx2k commented Jul 16, 2022

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
Copy link
Member

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
Copy link
Author

Lexx2k commented Jul 16, 2022

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
Copy link

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
Copy link
Member

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
Copy link
Member

  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
Copy link

NovaRain commented Jul 17, 2022

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
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants