• 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 OTC Extended Opcodes List

Erikas Kontenis

Board Moderator
Staff member
Board Moderator
Joined
Jul 3, 2009
Messages
1,859
Reaction score
557
Location
Lithuania
Greetings Folks!

I am very new to otclient and I have really many questions about some things such as opcodes list.

Where I could find them all? I was searching in sources and modules folder but could not find out how to use them. As far as I understand the list of opcodes can be found in modules/gamelib/protocol.lua? In the very first example that comes in tfs with language use is that OPCODE_LANGUAGE = 1 while in protocol.lua number 1 is not equal to language opcode...

So, where I could find that list or something?
 
Code:
ExtendedIds = {
Activate = 0,
Locale = 1,
Ping = 2,
Sound = 3,
Game = 4,
Particles = 5,
MapShader = 6,
NeedsUpdate = 7
}

Only 0, 1 and 2 are in use I think, every other opcode should be free and can be used by you.
 
Back
Top