CipsoftStinks
www.relicaria.com
Hello otland
well i have the sources adapted to my server that it's otx2
to be compatible with the old tibianic client(just with old tibianic client)
but i want to also use otclient too... as nastarius
here error in console
the codes XOR are related to tibianic client
could someone help me?
i have made some edition sometimes i get errors in console using otclient and others using old- tibianic
i want to be able to use both
editions in protocol.cpp related to my issues my tries to make it work
in this way i have the xtea errior using old tibianic(no errors when compiled)
no source edited
just tibianic client code
what i did (thinking that i could be able to use otc + tibianic client)
but with this code im having problem in console if i log in with tibianic
ofcourse i added definitions in protocol. h
no errors in console(while compiling etc)
pd:i also source edited otclient to sent a fake protocol
bump
bump
bump
well i have the sources adapted to my server that it's otx2
to be compatible with the old tibianic client(just with old tibianic client)
but i want to also use otclient too... as nastarius
here error in console
Code:
[Failure - Protocol::XTEA_decrypt] Not valid unencrypted message size (IP: 190xxxxxx249)
[11/8/2017 17:52:53] [Failure - Protocol::XTEA_decrypt] Not valid unencrypted message size (IP: 190.xxxx249)
[11/8/2017 17:52:54] [Failure - Protocol::XTEA_decrypt] Not valid unencrypted message size (IP: 190.4xxxx.
the codes XOR are related to tibianic client
could someone help me?
i have made some edition sometimes i get errors in console using otclient and others using old- tibianic
i want to be able to use both
editions in protocol.cpp related to my issues my tries to make it work
in this way i have the xtea errior using old tibianic(no errors when compiled)
no source edited
Code:
void Protocol::onRecvMessage(NetworkMessage& msg)
{
#ifdef __DEBUG_NET_DETAIL__
std::clog << "Protocol::onRecvMessage" << std::endl;
#endif
#ifdef _MULTIPLATFORM77
if(m_encryptionEnabled)
{
#ifdef __DEBUG_NET_DETAIL__
std::clog << "Protocol::onRecvMessage - decrypt" << std::endl;
#endif
if(!XTEA_decrypt(msg))
return;
}
#endif
parsePacket(msg);
}
just tibianic client code
Code:
void Protocol::onRecvMessage(NetworkMessage& msg)
{
#ifdef __DEBUG_NET_DETAIL__
std::clog << "Protocol::onRecvMessage" << std::endl;
#endif
#ifdef _MULTIPLATFORM77
if (m_encryptionEnabled){
XOR_decrypt(msg);
if (!XTEA_decrypt(msg)) {
return;
}
}
#endif
parsePacket(msg);
}
what i did (thinking that i could be able to use otc + tibianic client)
but with this code im having problem in console if i log in with tibianic
ofcourse i added definitions in protocol. h
no errors in console(while compiling etc)
Code:
void Protocol::onRecvXORMessage(NetworkMessage & msg)
{
#ifdef __DEBUG_NET_DETAIL__
std::clog << "Protocol::onRecvMessage" << std::endl;
#endif
#ifdef _MULTIPLATFORM77
if (m_encryptionEnabled) {
XOR_decrypt(msg);
if (!XTEA_decrypt(msg)) {
return;
}
}
#endif
parsePacket(msg);
}
void Protocol::onRecvMessage(NetworkMessage& msg)
{
#ifdef __DEBUG_NET_DETAIL__
std::clog << "Protocol::onRecvMessage" << std::endl;
#endif
#ifdef _MULTIPLATFORM77
if (m_encryptionEnabled){
#ifdef __DEBUG_NET_DETAIL__
std::clog << "Protocol::onRecvMessage - decrypt" << std::endl;
#endif
if (!XTEA_decrypt(msg)) {
return;
}
}
#endif
parsePacket(msg);
}
pd:i also source edited otclient to sent a fake protocol
bump
bump
bump
Last edited by a moderator: