View Full Version : Rule values question.
TylerBarnes
02-02-2014, 01:12 AM
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
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.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.