• 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!

TFS 1.X+ TFS 1.5 Nekiro to 8.0 GUILD, PARTY, PRIVATE CHANNELS cause crash in official client

kibo433

Member
Joined
Sep 6, 2010
Messages
34
Solutions
1
Reaction score
14
Hi guys,

I use TFS 1.5 Nekiro downgraded to 8.0 with the official Tibia 8.0 client. I tested the channel options on MC and noticed that guild, party, and private channels cause the client to crash on the receiver’s side when sending a message. I also noticed that it works fine with Nekiro 8.6 and the official Tibia 8.6 client. I think it might be a communication issue with the client, but I have no idea where to look for the problem. Does anyone know?
 
Ok. I solved it. Function SendChannelEvent in the protocolgame.cpp is useless, so we need delete or erase all references to it. Look at the chat.cpp and delete:
C++:
    for (const auto& it : users) {
        it.second->sendChannelEvent(id, invitePlayer.getName(), CHANNELEVENT_INVITE);
    }
}

C++:
    for (const auto& it : users) {
        it.second->sendChannelEvent(id, excludePlayer.getName(), CHANNELEVENT_EXCLUDE);
    }

C++:
    if (!publicChannel) {
        for (const auto& it : users) {
            it.second->sendChannelEvent(id, player.getName(), CHANNELEVENT_JOIN);
        }
    }

C++:
    if (!publicChannel) {
        for (const auto& it : users) {
            it.second->sendChannelEvent(id, player.getName(), CHANNELEVENT_LEAVE);
        }
    }
 
Back
Top