#advnpcspawn
I've been trying to figure out how to use this command to make use of roamboxes... But i have no idea how to get it to work. The wiki does'nt have anything on it either. Does anyone have any example on how to use this command?
|
It's basically a box.
min_x = west x location min_y = south y location max_x = east x location max_y = north y location dist = distance it will roam from where it randomly spawns delay = time before the NPC switches into a random direction to see an npc roam anywhere, #ai roambox when an NPC is targeted hope that helps! |
thanks, will try this out now :P
|
I have to admit I am having a bit of trouble with this as well. For whatever reason, I can't get the NPCs to load their roamboxes from the DB. #ai roambox works fine, but if I give them values in the DB, they just stand there. Is there a trick to it or did I make an error when I merged the code into SVN?
|
I got the roamboxes to work after i let the zone go down and restarted it after i set the npc to roam.
|
Well, at least I know it works.
I'll have to keep playing, even after a reboot the NPCs I assigned roamboxes to won't move. Oh well. |
I'm also not having any luck getting this to work, could someone be so generous as to tell me how they are doing this step-by-step? I would really appreciate any pointers you guys have to offer.
Thanks, leslamarch |
alright here is how i'm currently using it (nay not be the intended way ;p)
target the mob you want to randomly roam. #advnpcspawn editgroupbox <spawngroupID> <dist> <max x> <<min x> <max y> <min y> <delay> (as described above by Secrets) It gives me a message saying GroupID 0 being created. But i hav'nt played around with it much. Only the roamboxes. <edit> I have to shut down the zone and reboot it to have the mob start roaming also. I have also been unsuccesful spawning a mob with this command, but i'm sure it's something on my end :P Imma look at the tables this command uses and see if i can get a better understanding. |
I've been editing the db directly, I'll have to see what the command does to the DB.
|
I am getting confused as hell by this new system
which DB table does roam box data stored in? |
spawngroup:
Code:
mysql> describe spawngroup; |
it seems to be using the X,Y, as a loc for the npc to move there and just chill indefinitly, i'm even more confused now ><
the #ai roambox command seems to be working flawlessly tho, just would like to be able to save them correctly :P |
Quote:
|
I know I have successfully used roamboxes. I used them for an event I was working on and they actually worked really well. That event isn't currently running on my server anymore though.
If I was to guess to what might be causing problems, I would think it could maybe be related to the timeleft field being moved into it's own table. I am not positive, but I think timeleft was a field in the spawngroup table. If so, maybe #advancespawn and the roamboxes stuff is failing because it is still looking for that field and not finding it. That is pure speculation though. I haven't done any research into it yet. |
Ok I seem to have problem simular to what Cavedude is describing - I have entered data for roambox into DB spawngroup table - and nothing is happening. NPCs just sit there doing nothing.
I have zoned out and zone back in - do I have to fully restart the server for this to take effect? BTW I still don't get what is the diffirence betwin: dist and delay: dist - how far npc will travel vs delay - how long it will travel? isn't it kind of same thing for the purpose of roaming around? |
All times are GMT -4. The time now is 02:22 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.