Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #16  
Old 02-16-2009, 09:54 AM
jenco420
Banned
 
Join Date: Jan 2006
Location: /dev/null
Posts: 99
Default

Quote:
Originally Posted by ChaosSlayer View Post
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?
I had to fully restart my server to get them to start roaming.
Reply With Quote
  #17  
Old 02-16-2009, 02:03 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

Quote:
Originally Posted by trevius View Post
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.
That's a great thought. I'll give it a look now.
Reply With Quote
  #18  
Old 02-17-2009, 12:14 AM
ChaosSlayer
Demi-God
 
Join Date: May 2007
Posts: 1,032
Default

restarted the server - mobs still refuse to roam.
Reply With Quote
  #19  
Old 02-18-2009, 07:01 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

I figured it out. Neither dist nor delay can be 0. I've had delay set to 0 and that's what has been causing it to not function for me. (What threw me off is according to the AI command delay is optional.) Also, the spawnpoint must be within the roambox. If it isn't, then the NPC won't roam at all (I am guessing if the distance is further from the roambox than the dist DB value, it won't move) OR, the NPC will use the roambox coords as the spawnpoint and will move to that loc and sit.

dist is the number of clicks the NPC will move at a time.
delay is the amount of time the NPC will wait at each point before moving to the next. This appears to be in milliseconds, so 30000 = 30 seconds.

We need the ability to add some variance to delay at the least like we have for grids. I'll see about getting that and an option for a dist variance in as well.

Last edited by cavedude; 02-19-2009 at 03:15 AM..
Reply With Quote
  #20  
Old 02-18-2009, 08:24 PM
ChaosSlayer
Demi-God
 
Join Date: May 2007
Posts: 1,032
Default

we need to get George to fix his spawn editor to stop seting roam boxes values to 0 =P
And preferably add roambox values editin to his editor =)
Reply With Quote
  #21  
Old 02-19-2009, 12:16 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

Ah, I just use the PEQ PHP Editor. Though, I admittedly am a bit biased
Reply With Quote
  #22  
Old 02-19-2009, 01:18 AM
ChaosSlayer
Demi-God
 
Join Date: May 2007
Posts: 1,032
Default

Quote:
Originally Posted by cavedude View Post
Ah, I just use the PEQ PHP Editor. Though, I admittedly am a bit biased
well George tools set are very handy when you need to keeps lots of data from varios tables on the screen at once =)
I just hope he gets the setting to 0 errors fixed SOON =)

BTW about what you said before: we could use 2 additional collumns in roamboxes table:

delay_type:
0 - full delay
1 - half delay + random up to full delay
2 - random delay from 1 to delay specified
(just like in pause in grid)

and same for distance traveled:

dist_type:
0 - full distance
1 - half distance + random up to full
2 - random distance from 1 to full

so each mob inside a roambox can travel variable distance per trip and stop for variable pause.
Reply With Quote
  #23  
Old 02-19-2009, 02:43 PM
Arcaan
Fire Beetle
 
Join Date: Mar 2008
Posts: 17
Default

Quote:
Originally Posted by trevius View Post
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.
Ahhhhh the Turkeys...almost went insane
Reply With Quote
  #24  
Old 04-23-2009, 09:23 PM
Dibalamin
Hill Giant
 
Join Date: Dec 2007
Posts: 182
Default

Quote:
Originally Posted by Secrets View Post
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!
Ok, I hate to disagree with someone that is proven to know more than me, but this isn't quite correct. Regardless of direction, the smaller number goes in the min. Took me almost 5 hours to figure out what was wrong with my roam boxes =o. Now, this may work with #advnpcspawn, but it doesn't work for direct DB editing.
Reply With Quote
  #25  
Old 07-02-2009, 01:25 AM
Yeormom
Discordant
 
Join Date: Apr 2004
Location: 127.0.0.1
Posts: 402
Default

Quote:
Originally Posted by cavedude View Post
I figured it out. Neither dist nor delay can be 0. I've had delay set to 0 and that's what has been causing it to not function for me.
You win the prize for this note.
__________________
Yeorwned
Bane of Life [Custom Classic/PvP]
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 03:44 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3