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 10-29-2006, 05:28 AM
GeorgeS
Forum Guide
 
Join Date: Sep 2003
Location: California
Posts: 1,474
Default

Another possibility is to vary the equation by factoring into it a bit of randomness -


UPDATE npc_types SET hp=FLOOR(-5 + (25 * level) + 1.12 * (level ^ 2)+RAND()*level*2) WHERE level<50;

This add's a slight variance by level

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


http://www.georgestools.chrsschb.com//
Reply With Quote
  #2  
Old 10-29-2006, 06:38 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

GeorgeS, you are truly brilliant. I had never really considered doing the math in the SQL statements themselves... could save me hours of script writing. Hehe!
Reply With Quote
  #3  
Old 10-29-2006, 10:32 AM
Rhodan
Hill Giant
 
Join Date: Oct 2006
Posts: 179
Default

Are the NPCs really all that similar? I had thought they would have been a lot different - making en-mass changes like that impractical.

I'll have to dig into the NPC tables and have a look - so far I was just looking at zones and some scripting.

I really wish I could buff my GTW resist up to 200+...


(GTW= go to work).
Reply With Quote
  #4  
Old 10-29-2006, 12:55 PM
paaco
Discordant
 
Join Date: Jan 2005
Posts: 320
Default

man George you are rediculous with MySQL. I would never even attempt to come up with something like that or all the mobs on my server would be messed up lol :(
Reply With Quote
  #5  
Old 10-29-2006, 01:23 PM
Rhodan
Hill Giant
 
Join Date: Oct 2006
Posts: 179
Default

Quote:
Originally Posted by paaco
man George you are rediculous with MySQL. I would never even attempt to come up with something like that or all the mobs on my server would be messed up lol :(
Thats where making a copy of the DB to practice on comes in handy
Reply With Quote
  #6  
Old 10-30-2006, 03:05 AM
GeorgeS
Forum Guide
 
Join Date: Sep 2003
Location: California
Posts: 1,474
Default

To make a quick backup, copy the npc_types files (.frm .MYD , .MYI)These are found in C:\mysql\data\

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


http://www.georgestools.chrsschb.com//
Reply With Quote
  #7  
Old 10-30-2006, 11:21 AM
Rhodan
Hill Giant
 
Join Date: Oct 2006
Posts: 179
Default

Well, its turning out that editing the NPCs really is a viable option and probably the more practicle thing to do. Thanks to folks here and on Cavedude's site (search is handy!) I've gotten lots of ideas how to modify mobs etc to tone them down.

What I haven't found yet is an easy way to increase health and mana regeneration rates for players. I do have an idea though!

This version of EQ (Titanium) supports charms and augs and I'm hoping EQEmu does as well. In Live, you get a kobold charm for completing the newbie zone quests. I'm thinking I could add this charm (which turns out to be one of the better ones in end game) that comes fitted with flowing thought and regeneration augs. THese would be removable so you could transfer them to a new charm if you choose to change later on. Of course they would be no-drop so you couldn't make 8 characters and get 8 augs all packed into one charm

I saw an item creation tutorial around here someplace. I'll have to go looking again.
Reply With Quote
Reply

Thread Tools
Display Modes

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:59 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3