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

Development::Feature Requests Post suggestions/feature requests here.

Reply
 
Thread Tools Display Modes
  #1  
Old 09-19-2009, 09:04 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default Custom Rules Per-Zone

I think it would be nice to have the option to enable or disable the BestZ stuff on a per-zone basis. In most zones, the bestZ rules work really nicely, but in some cases (especially in zones with a lot of objects that haven't been added to the .map file), the BestZ rules can cause NPCs to fall through places that they shouldn't.

I don't know the best way to do this, though the easiest way would probably be to add another field to the zones table to enable or disable it per zone. Possibly a better alternate would be to make an option that would let zones load particular rule sets. This way, you could have any set of rules used for any zone you want. It would make for more flexibility and might open up some pretty cool possibilities. By doing that, I think you could probably set some interesting stuff like special level caps for zones by setting the maxlevel down (or even up) for the ruleset applied to that zone and so on.

This would probably not be too hard to code if it is possible, but it could definitely cause the rule_values table to get a bit overwhelming to manage. Maybe having a secondary table to use just for non-default sets would be good. Also, if possible, it would be nice if you could just have the option to use all default rules other than just certain ones you want to adjust in certain zones. So, maybe having a second table named zone_rule_values, where you could just set a few fields like zoneid (or zonename), rule_name, and rule_value. And, when a zone boots up, it loads the default rule set, and then loads any rules in the zone_rule_values table. I think by loading a rule a second time with a different value, it should overwrite the first time it was loaded from the default rule set. If not, maybe it could be coded to just replace that rule when it is loading all of them.

I just thought up the idea of being able to set custom rule sets per zone while writing this, but the more I think about it, the nicer it is sounding. Not sure on the best way to handle it though. I know that the default rule set gets loaded when the world is loaded, but each zone also loads the rule set as well when they boot. I figure that since you can do a #rules reload in a zone and it will be the only one that takes the rule changes, it should be possible to have different sets in each zone.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!

Last edited by trevius; 09-19-2009 at 09:08 AM..
Reply With Quote
  #2  
Old 09-28-2009, 08:42 PM
So_1337
Dragon
 
Join Date: May 2006
Location: Cincinnati, OH
Posts: 689
Default

Quote:
Originally Posted by Trevius
I just thought up the idea of being able to set custom rule sets per zone while writing this, but the more I think about it, the nicer it is sounding.
Suuuure you did! You were three days late!

But seriously, I think it's a great idea. It would allow for all sorts of customizable zones that could be completely different from the rest, kind of like how the different planes (Hate, Sky, Fear) had their own quirky rules binding them. Those zones are already handled, but it would allow easier handling for custom server operators to do nifty things, and I'm sure there are some Live-like purposes we can find for it as well.
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 12:35 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3