Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Question How can I handle random events?

Joined
Apr 27, 2025
Messages
1
Hello! I'm new here and I already have some experience with programming (python and PHP).
I'm learning java with the development of my first bot! lol and i dont speak english fluent. So sorry for my errors!
But I would like to know how I can handle random events? I saw that in the API there are only 2 ways. Either I deny all the npcs of events, Or I deal with only the Genius event. Is there something I've lost myself in?
 
Hexis bots go brrr
Joined
Dec 9, 2016
Messages
4,794
The client handles all of these for you. You can find a list of them here GameEvents.Universal (RuneMate Game API 1.33.2)

You can enable/disable the ones you choose, by default they are all enabled. So if you want custom behavior then you'd have to disable an event and handle it yourself, but I don't see why you'd need to do that.
 
Top