wut?op code?
can't check right now cause I don't have any server files n shit, but in 1.2 theres something in creatureevents with op code check for otclient I believewut?
Never used 1.2..can't check right now cause I don't have any server files n shit, but in 1.2 theres something in creatureevents with op code check for otclient I believe
maybe something to do with that?
not able to, I have no files right now :|Never used 1.2..
Any chance you code post the source/code segment?![]()
That'd be nice!not able to, I have no files right now :|
maybe someone else could post
function onLogin(player)
function onLogin(player)
if player.isUsingOtClient(self)
player:remove()
end
use ret false instead of player:removeThis will kick the player if they are using OTClient.
In data/creaturescripts/scripts/login.lua replace:
with:Code:function onLogin(player)
Code:function onLogin(player) if player.isUsingOtClient(self) player:remove() end
Thanks! I dont use 1.2 however >.< I use 0.4This will kick the player if they are using OTClient.
In data/creaturescripts/scripts/login.lua replace:
with:Code:function onLogin(player)
Code:function onLogin(player) if player.isUsingOtClient(self) player:remove() end
look in 1.2 sources and/or lib to find the function and convert to 0.4Thanks! I dont use 1.2 however >.< I use 0.4
Thanks, I wish I would have thought of that.look in 1.2 sources and/or lib to find the function and convert to 0.4
hard to tell if sarcastic or not with text ;|Thanks, I wish I would have thought of that.
with the op code i will abe to use cipsoft tibia client? im looking to block otc tooop code?
i cannot find the line of code anywhere@xKrazyx
to block otc you have to remove theses lines from const.h
hope it helps you
- CLIENTOS_OTCLIENT_LINUX = 0x0A,
- + CLIENTOS_OTCLIENT_WINDOWS = 0x0B,
- + CLIENTOS_OTCLIENT_MAC = 0x0C,
i cannot find the line of code anywhere
if player.isUsingOtClient()
return false
end
besides changing RSA/classname/titlename/client number
player.isUsingOtClient() and checking for client os is useless, you can change one number inside otclient and it will send same info os info as regular client
you should not rely on that at all to check for players using otc