Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Database/World Building

Archive::Database/World Building Archive area for General Discussion's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 02-05-2004, 08:35 AM
sh0rtlife
Fire Beetle
 
Join Date: Jan 2004
Posts: 11
Default npc troubles

3 things

1 how do you perminantly remove a npc from the zone?..can it be done while in the zone?(if so how?)

2 how do you perminantly add items/plat to any given npc can it be done in zone(if so how)

3 (tho i think i figured this out) how do you make a "NEW" npc (ive played with this abit with mixxed results)

not shure if im missing a DB or something but what about makeing mobs wander...

durring my 3+ years in EQ live ive spent the last year makeing almost PERFECT maps all the way down to pin pointing EVERY spawn..so im trying to work from them to get some of the odd zones corrected
Reply With Quote
  #2  
Old 02-05-2004, 12:59 PM
haloboycs
Sarnak
 
Join Date: Jan 2003
Posts: 94
Default

1. delete from db - (someone take it from here) i read somewhere said you can do it during being in zone but it cause bad thing happening (???) but best choice is reboot server.

2. edit db, reboot server.

3. not sure what u meant "NEW".. create a new mob is what u meant? add in db and reboot server.

(not db expert here, someone can correct me this, i can be wrong!)
Reply With Quote
  #3  
Old 02-06-2004, 01:21 AM
Conan
Hill Giant
 
Join Date: Oct 2003
Posts: 145
Default

To create a new npc,

First use the #spawn command

Then target the npc after all is setup and do

#npcspawn create
#npcspawn add

Reboot and there ya go.

As for removeing spawns only way I know how is to edit the db and remove them that way.
__________________
Conan
Reply With Quote
  #4  
Old 02-06-2004, 06:18 AM
sh0rtlife
Fire Beetle
 
Join Date: Jan 2004
Posts: 11
Default

ok thanx that all makes sense...now this is going to sound like a realy supid question....whats the finished DB name..or is there one..(maybe im not understanding) i know you take DB.sql and source it in and add others to that...this i know as fact..but once youve source it all do you have a finished file you can edit(if so what?) cause none of the db files even changed in size...i would have thought it would have been DB.sql but i dont find any spawn info in it...even tho i have npc's in my server
Reply With Quote
  #5  
Old 02-06-2004, 06:30 AM
smogo
Discordant
 
Join Date: Jan 2004
Location: 47
Posts: 339
Default

Quote:
none of the db files even changed in size
It is normal. As the database is managed by the DB server Mysql. Mysql stores the data in its own files. Once you have sourced, the db.sql is not used anymore (until you re-source)

Quote:
do you have a finished file you can edit ?
no, the files used internally by the Db server are not human-editable. You can alter the content of the database with front-end tools, like mysql front ('think is the name) or a 3rd party manager like EQ Admin tool.
If you prefer, you can also dump the contents of your new database to a file. This will give you an updated db.sql (or any name you want to give it), that you can use again to source a new db. Be careful using this until you understand well of database server works. Until then, better use a user-friendly interface like the EQ Admin tool [/quote]
Reply With Quote
  #6  
Old 02-07-2004, 05:49 AM
tcsmyworld's Avatar
tcsmyworld
Discordant
 
Join Date: Feb 2002
Posts: 452
Default

To remove a npc in-game use the command #npcspawn remove , that will remove the npc from the DB.
__________________
Founder PEQ (ProjectEQ)
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 09:12 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3