Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 10-28-2011, 02:51 PM
tulsplat
Fire Beetle
 
Join Date: May 2010
Posts: 4
Default

Quote:
Since individual zones can load custom rule settings now, it allows this to work.
..wow I had no idea about this. That sounds like I can make that work for what I want, and also..wow there's a lot of neat stuff you could do with per-zone rulesets aren't there?

Thanks so much Trev!
Reply With Quote
  #2  
Old 11-24-2011, 11:55 PM
tulsplat
Fire Beetle
 
Join Date: May 2010
Posts: 4
Default

A follow up...

How do you make a zone load a custom rule set? What I tried:

I added a row to rule_sets with ID 1 and a name, cloned the default rows in rule_values using 1 as the ruleset_id for the copy, and modified maxlevel in the copy. Then I set ruleset_id to be 1 in the zone table for the zones I wanted.

However, after restarting the server and going to the modified zones, #rules current still shows it using the default rule set. I can #rules load <name> and that works, but when the zone starts up on its own it reverts to the default.

what am I missing?
Reply With Quote
  #3  
Old 11-25-2011, 02:31 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Hmm, sounds like you did everything correct if I am reading your post correctly. I haven't actually checked my zones that use custom rulesets using the #rules command to see what they display, but I know they do work with my custom rules.

I don't think it was actually intended originally, but making a custom ruleset with only 1 or a couple differences is pretty easy. Apparently, a zone will still load the default ruleset that the server is set to, and then load the custom ruleset on top of that. So, if your default for the server is ruleset 0, it would load all of those rules, and if your current zone is set to use ruleset 1, it will then load the ones set as ruleset 1. What this means is that you should only have to add the rule or rules that you are changing from your default into your rule_values table. So, if you only want to change MaxLevel, you can just add that one with id of 1, and set your zone to 1 and you don't need to copy all of your other rules over and have duplicates of tons of rules that you don't actually need.

I would suggest testing it out a bit to see if it works or not even though #rules appears to still show the default ruleset at first. Try a rule that is easy to test with like an Exp multiplier rule or something.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #4  
Old 11-25-2011, 12:17 PM
tulsplat
Fire Beetle
 
Join Date: May 2010
Posts: 4
Default

I was wondering if I needed to copy them all, and figured better safe than sorry. I removed the extra rules from my custom set, keeping just the MaxLevel one.

It isn't working properly though. When the zone loads, I can go there and #setxp and it won't ding me past the default max level. If I #rules switch <custom> and then try it, #setxp can take me past the next level. I also tried with a non-GM character at max level, and had him kill some blues in the custom zone...and his experience was capped at the default max level.

I'm gonna have to dig into it some more, unless you or anyone has other suggestions. I may force an ugly workaround with the default player.pl until I can get it figured out.

Thanks for the response, at least it isn't something obvious that I missed.
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:25 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