Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 05-06-2021, 07:25 PM
methodx
Fire Beetle
 
Join Date: Jul 2020
Location: Ireland
Posts: 2
Default

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
Reply With Quote
  #2  
Old 10-22-2021, 08:46 AM
Baltros101
Fire Beetle
 
Join Date: Oct 2021
Location: UK
Posts: 19
Default

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
Reply With Quote
  #3  
Old 11-11-2021, 08:10 PM
Starrlord
Fire Beetle
 
Join Date: Nov 2021
Posts: 2
Default

Quote:
Originally Posted by methodx View Post
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

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.
Reply With Quote
  #4  
Old 11-15-2021, 05:33 PM
Baltros101
Fire Beetle
 
Join Date: Oct 2021
Location: UK
Posts: 19
Default

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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

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


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3