diff --git a/config.lua.dist b/config.lua.dist index 7eeedc0e52..c777d8592a 100644 --- a/config.lua.dist +++ b/config.lua.dist @@ -98,7 +98,6 @@ forceMonsterTypesOnLoad = true cleanProtectionZones = false luaItemDesc = false showPlayerLogInConsole = true -analyserSendTrueRawExp = false -- VIP and Depot limits -- NOTE: you can set custom limits per group in data/XML/groups.xml diff --git a/src/configmanager.cpp b/src/configmanager.cpp index 365da97d25..000fe340f5 100644 --- a/src/configmanager.cpp +++ b/src/configmanager.cpp @@ -233,7 +233,6 @@ bool ConfigManager::load() boolean[REMOVE_ON_DESPAWN] = getGlobalBoolean(L, "removeOnDespawn", true); boolean[PLAYER_CONSOLE_LOGS] = getGlobalBoolean(L, "showPlayerLogInConsole", true); boolean[TWO_FACTOR_AUTH] = getGlobalBoolean(L, "enableTwoFactorAuth", true); - boolean[EXP_ANALYSER_SEND_TRUE_RAW_EXP] = getGlobalBoolean(L, "analyserSendTrueRawExp", false); string[DEFAULT_PRIORITY] = getGlobalString(L, "defaultPriority", "high"); string[SERVER_NAME] = getGlobalString(L, "serverName", ""); diff --git a/src/configmanager.h b/src/configmanager.h index 611b68d697..3ef5e9aff5 100644 --- a/src/configmanager.h +++ b/src/configmanager.h @@ -54,7 +54,6 @@ class ConfigManager REMOVE_ON_DESPAWN, PLAYER_CONSOLE_LOGS, TWO_FACTOR_AUTH, - EXP_ANALYSER_SEND_TRUE_RAW_EXP, LAST_BOOLEAN_CONFIG /* this must be the last one */ }; diff --git a/src/luascript.cpp b/src/luascript.cpp index 9d041313b3..0fe31322e3 100644 --- a/src/luascript.cpp +++ b/src/luascript.cpp @@ -2158,7 +2158,6 @@ void LuaScriptInterface::registerFunctions() registerEnumIn("configKeys", ConfigManager::MAX_PACKETS_PER_SECOND) registerEnumIn("configKeys", ConfigManager::PLAYER_CONSOLE_LOGS) registerEnumIn("configKeys", ConfigManager::TWO_FACTOR_AUTH) - registerEnumIn("configKeys", ConfigManager::EXP_ANALYSER_SEND_TRUE_RAW_EXP) // os registerMethod("os", "mtime", LuaScriptInterface::luaSystemTime); diff --git a/src/player.cpp b/src/player.cpp index dc93df0a26..a5b483dc70 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -1825,11 +1825,8 @@ void Player::addExperience(Creature* source, uint64_t exp, bool sendText/* = fal levelPercent = 0; } sendStats(); - if (g_config.getBoolean(ConfigManager::EXP_ANALYSER_SEND_TRUE_RAW_EXP)) { - sendExperienceTracker(rawExp, exp); - } else { - sendExperienceTracker(rawExp * g_config.getExperienceStage(getLevel()), exp); - } + + sendExperienceTracker(rawExp * g_config.getExperienceStage(getLevel()), exp); } void Player::removeExperience(uint64_t exp, bool sendText/* = false*/)