Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/20/14 in all areas

  1. This update features a handful of new tools for scripters along with improvements to interactions. Additionally, a large portion of the bot has undergone many revisions in support of our future projects. Both scripters and botters should feel the positive effects of this release. If you would like to learn how to script, please visit these tutorials: Setup guide: http://osbot.org/forum/topic/60538-setup-instructions-to-start-scripting-very-easy/ Basic script guide: http://osbot.org/forum/topic/60535-osbot-script-skeleton-the-minimum-code-to-make-a-script/ OSBot 2.2.28 @Alek's changes: API - Scripters Only -Added localWalker methods walkPath(List<Position>) and walkPath(Position[]) -Added localWalker method waitUntilIdle() -Added localWalker method findPosition(Position p); (Finds a position halfway between you and the target) -Added Utilities class --Added utilities method getMinValue(int[]); (Finds the position of the smallest int in an array) --Added utilities method int[] convertIntegers(List<Integer>) -Added MoveMouseEvent(RS2InterfaceChild child) -Added NPC method hover() -Patched ItemContainer hover() method -Patched all Interactable hover() methods -All Interactable hover() methods are now boolean type Notes: The walkPath() method is very inclusive and may contain some bugs on the initial release. All - Scripters and Botters InteractionEvent by default checks if an entity is on screen before attempting to walk to it. Previously if an entity was on screen but met the distance threshold criteria, it would still walk to the entity. Scripters can override the isVisible default check by setting the walkingDistanceThreshold in InteractionEvent. Notes: The InteractionEvent change has been tested but as always, cannot be fully tested until it reaches the masses. Shout out to for all the bug reports! Thanks for using OSBot -The OSBot Team
    7 points
  2. We will be using the IDE called IntelliJ. Step 1: Click on new project Step 2: Click on Java Step 3: Don't click on template, just click next Step 4: Type in your project name (it will contain all your scripts) Step 5: Click src> New > Java class Step 6: Type in your script name Step 7: Go to project structure Step 8: Make sure you are using Java 8 Step 9: Click on libraries, then click on the plus button, then click on "Java" Step 10: Find your OSBot file (.jar file) - The same file which you click on to start the bot. Step 11: Confirm Step 12: Click Apply/OK. After that you may get a language level message, accept it At this point your IntelliJ is set-up to create scripts. After this point, you will learn how to build the actual script. Step 13: Click Build > Compile Step 14: Find where the file got created, then copy it Step 15: Copy the class file(s) and paste them into your OSBot script folder Step 16: Reload your scripts, and you're done
    6 points
  3. I'm sorry but there's no way to prove if he botted or not so there's nothing we can do about that. @Wise Old Man you are to refund @Petrov the amount of RSGP for the remainder of the service that has not been completed.
    6 points
  4. import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import java.awt.*; @ScriptManifest(name = "Skeleton", author = "Alek", version = 1.0, info = "", logo = "") public class Skeleton extends Script { @Override public void onStart() { //Code here will execute before the loop is started } @Override public void onExit() { //Code here will execute after the script ends } @Override public int onLoop() { return 100; //The amount of time in milliseconds before the loop starts over } @Override public void onPaint(Graphics2D g) { //This is where you will put your code for paint(s) } }
    5 points
  5. objects.closest("Bank chest").interact("Use"); This method looks for an object called "Bank chest" and attempts to interact with it using "Use". If you attempt to interaction with the "Bank chest" using "Attack", the method will not work because "Bank chest" does not have the action "Attack". npcs.closest("Guard").interact("Attack"); Lets say you are killing guards, as the method shows above. What happens when you kill all the guards and this method is called? You will get an error called a "Null Pointer Exception", meaning that the method was called but it didn't work because the object reference (in this case the Guard) is null (meaning it doesn't exist). Here is how we would solve that problem: NPC guard = npcs.closest("Guard"); if(guard != null){ guard.interact("Attack"); } Here we create the NPC reference called "guard" and we define it using the npcs.closest() method. Now if npcs.closest("Guard") can't find any guards, "guard" will be defined as null. This information is used in the next line where we check if "guard" is null, meaning if no guards exist. If there is at least one guard that exists (not null or != null), we will interact with the guard using "Attack".
    3 points
  6. It's ok about the chat thing, no one even goes in their so you won't have to explain it often.
    3 points
  7. private Position[] path = { new Position(3254, 3421, 0), new Position(3256, 3428, 0), new Position(3264, 3428, 0), new Position(3273, 3428, 0), new Position(3277, 3426, 0), new Position(3281, 3422, 0) }; getWalking().walkPath(path); Explanation: The position array listed above will be defined at the top of your script (with the other variables) and getWalking().walkPath(path) will be defined wherever you want to call it (such as in a method, in your onLoop, etc.). Getting positions: Click on the settings gear icon in the client and scroll over "Entity debugs" and then toggle "Entity hover debug". Hover your mouse over a tile and it will show the position of the tile. The third number in the position constructor is the "Z" coordinate, meaning the current plane which you are on. Order: The position array has a list of positions with the first position being where your character will start walking and the last position being where your character will end walking. Add positions in a manner where once your character reaches one position, it can find the next position on the minimap. Additional: If your character starts in the middle of the path, it will not walk to the beginning, it will resume until it reaches the final position. If for some reason your character gets off the path, the walkPath() method will attempt to get back onto your path.
    2 points
  8. Hey guys! I made some paints for maaa boy Krulvis! What do you think of them? (opinions) *All the paints are the same style, so don't say: Same style.. bad!*
    2 points
  9. I think I have proven myself to be fit for this position. A tos may protect you from getting scammed but that does in no way mean that you can abuse it. And I'm not talking about the banned account, I'm talking about refunding the part of the service you never finished. As it's only logical that the service got cancelled after the account got banned. This way you will get paid for the service you provided so far, which is only fair.
    2 points
  10. Alek always hears my request, and usually fixes it. #AlekTheSavior
    2 points
  11. Are you guys seriously still going with this? really staff do you not see this guy is a dummy? i offered him to continue working on his account and he refused even though he already broke the rules. And there is TOS for a purpose or did you guys forget that honestly i cant believe you staff would even get into this when clearly i did not bot and i never will, please please go check if i even use your osbot which i don't i even have installed on my computer. Honestly staff why even waste time on this kid when clearly he was dumb in the first place by braking the rules and refusing my service and he agreed to my tos which automatically does not hold me responsible for the ban. Please staff wise up and stop wasting time on this guy..
    2 points
  12. Thank you again for looking at my dispute again! Clearly i can't prove that he botted on the account with a screenshot without breaking onto his computer during botting. The best defense i have is that why would I pay for service so much if I would bot during the service? And you can also check that I don't have any scripts nor I had any. The other thing is that I don't need all 15m returned which I payed for service. I would only like to get the rest of the gold which wasn't trained for. That would have been around 13m. This basically mean that he is payed for what he did so he doesn't lose anything (basically a compromise)! The third thing is that his TOS about botting isn't fair. That basically states that he can bot during hand-done service legally and will always get away with full payment and the best thing player can do is to continue using his service or gold will be lost. I suggest you do something about this TOS please. Please consider what I posted above. And I think I should also mention that i got a lot of PMs from people who think that I was scammed for 15m which i was!
    2 points
  13. Note: No additional quests or PoH interiors are required anymore. Please take the time to read through the following information, they may answer your questions If not, feel free to ask in this thread Barrows Barrows is a dangerous combat minigame, located in the southern parts of Morytania. The purpose of the minigame is to kill all 6 barrow brothers and finally claim their treasure, providing a chance to receive the unique and valuable barrows equipment, as well as other precious loot. Feature Guide Starting the script Proggies (Post your own in this thread to have them added) Change Log Troubleshooting FAQ Dynamic Signatures Bug report template http://frostbug.dk/dynsig_barrows.png?username=All
    1 point
  14. Because flaming a moderator(s) will help out situation even more. They clearly stated they needed to look at the global T.O.S and your T.O.S and adjust them to cover these kind of situations. Be the bigger man, and just refund him. The quicker you do that, the quicker the dispute ends. Simple
    1 point
  15. Sorry for my error I will never commit this error again i'm so sorry what can I do to quench your desires to feed me to a zombie pls
    1 point
  16. I made a thread about tips on scamquitting. Then I told nezz, the newly promoted global mod (just that day), this [8/15/2014 11:01:10 PM] Jeff: the funniest part is gonna be when i actually use these tips to scam quit [8/15/2014 11:01:14 PM] Nezz Scripting: o [8/15/2014 11:01:21 PM] Jeff: o [8/15/2014 11:01:24 PM] Jeff: wp sorry then I got twc #life
    1 point
  17. Keep close eye on user he said 1 time tht he would scam 1m from me :c
    1 point
  18. 1 point
  19. Let it handle obstacles Shouldn't be that hard to implement. Let people add Entities or a custom obstacle class to an ArrayList and iterate through that
    1 point
  20. 1 point
  21. You want me to tell you something beneficial to you which will then help/encourage you to go steal peoples phones... Seriously?
    1 point
  22. I didn't think there would be so many retarded apple fanboys on this forum. (facepalm)
    1 point
  23. Gangsta ass shit and somewhat realistic goal
    1 point
  24. Your stats should allow you to run it just fine, however I do not recommend using ancient magicks due to the high cost of each cast :P Also, I'm afraid it does not (yet atleast) support swapping equipment during a battle, so you would need to reconsider that karil tactic. Altho I do recommend using magic against karil in the first place, since he for some reason does not seem to have any magic defense. _______ Added some proggies
    1 point
  25. The new name is 'MiloBot' It's super cool.
    1 point
  26. Have you seen the One yet? 1:1 weight to power ratio
    1 point
  27. KOENIGSEGG AGERA R <33333333333333333333333
    1 point
  28. Maserati all the way (No specific car, just Maserati in general)
    1 point
  29. Big Thanks to @TwitchFast who helped me out with my build. I changed the heat sink and bought an hyperevo 212
    1 point
  30. We've already picked a new name, but it's secret. It's very nice though, I'm sure everyone will like it :p.
    1 point
  31. It isn't supposed to be a big complete rewrite of the iOS. Its just that a couple of new features were added. I sense some envy or something because you write these big replies on apple related threads and it's getting annoying.
    1 point
  32. Obviously I have studies I'm going through. Pocket change is what I need, lol
    1 point
  33. Nothing special, I've had it for a week. Runs slow as shit on the 4s.
    1 point
×
×
  • Create New...