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 09-29-2006, 11:25 AM
Jibbatwinkers
Sarnak
 
Join Date: May 2006
Location: Cincinnati
Posts: 73
Default SQL for Unfearable Mobs 65+

Hi other developers, Jibbatwinkers here from over at the Zebuxoruk server. Alot of the coding and development we do is pretty custom so I can't see much of it being of use. One of the great guides over at my server Validus/Lanik constructed this SQL query to help with the fear exploitation that goes on with alot of servers. He is pretty good at this stuff and I thank him very much.

This SQL query will:
Add MCND (Unmezable, Uncharmable, Unstunable, Unfearable) to all mobs 65+, feel free to modify it to whatever level you want.
This will not remove the special attacks that were there previously. First it removes all MCND or mcnd and then adds it, ensuring no duplicates.

I hope this helps, follow the instructions or your results will be very eradic. Make sure you backup your stuff first. We did it on 2 different DB's without any problems.

The following code removes existing M,C,N, or D tags (upper or lower) from all mobs 65 and above. Running these commands all at once makes only the last line take affect. You'll have to run them separately in order for them to all process.

Code:

UPDATE npc_types SET npcspecialattks=INSERT(npcspecialattks,INSTR(npcsp ecialattks,'M'),1,'') WHERE level>=65;
UPDATE npc_types SET npcspecialattks=INSERT(npcspecialattks,INSTR(npcsp ecialattks,'C'),1,'') WHERE level>=65;
UPDATE npc_types SET npcspecialattks=INSERT(npcspecialattks,INSTR(npcsp ecialattks,'N'),1,'') WHERE level>=65;
UPDATE npc_types SET npcspecialattks=INSERT(npcspecialattks,INSTR(npcsp ecialattks,'D'),1,'') WHERE level>=65;
UPDATE npc_types SET npcspecialattks=INSERT(npcspecialattks,INSTR(npcsp ecialattks,'m'),1,'') WHERE level>=65;
UPDATE npc_types SET npcspecialattks=INSERT(npcspecialattks,INSTR(npcsp ecialattks,'c'),1,'') WHERE level>=65;
UPDATE npc_types SET npcspecialattks=INSERT(npcspecialattks,INSTR(npcsp ecialattks,'n'),1,'') WHERE level>=65;
UPDATE npc_types SET npcspecialattks=INSERT(npcspecialattks,INSTR(npcsp ecialattks,'d'),1,'') WHERE level>=65;


And the following code is what adds back all four letter codes to make all npcs level 65 and above unMezable, unCharmable, unstuNable, and unfearable.


Code:

UPDATE npc_types SET npcspecialattks=UPPER(CONCAT(npcspecialattks,'MCND ')) WHERE level>=65;


After that last SQL has finished, all npcs 65+ should be unfearable.
__________________
Lead GM ~ Zeb
Zeb Server
ZebServer.com

Last edited by Jibbatwinkers; 09-29-2006 at 07:50 PM..
Reply With Quote
  #2  
Old 10-19-2006, 11:38 AM
jeffpuff
Fire Beetle
 
Join Date: Jul 2006
Posts: 20
Default

First off thanks for sharing!

I used this information to make every mob in my database unfearable by adding a "D" as fear is currently the bane of me. The issue is this seems to only make the mob immune to "Fear". Yesterday I was able to cast "Fear2" and have reports of other fear line spells landing no problem, but when you cast just "Fear" you get the message "Target is immune to your spell"

Fear is way to easy to land and way to powerfull. I don't know if other servers have addressed this issue but a feared mob will just stand there and take a beating, with very little chance if any of resisting. The problem is equally as bad for PCs. I have had ourageous resists, but still ben able to be feared 90% of the time from mobs blue and lower.

I have tried to use open spell to adjust the resist rate with no luck. Can anyone lead me in the direction to just remove fear all together from a database/spell.us file?


Thanks.
Reply With Quote
  #3  
Old 10-19-2006, 02:07 PM
GeorgeS
Forum Guide
 
Join Date: Sep 2003
Location: California
Posts: 1,474
Default

One possibility is to remove the fear spell (scroll) entirely from ITEMS table, this way it won't be found in game

Just thinking

GeorgeS

__________________
Your source for EQ database tools
Toolshop is open for business


http://www.georgestools.chrsschb.com//
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:23 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