Jump to content

ExtraBotz

Suspended
  • Posts

    2513
  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    100%

Everything posted by ExtraBotz

  1. ExtraBotz

    .

    Very informative, you should be staff!
  2. I am not sure if this would appeal to you as you're looking for manual training, but there is a script that I've written that can help you get 100% house favor.
  3. I get what you mean. I think they're more commonly referred to as spam bots. I don't think OSBot has any publicly released, but there's always Gary's Hood Auto Typer. This would be the easiest way to do what you're looking for without any coding knowledge. Otherwise you're going to need to make one yourself or pay somebody to help you. Any account you use a bot/spam on risks being banned so it's suggested to do it with disposable accounts.
  4. I made a video talking about OSBot sleeps and I cover this class. I start talking about it at 12:11
  5. If it’s a paid job shoot me a message Brandon#9592
  6. To write scripts using the OSBot API you must use Java Version 1.8, there is no way around this. With that being said you can write launchers, servers, database framework, etc in other languages and communicate to these programs through your java program. I would recommend learning Java if you want to write scripts.
  7. I would recommend creating a static instance of MethodProvider in your main class and then passing the class as "this" to it in the onStart() method. Due to the fact your script extends "Script" and Script is a child of the MethodProvider class, you can use the parent class (thanks polymorphism) to reference your main class. This will give you all the same methods without the script methods such as onLoop, onStart, onExit, etc. We don't pass a script object because we only need to call those methods once. public class Main extends Script { public static MethodProvider instance; public void onStart() { instance = this; } public int onLoop() { /do stuff } } Then you can access your single method provider from your other classes like so: public class Banking { public void bankingFunction(){ Bank bank = Main.instance.getBank(); } } and in your on loop if you want to call your banking function all you would do is instantiate an object an call the method in your onLoop(). private Banking banking; public void onStart() { banking = new Banking(); } public int onLoop() { banking.bankingFunction(); } Even better would be to encapsulate our instance variable and add a getInstance() method in our main class. private static MethodProvider instance; public void onStart() { instance = this; } public static MethodProvider getInstance() { return instance; }
  8. Were they locked or disabled? It could just be that your IP is different than the registration IPs. Jagex will lock an account if there is an extremely noticeable change in IP locations as it suspects the account is stolen.
  9. This snippet won't work unless you can find the widgets. I'd suggest what lol_marcus said... This is probably a better way of world hopping and an added benefit is that it won't break in the future because it's managed by the OSBot developers. If you use this snippet you risk the widget IDs changing which will require you to update your code in the future. I'd suggest just creating a world hopper class where you store information about when you last hopped, the next world, etc and using that with the api methods.
  10. Add me on discord: Brandon#9592
  11. I haven't seen this issue before but it looks like it can't find the Java executable. This could have to do with your %JAVA_HOME% variable. I also noticed for some reason this has double quotations. Perhaps you copy and pasted the wrong %JAVA_HOME% variable? ""C:\Program Files (x86)\Java\jre1.8.0_251\bin\java.exe""
  12. I do not understand your question. What do you mean by "start it with the larder space empty". You need to be more specific when posting large sections of code. Typically an object should be initialized only within the scope that is needed. You should look into Java Variable Scope which will further explain when to declare variables and how their access works. Lastly, I noticed you're using methods that return a boolean but never check the return value. You should put methods with return type boolean into an if else in-case they fail. if(oaklarder.interact("Remove")) { // the interaction was sucessfull and now we should do a CONDITIONAL sleep } else { // you don't neccesarily need an else, but you can do error checking here! // if you don't use the else the loop will just reiterate and hopefully the interaction will be successful. }
  13. Best of luck! If you’re looking for advice I’d suggest studying the fundamentals of java before the OSBot API. I know it can be tedious that's why they say the roots of education are bitter, but the fruits are sweet.
  14. The beta has now ended! Thank you to everyone who participated. You can find the official release of Extra House Favour here. If a moderator could please close and archive this thread it would be appreciated, thank you!
  15. You might notice in your file manager that “OSBot Scripts” has a different icon than a package. That’s because your package name contains a space which is a violation of the package naming conventions. According to the java code conventions: Package names are all lowercase, with consecutive words simply concatenated together (no underscores). Sorry I didn’t mention that in the video!
  16. I started a YouTube series yesterday that answers this exact question I look forward to making more videos in the future!
  17. Welcome to OSBot To open a private script shop you need a scripter rank. There are currently 3 scripter tiers I, II, and III. Each rank has a test and Scripter I is the starting tier to apply for. You can apply by having a free/VIP script approved on the SDN. Best of luck with your programming journey!
  18. Good luck with your service!
  19. The difference is you can't get banned for botting if you don't bot tutorial island. If you want to really take an account seriously don't bot tutorial island. The only good reason I ever see to bot tutorial island is if you're producing accounts on a mass scale. The trade-off is you gain a lot of time because you don't have to do all the accounts manually, but you will probably have a higher percentage flagged as bots. That's when resting the accounts comes into play so you can confirm whether or not they successfully botted tutorial island.
  20. Please add me on discord: Brandon#9592
  21. Be sure to see the edited note at the bottom. It wont work unless you're in that area. Let me know if you need any help
  22. Keep your mule accounts clean. They shouldn't be banned if you don't bot on them. There is still a risk of being banned for RWT, but it's low.
  23. How to check Hosidious favour: float favour = getFavour().getFavour(Favour.House.HOSIDIUS); This is a method from my script Extra House Favour that I use to push the plough. private NPC plough = null; private void pushPlough() { if (!myPlayer().isAnimating()) { if (plough == null) { plough = getNpcs().closest(o -> o.getId() == 6924); } if (plough != null) { log("Plough Position X:" + plough.getPosition().getX() + " Y: " + plough.getPosition().getY()); boolean infront = myPosition().equals(plough.getPosition().translate(3, 1)); boolean behind = myPosition().equals(plough.getPosition().translate(-1, 1)); if ((infront && plough.getPosition().getX() != 1763) || (behind && plough.getPosition().getX() != 1777)) { if (plough.hasAction("Repair")) { if (plough.interact("Repair")) { new ConditionalSleep(1000, 3000) { @Override public boolean condition() throws InterruptedException { return myPlayer().isAnimating(); } }.sleep(); } } else { if (plough.interact("Push")) { new ConditionalSleep(1000, 3000) { @Override public boolean condition() throws InterruptedException { return myPlayer().isAnimating(); } }.sleep(); } } } else { int front = plough.getPosition().distance(new Position(1777, plough.getY(), 0)); Position frontPos = plough.getPosition().translate(3, 1); int back = plough.getPosition().distance(new Position(1763, plough.getY(), 0)); Position backPos = plough.getPosition().translate(-1, 1); if (front > back) { getWalking().walk(backPos); } else { getWalking().walk(frontPos); } } } else { log("Plough is null!"); } } else { log("Pushing the plough"); } } EDIT: You also need to be in this area or it wont work. You can make it work for the other plough areas, but you'll have the replace the front and back coordinates. private Area farm = new Area(1762, 3557, 1780, 3543);
  24. In one of their developer talks Jagex said they are sometimes lenient with their bans on older and higher level accounts. They said because people might get the grand idea they could bot on their main account, Jagex just wants to warn them that they can't and if they do they will be caught. Their mentality is that if the person does decide to continue botting on their account they will eventually be caught and banned again.
  25. Add me on discord: Brandon#9592 I have 2 accounts you might be interested in
×
×
  • Create New...