Jump to content

Nbacon

Members
  • Posts

    251
  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by Nbacon

  1. Hey I love Finite State Machine. I have made one in my scheme project but for you i would recomend using koltin and do something like this. You need some hacky code for loop backs on it self but I hope you can figure that out. val openbank : () -> () -> Any={ getBank().open() if (getBank().isOpen){ Closebank }else{ quit } } val Closebank: () -> () -> Any ={ getBank().close() if (!getBank().isOpen){ openbank }else{ quit } } var quit ={ stop() } var c= openbank override fun onLoop(): Int { log("test") c= c.invoke() as () -> () -> Any return MethodProvider.random(1000,5000) } or you can program in java with goto like code in a switch stament like @Override public int onLoop() throws InterruptedException { switch (currentFuntion){ case 0: stop(); break; case 1: open(); break; case 2: close(); break; } return 0; } public void open() throws InterruptedException { getBank().open(); if (getBank().isOpen()){ currentFuntion=2; }else { currentFuntion=0; } } public void close(){ getBank().close(); if (!getBank().isOpen()){ currentFuntion=1; }else { currentFuntion=0; } } I have other Ideas but there dumb
  2. Hey man, best of luck learning to programing. My advice : Rome wasn't built in a day, but it burned in one. You just need one bad experience to quit and never do it again. Take alots of breaks, plans things out with "And then logic"[ I do this and then I do this ... so for and so on] or find something that works for you and maybe move to making bots becuase there is amost instance pay off becuase you can see what things are doing, find the api here https://osbot.org/api/ Learn basic logic loops and conditional [seem those video sould be fine.] Dont forget you can ask for help and code reviews here https://osbot.org/forum/forum/249-scripting-help/ Always best of luck.
  3. If you want to reverse engineer the jar the backing code is found here. [ thought this was an edit] ops
  4. I pmed you something,
  5. read the "How to use it." Thank you to everyone who donated and beta tested but I think it is now time for public release. My hard drive that holds all my projects bit the dust this morning/last night so this project WILL NEVER get updated. And Is the last compiled varent in my script file. I had to upload it to mediafire because I ran out of space on Osbot and can’t seem to delete any of them. [You have used 500.65 kB of your 500 kB attachment limit.] Link to mediafire:[103 downloads 102120] http://www.mediafire.com/file/6ddtxv9ov05o2w8/file How to use it. You need VIP because if the clients are stacked up on each-other turn on user inputs turns it on for the whole client window. Place the multiboxing script in the local scripts folder for osbot Open a terminal/CMD Cd to the local scripts folder Type in cmd/terminal java -cp Mbox.jar com.bacon.eco.server.server.Mainserver For a port that is not 9999 java -cp Mbox.jar com.bacon.eco.server.server.Mainserver [#port-number] You should see the word “start” If you see “Server error: Address already in use (Bind failed)” then an instance of the server is already running. If you don’t want that server running / can not find it for some reason and just want to start over. Kill all Java apps with your system’s task manager. Start a few bots. You will see that the server in the terminal will have the word connected every time a bot is logged in and started. You can use command line args [Highly recommend to add no randoms but you will have to log in yourself and that's a pain in the ass]. They are changed together with no spaces like so [example -ip-1.1.1.1-port-9960-mouse-20] -ip-"Ip address" | Note: defaults to localHost; can be use to connect multiple pc [example -ip-1.1.1.1] -port-"port number" | Note: defaults to 9999; For any reason you want to mess with this. Like you can have multiple sets of accounts aka set on 9999 and a set on 9998 at the same time 9999 has no idea what 9998 is doing and vis vera. [example -port-9960] -mouse-"mouse speed" | Note: defaults to 50; [ranges is from 10-199] This is the “smoothness” of the mouse just an update of the mouse potion every x ms. Anything over 200 makes the mouse jump on the slave bots. Also Note: Only the master's command line argument impacts the speed of the mouse. A slave could have -mouse-20 and the master be -mouse-50 the slave will only see 50ms updates.[example -mouse-20] How to make and use the master bot. Go to your main bot that you want everyone to follow/mirror. Turn on user inputs. It's the keyboard/mouse thing that allows you to click when bots are running. You will see if the bot is connected when you move all other bots mice move. List of user commands Keyboard works minus F1,F2,F3,F11,F12,Delete,Insert and don't use the arrow keys because they will get out of sink Mouse works. Delete key- [On a standard keyboard this is above the arrow keys] pauses the duplication actions aka typing and clicking. Insert key [This is above the Delete key on most keyboards] this will line up all your accounts to the best of api’s abilities. To get a better line of accounts press Insert key. Then click the compass jumping all accounts to have the camera facing North. Afterwards click the spanner next to the log-out tab and mess with the zoom to get all accounts to the same zoom level. F1 - Makes all accounts follow in game the master. Best for long walks. [Just make sure to pause the master output with the Delete key] F2 - A leftover verbose way interacting with objects, npcs, and players. Just right Click on something, Highlight the option you want the slaves to follow and hit F2. [They will all do but you will not. Had better Ideas to fix this but You want to just go through the code find this if-block if (var5 == com.bacon.eco.server.b.a.a.a.class) in com.bacon.eco.server.a.a.a and drag it out side of if-block - if (this.a != null && this.a.getClient(). isHumanInputEnabled()) ] F3 This was me messing around trying to get a verbose walking. Start to walk somewhere then press F3. You must press F3 every time you change destination locations. F11 - Start/save recording Gives a 10 second countdown. F12 Pause/Unpause the recording also Gives a 10 second countdown. Server stuff Every time a bot connects you see the word connected. Recordings Recordings are found in the MouseData folder They can be renamed to “any-thing”.csv They can be concatenated together. Just copy the contents of one file into the under or above the other. Playing them is simple Type “playback” then a new line The name of the file .cvs You can loop also loop [new line] The name of the file .cvs [new line] Now a number of loops. [new line] To stop a macro Just type “stop” [new line]. To kill the server Ctrl-c Misc If there are 2+ masters the bots will follow the one that your mouse is on/infocus the other masters will not get any input. Good way to pause input on bots is to Turn on user control This bot is as Is and will never be updated This is still botting. So bans are possible. Recommend to use proxies P.S. multi-boxing is dumb and is just botting with more steps.
  6. Nbacon

    Ban Date

    Ive been botting on an Ironman doing thing that I thing would get you banned so fast but Its been like a full week[35+ hours botted].
  7. Thanks, Your approach works alot better then mine. Your idea has a lot more missed loots 1 in 20 ish but fuck ton less of false positives (close to 0) for thing that could be the iron's. Thank for say this because I was afraid for large npc it would not be the case. if (myPlayer().isInteracting(myPlayer().interacting)&& myPlayer().interacting is NPC&& currentNPC != myPlayer().interacting as NPC? ) { currentNPC = myPlayer().interacting as NPC? } if (currentNPC != null && currentNPC!!.exists()) { badItems = getGroundItems().get(currentNPC!!.x, currentNPC!!.y).toHashSet() }else if (currentNPC != null && !currentNPC!!.exists()) { val c = FilterItem(*listOFLOOT) val f = getGroundItems().get(currentNPC!!.x, currentNPC!!.y).filter { s -> !badItems.contains(s) && c.check(s) } if (f.isNotEmpty()) { execute(object : Event() { var stack = Stack<GroundItem>() @Throws(InterruptedException::class) override fun onStart() { stack.addAll(f) if (!getMap().canReach(stack.peek().position)) { setFinished() } } @Throws(InterruptedException::class) override fun execute(): Int { if (stack.isEmpty()) { setFinished() } else { stack.pop().interact("Take") } return MethodProvider.random(1200, 3000) } @Throws(InterruptedException::class) override fun onEnd() { currentNPC = null badItems = HashSet<GroundItem>() } }) } }
  8. All ideas welcomed. How to make an Ironman friendly combat/looting bot? My current approach is to make an array of all objects on the ground before a monster dies [ update it durring the fight] and then waiting upwards of 2 secounds for spawned dropes and try all new Items then add to Ignore list. But If someone has a better Idea Ill try it.
  9. @nills3 Things that I think effect ban rate is the speed of inputs not the placement. I know from small testing that moving away from the api for things like typing and chat completing increaced the amount of time the bot could run with out being banned by a noticable amount (math says over 300-1000% based on method).
  10. Yea, But I bet it could run 5-10 mirror-modes. The limiting factor for me in most cases is memory becuase we just bought the cheapest ones we could find[ 16 and 8 gb varents]. So if you buy one, I would recomend geting one with 24-32 gb of memory becuase the sticks cost more then the pc itself.
  11. Nbacon

    Price of gp

    Here are some links that I think youll find usefull, https://www.khanacademy.org/economics-finance-domain/macroeconomics https://www.khanacademy.org/economics-finance-domain/microeconomics
  12. dell t3600 - They are super cheap on ebay 150-250. Ive bought like 9 of them in last year for work. The ones I got can run about 10-20 osbot clients depending if you webwalk or not.
  13. Thats what the sockets were for. To emend my first post. make 2 porgrams one for osbot and the other that runs natively on your computer. Connect them with sockets. Edit: everthing has a work around and osbot does not block Runtime.getRuntime().exec("some command line shit here") Just an example. I think it does not even need to be in the osbot data file. @ScriptManifest( author = "Bacon", name = "TestScript", info = "", version = 0.0D, logo = "" ) public class TestScript extends Script { @Override public int onLoop() throws InterruptedException { try { Runtime.getRuntime().exec("java -jar /home/USER/OSBot/Data/test/RuneLite.jar"); } catch (IOException e) { e.printStackTrace(); } return 60000; } } Edit 2 On linux do this "sudo apt-get install xdotool". and this skript moved my mouse around https://stackoverflow.com/questions/20595716/control-mouse-by-writing-to-dev-input-mice @Override public int onLoop() throws InterruptedException { try { for (int i = 0; i < 10; i++) { Runtime.getRuntime().exec("xdotool mousemove "+random(0,1000)+" "+random(0,1000)); Thread.sleep(1000); } } catch (IOException e) { e.printStackTrace(); } return 60000; }
  14. I guess you could use sockets for infomation on client state, osbot api for loaction on screen and java robot for mouse input. https://docs.oracle.com/javase/7/docs/api/java/awt/Robot.html Here are some networrking codes. @dreameo https://gist.github.com/DreamLean/61b215bad3c8f839ac4c84536d67c804 [This dumb tbh just use the osbot api for the mouse]
  15. They most likely cost the same as trade ready accounts. 500k-1m
  16. I just tested it and It needs to be typeKey(char key). I think this would be a little better becuase the range 48-90 has things that are non letters or numbers. String AlphaNumericString = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + "0123456789" + "abcdefghijklmnopqrstuvxyz"; for (int i = 0; i < n; i++) { int index = (int)(AlphaNumericString.length() * Math.random()); getKeyboard().typeKey(AlphaNumericString .charAt(index)); sleep(random(x,y)); } Tip If you repeat the same exact code more then 3 times make it a funtion
  17. I remeber this. @Mio says "I highly recommend whoever received this account do not use it as it has a high chance of being recovered recovered."
  18. To big like Dimension or amount of memory? it looks large
  19. @7:49 you can see has some botting clients up. So I super sus of "He did it all by hand".
  20. Some thing you have to find out for yourself. My personaly tips. Don't be dumb. Don't bot on accounts you care about. Stay away from high ban-rate things like Runecrafting, Agilty and most ftp low level money makers. Vip mirror mode? I only get when im making quest bots. Try everything and see what works for you. Alot skripter offer trials on their skripts. Other tips I see all the time Bot off hours aka week end and night time in the uk Lots of breaks No more then X hours in day [1-5] Make your own bot or contract someone to do it
  21. Just a head up from what I've be told and experienced fliping has a high ban rate. I would recomend that you make your own typing method and don't use the built in one and keep your mouse off the screen when not in use.
×
×
  • Create New...