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

Is it possible to add custom opcodes in OTClient + TFS?

darkshin

New old member
Joined
Dec 14, 2010
Messages
231
Reaction score
22
Hello Guys!

I'm trying to send some storage information from the server to be displayed into OTClient, I was doing it by using parsePlayerStats function, but then I tried to create a new function, just by copying the parsePlayerStats from OTClient and making a new opcode like "GameServerPlayerInfo" = 52, assigined it to to new function. And at the TFS side, i've copied the sendStats() function from protocolgame.cpp. Both are identical, but the new function just can't be displayed as it should. So, is it possible to add custom opcodes?
 
GKnuPRP.jpg


Jokes aside, I have nothing worthwhile to contribute. :x
 
All right! I've solved the case, if anyone has doubts on this issue, msg me.
 
Back
Top