Jump to content

LoudPacks

Members
  • Posts

    926
  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by LoudPacks

  1. 1. Pictures of the account stats 2. Pictures of the total wealth (if there is any) 3. Pictures of the quests completed 4. The price you will be starting bids at $200 USD 5. The A/W (Auto-win) for your account $200 USD 6. The methods of payment you are accepting BTC/ETH 7. Your trading conditions You go first or we use a middleman 8. Pictures of the account status 9. Original/previous owners AND Original Email Address I am original owner and there is an email linked to the account. You will receive the email account with purchase. The account also has rigor augury, and a magma mutagen.
  2. Didn't update my thread but I'm currently not taking orders. Thanks though.
  3. NodeJS for backend and either Angular or React for front end.
  4. yes add me on discord $10 but its pretty simple and I think you could do it yourself for free if you look at the existing code.
  5. Socket will probably be better if you need 2 way communication.
  6. You do realize that runelite removed some of the internal functionality required for the plugin to work? I don't charge $400 either, I originally did around $50 until the patch came out and now I do around $200 because most noobs can't figure out how to bypass the patches. It's also pretty busted so higher prices deter a majority of users but results in the same amount of income in the end. I'd rather charge more and sell less than charge less and sell more. Also on a side note, mine auto updates and people don't have to mess with intelij or compile anything.
  7. Lol that's literally my plugin.
  8. Only for the listener, not for each connection. Although scaling wise it might be a good idea. I also don't see any HTTP anywhere in this post.
  9. server.accept is blocking and returns a socket representing that connection so you can just do something like: final List<Socket> sessions = new ArrayList<>(); while (listening) { ... sessions.add(server.accept()); } You would need to have the listener on a separate thread so that established connections can process data / do IO operations. For more advanced data you could also look into sending binary data or serialization with something like Gson (helps a lot if you want to serialize and send objects across the socket). I like to subclass Socket and customize it a bit so you have more control over each session.
  10. On a side note, runelite has puzzle solver. I think is has sudoku. Wouldn't be hard to convert theirs to OSBot. Most of it is math anyway.
  11. package com.loudpacks.rs; import com.google.gson.Gson; import com.google.gson.JsonObject; import com.loudpacks.util.IOUtils; import java.io.IOException; import java.net.URL; import java.util.HashMap; import java.util.Map; import java.util.Scanner; public class ItemLookup { private static final String API_LOCATION = "http://services.runescape.com/m=itemdb_oldschool" + "/api/catalogue/detail.json?item=%d"; private static final long TEN_MINUTES = 600000; private static final Map<Integer, LookupResult> cache = new HashMap<>(); private static Map<String, Integer> itemMap; private static long startTime; static { startTime = System.currentTimeMillis(); itemMap = IOUtils.loadItemMap(); //I dumped the cache and generated a map <itemName, itemID> so I can lookup items by name instead of id } public static int getIdForName(String name) { if(!itemMap.containsKey(name)) return -1; return itemMap.get(name); } private static LookupResult parse(int itemId, String json) { Gson gson = new Gson(); JsonObject body = gson.fromJson(json, JsonObject.class); JsonObject item = body.getAsJsonObject("item"); JsonObject current = item.getAsJsonObject("current"); return new LookupResult( item.get("icon").getAsString(), item.get("icon_large").getAsString(), item.get("type").getAsString(), item.get("typeIcon").getAsString(), item.get("name").getAsString(), item.get("description").getAsString(), itemId, current.get("price").getAsString() ); } private static void flushCache() { if (cache != null) { cache.clear(); } } public static LookupResult find(int itemId) { if ((System.currentTimeMillis() - TEN_MINUTES) > startTime) { flushCache(); startTime = System.currentTimeMillis(); } if (cache != null && !cache.isEmpty()) { LookupResult result = cache.get(itemId); if (result != null) { return result; } } String json; try { URL url = new URL(String.format(API_LOCATION, itemId)); Scanner scan = new Scanner(url.openStream()).useDelimiter("\\A"); json = scan.next(); scan.close(); } catch (IOException e) { return null; } LookupResult result = parse(itemId, json); if (cache != null) { cache.put(itemId, result); } return result; } } package com.loudpacks.rs; import lombok.Getter; public class LookupResult { @Getter private final String smallIconUrl, largeIconUrl, type, typeIcon, name, itemDescription; @Getter private final int id; @Getter private final String price; protected LookupResult(String smallIconUrl, String largeIconUrl, String type, String typeIcon, String name, String itemDescription, int id, String price) { this.smallIconUrl = smallIconUrl; this.largeIconUrl = largeIconUrl; this.type = type; this.typeIcon = typeIcon; this.name = name; this.itemDescription = itemDescription; this.id = id; this.price = price; } } Some code from a project I was working on. Should be enough to get you started.
  12. getOfferPrice() only returns the value of a pending / complete GE offer. It doesn't work if you just preview an item, ie. select an item but don't confirm the offer. You can use widgets to read the price that is loaded on the interface when you lookup an item.
  13. 1080 TI and 12 core is recommended
  14. been playing legit, 10 qp away from finishing rfd and got 83 con today.
  15. I make custom runelite plugins. I can make you a zulrah helper overlay. Personally, Id rather run runelite over a bot client unless I'm actually botting. Plus you'll be able to use all the stock runelite plugins along with the zulrah helper. https://osbot.org/forum/topic/144877-previous-sii-☆-loudpacks-custom-runelite-plugin-shop☆-fast-✔/
  16. Bout tree fiddy, a pack of ramen, and a grimy ranaar.
×
×
  • Create New...