1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-07-21 11:14:04 +00:00

[General] Increase maxPlugins to 1000

This allows clients to have 1000 data files instead of 256 as before.

Also increase maxHashes to 50
This commit is contained in:
David Cernat 2022-02-12 00:12:22 +02:00
parent 4aa947ff4b
commit ed9a85f13b
2 changed files with 3 additions and 3 deletions

View file

@ -77,7 +77,7 @@ struct QueryData
const static int maxRules = 128; const static int maxRules = 128;
const static int maxUserRules = maxRules - predefinedRules; const static int maxUserRules = maxRules - predefinedRules;
const static int maxPlayers = 100; // will shown only maxPlayers players const static int maxPlayers = 100; // will shown only maxPlayers players
const static int maxPlugins = 256; const static int maxPlugins = 1000;
const static int maxStringLength = 256; const static int maxStringLength = 256;
}; };

View file

@ -20,9 +20,9 @@ namespace mwmp
void setChecksums(PluginContainer *checksums); void setChecksums(PluginContainer *checksums);
private: private:
PluginContainer *checksums; PluginContainer *checksums;
const static uint32_t maxPlugins = 256; const static uint32_t maxPlugins = 1000;
const static uint32_t pluginNameMaxLength = 256; const static uint32_t pluginNameMaxLength = 256;
const static uint32_t maxHashes = 16; const static uint32_t maxHashes = 50;
}; };
} }