EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   WORLD:Expansion Settings (overruled by default)) (https://www.eqemulator.org/forums/showthread.php?t=41219)

GRUMPY 03-18-2017 06:59 PM

WORLD:Expansion Settings (overruled by default))
 
This is just something I noticed that "might" help people who are having trouble getting custom expansion settings to work.

I am not sure about the peq database that Akka's installer downloads, but the one I got from daily dump (feb 22) has one
of the rules from ruletypes.h not in the rulevalues table by default World:UseClientBasedExpansionSettings
This, when set to true, overrides the World:Expansion Settings. In ruletypes.h it is set to true by default.
(I confirmed this today)
Code:

RULE_BOOL(World, UseClientBasedExpansionSettings, true) // if true it will overrule World, ExpansionSettings and set someone's expansion based on the client they're using
For those who might not be aware, you may want to simply add this rule in your rulevalues table and set the value to false.
World:UseClientBasedExpansionSettings false

Didymus 03-25-2017 08:21 AM

Quote:

Originally Posted by GRUMPY (Post 253539)
This is just something I noticed that "might" help people who are having trouble getting custom expansion settings to work.

I am not sure about the peq database that Akka's installer downloads, but the one I got from daily dump (feb 22) has one
of the rules from ruletypes.h not in the rulevalues table by default World:UseClientBasedExpansionSettings
This, when set to true, overrides the World:Expansion Settings. In ruletypes.h it is set to true by default.
(I confirmed this today)
Code:

RULE_BOOL(World, UseClientBasedExpansionSettings, true) // if true it will overrule World, ExpansionSettings and set someone's expansion based on the client they're using
For those who might not be aware, you may want to simply add this rule in your rulevalues table and set the value to false.
World:UseClientBasedExpansionSettings false

I love you! This problem was killing me for the longest time. No one could really help me solve this problem. Thank You sir!

NostalgiaEQ 03-25-2017 10:11 AM

Wow nice find. I will check my database from akka installer today and see if this is in it. Hopefully it will work for me but I highly doubt expansion settings work with titanium at all anyway.

Didymus 03-25-2017 10:13 AM

It worked right away for me =D

NostalgiaEQ 03-25-2017 10:15 AM

Quote:

Originally Posted by Didymus (Post 253808)
It worked right away for me =D

On titanium?

Didymus 03-25-2017 10:24 AM

Quote:

Originally Posted by NostalgiaEQ (Post 253809)
On titanium?

Yes it works as far as i can tell

NostalgiaEQ 03-25-2017 10:44 AM

Quote:

Originally Posted by Didymus (Post 253810)
Yes it works as far as i can tell

:shock: Wow! If so Grumpy hit the jackpot!

NostalgiaEQ 03-25-2017 10:51 AM

I can confirm that in the latest Akka/PEQ database World:UseClientBasedExpansionSettings is not there. So it should be added.

Excellent find, this has been a problem plaguing the community forever!

Question: What is the difference between rule sets 1 and 10? (default and eqemu default)

NostalgiaEQ 03-25-2017 11:02 AM

for reference:



Cheers, yeah I've taken a look at that list and tried so many combinations.

Quote:
Expansions
Default: 511

Accessible expansions for all players.

0 - Classic
1 - Ruins of Kunark
2 - Scars of Velious
4 - Shadows of Luclin
8 - Planes of Power
16 - Legacy of Ykesha
32 - Lost Dungeons of Norrath
64 - Gates of Discord
128 - Omens of War
256 - Dragons of Norrath
512 - Depths of Darkhallow
1024 - Prophecy of Ro
2048 - Serpent's Spine
4096 - The Burried Sea
8192 - Secrets of Faydwer
Quote:
Locate variables table within Database. Then locate varname Expansions:

It is this variable that you need to change to restrict certain expansions (Classes/Races). Here is a few variables that will help you get started:

1 Default
2 EQ Only
3 EQ / Kunark - Enables Iksar Race Only
4 EQ / Luclin - Enables Vah Shir Race + Beastlord Class Only
5 EQ / Kunark / Luclin - Enables Iksar & Vah Shir Race + Beastlord Class
.
..
...
19 EQ / Kunark / Luclin / Ykesha - Enables Iksar & Froglok Race Only
20 EQ / Luclin / Ykesha - Enables Vah Shir & Froglok Race Only (No Iksar) + Beastlord Class
21 EQ / Kunark / Luclin / Ykesha - Enables Iksar, Var Shir, & Froglok Races + Beastlord Class Only
...
....
.....
255 Enables All Expansions + Berserker Class
I think the one directly above is from the old wiki. There's a million links to it.
Old broken wiki link

Lastly, there is this thread:
Is there any way to actually turn off expansions?

Like the OP in that thread, I don't understand where the 16383 comes from. I know the formula in post #3 (2^X-1 where X = Expansion Number. In this case X = 14) is where it comes from, but why is the expansion 14?

I've tried switching the expansion number, with limited success (from 1 - 8192, everything seems random. Some disable at high numbers, and really low numbers). Like I said in my first post, I can get it to disable berserkers and drakkin, but frogloks are always disabled too. I can also get it to disable vah shir and iksars, just can't get the right combination..

Edit: Just to clarify. 31 gives me everything but drakkin, frogloks and berserkers. 32 gives me base EQ from what I can tell (no iksar, vah shir, froglok or drakkin), 33 gives me Kunark.

Didymus 03-25-2017 11:19 AM

Hmmmm!

Maybe i am being a retard here but for some reason the expansion rule in variables dont seem to matter anymore.

Its all classic no matter what number i add

NostalgiaEQ 03-25-2017 11:26 AM

I made sure in my variables table expansions was set to 0 and in rule_values table World:ExpansionSettings set to zero.

And.....


IT WORKS! With titanium!


edit: well at least 0 expansions works! I'll try to get others to work.

Didymus 03-25-2017 11:30 AM

Yeah i want kunark but i cant get it to work. Urrrg!

NostalgiaEQ 03-25-2017 11:33 AM

YES! Hallelujah! It works it all works even with Titanium! The variables table expansions doesn't matter just World:ExpansionSettings now. We are saved! THANKS GRUMPY!

NostalgiaEQ 03-25-2017 11:33 AM

Quote:

Originally Posted by Didymus (Post 253819)
Yeah i want kunark but i cant get it to work. Urrrg!

Yikes ill test it.

NostalgiaEQ 03-25-2017 11:36 AM

Quote:

Originally Posted by Didymus (Post 253819)
Yeah i want kunark but i cant get it to work. Urrrg!

IT WORKS! Put in 1 in World:ExpansionSettings!


All times are GMT -4. The time now is 04:35 PM.

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