Everything posted by Bobrocket
-
Merching clan...
Just flip merch. Shit like zulrah scales get you rich fast.
-
Omni Scripts - Request your trials here
Sorry for the super long wait, I was making sure that the new update for OmniPocket was available. You are now authed - thanks a lot!
-
Learning Curve
Looks like you may need to set the bounds for the labels?
-
Compiling without OSBot Jar
Are you adding the jar to the build path instead of in the fike system?
-
getAmount() Problem
I don't think Camera#toEntity accepts an RS2Object as a parameter (could be wrong). Instead, use Entity for objects and NPC for NPCs: Entity door = getObjects().closest(new Filter<Entity>() { //match code }); if (!door.isVisible()) { getCamera().toEntity(door); } if (!door.hasAction("Open")) { log("Door is open"); return false; } door.interact("Open"); Position p = door.getPosition(); //Conditional sleep -> check objects at position p, see if they have action "Close" log("Door should be open"); return true;
-
getAmount() Problem
The API states that #getItem() returns a type of item. The method you want is ItemContainer#getAmount(String ... items) Usage: int amt = getInventory().getAmount("Jug of Water");
-
getAmount() Problem
Facing camera to NPC: getCamera().toEntity(NPC); Is your jug of water noted? inventory.getItem() returns the first found item, so you could be getting an unnoted one (hence getting 1), and none should very well be 0 as there are 0 jugs.
-
Script paint mockup
Here's what it looks like, (mostly) complete. Progress bar is a WIP, and I also want to add a few more elements to the paint. This, however, will do. Thanks!
-
GUI help
I always personally leave my GUIs open so people can screenshot them for bug reports, but I believe you can set it to close the GUI without ending the script.
-
Typing (faster) using the Keyboard class
If you post your additions in the SmartKeyboard thread I'd be glad to go through and implement them
- GUI help
-
GUI help
Within GUI (textbox as an example) if (textBox.getText().isEmpty()) { JOptionPane.showMessageDialog(null, "You must fill out this text box first!"); return; } The return; will stop execution of the method. I personally have a boolean in my main class, guiWait, which I then set from true to false when the GUI has applied the settings. I do something like this: GUI g = new GUI(); public static boolean guiWait = true; onStart() { g.setVisible(true); while (guiWait) { sleep(400); } } //GUI //Button actionPerformed if (conditionsMet) { ArbitraryScriptClass.guiWait = false; } else { JOptionPane.showMessageDialog(null, "You must select a preset or define a monster first!"); }
-
GUI help
GUI g = new GUI(); onStart() { g.setVisible(true); while (g.isVisible()) { sleep(400); } }
-
Multiple bots VPN?
Yes. Blast furnace is a lot more money, but requires start up cash.
-
Multiple bots VPN?
Not too high I believe.
-
Multiple bots VPN?
Motherlode is a great way to make 100k+ per hour without any requirements other than 30 mining. No need for fuckloads of items, just a pickaxe.
- Birthday
-
BotScript
I heard, however mine is more for private internal use. Just gave an example on how you can really simplify scripting with something like that. Mine is simply an interpreter with it's own node system for running the scripts. This is the best way for me (for internal use), however you're definitely not going to want to even consider this approach.
-
BotScript
The idea is good and would help those who want to script but don't know how. In OmniPocket, I use my own minor script language (like OP highlights here) to create presets which allow more control for me (the script writer) within my own API without steering away from the AIO nature of the script. Now, of course, OP and I have different uses for this, but it's still a good idea. Here's an example script that I am working on for a basic blackjacker: #Pollinveach Blackjacking #TODO: add positions, finalise #also todo: work on luring -> house -> KO -> pickpocket twice define HOUSE_POS {x, y, z} walkto shantay_pass tag SHANTAY "Shantay" NPC_TYPE interact SHANTAY "Buy-pass" tag PASS "Shantay Pass" OBJECT_TYPE interact PASS "Go-through" walkto pollninveach #and so forth It looks a bit complicated here, but everything is handled by the API: Walks to shantay_pass (internal var) Locates the nearest "Shantay" NPC and buys a pass Locates the nearest pass object and goes through it Walks to pollninveach (internal var) I very much think that having a minor scripting language for OSBot will attract those who are looking for baby steps to create scripts. Of course, having java should still be an option, however.
-
Homeless man sings, takes audiences breath away
:^)
-
APA Ghoul Killer [Never to be seen again]
I believe Apaec stopped this because of low demand (+ he's on vacation right now)
-
Homeless man sings, takes audiences breath away
Context: I go up to kids on gmod dark rp servers and tell them I will pay them vast quantities of money in exchange for them singing. To them, these pixels mean everything, so they do it. I also got this kid to rap Rap God, although you can hear my shitty laugh half way through it so I decided not to upload that.
-
Jewelry script (free)
Don't share a local jar, release it on the SDN bro
-
legend
This is so fucking cringeworthy
-
Java Eclipse Question
Most big brand android phones have their own software like Kies. Helps with drivers and moving files and such easily. Good luck!