Bully-Board
Bully Modding Section => Bully Modding => Topic started by: Razc01na on March 22, 2021, 07:46:06 AM
-
While going through a library of decompiled scripts released here some time ago I noticed some test scripts will take the player to an area code 22 (which doesn't exist so the game just crashes).
Could it be a beta test area?
I could not find anything in the game files that mentioned this area.
-
Area ID 22 indeed belongs to one of the test areas, "Island 3" to be exact.
The other one's ID is 31, called "Test Area".
Your game crashes because those areas aren't loaded normally.
It's easy to do it, just use AreaRegisterAreaScript(AreaCode, "AreaScripts/YourScriptNameHere.lua").
In this case, you want:
AreaRegisterAreaScript(22, "AreaScripts/Island3.lua")
-
I see... 22 is for island 3
There was also a script with that name in the archive. There was also a script for the test area.
I might check things out when I have time.
thanks :D