EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::General Support (https://www.eqemulator.org/forums/forumdisplay.php?f=598)
-   -   Expansion Disable Not Working? (https://www.eqemulator.org/forums/showthread.php?t=39831)

Silentrath 07-06-2015 09:30 PM

Expansion Disable Not Working?
 
Is the setting in the Variable table, "Expansions" not working? I've set this to 0 and still can create all classes. I also tried setting, "World:ExpansionSettings" inside the rule_values to 0 and still doesn't restrict Vah Shir, Froglok, etc.. I locked out the non classic zones, just not sure why its not locking out those.

Another quick question is, why is the setting to disable tutorial button still allowing people to go to tutorial?

Thanks,

Silentrath

EDIT: I am all up to date with the latest changes.

Kingly_Krab 07-06-2015 09:39 PM

Do you have this rule disabled?:
Code:

World:UseClientBasedExpansionSettings

Silentrath 07-06-2015 10:30 PM

Got it working! Had it set to on another ruleset! My bad, thank you!

Kingly_Krab 07-06-2015 10:35 PM

Ah okay, I don't know if what I said helped or not if it was on another ruleset, but you're welcome? Haha.

Silentrath 07-06-2015 10:37 PM

Quote:

Originally Posted by Kingly_Krab (Post 241521)
Ah okay, I don't know if what I said helped or not if it was on another ruleset, but you're welcome? Haha.

Yep it was the setting you said! Sorry didn't specify that did it!

Kingly_Krab 07-06-2015 10:38 PM

Haha, okay. You're welcome, glad you got it working.

hurikaNe 01-04-2016 05:17 AM

Quote:

Originally Posted by Kingly_Krab (Post 241518)
Do you have this rule disabled?:
Code:

World:UseClientBasedExpansionSettings

How do I check this?

Figback65 01-23-2016 10:56 PM

I wonder how to check it also, I have installed a fresh database etc etc, and that value is not in my variables or rule_values. Now I cannot lock expansions out. Does it need to be added manually?

EDIT : Ok I added 1 World:UseClientBasedExpansionSettings false manually and it worked other than the gnome pal/sk and Halfling rng/pal those you can still make even if you set expansion setting to 0. Any idea on those?

provocating 01-24-2016 11:35 AM

Quote:

Originally Posted by Figback65 (Post 246735)
I wonder how to check it also, I have installed a fresh database etc etc, and that value is not in my variables or rule_values. Now I cannot lock expansions out. Does it need to be added manually?

EDIT : Ok I added 1 World:UseClientBasedExpansionSettings false manually and it worked other than the gnome pal/sk and Halfling rng/pal those you can still make even if you set expansion setting to 0. Any idea on those?

Which client, a client like Titanium I do not believe follows normal rules.

Figback65 01-24-2016 01:03 PM

Titanium Client is the one I'm using.

provocating 01-24-2016 01:25 PM

Yeah that is probably why. Try with UF and just see what happens.

Shin Noir 01-24-2016 04:35 PM

Generic howto:

Assuming you are using ruleset 1 (default).

Code:

SELECT * from rule_values WHERE ruleset_id = 1 AND (rule_name = "World:ExpansionSettings" OR rule_name = "World:UseClientBasedExpansionSettings");
This should result in 2 records.
World:ExpansionSettings's rule_value should be set to your highest expansion, with a number like: 1=Classic, 2=Kunark, 3=Velious, 4=Luclin, 5=PoP, etc.
World:UseClientBasedExpansionSettings rule_value should be set to false. If you're using a freshly copied PEQ database, this record will likely NOT exist.

If the UseClientBasedExpansionSettings rule does not exist, run this:
Code:

INSERT INTO rule_values (ruleset_id, rule_name, `rule_value`) VALUES (1, "World:UseClientBasedExpansionSettings", "false");
If the expansion is set incorrectly, you can run this command, changing the rule_value from 2 (kunark) to the expansion of your choice noted above:
Code:

UPDATE rule_values SET rule_value=2 WHERE ruleset_id=1 AND rule_name="World:ExpansionSettings" LIMIT 1;
Once you finish updating these values, run the SELECT on the top again to verify the results are what you want. Restart all your server executables. Profit.

As far as the non-classic class combos: Unsure that has been addressed but a ruleset could be created for this specific option to be toggled, if the client does select a bad combination and tries to create, it could reject at that point. Unsure that's in yet though.

Figback65 01-25-2016 03:39 AM

Weird when I set it to 1 for clientbasedexpansionsettings, that's kunark for me, I can make an iksar. But setting it to 0 is classic. Eitherway theres still gnome pal/sk and hlf rng/pal. Its ok though, just not 100% classic, which I don't think will matter that much, unless it would be an easy fix.

I would make a ruleset but I'm still not proficient in how to set it up. Entering in the table is np, but maken sure it can talk to the code is another story for me lol. I am not good with c++

chrsschb 01-25-2016 10:42 AM

Quote:

Originally Posted by Figback65 (Post 246760)
Weird when I set it to 1 for clientbasedexpansionsettings, that's kunark for me, I can make an iksar. But setting it to 0 is classic. Eitherway theres still gnome pal/sk and hlf rng/pal. Its ok though, just not 100% classic, which I don't think will matter that much, unless it would be an easy fix.

I would make a ruleset but I'm still not proficient in how to set it up. Entering in the table is np, but maken sure it can talk to the code is another story for me lol. I am not good with c++

Key word there is CLIENT based.

If you want to change race/class combos then edit the table char_create_combinations and change the required expansions for those combinations.

provocating 01-25-2016 10:57 AM

I could be wrong but I am fairly sure that Titanium clients can make certain combinations no matter what the setting in char_create_combinations


All times are GMT -4. The time now is 04:11 AM.

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