Everything posted by LoudPacks
-
Simple GE API
That's a lot of BS tho and doesn't really do much but get info and click some buttons. Also has no item selection or collection.
-
Anyone got the code for GetImage?
private static Image getImage(String url) { try { return ImageIO.read(new URL(url)); } catch (IOException e) { } return null; }
-
Simple GE API
Hey, I needed to use the GE in one of my scripts so I came up with this. It's pretty basic but allows you to buy and sell different items at different prices and amounts, as well as collect Items. Currently it's only set up to use the first box but you could easily modify to suit your needs. GrandExchange.java: Lemon Version: Example Usage: public class Script extends org.osbot.rs07.script.Script{ private final String itemName = "Blue partyhat"; private final int itemPrice = 2147137627; private final int itemAmount = 500; @Override public int onLoop() throws InterruptedException { GrandExchange GE = new GrandExchange(this); //new GrandExchange instance with our script if (!getGrandExchange().isOpen()) { //Checks if ge is open GE.openGE(); //open ge randomly using booth or npc } else { GE.collectItems(false); //collect items (boolean true -> to bank, false -> inventory) GE.createBuyOffer(itemName, itemPrice, itemAmount); //creates a buy offer with specified params GE.createSellOffer(itemName, itemPrice, 0); //Sells all of the specified items in inventory at specified price ( 0 = all, int = specified amount) } return 150; } }
-
Bank Evaluator
You should include the # of each item and total number in the dump in addition to the values. Looks cool.
-
Renewing JFormDesigner?
Just be a baller and make them from scratch. I learned a lot doing it that way and now I can make gui's exactly how I want them from scratch in like 10 mins.
-
Ring of wealth teleport
private void wealth(String option) { if (getEquipment().interact(EquipmentSlot.RING, option)) { Position current = myPlayer().getPosition(); new ConditionalSleep(1500, 2000) { @Override public boolean condition() { return !myPlayer().getPosition().equals(current); } }.sleep(); } else { for (Item item : getInventory().getItems()) { if (item != null && item.getName().contains("wealth") && item.getName().matches(".*\\d+.*")) { item.interact("wear"); new ConditionalSleep(1500, 2000) { @Override public boolean condition() { return getEquipment().isWearingItem(EquipmentSlot.RING, item.getId()); } }.sleep(); break; } } } }
-
Buying 50m 07 trusted only
1.4 / M lol. No one will sell you unless you use bitcoins so you won't be able to scam. If you're willing to pay that much I would just use one of the gold sites found on OSBot, you might need and ID tho to use paypal which shouldnt be an issue if your a legitimate buyer.
-
[300+ FB] Buying all Gold at Good Rates!
Sold him 117M, legit!
-
Entity or EntityAPI
Entity wheel = entities.closest("Spin Wheel"); would work too but RS2Object is better anyway.
-
One thing on OSBot that is super annoying
Do scripter ranks have a limited amount? I've never had any issues, just out of curiosity.
-
I recommend Cyanogenmod!
I still have this on my SIII lol. I like it alot over the stock firmware for sure. I have a 5s tho as my main phone with an upgrade I can use whenever.
-
One thing on OSBot that is super annoying
It probably wont change. I think they did this to prevent people from farming likes. Maybe they should increase it a little tho.
-
(free) ★ Modern Guide to Goldfarming | Written by Rekke
Im tryna get a copy of this if its possible.
-
Check If Other Player Is Skulled?
Any way I can get that method, maybe posted here, so I can add it to the API I use?
-
Check If Other Player Is Skulled?
I don't see it anywhere in the API.
-
Check If Other Player Is Skulled?
How do I check if another player is skulled. I want to use headIcons but you can only check headIcons on NPCs. What do?
-
Let's see if he's salty enough to post here
YOOOOO
-
Check Trial Date
Ok so I do a lot of private scripts and local testing for SDN scripts sometimes. To prevent people from stealing the script or not buying it, due to having a local test copy, you can place this into your main.java in run() or whatever your start method is; it checks their username and if the date of the trial has passed: DateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); try { if(sdf.parse("2001-9-11").after(new Date()) && getClient().getUsername().equalsIgnoreCase("Maldesto")){ log("Welcome " + getClient().getUsername().toString() + "! " + "You are authorized to use this script until: 9/11/2001"); //normal start methods } else { log("Welcome " + getClient().getUsername().toString() + "! " + "You're not authorized to use this script!"); stop(); } } catch (ParseException e) { }
-
GUI
Do it manually without the help of a builder. Everything in swing should run on OSBot.
-
[dmm] Request
I can do this and have made similar scripts but with different tasks such as wood cutting but I could make one for flax picking.
-
Anyone here drink water?
Of course its a trap card lmao.
-
Anyone here drink water?
I drink at least 3 500ml a day
-
Dbuffed banned?
Talk shit get hit.
-
Every WoodCutting bot at dryanor
Its not time efficient when you could be making a lot more money, maybe the xp isn't as good but its 5x anyway and its not really about xp. Whats the point of just leveling on willows when you'll eventually get banned. Instead you could spend your unbanned time farming something better, yews at least.
-
What should i do with my account?
make a 1 def range pure. I don't believe much questing is involved.