EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Rule values question. (https://www.eqemulator.org/forums/showthread.php?t=37814)

TylerBarnes 02-02-2014 01:12 AM

Rule values question.
 
I've been working on a blue server but I want to create a PVP zone kinda like a mini Alterac Valley with Tallon Zek PVP rules and I know to do that you create a separate ruleset and assign it to the zone. My question is; do I need to make a full on ruleset with all variables filled or if I only set two variables will the unspecified values draw from the default ruleset or will I have a big mess on my hands?
Thanks, guys. :-D

NatedogEZ 02-02-2014 02:44 AM

If there are missing rules in the database for a ruleset it just uses the default value from the source.. which you may or may not like.

You can easily copy your entire ruleset into a new ruleset with SQL


Code:

INSERT INTO `rule_values` (`ruleset_id`, `rule_name`, `rule_value`, `notes`)  select 55, rule_name, rule_value, notes FROM rule_values WHERE ruleset_id = 1
Note.. 55 would be the new ruleset_id and it is copying from ruleset_id 1 :) (change the values to whatever you want to copy from and copy to)

You may need to insert a ruleset into the "rule_sets" table .. but I have no idea .. but better off doing it

Would be something like...... 55, "PVP Rules"

TylerBarnes 02-02-2014 01:52 PM

Thanks for the info. I appreciate it.
I'll go ahead and copy the default one and then tweak what I need to.


All times are GMT -4. The time now is 08:43 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.