View Single Post
  #14  
Old 04-12-2002, 09:57 AM
Warthog
Fire Beetle
 
Join Date: Apr 2002
Posts: 12
Default

Quote:
Originally Posted by Trumpcard
I believe the emulator still supports spawning a zone and leaving it running... For instance, if you boot the zone with a static name, rather than a . , the zone should stay 'alive' , though Im not sure that when it goes to sleep if it flush the spawns and cause them to need to be respawned from the database..
It makes sense that sleeping a zone wouldn't perform any UPDATE SQL commands on the MySQL database. But with that being true, when you reactivate the zone that would mean that everything is identical to the way you left it.

So if you pulled a beauty of a train in Unrest for example, they'll still be standing at the same spot in the zone that they were when you left it. That's bad news to me heh. Now of course this would only happen if you sleep the zone..

The ideal implementation would have to involve a form of automatically sleeping a zone. If all players exit a zone, the server keeps the zone active until the spawn inside is back at their normal location (unless they're dead of course). This would simulate an active zone to some regard. You'd still have to actually sit in the zone for any timed respawns to kick in (and that would stink for the long ones), or for any NPC's to walk around, but it's a better solution that shaking hands with a train over and over or completely resetting the zone.

Another nice feature would be passive zones. The zone is considered active for the purpose of creatures spawning only. No players can exist in the zone, NPC's have no AI, etc. The server just checks the zone's relevant DB entries to respawn creatures at the appropriate times. Sort of an middle choice between sleeping a zone or activating a zone.
__________________
Warty.
Reply With Quote