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 04-08-2021, 01:30 PM
mattbarber87
Fire Beetle
 
Join Date: Apr 2014
Posts: 1
Default 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?
Reply With Quote
  #2  
Old 04-08-2021, 01:38 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,497
Default

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
Reply With Quote
  #3  
Old 04-09-2021, 10:16 AM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,447
Default

In particular: CurrentExpansion in the rule_values table in the database.

https://eqemu.gitbook.io/server/cate...n/server-rules
Reply With Quote
  #4  
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
  #5  
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
  #6  
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
  #7  
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
  #8  
Old 05-02-2022, 01:18 PM
Starrlord
Fire Beetle
 
Join Date: Nov 2021
Posts: 2
Default 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
Reply With Quote
  #9  
Old 08-07-2023, 06:41 PM
stick_e
Fire Beetle
 
Join Date: Jul 2010
Location: maryland
Posts: 5
Default

Anyone have the updated links from this page?
Reply With Quote
Reply


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 05:05 PM.


 

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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3