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

Development::Database/World Building World Building forum, dedicated to the EQEmu MySQL Database. Post partial/complete databases for spawns, items, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old 11-20-2004, 03:29 PM
Dvinn
Fire Beetle
 
Join Date: Nov 2004
Location: The Emerald City, Oz
Posts: 20
Default Priest of Discord fixes for PEQ Kunark DB

I've been using the PEQ_Kunark_RC1 database. I was getting tired of looking at all the Priests of Discord standing around in chain helmets and not wielding their staves most of the time. I decided to make some adjustments which I decided to share here for anyone else who might be interested.

These MySQL queries will get rid of the chain helm look, make the PoDs always spawn with both the staff and the robe (Do they do this on Live? I don't even remember anymore, but as I recall they always seemed to be holding the staff in-hand at the very least), and remove some stuff that's orphaned by these changes (after these changes, all of the PoDs use the same loot table).

Enjoy or don't as you see fit.

Code:
#
# Priest of Discord Fixes
# Intended for use with the PEQ_Kunark_RC1 Database
#
# Provided by Fabled Dvinn (fableddvinn@yahoo.com)
#


# Remove the now-obsolete PoD loot information

DELETE FROM lootdrop WHERE id=16869;
DELETE FROM lootdrop WHERE id=16873;
DELETE FROM lootdrop WHERE id=16877;
DELETE FROM lootdrop WHERE id=16881;
DELETE FROM lootdrop WHERE id=16885;
DELETE FROM lootdrop WHERE id=16889;
DELETE FROM lootdrop WHERE id=16893;
DELETE FROM lootdrop WHERE id=16897;
DELETE FROM lootdrop WHERE id=16901;
DELETE FROM lootdrop WHERE id=16905;
DELETE FROM lootdrop WHERE id=16909;
DELETE FROM lootdrop WHERE id=16913;
DELETE FROM lootdrop WHERE id=16917;
DELETE FROM lootdrop WHERE id=16921;
DELETE FROM lootdrop WHERE id=16925;
DELETE FROM lootdrop_entries WHERE lootdrop_id=16869;
DELETE FROM lootdrop_entries WHERE lootdrop_id=16873;
DELETE FROM lootdrop_entries WHERE lootdrop_id=16877;
DELETE FROM lootdrop_entries WHERE lootdrop_id=16881;
DELETE FROM lootdrop_entries WHERE lootdrop_id=16885;
DELETE FROM lootdrop_entries WHERE lootdrop_id=16889;
DELETE FROM lootdrop_entries WHERE lootdrop_id=16893;
DELETE FROM lootdrop_entries WHERE lootdrop_id=16897;
DELETE FROM lootdrop_entries WHERE lootdrop_id=16901;
DELETE FROM lootdrop_entries WHERE lootdrop_id=16905;
DELETE FROM lootdrop_entries WHERE lootdrop_id=16909;
DELETE FROM lootdrop_entries WHERE lootdrop_id=16913;
DELETE FROM lootdrop_entries WHERE lootdrop_id=16917;
DELETE FROM lootdrop_entries WHERE lootdrop_id=16921;
DELETE FROM lootdrop_entries WHERE lootdrop_id=16925;
DELETE FROM loottable WHERE name="Priest_of_Discord";
DELETE FROM loottable_entries WHERE loottable_id=4218;
DELETE FROM loottable_entries WHERE loottable_id=4219;
DELETE FROM loottable_entries WHERE loottable_id=4220;
DELETE FROM loottable_entries WHERE loottable_id=4221;
DELETE FROM loottable_entries WHERE loottable_id=4222;
DELETE FROM loottable_entries WHERE loottable_id=4223;
DELETE FROM loottable_entries WHERE loottable_id=4224;
DELETE FROM loottable_entries WHERE loottable_id=4225;
DELETE FROM loottable_entries WHERE loottable_id=4226;
DELETE FROM loottable_entries WHERE loottable_id=4227;
DELETE FROM loottable_entries WHERE loottable_id=4228;
DELETE FROM loottable_entries WHERE loottable_id=4229;
DELETE FROM loottable_entries WHERE loottable_id=4230;
DELETE FROM loottable_entries WHERE loottable_id=4231;
DELETE FROM loottable_entries WHERE loottable_id=4232;

# Provide the new PoD loot information

INSERT INTO lootdrop (id, name) VALUES("16869", "4218_Priest_Of_Discord_Wear");
INSERT INTO lootdrop (id, name) VALUES("16873", "4218_Priest_Of_Discord_Misc");
INSERT INTO lootdrop_entries (lootdrop_id, item_id, item_charges, equip_item, chance) VALUES("16869", "10175", "1", "1", "100");
INSERT INTO lootdrop_entries (lootdrop_id, item_id, item_charges, equip_item, chance) VALUES("16873", "11028", "1", "1", "100");
INSERT INTO loottable (id, name, mincash, maxcash, avgcoin) VALUES("4218", "Priest_Of_Discord", "1960", "12976", "0");
INSERT INTO loottable_entries (loottable_id, lootdrop_id, multiplier, probability) VALUES("4218", "16869", "1", "100");
INSERT INTO loottable_entries (loottable_id, lootdrop_id, multiplier, probability) VALUES("4218", "16873", "1", "100");

# Switch all PoDs over to this single new loot set-up

UPDATE npc_types SET loottable_id=4218 WHERE name="Priest_of_Discord";

# Remove the chain helm look

UPDATE npc_types SET helmtexture=0 WHERE name="Priest_of_Discord";
Reply With Quote
  #2  
Old 11-20-2004, 03:35 PM
shanxi
Sarnak
 
Join Date: Nov 2004
Posts: 38
Default

Holy jeebies thats snappy! I would ask how to set that all up to run automatically but that'd be too bold It wont take very long to enter that in by hand but I was just able to finally log into my server with mobs and the first thing i saw was a PoD that looked WRONG! lol. Thanks for the fix!
Reply With Quote
  #3  
Old 11-20-2004, 04:08 PM
Dvinn
Fire Beetle
 
Join Date: Nov 2004
Location: The Emerald City, Oz
Posts: 20
Default

Quote:
Originally Posted by shanxi
I would ask how to set that all up to run automatically but that'd be too bold
Quite a subtle hint there . Here's how you can set it up nice and easy...

- Highlight the text in the "Code:" section of the post. Hit Ctrl-C (or whatever your browser or OS uses to copy text).

- Crack open Notepad (or some other text editor if you're not on a Windows machine).

- Paste the text into your text editor (Ctrl-V if you're using Windows and Notepad).

- Save it into your mysql\bin folder as "podfixes.sql" or something similar.

- Run mysql.exe

- Tell mysql which database to use (i.e. "use eq;")

- In mysql, type "source podfixes.sql;" and hit [ENTER].

- Rejoice as your Priests of Discord are fixed
Reply With Quote
  #4  
Old 11-20-2004, 04:10 PM
mrea
Discordant
 
Join Date: Sep 2004
Location: Camp Hill,PA
Posts: 370
Default

Didn't even notice this really but thanks Dvinn
Reply With Quote
  #5  
Old 11-20-2004, 04:33 PM
Dvinn
Fire Beetle
 
Join Date: Nov 2004
Location: The Emerald City, Oz
Posts: 20
Default

Glad people don't hate it .

Here's a little something else, though not something EQLive-like. This'll make your PoDs able to walk from his spawn spot should the need arise (i.e. to chase pesky players :P).

Code:
UPDATE npc_types SET walkspeed=0.67 WHERE name="Priest_of_Discord";
UPDATE npc_types SET runspeed=1.25 WHERE name="Priest_of_Discord";
If you decide you don't like that, this'll undo it:

Code:
UPDATE npc_types SET walkspeed=0 WHERE name="Priest_of_Discord";
UPDATE npc_types SET runspeed=0 WHERE name="Priest_of_Discord";
Reply With Quote
  #6  
Old 11-20-2004, 04:50 PM
shanxi
Sarnak
 
Join Date: Nov 2004
Posts: 38
Default

omg wow that was nifty. I zapped that in there in like .02 seconds. I beleive that little lesson right there will help me a lot in the future =P

Feed a man a fish and he eats for a day; Teach a man to fish and he eats for a lifetime.
Reply With Quote
  #7  
Old 01-04-2016, 10:23 PM
Toony's Avatar
Toony
Sarnak
 
Join Date: Jul 2009
Location: USA
Posts: 85
Default

Sorry for necroing but, is this still a valid means of resetting the Priest of Discord's back to their old look on a new PEQ db?
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 02:34 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