Where do I set max expansion?
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?
|
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
|
In particular: CurrentExpansion in the rule_values table in the database.
https://eqemu.gitbook.io/server/cate...n/server-rules |
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/cate...nsion-bitmasks |
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/categor...expansion-list |
Quote:
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. |
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/cate...nsion-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 |
New server install April 2022
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 |
Anyone have the updated links from this page?
|
All times are GMT -4. The time now is 06:15 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.