GitHub - bhohler/rs-timer: A timer intended for use while AFK-ing in RuneScape

A timer intended for use while AFK-ing in RuneScape. This program has been made possible largely thanks to the efforts of the globalmousekeyhook[1] library. Using it, we're able to have the timer react to mouse and keyboard events even when it doesn't have focus. The timer is able to automatically reset itself whenever a click is detected in a RuneScape window. Due to the nature of this program and its reliance on the Windows API, it only works in Windows. There is no plan for Mac or Linux support at this time.

Supported Clients

  • RS3 official client
  • OSRS official client
  • RuneLite

How does it work?

Every time a MouseDown event happens in Windows, the foreground window might change. Using the Windows API, you're able to obtain a handle to this window and read its title. So following from that, every time a MouseUp event happens, the foreground window may possibly change. Using the globalmousekeyhook[2] library, we're able to easily listen globally for MouseUp events, read the title of the foreground window, and reset the timer if it matches one of the RuneScape window titles.

Is it safe?

Yes. Feel free to read through the source code if you're not convinced. The timer doesn't directly interact with the game at all, nor does it send your mouse clicks or key presses anywhere over the Internet, nor save them to your computer. It just listens to mouse clicks and key presses and reacts according to which window it detected them in.

Where can I download it?

The latest release can be downloaded here on Github[3]. Just download the zip file and extract it to your desired location.

References

  1. ^ globalmousekeyhook (github.com)
  2. ^ globalmousekeyhook (github.com)
  3. ^ here on Github (github.com)
keywords

No Items Found.

Add Comment
Type in a Nick Name here
 
Search Linx
Search Linx by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code here, mostly for my reference. Also if i find a good link, i usually add it here and then forget about it. more...

You could also follow me on twitter. I have a couple of youtube channels if you want to see some video related content. RuneScape 3, Minecraft and also a coding channel here Web Dev.

If you found something useful or like my work, you can buy me a coffee here. Mmm Coffee. ☕

❤️👩‍💻🎮

🪦 2000 - 16 Oct 2022 - Boots
Random Quote
Most people can do absolutely awe-inspiring things,” he said. “Sometimes they just need a little nudge.
Unknown
Latest News
## 🚀 AI Giants Hit Bullseye: Anthropic & OpenAI Achieve Product-Market Fit Anthropic and OpenAI have reached a significant milestone, finding product-market fit with their AI technologies, which means their products effectively meet the needs of their customers, driving growth and adoption. This achievement showcases the practical value of their innovations, enabling businesses and individuals to leverage AI for enhanced productivity and efficiency. With this alignment of product and market needs, these companies are poised to transform industries and shape the future of technology.