Jump to content

Ragnar Lothbrok

Members
  • Posts

    210
  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    100%

Everything posted by Ragnar Lothbrok

  1. I've never had this issue myself so I'm not sure. Here's the code I used for interacting with the belt. Might help you get it going as I imagine it's a problem in your code rather than the client. package furnace.sections; import org.osbot.rs07.api.model.Item; import org.osbot.rs07.api.model.RS2Object; import org.osbot.rs07.api.ui.EquipmentSlot; import org.osbot.rs07.script.MethodProvider; import settings.Settings; import utils.Sleep; import static org.osbot.rs07.api.ui.Skill.SMITHING; public class Belt extends Section { public Belt(MethodProvider api, Settings settings) { super(api, settings); } public void placeOre() { if (!api.getEquipment().isWearingItem(EquipmentSlot.HANDS, "Goldsmith gauntlets")) { Item gloves = api.getInventory().getItem("Goldsmith gauntlets"); if (gloves != null) { if (gloves.interact("Wear")) { Sleep.sleepUntil(() -> api.getEquipment().isWearingItem(EquipmentSlot.HANDS, "Goldsmith gauntlets"), 10_000); } } } else { RS2Object belt = getBelt(); if (belt != null) { if (belt.interact("Put-ore-on")) { Sleep.sleepUntil(() -> !api.getInventory().contains("Gold ore") || mustPayForeman(), 10_000); if (mustPayForeman()) { settings.setShouldPayForeman(true); } else { Sleep.sleepUntil(() -> !api.getInventory().contains("Gold ore"), 10_000); settings.setXpBeforePlacingOre(api.getSkills().getExperience(SMITHING)); if (!api.getInventory().contains("Gold ore")) { settings.setOreOnBelt(true); } } } } } } private RS2Object getBelt() { return api.getObjects().closest(b -> b.getName().equals("Conveyor belt") && b.hasAction("Put-ore-on")); } private boolean mustPayForeman() { return api.getWidgets().singleFilter(api.getWidgets().getAll(), widget -> widget.isVisible() && (widget.getMessage().contains("You must ask the foreman's permission before using the blast<br>furnace"))) != null; } }
  2. Add my discord if you're still looking for this - I can help you out. Ragnar Lothbrok#7873
  3. Not necessarily, who's to say you're not using a public ip at say a library? They can't go and ban every account on that IP, they can however temporarily or even maybe permanently blacklist that IP from accessing routes such as the one responsible for account creation.
  4. I had a similar issue when using PhantomJS to create accounts - I forgot to edit the UserAgent and then my IP was I assume blacklisted.
  5. Ragnar's Gold Furnace Full source is on Github - Link below. Feel free to fork the repository and make any changes you wish to customize this script to suit your individual needs This was a script I made for getting 50-70 smithing on my main so it only supports the features I required - posting for anyone to use or fork. Info Current Version: v1.3  Requirements Gold ore in bank. Gold in coffer. In world 358. Stamina potions (any dose) in bank. Gold in inventory if below 60 smithing. Ice gloves & Goldsmithing gauntlets How To Run The Script  Start the script at the blast furnace with plenty of gp in the coffer, plenty gp in your inventory if below 60 smithing, ice/goldsmithing gloves equiped & ice/goldsmithing gloves in inventory. Proggie Bug Reports If you come across any bugs while using this script please report them here and I'll be sure to look into them in a timely manner. Source https://github.com/Ragnar-Lothbrok-OSBot/RagnarsGoldFurnace Download RagnarsGoldFurnace.jar
  6. Add me on discord: Ragnar Lothbrok#7873
  7. You're on the wrong thread - I didn't write that ^^ I wrote the chrome driver one in the OP.
  8. Yes in a sense you can obviously do everything on your own - this doesn't target people with that knowledge. Think of gaming servers, I can easily just buy a dedicated box and host that server on my own at a cheaper cost than that of a GSP - yet millions of people use these services as it provides an easy to use control panel that requires little or no knowledge of what goes into setting this stuff up.
  9. I don't think you understand the concept. So you pay $9.99 per month for example - this is the only fee you pay to use the service. You can then have the control panel create unlimited instances via your server provider. Yes this would be cheaper to create the instance on digital ocean yourself, download the client, add your scripts etc but there's a lot of people out there who don't have the knowledge to do this. Especially if they try use linux servers. The functionality of the service would outweigh the additional cost for a lot of users as you would only need to click a few buttons and input some data to go from start to finish. The service would manage the bot for you. Restarting on crash, updating the bot when it's updated etc. Let's say you wanted to set-up 10 servers running 3 bots per server. Something like this could be done in around 5-10 minutes via a service like this where as doing it all manually will more than likely take a lot longer. You can then tear that all down and do it again in small time frames.
  10. you would pay your own hosting fees so the pricing of the server would depend on what you choose. If you take Digital Ocean as an example you would pay x amount for the service every month + x amount every hour per instance that is running (The cost of the server you choose). We wouldn't handle the payments for the instance costs we would simply use an API key you provided to create these instances.
  11. I've been thinking a lot recently about creating a service that would allow users to create cloud servers at the click of a button that would support the following features: Pre-install bot client Upload scripts directly to the server Run scripts via CLI without ever accessing the server via a control panel allowing you to pass in information for proxies, accounts, scripts, world and so on. VNC if required Change the script an instance is running at the click of a button. (This would restart the client) This would essentially be a wrapper on top of Digital Ocean, AWS, Vultr, Atlantic.net and obviously many different providers can be added. You will pay a monthly fee for the use of the service + the your own hosting costs (Provide an API key to the system) - mainly aimed for people who aren't so familiar with setting all this stuff up. I'll give you a use case: I'm about to go to bed for the night however I'd like to leave a bot running overnight training my account but leaving my pc running isn't an option. I would login to the service and create a new host, after a minute or two your new server will be ready. You will be given all the required details to access this server at this points - the following steps will be completely optional. I would upload the script I wish to run via the control panel or select from previously uploaded scripts to be added to the server. The control panel would ask you for information at this point such as account details so it can pass this to the cli in order to start your script. I understand that for something like this I would need your OSBot login details - something I imagine the staff would never endorse or be ok with. For this I'll reach out to the admin team and look into buying lifetime sponsor or something similar that would allow all local scripts to be ran via this single account. All of this would take < 5 minutes to set-up. All of this is currently an idea as I've not even spoken to anyone in the admin team regarding allowing something like this but would like to get opinions first.
  12. import org.osbot.rs07.api.map.Position; import org.osbot.rs07.event.WebWalkEvent; import org.osbot.rs07.script.MethodProvider; import org.osbot.rs07.utility.Condition; public class WalkingHandler extends MethodProvider { public void Walk(Position NextStep){ WebWalkEvent WalkthePath = new WebWalkEvent(NextStep); WalkthePath.setBreakCondition(new Condition() { @Override public boolean evaluate() { return (!isLoggedIn() || isInDanger() || isLowStamina()); } }); execute(WalkthePath); } private boolean isLoggedIn() { return getClient().isLoggedIn(); } private boolean isInDanger() { return players.closest(p -> p != null && !p.equals(myPlayer()) && (myPosition().getY() > 3522) && p.getPosition().distance(myPosition()) < 20) != null; } private boolean isLowStamina() { return settings.getRunEnergy() < 20 && getInventory().contains(item -> item.getName().contains("Stamina") && item != null); } } Then: WalkngHandler w = new WalkingHandler(); w.exchangeContext(getBot());
  13. import org.osbot.rs07.api.map.Position; import org.osbot.rs07.event.WebWalkEvent; import org.osbot.rs07.utility.Condition; public class WalkingHandler{ private main m = new main(); public void Walk(Position NextStep){ WebWalkEvent WalkthePath = new WebWalkEvent(NextStep); WalkthePath.setBreakCondition(new Condition() { @Override public boolean evaluate() { return (!isLoggedIn() || isInDanger() || isLowStamina()); } }); m.execute(WalkthePath); } private boolean isLoggedIn() { return m.getClient().isLoggedIn(); } private boolean isInDanger() { return m.players.closest(p -> p != null && !p.equals(m.myPlayer()) && (m.myPosition().getY() > 3522) && p.getPosition().distance(m.myPosition()) < 20) != null; } private boolean isLowStamina() { m.settings.getRunEnergy() < 20 && m.getInventory().contains(item -> item.getName().contains("Stamina") && item != null); } } I'd advise changing this to extend MethodProvider rather than creating a new instance of the main class.
  14. I would change those 3 booleans to functions as once they're assigned in the current state they wont update.
  15. How much would this incomplete zerker go for? All def is quested, has b gloves and rune defender.
  16. Botted, I have like 250+ that have been sitting for weeks? - no longer have the proxies but they were all in Dublin
  17. ## Custom Dockerfile FROM consol/centos-xfce-vnc USER 0 RUN sudo yum -y install java-1.8.0-openjdk-devel COPY osbot.jar Desktop/osbot.jar ADD OSBot /headless/OSBot ADD out/artifacts/OakFarm_jar/OakFarm.jar /headless/OSBot/Scripts/OakFarm.jar RUN chmod 777 Desktop/osbot.jar RUN chmod 777 /headless/OSBot RUN chmod 777 /headless/OSBot/Scripts RUN chmod 777 /headless/OSBot/Data RUN chmod 777 /headless/OSBot/Local RUN chmod 777 /headless/OSBot/Data/client.jar RUN chmod 777 /headless/OSBot/Data/filter_dda51e36.jar RUN chmod 777 /headless/OSBot/Data/map.bin RUN chmod 777 /headless/OSBot/Data/map.zip RUN chmod 777 /headless/OSBot/Scripts/OakFarm.jar USER 1000 CMD java -jar Desktop/osbot.jar -debug 5005 -login [your username]:[your password] -bot none:none:0000 -script OakFarm:$mule -allow norandoms,lowcpu,lowresource -proxy $proxy -world $world Here's the dockerfile I used on my farm - this uses. If the bot crashes the container will restart as will the client. EDIT: Will also copy the webwalking links so you can start one first runtime
  18. Probably permissions - there's no way for them to determine if you're a seller/buyer if you're under 100pc. You can pm the seller though?
  19. I don't think there are any rules preventing you from buying an account with < 100 post count
  20. Never had a RWT ban or any ban from a plain old trade
  21. https://stackoverflow.com/questions/7520432/what-is-the-difference-between-vs-equals-in-java
  22. Need 44 - 60 hunter hand done today. Post prices please.
  23. Hard to say man - I ran it like 8-10 hours a day on my pure for like a week with just absorption and overloads and never got banned but I could have got lucky. I'd always stick by the saying don't bot on an account you're not willing to lose.
×
×
  • Create New...