Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Dreamliner

Trade With Caution
  • Joined

  • Last visited

Everything posted by Dreamliner

  1. im 12 and i smoke pot all day every day #fuckschool #hashtag #swaag #yolo 420 blaze it son
  2. I have no users. I released my source out of the kindness of my heart. Care to give me pointers how to make it better?
  3. We never said it wasn't. You, @Maxi and @Laz both need to be present in the community because it's good PR and customer service.
  4. System isn't bad... A platform dependent system running inside of a platform independent system is bad. Wait im confused what makes this only work on Windows? please clarify your statement It saves to C:/Users/USER_NAME Linux and Unix(Mac OSX) do not use this file scheme. LMFAO your joking right? You simply change the directory location (the string) honestly haha thats funny infact that has nothing to do with the function of the code itself, thats just telling the jvm where to put the file (Which your suppose to enter manually anyways) No, it should dynamically figure it out itself. It should not rely on user input. I was purely commenting on what was posted, not what was possible to be added. He should of used System.getProperty("os.name") and used a switch statement to convert the file location to the correct one. He did not do this so it is not compatible with any OS other than Windows in it's current form. Honestly because it is not your way, doesn't make it wrong/bad. It is perfectly fine and functional and can work on other machines with minimal editing (One string) You over complicated this more than it should If you want it to work on other machines all you do is change ("C:/Users/") in the locations to work with your machine getProperty("os.name") allows you to do this without the user selecting their OS. Obviously it is better. I don't use linux or mac. I have no need to check an extra line for something I never use. Anyone who scripts here, especially on mac or linux can figure out how to save files them selves. And last time I checked, OSBot has compatibility issues on mac.
  5. User.java public class User { private int atkxp = 0; private int strxp = 0; private int defxp = 0; private int hpxp = 0; private int time = 0; private String name = null; public User(String name, int time, int atk, int str, int def, int hp) { this.setName(name); this.setTime(time); this.setAtkxp(atk); this.setStrxp(str); this.setDefxp(def); this.setHpxp(hp); } public int getAtkxp() { return atkxp; } public void setAtkxp(int atkxp) { this.atkxp = atkxp; } public int getStrxp() { return strxp; } public void setStrxp(int strxp) { this.strxp = strxp; } public int getDefxp() { return defxp; } public void setDefxp(int defxp) { this.defxp = defxp; } public int getHpxp() { return hpxp; } public void setHpxp(int hpxp) { this.hpxp = hpxp; } public int getTime() { return time; } public void setTime(int time) { this.time = time; } public String getName() { return name; } public void setName(String name) { this.name = name; } } UserManager.java import java.io.File; import java.io.IOException; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; import javax.xml.transform.OutputKeys; import javax.xml.transform.Transformer; import javax.xml.transform.TransformerConfigurationException; import javax.xml.transform.TransformerException; import javax.xml.transform.TransformerFactory; import javax.xml.transform.dom.DOMSource; import javax.xml.transform.stream.StreamResult; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.xml.sax.SAXException; public class UserManager { public UserManager() { } public void saveUser(User u, int time, int atkxp, int strxp, int hpxp, int defxp) { File dir = new File("C:/Users/" + System.getProperty("user.name") + "/OSBot/Scripts/Dreamliner/MonsterKiller"); if (!dir.exists()) { dir.mkdirs(); } File file = new File("C:/Users/" + System.getProperty("user.name") + "/OSBot/Scripts/Dreamliner/MonsterKiller/" + u.getName() + ".xml"); DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); DocumentBuilder db = null; try { db = dbf.newDocumentBuilder(); Document d = db.newDocument(); Element root = d.createElement("user"); d.appendChild(root); Element e_atk = d.createElement("atkxp"); e_atk.setTextContent(Integer.toString(u.getAtkxp() + atkxp)); root.appendChild(e_atk); Element e_str = d.createElement("strxp"); e_str.setTextContent(Integer.toString(u.getStrxp() + strxp)); root.appendChild(e_str); Element e_def = d.createElement("defxp"); e_def.setTextContent(Integer.toString(u.getDefxp() + defxp)); root.appendChild(e_def); Element e_hp = d.createElement("hpxp"); e_hp.setTextContent(Integer.toString(u.getHpxp() + hpxp)); root.appendChild(e_hp); Element e_time = d.createElement("time"); e_time.setTextContent(Integer.toString(u.getTime() + time)); root.appendChild(e_time); prettyPrint(d, file); } catch (TransformerConfigurationException e) { System.out.println("1"); } catch (TransformerException e) { System.out.println("2"); } catch (ParserConfigurationException e) { System.out.println("3"); } catch (Exception e) { } } public User loadUser(String user) { File file = new File("C:/Users/" + System.getProperty("user.name") + "/OSBot/Scripts/Dreamliner/MonsterKiller/" + user + ".xml"); int atkxp = 0; int strxp = 0; int defxp = 0; int hpxp = 0; int time = 0; if (file.exists()) { DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); DocumentBuilder db; try { db = dbf.newDocumentBuilder(); Document d; try { d = db.parse(file); atkxp = Integer.parseInt(d.getElementsByTagName("atkxp").item(0).getTextContent()); strxp = Integer.parseInt(d.getElementsByTagName("strxp").item(0).getTextContent()); defxp = Integer.parseInt(d.getElementsByTagName("defxp").item(0).getTextContent()); hpxp = Integer.parseInt(d.getElementsByTagName("hpxp").item(0).getTextContent()); time = Integer.parseInt(d.getElementsByTagName("time").item(0).getTextContent()); } catch (SAXException e) { } catch (IOException e) { } } catch (ParserConfigurationException e) { } } User u = new User(user, time, atkxp, strxp, defxp, hpxp); return u; } public static final void prettyPrint(Document xml, File file) throws Exception { Transformer tf = TransformerFactory.newInstance().newTransformer(); tf.setOutputProperty(OutputKeys.ENCODING, "UTF-8"); tf.setOutputProperty(OutputKeys.INDENT, "yes"); StreamResult sr = new StreamResult(file); tf.transform(new DOMSource(xml), sr); } } How to use public UserManager um = new UserManager(); public User user = null; String un = this.client.instance.getUsername(); if (un != null) { this.user = um.loadUser(this.client.instance.getUsername()); this.loaded = true; } um.saveUser(this.user, t3, this.pu.getAtkGained(), this.pu.getStrGained(), this.pu.getHPGained(), this.pu.getDefGained()); you get this<?xml version="1.0" encoding="UTF-8" standalone="no"?> <user> <atkxp>102560</atkxp> <strxp>125268</strxp> <defxp>102561</defxp> <hpxp>110114</hpxp> <time>18778</time> </user>
  6. Dreamliner replied to Th3's topic in Spam/Off Topic
    windows 8 happened
  7. http://www.runelocus.com/tools/itemlist.html?name=grimy&search=Search
  8. Data Aquisition http://www.zeitnitz.de/Christian/scope_en
  9. CPU $570 mobo $280 ram $100 case $150 psu $165 1-7970 $550 2-7970 $375 sound card - $50 ------------ $2240 watercooling pump - $120 res/pump mods - $80 cpu block - $60 gpu block - $120x2 = $240 fittings - $100 about radiators - $100 -------------- 700$ total $2940 +/- $100 or so
  10. Watercooling just removes the heat of your processors quicker. It still has to dump it into the room via convection - I usually shut the vents in my room and crack the window in the winter
  11. Well that's because computer science isn't just java. To write efficient code you need to know how computers work on the low level. Computer science in my college works with c++ and studies low level code and how many cycles each code takes etc
  12. supercaliswagiliciousexyhelladopeness
  13. Doesn't work, the item database does not show certain grimy herbs when i was making my chais druid killer. It failed to show snapdragons, lantadymes, i believe torstol or dwarf weed. So an alternative is, go to your client settings, enable GroundItem Info drop 1 of your items and you will see the Id Cheers They're there. those unids have higher values. or you could just type in grimy snap and it would show.
  14. The majority of people here don't have the knowledge or skill needed to do what you're saying. It's better if they program the bot their-selves even if that means it takes longer. If other people program it all they'll end up doing is looking through the submitted code and deciding to rewrite it anyway. I did not say it had to be us.
  15. On a more serious note: If you guys can't put the devoted time toward programming the new bot and maintaining the old bot, I believe it is time to find a group of people who can. Instead of distributing the source code for the client, you can assign work loads for different people and have them submit it to you. (just in case you're a control freak) But anyone who steals the client would be in for a lawsuit, seeing how you built your business around this and hopefully copyrighted it. The community can't wait around forever. You need to be more active with your CUSTOMERS or they won't by customers much longer.
  16. I still monitor the forums almost daily weekly to make sure everything is okay. FTFY.
  17. Dreamliner posted a topic in Archive
    I wonder how high I can overclock it
  18. search for grimy herb id's on runelocus item DB http://www.runelocus.com/tools/itemlist.html?name=grimy&search=Search
  19. Let's try an analogy here. OSBot is a high school, and we're both in the same Mathematics class. You're sitting next to me during a test. I spend some time solving a problem and create a solution (SSF). You decided not to spend time yourself and looked at my test to see how I did it, and copied my work (exactly). And then you finished the test and gave it to the teacher (SDN testing). Now I'm realizing that you copied my Math test, and intend on getting a good grade from it (money). While cheating on a school test may not be illegal, it's against the rules in a school as it's academic dishonesty. You never approached me asking if you could use my format, nor had you notified me. I had to find out on my own that you were going to be selling it on the SDN. You're asking me why you shouldn't copy my test as it's "legally right at my [your] fingertips". Now you want to re-do the test as you've been caught. I know where I go to school, the teachers would laugh at such a proposal. You're an idiot. He didn't copy the solution of the test. He asked how he wanted the answer presented. Move on, stop being a whiny bitch. Also, I have yet to be in a math class that you can get full credit by just giving an answer. THE WORK IS WHAT MATTERS.
  20. Home come I can save *.docx in open office? Seriously, you have nothing to complain about. I could write my own script to be compatible with every one of the "scripts" that people write for this script, but that doesn't mean I copied you. You should look into his code and find any methods are are copied word for word that are yours. If you find that then you have a valid complaint. Right now it sounds like you're complaining about the competition. ALL IT IS IS A FILE FORMAT. File formats are generally well known how they are put together. If you didn't want him you use it, maybe you should have wrote a cipher for your file format.
  21. Maybe he was thinking in advance and trying to make his product compatible with your product.
  22. Porn stars are paid well. However females are usually paid more

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.