Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 01-13-2006, 11:23 AM
Ueguvil
Hill Giant
 
Join Date: Mar 2004
Posts: 139
Default Add stats to NPC

I'm on 6.0, and my database (PEQ) doesn't appear to have any NPC stats (i.e. Dex, Str, Agi, etc) in npc_types. I was wondering what the commands what be to add them in MySQL. Thanks.
Reply With Quote
  #2  
Old 01-13-2006, 11:32 AM
sesmar
I built it I will Support it!
 
Join Date: Jun 2005
Location: Michigan
Posts: 214
Default

save this to a file and source it into your Database to add the stats to your Database.

Code:
ALTER TABLE npc_types ADD STR MEDIUMINT UNSIGNED NOT NULL DEFAULT '75';
ALTER TABLE npc_types ADD STA MEDIUMINT UNSIGNED NOT NULL DEFAULT '75';
ALTER TABLE npc_types ADD DEX MEDIUMINT UNSIGNED NOT NULL DEFAULT '75';
ALTER TABLE npc_types ADD AGI MEDIUMINT UNSIGNED NOT NULL DEFAULT '75';
ALTER TABLE npc_types ADD _INT MEDIUMINT UNSIGNED NOT NULL DEFAULT '80';
ALTER TABLE npc_types ADD WIS MEDIUMINT UNSIGNED NOT NULL DEFAULT '75';
ALTER TABLE npc_types ADD CHA MEDIUMINT UNSIGNED NOT NULL DEFAULT '75'; 
UPDATE npc_types SET _INT=80 WHERE _INT=75;
UPDATE npc_types SET _INT=60 WHERE _INT=80 AND ( bodytype=3 OR bodytype=8);
Orginally added by FNW in the ChangeLog
Reply With Quote
  #3  
Old 01-13-2006, 11:51 AM
Ueguvil
Hill Giant
 
Join Date: Mar 2004
Posts: 139
Default

Thanks, I put it in and set the Str, Agi, and Dex of some dragons to 250. Before, I pretty much never missed them, and they missed me a lot, and even with the change to 250, I see no difference. Do you know what may be causing this?

Last edited by Ueguvil; 01-13-2006 at 07:57 PM..
Reply With Quote
  #4  
Old 01-13-2006, 12:51 PM
sesmar
I built it I will Support it!
 
Join Date: Jun 2005
Location: Michigan
Posts: 214
Default

You also might want to look into this thread for setting NPC stats.

http://eqemulator.net/forums/showthr...234#post116234
Reply With Quote
  #5  
Old 01-19-2006, 06:07 PM
Ueguvil
Hill Giant
 
Join Date: Mar 2004
Posts: 139
Default

Ok so, doesn't matter what I set NPCs stats to in MYSQL front, it always comes up as 75 in #showstats ingame. This sucks, because I hardly ever miss on high level mobs, and they hardly ever hit me. Anyone know how to fix this, it would be really appreciated.
Reply With Quote
  #6  
Old 01-20-2006, 03:34 AM
mystic414's Avatar
mystic414
Hill Giant
 
Join Date: Sep 2004
Posts: 100
Default

6.0 servers don't support npc stats. It was fixed in later versions (check the changelog). So your options are, upgrade to a newer server version, or merge the newer code into your server, which will probably be difficult to do, and may or may not function as expected, since many things have been rewritten in the newer server versions.
__________________
The PEQ Database Editor is available!
Edit Loot, NPCs, Spawns, Merchants, Factions, NPC Spell Lists, and Tradeskills with ease!
Check it out!
Reply With Quote
  #7  
Old 01-20-2006, 02:04 PM
Ueguvil
Hill Giant
 
Join Date: Mar 2004
Posts: 139
Default

Thanks, that clears things up. I might just give the tougher mobs stat buffs, as that seems to work.
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 03:05 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