Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #1  
Old 10-05-2008, 10:39 PM
ChaosSlayer
Demi-God
 
Join Date: May 2007
Posts: 1,032
Default

hmm so you teling me if i want to make a randomly roaming npc, this thing will essentialy substitute the need of making a grid for random area roamers?

wouldn't this require a whole new table in DB? and it should also store a zone id somewhere no?
Reply With Quote
  #2  
Old 10-06-2008, 12:40 PM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,449
Default

Quote:
Originally Posted by ChaosSlayer View Post
hmm so you teling me if i want to make a randomly roaming npc, this thing will essentialy substitute the need of making a grid for random area roamers?

wouldn't this require a whole new table in DB? and it should also store a zone id somewhere no?
1)Yes, it will. No more grids for wide open areas.
2) No, it doesn't require a new table in the DB.
The spawngroup is loaded on a repop or zone bootup with this code, and because of this, the zone ID is stored in spawn2 rather than spawngroup.

Also, roamboxes are stored in spawngroup so a random NPC can spawn each time.

If no roambox is specified, the NPC finds a grid. If no grid is specifed, the NPC stays static and does nothing. Pretty easy system.
Reply With Quote
  #3  
Old 10-06-2008, 01:34 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

This code is in the SVN for anybody who wishes to fiddle with it. It worked pretty well in my limited testing.
Reply With Quote
  #4  
Old 11-22-2008, 10:55 AM
warsonofrage
Fire Beetle
 
Join Date: Mar 2003
Posts: 22
Default

wondering....need to remove a spawn group. client side how do i do that with this set of cmd's?

didnt see an argument to remove a spawngroup id so need to know how to do this remotely from the server
Reply With Quote
Reply

Thread Tools
Display Modes

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 07:26 AM.


 

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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3