opentibia / server

An open source server for the MMORPG Tibia.
GNU General Public License v2.0
414 stars 149 forks source link

Speedhack #52

Open Pietia10 opened 9 years ago

Pietia10 commented 9 years ago

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/ And here: https://github.com/TwistedScorpio/OTHire/issues/21 when we use this fix: in Game::PlayerUseItem(...)

Under:

Thing* thing = internalGetThing(player, pos, stackPos, spriteId, STACKPOS_USEITEM);

add:

player->lastStepCost = 3;

It stops you when you right click using classic control and also there is a delay when you try to open backpack or body from far away. Also you can't shoot runes while moving you have to stop for a sec to shoot sd for example.

TheJoshGriffith commented 8 years ago

Hi @Pietia10 - Feel free to raise a pull request against the repot, if you've got a fix in place for this.

Pietia10 commented 8 years ago

This is not proper fix to address this .