Page 1 of 1

Region Spawn Manager

Posted: Fri Sep 22, 2006 4:55 am
by Datus
POL095 ... can't figure out how to get the region spawn manager to work. I can create spawns in already defined regions, but I can't seem to successfully create my own region. I've even tried adding the region to spawnregions.cfg. Not even sure if that's the right thing to do. To make it even easier, I'm using a predfefined group also. "humanoids".

Here is the error I get while watching the server.

Code: Select all

syslog [pkg/systems/spawnregion/spawnRegionManager.ecl]: Exceeded max tries. Region = Despise_lower_1, npc = ogre
syslog [pkg/systems/spawnregion/spawnRegionManager.ecl]: Exceeded max tries. Region = Despise_lower_1, npc = ogre
syslog [pkg/systems/spawnregion/spawnRegionManager.ecl]: Exceeded max tries. Region = Despise_lower_1, npc = ettin
syslog [pkg/systems/spawnregion/spawnRegionManager.ecl]: Exceeded max tries. Region = Despise_lower_1, npc = ettin2

syslog [pkg/systems/spawnregion/spawnRegionManager.ecl]: Exceeded max tries. Region = Despise_lower_1, npc = ogre
syslog [pkg/systems/spawnregion/spawnRegionManager.ecl]: Exceeded max tries. Region = Despise_lower_1, npc = ettin2
Another thing. When defining a region, what's the best way to get the coords? Right now I walk around using ".where" ... hehe I must be doing something stupid here right? :)

Thanks!!!

Posted: Fri Sep 22, 2006 11:49 am
by Yukiko
Where is the right command to get coordinates. Been a long time since I used Region Manager but I think editing the cfg should do it. You don't need to include a 'Z' parameter when entering the coords though.

Posted: Fri Sep 22, 2006 7:59 pm
by Datus
weird. it seems the coordinates for an added region have to be set in a lower integer to higher integer format (x1 and y1 have to be lower then x2 and y2) or else the region spawn manager fails to work. it also appears that the spawnregions.cfg isn't used at all... i can make changes to the spawnregions.cfg and it does nothing. spawns only happen if i use the region manager gump in game, and that doesn't even seem to write to the spawnregions.cfg file either... unless i'm looking at the wrong config file. /pkg/systems/spawnregion/spawnregions.cfg - i'd like to be able to manage the spawn data via .cfg rather then the gump :(

*shrugs* anyways i got region spawns to work now... i'd be happy to know of any better ways to manage spawns though :D

thanks.

Posted: Sat Sep 23, 2006 11:49 am
by Yukiko
Yes. X1 and Y1 are the upper left corner of the region. Those numbers are lower in value and must be the first numbers entered in the region manager. Then the lower right corner coords get entered. These are larger in value than the upper left corner coordinates.