Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-25-2007, 08:13 AM
Theeper
Discordant
 
Join Date: May 2004
Posts: 290
Default Rules question

Since the #rules load command seems broken (haven't tried JA's fix yet), it's not clear to me how the default ruleset is stored.

I know that in the rule_sets table there is one entry and it's value is 'default'. When I tried to switch rulesets by adding in a "my_rules" row and corresponding rules in the rule_values table, I got odd results, so I changed the 'default' ruleset ID to 1, which matches my custom ruleset_id and left only one row in the rule_sets table. I am sure this isn't how it's supposed to be done, but I cannot find in the code where the default is set queried for.

Is there supposed to be a row matching each 'ruleset_value' set in the rule_sets table and the server picks the one called 'default' when booting, or is there only supposed to be one row in the rule_sets table and you change the ruleset_id to match the set you want to define as 'default' ?

Either way, I modified the rules.html script in the worldui to allow me to tweak and define rule sets, but this last issue is confusing me. Once I figure it out, I will post the script in case anyone is interested.
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 10: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