|
|
|
 |
 |
 |
 |
|
 |
 |
|
 |
 |
|
 |
|
| 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. |

02-08-2009, 04:54 PM
|
|
Demi-God
|
|
Join Date: May 2007
Posts: 1,032
|
|
I am getting confused as hell by this new system
which DB table does roam box data stored in?
|

02-08-2009, 05:06 PM
|
 |
The PEQ Dude
|
|
Join Date: Apr 2003
Location: -
Posts: 1,988
|
|
spawngroup:
Code:
mysql> describe spawngroup;
+-------------+-------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-------------+-------------+------+-----+---------+----------------+
| id | int(11) | NO | PRI | NULL | auto_increment |
| name | varchar(50) | NO | UNI | | |
| spawn_limit | tinyint(4) | NO | | 0 | |
| dist | float | NO | | 0 | |
| max_x | float | NO | | 0 | |
| min_x | float | NO | | 0 | |
| max_y | float | NO | | 0 | |
| min_y | float | NO | | 0 | |
| delay | int(11) | NO | | 0 | |
+-------------+-------------+------+-----+---------+----------------+
9 rows in set (0.03 sec)
|

02-08-2009, 05:12 PM
|
|
Demi-God
|
|
Join Date: May 2007
Posts: 1,032
|
|
Quote:
Originally Posted by cavedude
spawngroup:
mysql> describe spawngroup
|
ah I see I thgout this was made into grid system, this clears a few things up... thanks!
|

02-08-2009, 05:47 PM
|
 |
Developer
|
|
Join Date: Aug 2006
Location: USA
Posts: 5,946
|
|
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.
|

02-16-2009, 02:13 AM
|
|
Demi-God
|
|
Join Date: May 2007
Posts: 1,032
|
|
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?
|

02-16-2009, 09:54 AM
|
|
Banned
|
|
Join Date: Jan 2006
Location: /dev/null
Posts: 99
|
|
Quote:
Originally Posted by ChaosSlayer
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.
|

02-16-2009, 02:03 PM
|
 |
The PEQ Dude
|
|
Join Date: Apr 2003
Location: -
Posts: 1,988
|
|
Quote:
Originally Posted by trevius
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.
|

02-17-2009, 12:14 AM
|
|
Demi-God
|
|
Join Date: May 2007
Posts: 1,032
|
|
restarted the server - mobs still refuse to roam. 
|

02-18-2009, 07:01 PM
|
 |
The PEQ Dude
|
|
Join Date: Apr 2003
Location: -
Posts: 1,988
|
|
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..
|

02-19-2009, 02:43 PM
|
|
Fire Beetle
|
|
Join Date: Mar 2008
Posts: 17
|
|
Quote:
Originally Posted by trevius
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
|

02-08-2009, 05:08 PM
|
|
Banned
|
|
Join Date: Jan 2006
Location: /dev/null
Posts: 99
|
|
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
|
| Thread Tools |
|
|
| Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 03:14 AM.
|
|
 |
|
 |
|
|
|
 |
|
 |
|
 |