View Full Version : Where do I set max expansion?
mattbarber87
04-08-2021, 01:30 PM
Im sure im missing it, but I can't find where I actually set the expansion. I want to only be able to play up to Luclin, but can't find what file im supposed to edit to make this happen. Can anyone assist?
joligario
04-08-2021, 01:38 PM
Best place to start looking is in the documentation. You’ll find a lot of useful information there. https://eqemu.gitbook.io/server/categories/operation
Secrets
04-09-2021, 10:16 AM
In particular: CurrentExpansion in the rule_values table in the database.
https://eqemu.gitbook.io/server/categories/operation/server-rules
methodx
05-06-2021, 07:25 PM
I will share my wisdom seen as I had to look it up a few times now, most recently tonight =D
It is stored in 4 places in the DB
Format is as follows
# TABLE | ROW | TYPE
1. VARIABLES | Expansions | Bitmask
2. RULE_VALUES | Expansion:CurrentExpansion | Bit
3. RULE_VALUES | Bots:BotExpansionSettings | Bitmask (This is only if bots are installed)
4. RULE_VALUES | World:ExpansionSettings | Bitmask
So for example - to have a server with Luclin as the max expansion the values would be as follows;
1. VARIABLES | Expansions | Bitmask | 7
2. RULE_VALUES | Expansion:CurrentExpansion | Bit | 4
3. RULE_VALUES | Bots:BotExpansionSettings | Bitmask | 7
4. RULE_VALUES | World:ExpansionSettings | Bitmask | 7
https://eqemu.gitbook.io/server/categories/operation/expansion-bitmasks
Baltros101
10-22-2021, 08:46 AM
Just happened across this and it was really helpful, thanks!
One point to note though, the expansions number from 0, so Luclin is actually expansion 3. PoP is 4.
https://docs.eqemu.io/server/categories/operation/expansion-list
Starrlord
11-11-2021, 08:10 PM
I will share my wisdom seen as I had to look it up a few times now, most recently tonight =D
It is stored in 4 places in the DB
Format is as follows
# TABLE | ROW | TYPE
1. VARIABLES | Expansions | Bitmask
2. RULE_VALUES | Expansion:CurrentExpansion | Bit
3. RULE_VALUES | Bots:BotExpansionSettings | Bitmask (This is only if bots are installed)
4. RULE_VALUES | World:ExpansionSettings | Bitmask
So for example - to have a server with Luclin as the max expansion the values would be as follows;
1. VARIABLES | Expansions | Bitmask | 7
2. RULE_VALUES | Expansion:CurrentExpansion | Bit | 4
3. RULE_VALUES | Bots:BotExpansionSettings | Bitmask | 7
4. RULE_VALUES | World:ExpansionSettings | Bitmask | 7
https://eqemu.gitbook.io/server/categories/operation/expansion-bitmasks
I tried these Values and was successful but the Expansion available was Gates of Discord. I want to limit it to Velious.
I tried using
1. 2
2. 2
3. Wasn't in the DB
4. 2
And some other combinations but none work. Had to set it back to what it was originally which isn't what I want.
Any tips on actually values to use?
I did read the resources provided. It seems to me that number 1 and 4 are the issues. Default settings were 16383. I believe number 2 is correct being 2.
Baltros101
11-15-2021, 05:33 PM
The correct bitmask for Velious is 3. Bitmasks are a bit unintuitive, but with the value of 2 you enabled Velious but disabled Kunark. You need to add all bit values together to get the mask. So, Classic=0, Kunark=1, Velious=2, add them all together for the mask of 3.
(For more info, check the values in the bottom table here: https://eqemu.gitbook.io/server/categories/operation/expansion-bitmasks)
If Bots:BotExpansionSettings wasn't in the DB it sounds like you don't have bots enabled on your server, so that's fine you can ignore it.
So the values you want for Velious are:
1. VARIABLES | Expansions | Bitmask | 3
2. RULE_VALUES | Expansion:CurrentExpansion | Bit | 2
3. RULE_VALUES | World:ExpansionSettings | Bitmask | 3
Starrlord
05-02-2022, 01:18 PM
I'm trying this again. I seem to have made some progress. Starting the server the logs says Expansion Luclin which is what I want. All character creation ends up in "The mines of Gloom..."
Also the Variables table no longer shows Expansions. This is what I changed. Any ideas?
rule_values
Expansion:CurrentExpansion 3
World:ExpansionSettings 6
variables
crc_eqgame 6
stick_e
08-07-2023, 06:41 PM
Anyone have the updated links from this page?
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.