ID:146788
 
Code:
world.maxz++


Problem description:
I want to add a new map in the game, but it gives an error when i try to go to the new z-location.

Erm, you shouldn't do it like that. Just goto your map (.dmp file), press Options, then Set Map Size, and just add to the Z level.
In response to Crashed
Crashed wrote:
Erm, you shouldn't do it like that. Just goto your map (.dmp file), press Options, then Set Map Size, and just add to the Z level.

I think he wants to really change the Z-level, because some games have build verbs (Not Icon-Chatters like, like circle, square, etc.) and they can build stuff during runtime and save it.
What error?
In response to Crispy
runtime error: bad loc
proc name: RoomSetup (/mob/proc/RoomSetup)
usr: Thoys (/mob)
src: Thoys (/mob)
call stack:
Thoys (/mob): RoomSetup()
Thoys (/mob): Make Room()
In response to Thoys
We need to see more of your code. It looks like there's a problem with a loc var somewhere. It would help to see that peice of the code.