When approaching the base to the east the game freezes. Not a crash, and no inputs are possible.
That the game process continuous on as normal.
The .zip file is too big (45 MB) I put it into dropbox. https://www.dropbox.com/s/0bse6jyrewdt49f/Nauvoo-zip.zip?dl=0
There appears to be an infinite loop in zone_manager::has.
Disabling all zones got rid of the freeze.
This is still a bug that can be reproduced, and it is a valid bug report.
This is not really in zone::has() but that makes it much worse.
Its actually the fact those NPCs have a HUGE amount of moves stored up from the last time they were in reality bubble, like over a million, each, and they have the TIDY_UP activity, which scans every map tile in a radius of 60 tiles, and it dosnt stop if nothing is found, it uses up 100 moves, and then scans again, and again, so thats like 3600 tiles * 3 NPCs * 100,000 = a lot.
They dont stop recycling the activity until their moves hit zero.
The fix im working on is to convert the activity code to seperate out the scanning part a bit more, so if they scan once, if nothings there, they dont start the activity.
Most helpful comment
This is not really in zone::has() but that makes it much worse.
Its actually the fact those NPCs have a HUGE amount of moves stored up from the last time they were in reality bubble, like over a million, each, and they have the TIDY_UP activity, which scans every map tile in a radius of 60 tiles, and it dosnt stop if nothing is found, it uses up 100 moves, and then scans again, and again, so thats like 3600 tiles * 3 NPCs * 100,000 = a lot.
They dont stop recycling the activity until their moves hit zero.
The fix im working on is to convert the activity code to seperate out the scanning part a bit more, so if they scan once, if nothings there, they dont start the activity.