Everything posted by LoudPacks
-
Custom Obstacle Handing?
Can u explain the second part in a little more detail? Do you mean save all tiles where rocks spawn?
-
Custom Obstacle Handing?
Alright so basically I have each of the mining areas in the motherlode mined defined. I want to be able to walk to one of these areas and handle the rockfall obstacles that are in the way. Right now if a rockfall is present, a path is not able to be generated. If the rockfall is already mined, the path works fine. Im trying to figure out a way to "ignore" obstacles and generate a path so that I can handle the rockfalls myself (when it gets stuck infront of it using the path). Is there a different approach to doing this?
-
RQ Fish Cooker
I figured u wanted to specify to which decimal the number is rounded to.
-
RQ Fish Cooker
public static float round(float d, int decimalPlace) { return BigDecimal.valueOf(d).setScale(decimalPlace, BigDecimal.ROUND_HALF_UP).floatValue(); }
-
07 Gamble Bot | Gatekeeper | Version 1.0
you should have a !rank command like this, would be nice (instead of gui): Then you, or other ranks can add new ranks while running.
-
[UPDATE] SMS & Email Support!
Can you link me to the hosting company u used for the SMS servers? Or did you just use emails?
-
need nature accs
I have a script that does fire rune and nature runes on karamja. It has slave components that runs u essence and they will accept noted essence in exchange so you dont need to keep a lot on the slave accounts. It also has a master mode that will accept trades and craft, or you can do it manually. Let me know if your interested. It's not on the SDN but we could figure something out.
-
America is doomed.
lol what a pus. They should deport people like him. How is he even a graduate student when he has -5 logic. I lol'd: People are actually focusing so much on 1st amendment righs because everyone is racist and hates black people. In stead we should focus on banning free speech because it can do a lot of damage. TLDR: He's a pussyboy who gets hurt by words and knows nothing.
-
OSBot 2.4.36 - A huge step
Does the webwalking include ape atoll dungeon?
-
Does walking event toggles running?
If your manually creating the event u can do: WalkingEvent malaria = new WalkingEvent(); malaria.setEnergyThreshold(101); Might not work but basically it will only run when your run energy is 101 or higher (impossible)
-
Special Attack Snippet
if (Settings.specName == "Dragon Scimitar") { //if u have settings where u select spec weapon if (getCombat().getSpecialPercentage() >= 55) { //change for different weapons or use some sort of map if (getEquipment().isWieldingWeapon(Settings.specName)) { if (!getCombat().isSpecialActivated()) { int startSpec = getCombat().getSpecialPercentage(); getCombat().toggleSpecialAttack(true); new ConditionalSleep(3000, 3500){ @Override public boolean condition(){ return getCombat().getSpecialPercentage() < startSpec; } }.sleep(); } } else { slot = getInventory().getSlot(Settings.specName); getInventory().getItem(Settings.specName).interact("Wield"); sleep(800); if (!getCombat().isSpecialActivated()) { int startSpec = getCombat().getSpecialPercentage(); getCombat().toggleSpecialAttack(true); new ConditionalSleep(3000, 3500){ @Override public boolean condition(){ return getCombat().getSpecialPercentage() < startSpec; } }.sleep(); } } } else if (getEquipment().isWieldingWeapon(Settings.specName)) { getInventory().getItemInSlot(slot).interact("Wield"); sleep(800); }
-
APA Unicow Killer
What component is this line that separates lol
-
APA Gilded Altar
Nah dude its obviously 100% the scripts fault
-
Simple Path Tool
I could have done that but I just needed a quick path through the cave. How would do that? On a timer? Comparing positions? I figured clicking the button is pretty simple. I didn't know that. I was in ape atol dungeon.
-
Simple Path Tool
I needed to walk in an unmapped dungeon today lol. Im a pleb so I don't have my own and lemons doesn't have zeah, and OSBot doesn't have much besides regular maps.
-
Simple Path Tool
Lets u quickly grab position data for making paths. (Useful for dungeons, zeah, unmapped locations, etc.) EDIT: Added auto position grabbing every 7 tiles. (No more clicking the button) import java.awt.GridLayout; import java.awt.Toolkit; import java.awt.datatransfer.StringSelection; import javax.swing.BorderFactory; import javax.swing.BoxLayout; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.JTextArea; import javax.swing.border.EmptyBorder; import org.osbot.rs07.api.map.Position; import org.osbot.rs07.script.Script; public class PathTool { private Script script; private String newline = "\n"; private String text; private Thread t; private Position currentPosition; public PathTool(Script script) { this.script = script; } public void open() { JFrame frame = new JFrame("Path Maker - " + script.getClient().getUsername()); JButton button = new JButton("Listen"); JButton button2 = new JButton("Copy Data"); JTextArea output = new JTextArea(10, 1); JScrollPane scrollPane = new JScrollPane(output); output.setEditable(false); frame.setLocationRelativeTo(null); frame.setSize(300, 350); frame.setResizable(false); button.addActionListener(event -> { text = String.format("new Position(%d, %d, %d), ", script.myPlayer().getX(), script.myPlayer().getY(), script.myPlayer().getZ()) + newline; output.append(text + newline); currentPosition = script.myPlayer().getPosition(); Thread t1 = new Thread(new Runnable() { public void run() { while (true) { if (script.myPlayer().getPosition().distance(currentPosition) >= 7) { text = String.format("new Position(%d, %d, %d), ", script.myPlayer().getX(), script.myPlayer().getY(), script.myPlayer().getZ()) + newline; output.append(text + newline); currentPosition = script.myPlayer().getPosition(); } try { Thread.sleep(500); } catch (InterruptedException e) { e.printStackTrace(); } } } }); t1.start(); }); button2.addActionListener(event -> { String data = output.getText().replace("\n", ""); Toolkit.getDefaultToolkit().getSystemClipboard().setContents(new StringSelection(data), null); JOptionPane.showMessageDialog(frame, "Data copied to clipboard!"); }); JPanel textPanel = new JPanel(); JPanel buttonPanel = new JPanel(); JPanel masterPanel = new JPanel(); textPanel.setLayout(new GridLayout(1, 1, 5, 5)); textPanel.setBorder(BorderFactory.createTitledBorder("Data")); textPanel.add(scrollPane); buttonPanel.setLayout(new GridLayout(1, 2, 5, 5)); buttonPanel.setBorder(new EmptyBorder(5, 5, 5, 5)); buttonPanel.add(button); buttonPanel.add(button2); masterPanel.setLayout(new BoxLayout(masterPanel, BoxLayout.Y_AXIS)); masterPanel.add(textPanel); masterPanel.add(buttonPanel); frame.getContentPane().add(masterPanel); frame.setVisible(true); frame.addWindowListener(new java.awt.event.WindowAdapter() { public void windowClosing(java.awt.event.WindowEvent e) { t.interrupt(); frame.dispose(); } }); } }
- Meet a Black Person [Q&A]
-
SDN version not running like local version [Identical code]
Word thanks, Ill give that a try, hopefully before the next push.
-
SDN version not running like local version [Identical code]
Okay so I have a script on the SDN called TokenDefenders that farms warrior guild tokens and kills cyclops for defenders. The local version works perfect however when the SDN version is ran it will enter the cyclops room and just stand there rather than attack the cyclops like it does on the local version. I think it may have something to do with the obfuscation but I'm not sure. I have tried reuploading a couple of times and it still has the same issue. If a dev could help me out. If we can't figure it out, I would imagine it's possible for you to upload the local .jar without obfuscation?
-
Selling PaySafeCard Vouchers! [- 15 % OFF cash value]
Hey guys! I have a few PaySafeCard vouchers I need to get rid of. They're in EUR and are in denominations of 10 EUR. Let me know if interested. I need cash not PSC so I'm selling 10 EUR PSC's for 8.5 USD or 8.5 EUR. I accept paypal and BTC. Maybe RSGP if no one else is interested. You would go first or we would use middleman. SOLD
-
Best way to generate Loot list?
String[] lootItems = {"Blue partyhat", "White partyhat"}; for(GroundItem item : getGroundItems().getAll()){ if(item != null && Arrays.asList(lootItems).contains(item.getName())){ log("Looted " + item.getAmount() + " " + item.getName() + "."); item.interact("Take"); new ConditionalSleep(3000, 4000){ @Override public boolean condition(){ return !item.exists(); } }.sleep(); } } Maybe I misinterpreted what you meant. Anyhow, you could also check their osbuddy price and loot if the val > const.
-
Looking for a private scripter
I sent u a pm.
-
Selling CHEAP 07 gp (wont find a better price)
Bought 5m osrs.
-
Need a scripter
I got you. I sent you a PM.
-
Donate Powerball money plz
PayPal me your ticket money, I got you.