Jire / Charlatano

Proves JVM cheats are viable on native games, and demonstrates the longevity against anti-cheat signature detection systems
GNU Affero General Public License v3.0
675 stars 206 forks source link

Inefficient bunnyhop script scroll method #18

Closed Veylkar closed 7 years ago

Veylkar commented 7 years ago

Replace robot.mouseWheel(if (randBoolean()) amount else -amount) in BunnyHop.kt with mouseWheel(if (randBoolean()) amount else -amount)

Add fun mouseWheel(Amount: Int) = CUser32.mouse_event(MOUSEEVENTF_WHEEL, 0, 0, Amount, 0) to Mouse.kt

Jire commented 7 years ago

Fixed in https://github.com/Jire/Charlatano/commit/c9b3478b72f0694405d562401809bea035122eeb