mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-15 12:58:22 +00:00
[Login] Added OP_ExpansionPacketData for RoF2 and update payload for Titanium (#2186)
* Fix for GENERIC_9_STRINGS * Update .gitignore * OP_ExpansionPacketData for Titanium and RoF2 * Update for login_opcodes_sod.conf * Add OP_LoginExpansionPacketData for Titanium and RoF2 * Few expansion fixes * Update client.h * Update client.h * l * Updates based on PR feedback. Moved configuration to login.json Set Titanium limits to constants * Update login.json Added the two configurations to login.json display_expansions - true/false to display on the server select screen max_expansions - the bitmask of expansions enabled (http://spire.akkadius.com/calculators#expansions-bitmask-calculator) * Further cleanup based on feedback. * Further cleanup and refactor max_expansions to max_expansions_mask to better reflect its purpose * Missed rename of max_expansions corrected.
This commit is contained in:
@@ -87,6 +87,12 @@ void LoadServerConfig()
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* Expansion Display Settings
|
||||
*/
|
||||
server.options.DisplayExpansions(server.config.GetVariableBool("client_configuration", "display_expansions", false)); //disable by default
|
||||
server.options.MaxExpansions(server.config.GetVariableInt("client_configuration", "max_expansions_mask", 67108863)); //enable display of all expansions
|
||||
|
||||
/**
|
||||
* Account
|
||||
*/
|
||||
@@ -257,6 +263,9 @@ int main(int argc, char **argv)
|
||||
LogInfo("[Config] [Logging] IsDumpInPacketsOn [{0}]", server.options.IsDumpInPacketsOn());
|
||||
LogInfo("[Config] [Logging] IsDumpOutPacketsOn [{0}]", server.options.IsDumpOutPacketsOn());
|
||||
LogInfo("[Config] [Account] CanAutoCreateAccounts [{0}]", server.options.CanAutoCreateAccounts());
|
||||
LogInfo("[Config] [Client_Configuration] DisplayExpansions [{0}]", server.options.IsDisplayExpansions());
|
||||
LogInfo("[Config] [Client_Configuration] MaxExpansions [{0}]", server.options.GetMaxExpansions());
|
||||
|
||||
#ifdef LSPX
|
||||
LogInfo("[Config] [Account] CanAutoLinkAccounts [{0}]", server.options.CanAutoLinkAccounts());
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user