Leaderboard
Popular Content
Showing content with the highest reputation on 06/11/16 in all areas
-
Although there are a ton of bugs I should probably be working on, I went ahead and cleared my schedule a bit to release one of the most requested features; full command-line support. As a bot farmer, you can start up a new client with a proxy, start a bot, and start a script with all the settings you want. If you write scripts you will notice a new method at your disposal, getParameters(). I'll explain this a bit below. The two new flags are "bot" and "script". Just to make it clear, "bot" only starts up a new bot and "script" will only work if you have a "bot" set (because how can you start a script without a bot active?). Anyways the flag values for script are: scriptid:params // Will attempt to load an SDN script automatically. Get the script id of your script from the logger when you run the SDN script. scriptname:params // The script name is the name found in the ScriptManifest Issue: If your local script ScriptManifest is using a number as the name, it will be mistaken as an SDN script. So the parameters are totally up to the scripter. For instance: -script 123:bank,loot,warriors It will be up to the scripter to take those script parameters, parse them, and apply the settings custom to his/her script. This will avoid the need of having a user interface which the botter would otherwise need to have settings. Example snippet: java -jar "osbot 2.4.67.jar" -login alek:password -bot alek@osbot.com:password:1234 -debug 5005 -script test:param1,param2,param3,param4 Additionally there were a few other things that were improved in the client, too lazy to continue typing. Enjoy. Version 2.4.68: -Patched issue with prefetchRequirements Happy Bot Farming! -The OSBot Staff6 points
-
4 points
-
3 points
-
2 points
-
2 points
-
2 points
-
2 points
-
Yeah, and the year is 2012 and we all still enjoy Skrillex.2 points
-
/** * @(#)Smither.java * * * @author Construct Dylons * @version 1.00 2016/6/10 */ import org.osbot.rs07.api.model.RS2Object; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import org.osbot.rs07.api.map.Position; import org.osbot.rs07.input.mouse.EntityDestination; import org.osbot.rs07.input.mouse.MiniMapTileDestination; import org.osbot.rs07.utility.Area; import java.awt.*; @ScriptManifest(author = "Construct Dylons", info = "Not So Basic Smither.", name = "Smither", version = 0, logo = "") public class Smither extends Script{ private static final Area SMITHING_AREA = new Area(3185,3420,3190,3427); private static final String useItem = "Iron bar"; private static final String itemMade = "Iron knife"; private static final int xCo = 370; private static final int yCo = 180; private enum State{ SMITH, BANK, WALK_TO_SMITH, WALK_TO_BANK }; private State getState(){ if(inventory.contains(useItem) && SMITHING_AREA.contains(myPlayer().getPosition())){ return State.SMITH; } else if(!inventory.contains(useItem) && !SMITHING_AREA.contains(myPlayer().getPosition())){ return State.BANK; } else if(inventory.contains(useItem) && !SMITHING_AREA.contains(myPlayer().getPosition())){ return State.WALK_TO_SMITH; } else{ return State.WALK_TO_BANK; } } public int onLoop() throws InterruptedException{ switch(getState()){ case SMITH: outerIf: if(!myPlayer().isAnimating()){ sleep(1000); if(!inventory.contains(useItem)){ sleep(500); break outerIf; } int failSafe = 0; while(!myPlayer().isAnimating()){ sleep(50); failSafe++; if(failSafe >= 10){ inventory.interactWithNameThatContains("Use", useItem); RS2Object anvil = objects.closest(2097); mouse.click(new EntityDestination(bot, anvil)); if(interfaces.get(312) != null){ } sleep(1500); mouse.move(xCo,yCo); mouse.click(true); sleep(250); mouse.move(365,250); mouse.click(false); sleep(1000); keyboard.typeString("27"); sleep(500); break outerIf; } } } break; case BANK: RS2Object bankBooth = objects.closest("Bank booth"); if (bankBooth != null) { if (bankBooth.interact("Bank")) { while(!bank.isOpen()){ sleep(250); } bank.depositAll(itemMade); if(bank.contains(useItem)){ bank.withdraw(useItem, 27); } else{ stop(); } bank.close(); } } break; case WALK_TO_BANK: walkTile(new Position(3185,3436,0)); break; case WALK_TO_SMITH: walkTile(new Position(3185,3426,0)); break; } return random(200,300); } private boolean walkTile(Position p) throws InterruptedException { mouse.move(new MiniMapTileDestination(bot, p), false); sleep(random(150, 250)); mouse.click(false); int failsafe = 0; while (failsafe < 10 && myPlayer().getPosition().distance(p) > 2) { sleep(200); failsafe++; if (myPlayer().isMoving()) failsafe = 0; } if (failsafe == 10) return false; return true; } public void onPaint(Graphics2D g) { } }1 point
-
If that went through I would go to rock crabs and just light the area up. Non wildy ragging1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
The OP of this thread, @mith gamed, is a very close friend of mine. We have worked together on multiple occasions, and he is a very respectable and trustworthy person although he is relatively new to OSBot. With that being said, I vouch for him entirely, and wish you the best of luck with your swapping thread Mith.1 point
-
i like #1 (; dang just realized it was banned damnit.... and whats what that dispute against you are you trusted?1 point
-
1 point
-
1 point
-
Could I get a trial please when the script is up and running? Please quote this or like it to inform me that you've gave me it Thanks in advance:)1 point
-
Update! Version 1.03 Improved Anti-Ban Re-worked pathwalking system to work with latest dev build Updated logging system to be consistent with other scripts Other minor changes to code quality and function Sorry for any inconveniences caused in the past day, I tried my best to fix the script for the dev build update as soon as possible for you guys! Happy botting, ~apa1 point
-
1 point
-
1 point
-
1 point
-
Hey, I wouldn't be a normal mod anyway... More like a moderator in charge of community hype and memes1 point
-
1 point
-
Posted a quick update (v1.04) - Added hide paint option - Walking and dialogue system should be back to normal good luck all, please allow a few hours for update to be registered ^^1 point
-
Works pretty nice but why the hell does it windrow ores (iron, coal) then walk back to bank and bank em and windraw em again? :SS slowing the script down a bit1 point
-
1 point
-
1 point
-
Do you think you could implement disabling paint? Would really appreciate it also the screen tile, like it drags with the npc as it moves around, causes alot of cpu spikes.1 point
-
they need proof of payment and other stuff im pretty sure ill be able to find it but lets just say when i bought this account i was'nt in the right frame of mind1 point
-
1 point