July 18 2026 build
Jump to navigation
Jump to search
It contains only the files in SVN, and can be safely downloaded to your computer. |
It contains good information related to Skyscraper Simulator. |
This build has an important fix for the random number generator code in Skyscraper. The fixes for it are in the rnd() script function, and also in the Random Activity feature for elevators, escalators, and people objects. What the fix does is that previously the seed for the random number generator would change every second, resulting in it repeatedly generating the same numbers while the seed was the same. The seed was based on the time of day in seconds, I've changed this to the time of day in milliseconds, which now fixes it. The other fix is the addition of more object checks in the Elevator Car code, which fixes a crash that was reported.
Changelog:
- Added some missing safety checks to objects in ElevatorCar class; objects need to be checked before dereferences
- Added object check in ShowColliders()
- ScriptProcessor: calculate random numbers with a random seed of millisecond time instead of second time, this fixes the random number generator in For loops
- SBS: have random activity use millsecond time seed, for better random number generation
See also[edit | edit source]
- Previous build
- Next build
- Development Builds