-
Posts
159 -
Joined
-
Last visited
-
Days Won
4 -
Feedback
0%
Everything posted by Wacky Jacky
-
Yes of course, I shall DM you
-
Authed for 2 days, enjoy!
-
Totally gonna use it; when i start making combat scripts
-
V1.551 going live within 24Hr, check-out the patch notes
-
Intellij is free, just make sure you get the community edition. Or if you stick with Eclipse, watch a few videos on how to compile java code to a jar file. make sure you main.java looks a bit like this: Just adding this maybe usefull?
-
RELEASED! After my compile error has been fixed, kek
-
seems to work, try this one.
-
Not allowed instant ban, sad to see you go Hehe, kidding keep It up, also no clue if it is allowed.
-
I won't release the source code, since it will be on the SDN, simple add and play. waiting on release.
-
It is a toggle, when it says true, you allow it to automatically handle the event by pressing the corresponding button you toggle the flag (true/false). And it shall automatically upon detection take part in the event. At home I shall clean up some of my grammar issues in the forum post and be a bit more specific
-
Wacky Forestry Lite Since the release of Forestry part one, I cooked up this little script within 1–2 hours. And now I finally did some major fine-tuning. I decided to release it on the SDN as free script, since it is basic and yet the most advanced event handler. Get it here now! About the script! It is a mix between automatic & real game play if you want! What does it do fully automatically? (1) — It chops the selected tree, with great human-like behavior. (2) — It selects the most popular tree, just like humans do, especially at yew. (This approach keeps people happy and ensures that the bot doesn't disrupt the tree spawn timers.) (3) — Banks all logs at the closest bank, there is no drop option for now. (Supports Log Basket and Forestry Basket) (4) — For members, there is log-basket support; keep it in your inventory. (Opens it automatically for you.) (5) — The bot works with full-screen and resizing. (6) — Lock all hot keys and chat away! Have some fun. (7) — Paint is always available in the chatbox, it is hide-able for chatting. (8) - Dragon axe special support (9) — It handles all forestry events; you just need to toggle them true or false. Sapling Event: always receive 100% nutrition mulch! Rising Root Event: quick but human-like, chop it perfectly! Leprechaun Event: Hop in and out the rainbow, quick deposits! Pheasant Event: Grab them eggs, and hand them in! Dryad Circles Event: Handles it for you, always perfect! Fox/ Poach Event: Handles it for you, get rid of those pesky traps ASAP! Entling Event: play it like the real players do! See the chart below. What do you need to do manually, then? It is fully automatic; however, you must manually set and operate it through hotkeys. This means: (1) — You need to walk to the spot where you want to start the bot. (2) — Select the size of the area in which you want to chop (default is 4×4). (You can toggle the outline to see which trees are in range.) (3) — Use the up and down arrow keys to change the tree you want to chop. Options include: tree, oak, willow, maple, yew, magic, redwood. (4) — You only need to select the events to participate in automatically, (Currently, only F2P events are available; P2P is coming soon) (5) — Lock the hotkeys and engage in conversation with other players, which is done manually. What it doesn't do! (1) — Switch or grab axes! (2) — Grab or buy the Forestry bag. (3) — Grab or equip the log-basket. (4) — Stop or Queue support. (osbot breaks do work) Planned to release soon! Priority highest — Add more forestry events, 2 left to go. Priority high — Add automatic axe equipping and grabbing. Priority high — Add automatic axe upgrading if found. Priority high — Add better Forestry Kit support, e.g., buying it. Priority medium — Drop support. Priority medium — Teak trees, (after drop support is done) Priority medium — Let me know, what needs to go here? Priority low — Add status tracker, it now only says lolz. Priority low — invoking support, depends on the new osrs client. Priority lowest — Option to customize human behavior. Feature creep: I won't add more features except the ones I want, if possible there will be a P2P version which a lot more options. Images ~Bug report~ Please join the discord and DM me. Or tell me in great detail what happened, must include logs!
-
I've redone all the code since it was my first project. It is now future-proofed for any features and additions that may be requested. As with all my scripts, I will continue to support and improve them, even if I don't release anything. This is my route to self-improvement and under-the-hood upgrades.
-
mouse.pressKey some key codes not working?
Wacky Jacky replied to Alakazizam's topic in Scripting Help
I am not sure what number 1 does, but I am kinda sure it is pressed -
mouse.pressKey some key codes not working?
Wacky Jacky replied to Alakazizam's topic in Scripting Help
@Override public int onLoop() { if (getDialogues().isPendingOption()) { log("Option Pending"); //Presses the key, keeps it pressed until release; getKeyboard().pressKey(KeyEvent.VK_1); if (getKeyboard().isKeyDown(KeyEvent.VK_1)) { log("Key is down"); getKeyboard().releaseKey(KeyEvent.VK_1); } else { log("Key is not down"); } } return random(1000,1200); } Since I am not sure what your goal is, if you want to press a key for dialog you need to use: if (getDialogues().isPendingOption()) { log("Option Pending"); getDialogues().selectOption(1); } And if you want to type numbers in chat: @Override public int onLoop() { getKeyboard().typeString("1"); getKeyboard().typeEnter(); return random(1000,1200); } Lmk ^^ -
mouse.pressKey some key codes not working?
Wacky Jacky replied to Alakazizam's topic in Scripting Help
Can you explain what it is you are trying to do? Perhaps send a bit of code along. -
If you share some code I can help
-
@Alakazizam I just did some testing and the result is this: the dropping is quick, the opening bank is real, real slow... How did I do it?: @Override public int onLoop() throws InterruptedException { if (!inventory.isEmpty()) { //So basically just this, set the speed, (also did never miss because of the speed ^^) getBot().setMouseMoveProfile(new MouseMoveProfile().setSpeedBaseTime(100).setOvershoots(0)); log("should drop"); drop.shiftClickDropAllDownToUpExcept(false, "Coins"); } if (!bank.isOpen()) { //Here I reset the speed, but very slow for the next task getBot().setMouseMoveProfile(new MouseMoveProfile().setSpeedBaseTime(800)); getBank().open(); Sleep.sleepUntil(() -> bank.isOpen(), 3000); } return 3000; } Enjoy! -- Tinker a bit with the flow, speed, miss etc... all those settings to get what you like.
-
If you set the speed to 0 it should teleport the mouse around, when I am home I shall take a look and let you know.
-
Set the profile active like so: getBot().setMouseMoveProfile(new MouseMoveProfile(setSpeedBaseTime(int value here )))); something like that, I am on mobile not sure.
-
https://osbot.org/api/org/osbot/rs07/event/interaction/MouseMoveProfile.html make a new profile set the speed and then set the profile active each time you want to use the sped up profile, but after the task is done set a default profile active again. If not it will stay quick
-
You need help with what? The exact same question?
-
Don't forget to add a null check, somehow it can at times return a null and be annoying, but that is my paranoia maybe ^^ version1: @Override public void onMessage(Message msg) { if (msg != null && msg.getType() == Message.MessageType.GAME && msg.getMessage().contains("Declined trade or what ever it says")) { // do stuff } } or return on null, depending on what u like: @Override public void onMessage(Message msg) { if (msg == null) { return; } if (msg.getType() == Message.MessageType.GAME && msg.getMessage().contains("Declined trade or what ever it says")) { // do stuff } }
-
More noob questions (this time, about message listeners!)
Wacky Jacky replied to CoffeeNow's topic in Scripting Help
Never really checked out trading stuff, but u can get information from the chat and act upon it: So if someone said 'hi' in chat, the bot will log 'sup', hook some methods to it and yey? @Override public final void onMessage(final Message message) { if (message == null) { return; } if (message.getMessage().toLowerCase().contains("hi")) { log("sup"); } }