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

Development: Custom Code This is for code thatdoes not emulate live and wont be added to the official code.

Reply
 
Thread Tools Display Modes
  #1  
Old 01-22-2008, 06:54 PM
Xgen
Fire Beetle
 
Join Date: Apr 2004
Posts: 7
Default Removing NPCS from game

Im sure its been covered before, however I have not found it, even after searching.

I want to permanently remove npc's from teh game. Namely Bankers. Can someone point me in the right direction.
Reply With Quote
  #2  
Old 01-22-2008, 07:26 PM
moydock
Discordant
 
Join Date: Jun 2005
Posts: 286
Default

If you just want to stop him from spawning... Delete his row from the spawn2 table. If you want to totally nuke him from the database, target him and type: #npcspawn delete
__________________
-Croup (the rogue)
Creator of Pandemic (PvP-Racewars)
Reply With Quote
  #3  
Old 01-23-2008, 05:14 AM
Xgen
Fire Beetle
 
Join Date: Apr 2004
Posts: 7
Default

Quote:
Originally Posted by moydock View Post
If you just want to stop him from spawning... Delete his row from the spawn2 table. If you want to totally nuke him from the database, target him and type: #npcspawn delete
Just what I was looking for, but, how do i know which one is a banker? The only identification I see is ID, it doesnt display their name.

Last edited by Xgen; 01-23-2008 at 01:17 PM..
Reply With Quote
  #4  
Old 01-23-2008, 08:49 AM
narcberry
Sarnak
 
Join Date: Mar 2005
Location: Idaho, USA
Posts: 94
Default

You can do it within the game as gm.
As Xgen said, '#npcspawn delete'
or you could even try '#npcedit spawnlimit 0'
__________________
Thanks for answering my questions.
My Website
Reply With Quote
  #5  
Old 01-23-2008, 09:20 AM
AiliaMorisato
Sarnak
 
Join Date: Sep 2005
Posts: 34
Default

DELETE FROM npc_types WHERE class = (class number)

Class #'s

20 GM Warrior
21 GM Cleric
22 GM Paladin
23 GM Ranger
24 GM Shadow Knight
25 GM Druid
26 GM Monk
27 GM Bard
28 GM Rogue
29 GM Shaman
30 GM Necromancer
31 GM Wizard
32 GM Magician
33 GM Enchanter
34 GM Beastlord
35 GM Berserker
40 Banker
41 Shopkeeper
60 Adventure Recruiter
61 Adventure Merchant
63 Tribute Master
Reply With Quote
  #6  
Old 01-23-2008, 10:04 AM
narcberry
Sarnak
 
Join Date: Mar 2005
Location: Idaho, USA
Posts: 94
Default

Well that answers how an npc is flagged as a banker. Thanks.
__________________
Thanks for answering my questions.
My Website
Reply With Quote
  #7  
Old 01-23-2008, 10:47 AM
Xgen
Fire Beetle
 
Join Date: Apr 2004
Posts: 7
Default

Quote:
Originally Posted by AiliaMorisato View Post
DELETE FROM npc_types WHERE class = (class number)

Class #'s

20 GM Warrior
21 GM Cleric
22 GM Paladin
23 GM Ranger
24 GM Shadow Knight
25 GM Druid
26 GM Monk
27 GM Bard
28 GM Rogue
29 GM Shaman
30 GM Necromancer
31 GM Wizard
32 GM Magician
33 GM Enchanter
34 GM Beastlord
35 GM Berserker
40 Banker
41 Shopkeeper
60 Adventure Recruiter
61 Adventure Merchant
63 Tribute Master
Thanks for the info!
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 11:40 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