Jump to content

Swizzbeat

Members
  • Posts

    7986
  • Joined

  • Last visited

  • Days Won

    58
  • Feedback

    100%

Everything posted by Swizzbeat

  1. I'm not sure why your settings up a child variable? Why not just do (as well as naming your variables with the correct conventions): private boolean interactWithInterface(int parent, int child, String interaction) throws InterruptedException { RS2Interface interface = client.getInterface(parent); if (interface != null && interface.isVisible()) { interface.getChild(child).interact(interaction); return true; } return false; } isVisible() already checks for child elements being drawn, so there's no reason to make am RS2InterfaceChild variable. A regular RS2Interface works fine.
  2. Updated with a paint as well as the simple action of clicking an interface, instead of requiring an action.
  3. Nice one, goodluck with completion
  4. Introduction Being new to Java and wanting to learn more, I decided the best way to expand my knowledge was to actually create a script that wasn't as OSBot API related so I would be forced into learning the inner workings of the Java programming language. Obviously not as advanced as other scripts of its type (SuperScript Factory, Build-a-Script Workshop, etc.) I hope to one day include in all of the features those guys had and more. Features I got the simple GUI from looking at the initial release @QBots had on his script builder (before he got banned obviously). The GUI layout currently looks like this: Obviously in the future I will change it up to accommodate a plethora of options for the user to build their script with, but for now this is how it looks. The script also has a built in Anti-Ban which runs alongside the script the user builds as an added safety precaution. How To Use I'm putting this in the projects section as is exactly that, a project. Nonetheless I still would like people testing it out and using for their own purposes as long as they report back with any bugs/suggestions. Using the GUI to create your own script is relatively simple and can be done in seconds! Just select an option from the drop down menu, input any required data into the text field, and select "Add Action". The action will then be added to the list, where you can remove it with the "Remove Action" button if need be. Download You can download the script HERE - as this is a project and I am looking for feedback if you are a scripter feel free to decompile and give me suggestions on how I can improve my code. This is a learning experience and I appreciate any input you guys have. Current Features In Development 1) Add a GOTO type action for users that want to go to a select part of their script 2) Add a LOT more conditions 3) Add in a whole lot more actions in general FAQ 1) I'm confused what you mean by arguments, could you please provide an example? The only time you are required to input text into the corresponding text field for the action type your adding is if you see brackets after the action name. For example in the case of "WithdrawX(ID, Amount)" you must enter into the text box two numbers separated by a comma. In this case those numbers would be the ID of the item you want to withdraw followed by a comma, and then the amount you want the script to take out. 2) I'm trying to interact with an interface, what the heck is pId and cId? They stand for Parent ID and Child ID, respectively. You can find interface ID's by going to the client Settings -> Advanced tab -> check the box labeled Interfaces. Move your mouse over the interface you want to grab the ID from and on the side of your screen you will see numbers labeled with P and C (Parent and Child). The numbers you want to use are the ones color coordinated with the same box color around the interface you want to interact with. Don't forget to put your action argument after both ID's ("Cook-All", "Make-X" etc.)! 3) What happens when the script gets to the very bottom? Does it just stop? The script will automatically loop back up to the top when it gets to the bottom. Example picture of it in use:
  5. Swizzbeat

    Banned Users

    You could probably lurk through http://osbot.org/forum/forum/117-archive/ for most of your answers.
  6. Maybe it's because I'm not to familiar with API's in general as this is the first one I've ever used, but in my opinion it looks even more disorganized than the one we have right now. Things like this: Why not have it all in the main client class? Plus considering the only difference from the LoginStage/LoginState packages is one letter. It's more confusing to have it like this then just neatly organized in the main client class.
  7. Omg wow so cool please share HOW
  8. I don't see what the effect of changing this would have...
  9. http://docs.oracle.com/javase/tutorial/ Don't waste your money on things you can get online for free.
  10. It's called smart business. You obviously know nothing about that.
  11. Did you scam? Yes? Quit bitching. You should be IP banned.
  12. What is up with kids caring about post count...
  13. You deserve the TWC, as do other people who have it it removed for some weird reason.
  14. I have never seen my dick become this large.
  15. From what I've seen the client is still a little buggy.
  16. The one picture I open up is you getting 371M O_o
  17. I'm even helping out in the spam section? Gosh why am I so perfect.
  18. I saw this as well when they came out, kinda a fail sense of humor if you ask me.
×
×
  • Create New...