mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-10-01 02:17:17 +00:00
[GH-ISSUE #183] Spam clicking an oak tree result in obtaining a lot of logs really fast #5651
Reference in New Issue
Block a user
Originally created by @Gptaqbc on GitHub (Nov 15, 2019).
Original GitHub issue: https://github.com/2006-Scape/2006Scape/issues/183
@mrextremez commented on GitHub (Nov 15, 2019):
Read my comment on #184
@michae107 commented on GitHub (Nov 15, 2019):
Easiest fix would be to replace the main cycle event with Player#setCurrentTask
@Gptaqbc commented on GitHub (Nov 15, 2019):
https://www.rune-server.ee/runescape-development/rs2-server/help/527334-spam-clicking-problem.html
@dginovker commented on GitHub (Nov 16, 2019):
Fixed with Captcha's link. Added:
CycleEventHandler.getSingleton().stopEvents(player, "WoodcuttingEvent".hashCode());To the start woodcutting function.