ID:135181
 
Im trying to fing a way to add a huge map i made but it crashes Byond,becouse of size, when the coder tries to add the map.
What's the size of the map, and how does it crash?
Does it actually crash with an error or closing the program, or does it just seem to freeze for a while? If its just freezing, thats because the maps are taking too long to compile, and you'd need to consider going with something like dynamic map loading instead.
In response to Jon88
Let me rephrase that, Byond freezes when my coder wants to open the map.
In response to Zoltor
Well, what are the dimensions of the map? Also, when compiling REALLY large maps, BYOND seems to freeze for a while. It unfreezes once it's finished compiling the maps into the .dmb.
Zoltor wrote:
Im trying to fing a way to add a huge map i made but it crashes Byond,becouse of size, when the coder tries to add the map.

For large maps, in any game system in the world, the only real solution is swapping maps in and out of memory. Whether it's EverQuest, World of Warcraft, or a BYOND game, that's what you have to do. And you can consider moving people between processes on the same server.

A good approach for loading maps dynamically is to check out Lummox JR's SwapMaps.