Quote:
Originally Posted by image
Your heading for rock bottom Trumpcard. I apologize to quester I see its purpose. It is actually a bug with some part of the code, you should not need to edit that.
For an example, you can have a npc type with 90000 in the database and have it spawn on bootup, and the npc will spawn, no zone crash.
#npctypespawn will crash the zone with that type id, I will look into it later.
|
I'm afraid there has to be more to it than that. For example, Kael will ALWAYS crash the zone for me if I zone into it. Kael has many mobs over the 65535 mark. That is just from zoning in, not from using #npctypespawn. By upping the max value though, Kael loads like a chamo now, with no crashes.
I'm still digging through the code.. Low level memory manip crap really isn't my strong point, and i'm not familiar with the code to begin with. But at first glance, it looked like it was a simple array or values preloaded from the dataabase. And with the lower maximu, it wasn't big enough. Thats why I made the change. Stepping through #npctypespawn, showed everythign was just fine as far as I could see, until it actually pulled it from the array.
Upon digging deeper.. i'm not so sure of exactly what is going on now.