Welcome!

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

Sign up now!
  1. the_crumb

    Question Instantiating an InterfaceComponent

    I see interface components are shown as InterfaceComponent [x, y, z] on the dev tools. Is there a standard convention for instantiating an interface component with predetermined parameters of top level component x, child component y, and so on? Or perhaps whittling a parent container down to the...
  2. the_crumb

    Resolved Bankstanding problem with Unexpected Item Handler

    When doing a bankstanding process such as casting a spell, open bank, withdraw preset, repeat: occasionally I'll get an unexpected item immediately after the spell casting, in this case it's a small parcel. With the bank interface open it will hover over the parcel repeatedly trying to open it...
  3. the_crumb

    Bug Varp for active spellbook changed

    Calling Magic.Book.getCurrent() always returns STANDARD which is the value 0, regardless of the active spellbook. Decompiling the class shows it uses the varp id of 439. It looks like the correct varp id is actually 4. @Cloud
  4. the_crumb

    Galaxy Fisher at Piscatoris has a problem banking when Arnold's moving. I've tested on my own...

    Galaxy Fisher at Piscatoris has a problem banking when Arnold's moving. I've tested on my own, but can't figure out how to click him faster. My only solution is waiting for him to stop moving. If you don't mind, let me know if you have any ideas; it would be awesome to see them implemented in...
  5. the_crumb

    Question Mouse Overlay

    Thanks, that's what I thought was happening in the scripts I mentioned seeing as there was an additional window that appeared and overlayed the game client. Thanks, but the open source dev tools don't have any sort of overlay.
  6. the_crumb

    Question Mouse Overlay

    I see that on some of @tyb51's scripts that there are mouse overlays. The only posts that I can find are old and say that it can't be implemented. Assuming that information is outdated, is there a publicized way to show the mouse's position for debugging purposes? I've noticed that when my...
  7. the_crumb

    Bug Passing variables to classes returned by successTask() and failureTask()

    Is there a way to pass variables with the class returned by successTask() and failureTask()? For example, let's say we have the following method: @Override public TreeTask failureTask() { return layTrapAtCoord; } To promote composition over inheritance, I would prefer to reuse the...
  8. the_crumb

    Bug Multiple actions on one leaf

    This sounds like: 1st) Check for shaking box, check box -> 2nd branch 2nd) check if box is gone -> walk to spot, lay new trap So it is a legal move to perform an action in the validate() method? I see that the execute() method is final in the superclass BranchTask, so I can't override it in the...
  9. the_crumb

    Bug Multiple actions on one leaf

    My problem is that if each branch requires a success and failure transition then how am I supposed to transition from a simple action like checking a box trap? I didn't think that it would be a correct procedure to turn the action of checking into a branch, do the box trap check action in the...
  10. the_crumb

    Bug Multiple actions on one leaf

    Thanks, this is a lot of good information. Since I'm writing this as a tree bot and the structures that I've seen involve the leaf action being terminal, when you say to split each action into its own task do you mean its own leaf node? I assume that would require adding additional branches...
  11. the_crumb

    Bug Multiple actions on one leaf

    I'm trying to perform multiple actions in one LeafTask as follows: GameObject trap = GameObjects.newQuery().names("Shaking box").reachable().results().nearest(); SpriteItem invTrap = Inventory.newQuery().names("Box trap").results().random(); if(trap != null && invTrap...
  12. the_crumb

    Resolved VisualRM official documentation

    Thanks, I'll take a look.
  13. the_crumb

    Resolved VisualRM official documentation

    That's why I asked for documentation. Learning the basics of an API usually involves decent documentation. The visualRM website is severely lacking, so I was hoping someone here compiled a more comprehensive explanation of the parameters. If I relied on these terms being self-explanatory then...
  14. the_crumb

    Resolved VisualRM official documentation

    I come from a traditional programming background and I'm trying out VisualRM because I don't have time to learn how the RuneMate API works to write scripts from scratch. I was wondering if there is any official or unofficial documentation for VisualRM variable types? Namely the definition of...
Top