-
Posts
180 -
Joined
-
Last visited
-
Feedback
0%
Everything posted by Alakazizam
-
I came across this and I get it for the most part. But I'm not sure how to go about what I'm trying to do. I'm trying to have the breaks set in the client trigger the Break Manager but I'm not sure what I need to put in shouldActivate() for that to happen. Simply trying to have my scheduled breaks make me go afk until I log out in game instead of pressing the logout button
-
you could open the magic book manually and then use mouse.click() to click it manually. I like to make a random area window over spells so its not clicking at the exact same coords every time, not sure if it really matters or not. Not sure where on the screen that spell is located, so just turn on 'Mouse Position' in the settings to get these values if(getTabs().open(Tab.MAGIC)){ mouse.click(random(xxx, yyy), random(xxx, yyy), false); }
-
Might play with that, thanks
-
I wound up just doing a work around where the mule pays a set price for items it's receiving. Not exactly what I was trying to do, but it's close enough lol. Messes with my OCD a bit lol
-
I'm working on a part of a muling script that's giving me issues. Basically, the bot offers its cash stack, the mule calculates how much the bot needs to get to a certain point and offers that up, then the bot is supposed to remove it's cash stack from trade but I'm getting hung up on this step. Any help would be appreciated. I am receiving the log message but it hangs up right there and keeps looping "Trying to remove gp" in the log Am I using removeAll() incorrectly? the Coins variable is just a String set to "Coins" if (getTrade().getTheirOffers().contains(Coins) && getTrade().getOurOffers().contains(Coins)) { log("Trying to remove gp"); getTrade().removeAll(Coins); }
-
How much should I expect to spend (preferably with gp) on accounts with 50 attack and strength?
-
I like to have have 2 checks for how long to sleep after doing certain tasks. for example the first check is a random number 1-500 or so. This will check to see if the sleep timer will be a short or long sleep. if it rolls a 1 I sleep for a random 1-5 minuets, if it hits anything else I sleep between 1-10 seconds. Times and chance for a long sleep vary depending on what it is I'm botting. How often you are around other players is also a big factor.
-
when putting text up on the screen, do we have any control of how it looks? Sometimes it appears green and bold, sometimes white and thin. Seems almost random?
-
Bans will happen. I've come back after a long break and run scripts that use to be flawless for me (self made) and now they get banned after day 1. But there seems to have always been periods of higher ban rates. I assume with the new quest and content coming out they're trying to be proactive right now.
-
I got a method down for making an array of friends on your friends list. I run this on start for a muling script. Apparently even if your trade settings are set to friends only, osbot still sees other people trying to trade you even though the runescape client doesn't display the trade. I run this onStart so adding friends after the script has started will not add them to the list. Wanted to share the code I used to help anyone trying to do the same thing and any advice on how to improve it is more than welcome. String Friends[]; void GetFriendsList() { tabs.open(Tab.FRIENDS); for (RS2Widget Wid : getWidgets().get(429,11).getChildWidgets()) { String Name = Wid.getMessage(); Name.replaceAll(" ", "\\u00a0"); if (!Name.contains("Offline") && !Name.contains("<col=ffff00>") && Name != "") { log("Adding friend: " + Name); if (Friends != null) { Friends = AddName(Friends.length, Friends, Name); } else { Friends = new String[]{Name}; } } } log("finished adding friends. Friends are : " + Arrays.toString(Friends)); } String[] AddName(int n, String arr[], String x) { int i; String newarr[] = new String[n + 1]; for (i = 0; i < n; i++) newarr[i] = arr[i]; newarr[n] = x; return newarr; }
-
12m profit a day on 1 bot being supported by 10 other accounts for GE limit purposes. Upscaling by 10 when I can automate the muling process lol
-
Need help getting item count from inventory on start
Alakazizam replied to Alakazizam's topic in Scripting Help
I'll have to try again. Was burnt out this morning and may have messed up some maths lol Going to try to get the onStart method working again, but if that doesn't work out this is probably a good work around. -
I'm trying to set a variable on start from my inventory but it sets it to 0. I'm assuming because it's triggering before the character is actually loaded in. How can I go about this?
-
I've had this account since I started Runescape 2 almost 20 years ago. It's never been botted on. Few quests short of being able to wear quest cape again. Rocky, Squirrel, Golem, KBD pets Full black graceful as well as some mixed white and cyan Crystal armor and corrupt Bowfa Full GotR robes and Colossal pouch Vork Slayer Helm Only 2 achievement Diary tasks left to complete Kill the Thermonuclear Smoke devil (93 slayer) Kill a Hydra in the Karuulm Slayer Dungeon (95 slayer)
-
You could set areas before and after each door. if in the area before the door, click on the door. if in the area after the door run to the next area before the next door. before that have it check if in dialogue and if so start a function to handle dialogue. if not in dialogue do the moving around. This is a sample from my HandleDialogue function I made for a quest script. public int onLoop() throws InterruptedException { if (getDialogues().inDialogue()) { HandleDialogue(); } else { //move from area to area and click doors } return 602; } void HandleDialogue() throws InterruptedException { if (getDialogues().isPendingContinuation()) { if (getDialogues().clickContinue()) {sleep(random(200,600));} } else if (getDialogues().isPendingOption()) { if (getDialogues().selectOption("Yes.")) {sleep(random(400,3500));} else if (getDialogues().selectOption("I wanted to use your anvils.")) {sleep(random(400,3500));} else if (getDialogues().selectOption("No, he doesn't look fat")) {sleep(random(400,3500));} else if (getDialogues().selectOption("Do you want me to pick an armour colour for you?")) {sleep(random(400,3500));} else if (getDialogues().selectOption("What about a different colour?")) {sleep(random(400,3500));} else if (getDialogues().selectOption("I have some orange armour here.")) {sleep(random(400,3500));} } } Not sure whats going on with the spacing up there lol
-
Is the download link simply not doing anything? https://osbot.org/mvc/get
-
It's a lot of trial and error. Learning to do at least basic javascript and writing your own scripts is in your best interest. The less contact the account comes in with other players, the better it will do.
-
I just looked through the rules I didn't see anything about selling accounts. Can you point me to he rule, as I am actually interested in making accounts to sell and want to make sure I'm not breaking any rules.
-
Is there something wrong with getQuests().isComplete()?
Alakazizam replied to Alakazizam's topic in Scripting Help
Thanks. I managed to find all the ones I needed aside from Dorics in the forums. A couple people started putting them together but it doesn't look like it was completed. I may collect them all myself and get them in 1 post since I'm sort of working on that anyway, The configs worked, script runs smooth now -
Is there something wrong with getQuests().isComplete()?
Alakazizam replied to Alakazizam's topic in Scripting Help
I wrote it up, just getting a few combat levels on a set of accounts to test it. I saw my last set through with the broken script by restarting each one manually between quests lol