• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua const.h reserved key

In the function Player::addStorageValue in players.cpp, you've probably forget to check IS_IN_KEYRANGE for the shaders
 
Solution
In the function Player::addStorageValue in players.cpp, you've probably forget to check IS_IN_KEYRANGE for the shaders
before
else if (IS_IN_KEYRANGE(key, MOUNTS_RANGE) || IS_IN_KEYRANGE(key, WINGS_RANGE) || IS_IN_KEYRANGE(key, AURAS_RANGE)) {
// do nothing
}
after
else if (IS_IN_KEYRANGE(key, MOUNTS_RANGE) || IS_IN_KEYRANGE(key, WINGS_RANGE) || IS_IN_KEYRANGE(key, AURAS_RANGE)|| IS_IN_KEYRANGE(key, SHADERS_RANGE)) {
// do nothing
}

solved!! thanks @Fjorda
 
Last edited:
Back
Top