-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Speedhack #21
Comments
If someone ever got interested in this.
|
Effective way to prevent this is: in Game::PlayerUseItem(...) Under: Thing* thing = internalGetThing(player, pos, stackPos, spriteId, STACKPOS_USEITEM); add: player->lastStepCost = 3; |
This is client related, not server related, AFAIK |
This is because when you map click server take control over your character [click just once, don't have to click it more, when you click more, you can think that you run faster, because of 'character animation lag' in client, but speed is same) . It's not 'hacking' anything. It just run with 'character' speed - ignore ping, keyboard delay, Windows input delay.. everything. There is no way to run with keyboard as fast as you can with map click. EDIT: |
Gesior , not exactly on Cipsoft Tibia it's not the case you run at same speed when you map click and when you walk with keyboard it doesn't make any difference at all so there is a way to address this . |
This issue is more like client side and this is fixed in OTC |
Anyone checked what packets and with what time between them server receive when you 'speed hack'? Is there any other situation when we get this kind of packets (hotkey spam or something)? OTS got some schedule of actions (like make next step, onThink events and many others) and as we know 'delayed events' is not a good way to run things when miliseconds matter [checkout otservlist.org server start countdown, refresh site after minute.. JS setTimeout lost somehow few seconds! wtf?]. Maybe normal character, when you run by arrows or map click is not running full speed? Maybe it lose 5-10 ms per step? Stop movement for 5 ms, so you can't see that, but after some distance, you will see that you should run there in 1.54 sec and it takes 1.65. If it's true, solution would be some event that trigger every milisecond and check if player can move (got queued steps). |
Made some tests today, opened another client and saw the character moving in the other screen. It doesn't seem to speedhack at all, the character moves smoothly, making this bug probably just a visual glitch in client. |
Confirming speedhack, Youtube video:
|
Maybe a look at this tip can solve the bug? |
@tarantonio gonna test later. Saving this, REALLY DON'T WANNA RISK TO LOSE THIS ANYHOW.
|
@tarantonio |
While moving with keyboard, you keep right clicking on map to move in the same direction (never stop pressing key arrows), your character like speed hack while doing it. It's like a map click speed hack where people use the ground when they walk.
Better described here http://otland.net/threads/speed-hacking.7418/
The text was updated successfully, but these errors were encountered: