• 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 0.X Function: clientVersion and OT Client.

Otlandserv

Member
Joined
May 22, 2023
Messages
58
Reaction score
5
Hello.
If I use OT Client and with version 8.62 this function check protocol game on OT Client ?
Will this only work with cip client?
etc:

Lua:
if clientVersion >= 862 then
XXXX
else
XXXX
 
Hello.
If I use OT Client and with version 8.62 this function check protocol game on OT Client ?
Will this only work with cip client?
etc:

Lua:
if clientVersion >= 862 then
XXXX
else
XXXX
you were talking about "modules/game_features"???


would not be?
Lua:
if(version >= 862) then
        g_game.enableFeature(GamePenalityOnDeath)
    end

You are referring to wanting OTClient to read version 862, correct?

For example, here is how OTClient can recognize version through init.lua

Lua:
Servers = {
myserver = "yourip:7171:862",
-- serverName ="ipAddress:port:version"
}
 
Last edited:
you were talking about "modules/game_features"???


would not be?
Lua:
if(version >= 862) then
        g_game.enableFeature(GamePenalityOnDeath)
    end

You are referring to wanting OTClient to read version 862, correct?

For example, here is how OTClient can recognize version through init.lua

Lua:
Servers = {
myserver = "yourip:7171:862",
-- serverName ="ipAddress:port:version"
}

No... I need function for TFS 0.3.7 in .lua where check client version...
 
if you specifically need the function to return client version like 860 and not client type then you need to create it in source most likely i have few knowledge about available functions in 0.3.x
 
Back
Top