Jpstafe
Well-Known Member
- Joined
- Aug 8, 2011
- Messages
- 581
- Reaction score
- 78
Should be done in both the client and server really.There are two ways of fixing this for the server, by individually checking item onUse if its a hotkey and disabling, or through config.lua.
So yeah, this is done on server side. So you might want to start by posting your server version.
tfs 1.2 version server=8.0 In config.lua there is this option: hotkeyAimbotEnabled = true, but if I set it to false, I cannot throw the runes manually, I'm going to try again, but yesterday I tried setting it to false and nothing worked to throw the runes... not even by chance. hotckey or manualThere are two ways of fixing this for the server, by individually checking item onUse if its a hotkey and disabling, or through config.lua.
So yeah, this is done on server side. So you might want to start by posting your server version.
And from the otclient where is it done?Should be done in both the client and server really.
A check in the client will prevent wasted calls to the server. And then the server check for authority.
Setting it to false should absolutely not stop your from full on manual throws of runes.tfs 1.2 version server=8.0 In config.lua there is this option: hotkeyAimbotEnabled = true, but if I set it to false, I cannot throw the runes manually, I'm going to try again, but yesterday I tried setting it to false and nothing worked to throw the runes... not even by chance. hotckey or manual
Post automatically merged:
And from the otclient where is it done?
Should be done in both the client and server really.
A check in the client will prevent wasted calls to the server. And then the server check for authority.
Setting it to false should absolutely not stop your from full on manual throws of runes.
If you want to stop a specific item from being used, you have to create an onUse() script for it. Check if the item used is your item, if so, then check if its being used by hotkey (the sixth parameter).
If you need help learning how to use and register an onUse script, you can learn everything you need to know on the otland wiki here
Post automatically merged:
Matter of opinion I suppose, according to DRY you shouldn't be double working by writing the check on both client and server, also, it is common consensus that anything you don't want to trust the client with (in this case the aimbot rules), should be handled on server side![]()