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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 03-03-2015, 08:45 AM
utbbop
Sarnak
 
Join Date: May 2009
Location: Mentor
Posts: 58
Default

Quote:
Originally Posted by Kingly_Krab View Post
Do you have multiple rulesets, if so, is the zone you're in on the ruleset you modified?

Here's the code.
zone/attack.cpp:
Code:
if(GetLevel() < 10 && max_hit > RuleI(Combat, HitCapPre10))
    max_hit = (RuleI(Combat, HitCapPre10));
else if(GetLevel() < 20 && max_hit > RuleI(Combat, HitCapPre20))
    max_hit = (RuleI(Combat, HitCapPre20));
zone/tune.cpp:
Code:
if(GetLevel() < 10 && max_hit > RuleI(Combat, HitCapPre10))
    max_hit = (RuleI(Combat, HitCapPre10));
else if(GetLevel() < 20 && max_hit > RuleI(Combat, HitCapPre20))
    max_hit = (RuleI(Combat, HitCapPre20));
Yes, I have multiple rule sets.
The HitCap Rule_Value is Ruleset_ID 10 (EQEmu_Default)
I had to create a custom Ruleset_ID of 11 to control max levels in each zone.
This means my zones will never have Ruleset_ID 10 as they will all need to have a Ruleset assigned to them that controls max level.

Is there any way to have more the one ruleset per zone or any way to tie them together somehow?

I saw something about using # to make something global? Can you advise if the following would work?

<Original Values>
Table: Rule_Values
Ruleset_ID: 10
Rule_Name: Combat:HitCapPre10
Rule_Value: 20

<Proposed Values>
Table: Rule_Values
Ruleset_ID: #
Rule_Name: Combat:HitCapPre10
Rule_Value: 500

<Additional Question>
Does the use of Ruleset_ID: # require me to create a new Ruleset_ID in the Rule_Sets table?

Example:
Ruleset_ID: #
Name: Global_Rule
Reply With Quote
 


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