Welcome!

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

Sign up now!
RuneMate will permanently shut down on August 7, 2026
due to events outside our control. You can continue using RuneMate until this date after which it will no longer be available. Thank you to everyone that contributed to RuneMate's success and to the community for the opportunity to serve you all these years.

  • Learn about RuneMate Vault and how its zero knowledge local encryption already protects your sensitive information.
  • Edit or delete your RuneMate account from your Account Settings.
  • All account upgrade subscriptions have been cancelled. No action required.

Java Documentation Suggestions

Mod Automation
Joined
Jul 26, 2013
Messages
3,121
In order to make the Java Documentation as comprehensive as possible for our developers, we are asking for suggestions of specific classes/methods to expand upon. Just provide a brief description below and we will address it promptly.

Thanks.
 
Mod Automation
Joined
Jul 26, 2013
Messages
3,121
@Cloud Execution class needs specification as to which unit of time is used for delays (milliseconds) as requested by @Salvation.
 
Joined
Oct 14, 2014
Messages
8
The whole API should be documented thoroughly, I have not yet seen a botting client with a flush and complete API with rich documentation.
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
The whole API should be documented thoroughly, I have not yet seen a botting client with a flush and complete API with rich documentation.
Although I agree, it takes a considerable amount of time to do detailed and proper documentation. I do try to add more documentation periodically however I'm aware there are sections that are still lacking. If there's ever a point that you find problematic, please comment and I'll gladly write some up.
 
Joined
Nov 23, 2013
Messages
51
Although I agree, it takes a considerable amount of time to do detailed and proper documentation. I do try to add more documentation periodically however I'm aware there are sections that are still lacking. If there's ever a point that you find problematic, please comment and I'll gladly write some up.
asign bot authors to do it, especially the ones that are very familiar with the api
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
asign bot authors to do it, especially the ones that are very familiar with the api
That can't really be done in any productive way because the javadocs have to be packaged with the source code.
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
Feel free to point out specific sections that you feel are under documented. Anything that's self explanatory will be gradually filled out but right now I'm most worried about things that aren't clear enough.
 
Conelander
Joined
Oct 30, 2014
Messages
4,078
Docs need an update I think, World class doesn't exist anymore. Took me a while to find out.
 
Super Bot Author
Joined
Jun 24, 2016
Messages
151
ClientUI.showAlert() could be described. It's the green notification bar on the top of the RuneMate window, right?
 
Joined
Aug 23, 2015
Messages
1,970
Almost the entirety of
  • com.runemate.game.api.hybrid.player_sense.PlayerSense.Key
It has literally no information for most keys besides their names.
 
Inside of "Magic" there is:
activate
public boolean activate()

For most spells this is enough, but it's not clear to authors that they can put the action into activate() to specify what to cast in the case of multiple spells being on the same icon.
 
Java Warlord
Joined
Nov 17, 2014
Messages
4,906
ItemEvents of both onItemAdded and onItemRemoved have positive values as quantityChange.
You may want to document that, since intuitively an ItemEvent's quantityChange should be negative, so that event.getType() returns REMOVAL.
 
12 year old normie
Joined
Jan 8, 2015
Messages
2,767
ItemEvents of both onItemAdded and onItemRemoved have positive values as quantityChange.
You may want to document that, since intuitively an ItemEvent's quantityChange should be negative, so that event.getType() returns REMOVAL.
To be fair it's a quantity CHANGE, and all changes of values are positive, whether you substract or add.

But your point is still valid. Document that shieeeet.
 
Java Warlord
Joined
Nov 17, 2014
Messages
4,906
all changes of values are positive, whether you substract or add
giphy.gif
 
Joined
Aug 23, 2015
Messages
1,970
SpriteItem class:

derive(int quantity) - absolutely no idea what this does...
getOrigin() - no idea...
hasDynamicBounds() - links to Interactable, where the method is also blank

Suggestions:
getIndex() - no description
"Gets the inventory slot, from 0 -> 27 numbered from left to right and top to bottom, that the spriteitem is contained by"

getBounds() - no description
"Gets the InteractableRectangle that encompasses the inventory slot containing the sprite item"
or
"Gets the InteractableRectangle that encompasses the sprite item"
depending on which it does
 
WorldHop class:
Should specify that for OSRS, you need to include the full world number. It's unintuitive since the world hop interface itself doesn't show the full world number when hopping to a new world.
 
Top