Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 03-16-2014, 01:58 AM
AdrianD
Discordant
 
Join Date: Dec 2013
Posts: 297
Default Simple Database Question

Good day,

I used the peq daily dump provided by cavedude in a very recent new install. I have begun to make simple alterations to the database in areas such as npc_type, spawnentry, loottables, etc. If I update the database with the daily dump in the future, will I lose the alterations I made?

EDIT:
Is there a way to make blanket changes to mob hp/damage? For example, increasing all mob hp by 4 per level no matter the mob type. Or is working with the database in this manner just going to be extremely tedious?

I'm green to all this but I'm having a blast customizing all this stuff. I see a vacation in my future...
Reply With Quote
  #2  
Old 03-16-2014, 02:20 AM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,589
Default

Question 1: Yes, it would, that's why the repository has SQL updates for new columns, etc.

Question 2: Yes, run a query in Navicat of HeidiSQL, code below.

Code:
UPDATE npc_types SET hp = (hp + (level * 4));
Reply With Quote
  #3  
Old 03-16-2014, 03:36 AM
AdrianD
Discordant
 
Join Date: Dec 2013
Posts: 297
Default

Thanks, something to work on and figure out...

Did I tell you I was a little wet behind the ears? ~
Reply With Quote
  #4  
Old 03-17-2014, 04:03 AM
AdrianD
Discordant
 
Join Date: Dec 2013
Posts: 297
Default

I've altered the the rule_values table for a particular ruleset_ID and changed the ruleset in the zones table to match. How do I apply a particular ruleset onto this server? For example, using the ruleset_ID 10 for which I made the changes in rules_values.

Thanks

EDIT:
I figured it out. Disregard previous question.

New questions:

1. In npc_types, I've made it so some npcs spawn with variable levels by changing the 'maxlevel.' It seems the 'scalerate' affects the hp accordingly but not damage. For example, a_gnoll at level 3 will hit for 6 max and will hit for the same at level 5. Is there a way to make the damage scale along with the hp so I can avoid making multiple entries for a single spawn?

2. A level 1 player attacking a red dings level 2 upon killing the mob. I'd like to cut off xp at a certain % or amount per level. Aside from changing the rules and level_xp_mods, is this possible and how?

Thanks
Reply With Quote
  #5  
Old 03-17-2014, 07:32 AM
AdrianD
Discordant
 
Join Date: Dec 2013
Posts: 297
Default

Bumped for edit and new question ^ ^ ^
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 08:35 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