roriscrave
Advanced OT User
- Joined
- Dec 7, 2011
- Messages
- 1,188
- Solutions
- 34
- Reaction score
- 200
I removed skills limit and magic limit of my sources in protocolgame.cpp, changed IT:
to it:
and it:
to it:
To enter with the cipsoft client (I use a dll), and everything goes normally, I can log into the game and see the skills, magic level everything ok.
but when logging in with OTClient, several errors appear in the terminal, remembering that I changed in modules/game_features/features.lua
it:
to it:
and when i log in with otclient, get this erros:
gameServer.log -- log saved
packet.log -- here a packet.log file
C++:
playermsg.addByte(std::min<int32_t>(player->getSkillLevel(i), std::numeric_limits<uint16_t>::max()));
C++:
playermsg.add<uint16_t>(std::min<int32_t>(player->getSkillLevel(i), std::numeric_limits<uint16_t>::max()));
and it:
C++:
msg.addByte(std::min<uint32_t>(player->getMagicLevel(), std::numeric_limits<uint8_t>::max()));
C++:
msg.add<uint16_t>(static_cast<uint16_t>(player->getMagicLevel()));
To enter with the cipsoft client (I use a dll), and everything goes normally, I can log into the game and see the skills, magic level everything ok.
but when logging in with OTClient, several errors appear in the terminal, remembering that I changed in modules/game_features/features.lua
it:
Lua:
if(version >= 860) then
g_game.enableFeature(GameAttackSeq)
end
Lua:
if(version >= 860) then
g_game.enableFeature(GameMagicEffectU16)
g_game.enableFeature(GameDistanceEffectU16)
g_game.enableFeature(GamePlayerStateU16)
g_game.enableFeature(GameDoubleSkills)
g_game.enableFeature(GameSkillsBase)
g_game.enableFeature(GameBaseSkillU16)
g_game.enableFeature(GameAttackSeq)
end
and when i log in with otclient, get this erros:
gameServer.log -- log saved
packet.log -- here a packet.log file