• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Red Square

xKrazyx

Old School
Joined
Oct 23, 2012
Messages
904
Solutions
6
Reaction score
683
How to change the color value of the Red square when attacking a target? Anyone try this yet?

Trying to prevent some bots, I believe some bots are scanning for pixels of the red square to find target?


Trying to make it damn near for my systems not to catch a botter/macro.

I can hex/olly the client if needed.


ALSO on another note.. is it possible to traceroute ban a person's original IP, rather than a proxy server IP address? IP banning is an issue for me due to proxies.
 
Last edited:
tfs 0.x and 1.x has creature::sendSquare (or something similarly named) that uses networkmessages to send that square to the client, so if you can find where it sends that on attack im sure you can change it (this only works if the server handles the squares around the target, if its in the client then idk sorry)
you can also send those types of squares with a custom color (or specific duration) yourself with luascript, 0.x has it built in, 1.x you have to just copy it from the source

afaik no bot actually does anything with those squares, the bot just 'knows' which the players target is, and position etc from data sent to the client

as far as i know, no popular bot seems to have anything to detect those kinds of squares (but they have to be sent to a creature, so they can 'see' them that way)

and as for proxies, not really, unless you have access to the proxy servers data

EDIT: after checking tfs 1.2 / 0.3.6 it seems like the square around the target is handled entirely via the client, whereas the black square around people hitting you is handled by the server
 
Last edited:
Back
Top