-
Posts
201 -
Joined
-
Last visited
-
Days Won
1 -
Feedback
0%
Everything posted by Lol_marcus
-
[Script Help Please] Is there a better way to optimize this code?
Lol_marcus replied to Lol_marcus's topic in Scripting Help
I've edited the piece of code to have it cast the spell. Thanks If I use withdraw("Giant seaweed", 3); it takes at least 2-3 seconds longer per bank iteration to get the items. Because it has to keep changing the amount it's withdrawing for the seaweed and for the buckets of sand. If I have it the way it is now it'll click 3 times on the seaweed and then use the withdraw X option to get 18 buckets of sand, which is much faster. Did that make any sense? -
I'll take a look next time I run the script and let you know!
-
Hey, great script thus far! I've noticed more often than not when returning from the furnace the script will open and immediately close the bank, and then open it again. I do Runebars with staminas, coal bag and ice gloves enabled - not sure if that can narrow down the problem at all? Could this be because I'm on mirror mode and have a little delay? My ping on BF worlds is only 27 so I wouldn't image it being lag from the server.
-
Hi again all, I'm working on a simple superglass maker. I've noticed that it's much more human-like and definitely more efficient to have it withdraw the giant seaweed by clicking it 3 times, rather than every time right click -> amount -> 3, and then the same thing for the buckets of sand. My script ended up like this, but is there a cleaner more practical way of doing this, or is the way I did it fine? package core; import org.osbot.rs07.api.map.constants.Banks; import org.osbot.rs07.api.ui.Skill; import org.osbot.rs07.api.ui.Spells; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import org.osbot.rs07.utility.ConditionalSleep; import java.awt.*; @ScriptManifest(name = "Moltenglass", version = 1, author = "Marcus", logo = "", info = "") public class Main extends Script { @Override public void onStart() throws InterruptedException { getExperienceTracker().start(Skill.MAGIC); getExperienceTracker().start(Skill.CRAFTING); } @Override public int onLoop() throws InterruptedException { if (canTan()) { clickTan(); } else { bank(); } return 700; } public boolean canTan() { return getEquipment().isWieldingWeaponThatContains("staff") && (inventory.contains("Giant seaweed") && inventory.getAmount("Giant seaweed") == 3) && (inventory.contains("Bucket of sand") && inventory.getAmount("Bucket of sand") == 18); } public void clickTan() { if (inventory.contains("Giant seaweed") && (inventory.contains("Bucket of sand"))) { getMagic().castSpell(Spells.LunarSpells.SUPERGLASS_MAKE); new ConditionalSleep(1800, 100) { @Override public boolean condition() throws InterruptedException { return getInventory().onlyContains("Molten glass"); } }.sleep(); } } private void bank() throws InterruptedException { if (!Banks.GRAND_EXCHANGE.contains(myPosition())) { getWalking().webWalk(Banks.GRAND_EXCHANGE); } else if (!getBank().isOpen()) { getBank().open(); } else if (!getInventory().isEmptyExcept("Rune pouch")) { getBank().depositAll(); } else if (getBank().contains("Giant seaweed")) { getBank().withdraw("Giant seaweed", 1); getBank().withdraw("Giant seaweed", 1); getBank().withdraw("Giant seaweed", 1); getBank().withdraw("Bucket of sand", 18); getBank().close(); } else { stop(true); } } @Override public void onPaint(Graphics2D paint) { int mXp = getExperienceTracker().getGainedXP(Skill.MAGIC); int cXp = getExperienceTracker().getGainedXP(Skill.CRAFTING); int mXpph = getExperienceTracker().getGainedXPPerHour(Skill.MAGIC); int cXpph = getExperienceTracker().getGainedXPPerHour(Skill.CRAFTING); super.onPaint(paint); paint.drawString("Magic XP: " + mXp, 387, 328); paint.drawString("Crafting XP: " + cXp, 387, 313); paint.drawString("Magic XP/PH: " + mXpph, 237, 328); paint.drawString("Crafting XP/PH: " + cXpph, 237, 313); } } Thanks for the input.
-
What seems to be the issue? Which IDE are you using?
-
Value can be increased or decreased depending on if it was botted or not. It's a classic starter/throw-away account. I would put it maybe a little lower than tilenpickule, roughly 20M - 25M 07gp. Reason for the lower price is because you could run something like Stealth Quester and get the same stats within a few days.
-
[Script Help Please] Simple Leather Tanner
Lol_marcus replied to Lol_marcus's topic in Scripting Help
It seems so simple and obvious when I read it. The lack of knowledge of putting these things together is what I need to work on. Thanks for this. Thanks for the links. -
-
High alching is relatively safe. Hundreds if not thousands of people have gotten 55-99 with autoclicking, botting, ghostmousing High alch. You can splash low level spells with -65 magic bonus. That grants you around 13k xp/ph with fire strke. You could use scripts like Czar Perfect Magic, or any other to do different types of spells as well, such as enchanting. Take a look at the OSRS Wiki and see if you find anything that you like: https://oldschool.runescape.wiki/w/Pay-to-play_Magic_training https://oldschool.runescape.wiki/w/Free-to-play_Magic_training
-
First and foremost I'm new to JAVA coding having only coded with color bots before. What I've done here is taken 2 scripts and combined them to do more or less what I'd like, but now I'm stuck in a few things. I've tested both features for tanning and banking, and they both work like I want them to. Now I would like to combine them. Here's the full script: package core; import org.osbot.rs07.api.map.constants.Banks; import org.osbot.rs07.api.ui.Skill; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import org.osbot.rs07.utility.ConditionalSleep; import java.awt.*; @ScriptManifest(name = "Tan", version = 1, author = "Marcus", logo = "", info = "") public class Main extends Script { @Override public void onStart() throws InterruptedException { getExperienceTracker().start(Skill.MAGIC); } @Override public int onLoop() throws InterruptedException { if (canTan()) { clickTan(); } else { bank(); } return 700; } public boolean canTan() { return getEquipment().isWieldingWeaponThatContains("staff") && getInventory().contains("Black dragonhide"); } public void clickTan() { int rX = random(601, 603); int rY = random(322, 324); if (getTabs().magic.open()) { getMouse().click(rX, rY, false); new ConditionalSleep(2000, 500) { @Override public boolean condition() throws InterruptedException { return getInventory().onlyContains("Black dragonleather"); } }.sleep(); } } private void bank() throws InterruptedException { if (!Banks.GRAND_EXCHANGE.contains(myPosition())) { getWalking().webWalk(Banks.GRAND_EXCHANGE); } else if (!getBank().isOpen()) { getBank().open(); sleep(random(1300, 2300)); } else if (!getInventory().isEmptyExcept("Black dragonhide", "Rune pouch")) { getBank().depositAll(); sleep(random(1300, 2300)); } else if (getBank().contains("Black dragonhide")) { getBank().withdrawAll("Black dragonhide"); sleep(random(1300, 2300)); } else { stop(true); } } @Override public void onPaint(Graphics2D paint) { int mXp = getExperienceTracker().getGainedXP(Skill.MAGIC); super.onPaint(paint); paint.drawString("Magic XP: " + mXp, 387, 328); } } My questions are: 1. What would be the best and most human-like way to make the script stop tanning, and bank? A few options I thought of would be: Wait until the message "You don't have any hides in your inventory" appears in the game chat and bank. Another one would be to simply remember that it's already cast the spell 5 times (although if I lag or something, I assume it wouldn't, and would maybe cast the spell fewer times?) Check the inventory to see if there are any hides left, although how could I make this seem less bot-like? A human wouldn't check the inventory after the first cast.. 2. How could I implement conditional sleeps to banking as well? I've read in other posts that it's always best to do conditional rather than random, but how would I do that in this case? Comments and criticism is as always more than welcome. Anyway, thank you all for the help and the read, looking forward to learning more about scripting and hopefully contribute a little bit to the community. Edit1: Tweaked a few things in the script
-
I too have always just traded money over. Hundreds of mils in some cases and have never been banned. I did however always transfer from high level accounts, usually combat 100+. Maybe it wasn't as suspicious as trading millions on level 3's.
-
Asked for trial but just went ahead and bought it. ^^
-
It's not necessary I think. I was just curious as to why it was logging me out.
-
Does the script stop if my HP falls below 50% and I have no more food? I think that's what's been happening to me.
-
Yeah pretty much seems to be the same for everyone then.
-
Ouch. That's harsh. I had 2 day ban on a main with 1800 total botting zulrah until the 6 hour log which I left on by accident.
-
Ahh! So it is a thing. I never knew that. Thanks for sharing.
-
Safer to run long macro on proxy/vpns or my own wifi
Lol_marcus replied to omgpros's topic in Botting & Bans
Bonds. I've never paid any other way. -
How long did you run the bot for? I've been using this script for months on dozens of accounts, gaining millions of XP and have never received a ban. I do however only bot for a maximum of 2 hours at a time.
-
I'm just wondering if anyone else has noticed this pattern between their accounts, it goes as follows: There are 2 types of bans that I receive, PERM ban and a 2 day ban. I've noticed that if I'm F2P, it doesn't matter how old or how many levels the account has, it always receives a permanent ban. However, if the account is P2P, has a decent total level (500+) and is fairly old (at least half a year old), I always receive a 2 day ban first, and only then a permanent ban. I realized this when I got 2 accounts between 500-600 total level to 99 smithing, and proceeded to bot on them 6-8 hours a day. The F2P account was perm banned in a few weeks time while the P2P account not only took 1 weeks longer to receive its ban, but it was a 2 day. Has anyone else noticed this pattern with bans?
-
Safer to run long macro on proxy/vpns or my own wifi
Lol_marcus replied to omgpros's topic in Botting & Bans
I think it comes down to personal experience. In my case I've never used proxies or VPN's, nor have I ever changed my IP after bans. I'm not sure however if maybe my IP is dynamic rather than static, so whenever my internet goes off I get a new IP (I think). In any case, I've never bot more than 3 accounts at once. Also, the only bans I received were for playing waaay too long hours, like 4-5 at a time without breaks. These bans were however more or less planned, by testing to see how long I could run accounts without them getting banned. Just a side-note for F2P accounts as well, I've found that if I'm running a F2P account, it doesn't matter if it is brand new or if I've had it for over 3 years, I always get a perm ban. This is different for P2P though, where if I have an account that's a little bit older (not sure how old though) it usually gets a 2 day ban first, and then a perm ban. -
Exposing cancer of botting community - Eduardino
Lol_marcus replied to Kramnik's topic in Spam/Off Topic
His videos show the true risk of botting without planning. A lot of it seems like spur of the moment ideas. "Now I will bot sharks." - 3 minutes later "Now I will bot barrows". And the accounts end up getting banned. I do agree that it is very misleading showing "today I made X amount of GP" and not taking into consideration, like you've said, the total cost of accounts, VPNs, proxies, etc. -
Unless it's an ironman, I'd say 25-40m. Once you start using it for PKing, you're HP will start to go up and it'll lose the value that it once had. It'll end up being converted to a pure. I may be wrong, but I would pay between that.
-
I'm loving the efficiency of your updates! Seriously one of the most fantastic scripts I've used. I've gotten over 300k ranging and 100k magic XP with this script in "dangerous" pvm areas and have yet to die! Truly flawless thus far. I've been running the bury option for the past 10 minutes and it's great! Extremely human-like whilst still being efficient.
-
I agree. Apart from ogress warriors which require decent combat stats and rune items smithing which requires 99 smithing, there's basically nothing in f2p to make decent money with. You'd have to end up buying membership anyway to make money, which would remove the restriction. xD