Everything posted by PlagueDoctor
-
GrandExchange, how to buy items and sell them?
Hmm, i personally don't know how to do this, i'll have a look through some threads and see if i can figure it out. Hopefully someone who can answer your question will post on this thread.
-
GrandExchange, how to buy items and sell them?
http://osbot.org/forum/topic/108450-ge-help/ Heres a similar thread on the first page of Scripting Help, have a read. Also check for other threads first before you post. Hopefully one of the other threads can answer your question. edit - lul you posted on that thread already, anyways still check a few pages back, there might already be an answer, since i think thats probably a reasonably common question.
-
Shopping Script - DCing frequently after hopping
Yeah its likely that is the issue, i do have several different methods of slowing it down in the script such as int timesBought = 0; if(getStore().getAmount("Death rune") >= 1) { // This is part of my shop code getStore().buy("Death rune", 10); timesBought++; } if(timesBought <= 8) { // This is just before hopping sleep(random(1000,3000)); } timesBought = 0; I'll try making the sleeps much larger to see what effect it has. I was kinda hoping someone would have some sort of miracle method to help me circumvent this haha. I mean the script does what i want it to, so im still happy, it would just be cool to improve the efficiency. EDIT: I've set it up so it's sleeping for 4-8 seconds if 'timesBought <= 8' (times bought is increased by one each time the script buys 10 of something, and is reset to 0 after a hop). This seems to have solved the problem more or less. Is there a better way to do this? Perhaps with less of a delay, but still circumventing the dcing issue? EDIT: Jokes problem still happening haha, less often tho with the long ass delays.
-
Shopping Script - DCing frequently after hopping
Screenshot of logger - http://imgur.com/a/ib51x Code - http://pastebin.com/GAsVZDsB Script does what i wanted it to, but it occasionally starts dcing after a couple hops. This seriously lowers the profit per hour, so if anyone has any ideas on how to fix this, i would love to hear them. Thanks to anyone who takes a look, much appreciated. PS. I'm not running any other scripts at the same time, and it happens even when i'm not logged into my main on OSBuddy.
-
Stuck - script won't start
GL with your learning! As TeamCape said, make sure you have the basics down before you try some super hard shit. Even if it feels kinda pointless to write a script that you're not going to use, its probably still worthwhile as it will help you have a good understanding of how to make things work.
-
Script Not Starting - No error messages or anything :0
Thanks, apologies for posting in the wrong place originally. Hadn't slept yet at the time. Thanks for the tips, i recently read up on the java conventions, still transitioning from bad old habits. Also reading up on linear regression now. Found out the reason my script wasn't starting at all ( i was able to reproduce it later ). It was due to poor placement of variables, one of the time i was able to reproduce it was when i placed a RS2WIdget variable at the top of my code. This apparently causes OSBot to not want to execute the script. So , problem solved and the way to solve it is to properly place certain variables. This is the state of the script currently - hhttp://pastebin.com/Z8LWniQH - anymore tips from anyone is greatly welcomed.
-
Script Not Starting - No error messages or anything :0
This may be more suited to be in 'Scripting Help', but i'm unsure whether or not this is a problem with my script or a problem with the client interacting with my script or.. whatever. I've recently finished writing a very basic draft of a shop buying script. I'm trying to test it out but its not starting at all and i'm getting nothing in the logger. I start my bot, press play, refresh, select my script and click start and nothing happens.. also nothing shows up in the logger past the acknowledgement that I've started my bot. All my other scripts work. I've read through the code heaps of times to see whether or not I've missed something obvious and important.. but i haven't had any luck so far. Here's the code, this is all it is at this point http://pastebin.com/jNHhm0Uh , perhaps someone with more experienced eyes than mine can see what the issue is :> I'm at a bit of a loss due to the lack of error messages or anything.. no idea whats going on. Thanks to anyone who decides to have a look. (I've only recently started writing code, hopefully its not too hard on the eyes.)
- Hhm
-
WE PAY WE SAY RIOT!
This thread is hilarious
-
FUCK ANNOYING PEOPLE
my name a jeff
-
Post ur botting rig
- Herb Cleaning
- Herb Cleaning
Yeah mouse click isn't great though, because when you're running out of herbs you might not have a full inventory, so it would click on nothing a bunch of times. Which could be okay, but isn't really perfect.- Herb Cleaning
So i'm making a herb cleaning script and i'm having trouble finding a method of cleaning each herb that doesn't either suck(clicks each herb too slowly), or occasionally mess up(click every herb and then do it again even though they're all clean). As you read this i am trying out different things to try and reach a desirable result. How would you do this? Can you inform me of a good way to do this?- Rainbow Mouse Trail
This is a godsend, couldn't figure out how to make a mouse trail.- Plague Doctor's - Chocolate Grinder
Added support for the use of any bank and added conditional sleeping.- Plague Doctor's - Chocolate Grinder
Will do, thanks for mentioning the conditional sleep stuff, looks as though it will be really useful. Might try implement in into this code as a learning experience.- Plague Doctor's - Chocolate Grinder
Thanks for the response, i'll look into what you mentioned. I created this script for my own use and decided to share in case others would find it useful.- Plague Doctor's - Chocolate Grinder
http://2007.runescape.wikia.com/wiki/Money_making_guide/Grinding_chocolate_bars $190-200k Profit Per/Hour ~ Script to execute the above method of money making. No skill requirements! Requirements: Have Knife in bank or inventory Have Chocolate bars in bank Be near a bank or GE Process: Withdraws a Knife and 27 Chocolate Bars. Turns all of the Chocolate bars into Chocolate Dust. Deposits all Chocolate Dust. If you have no Chocolate bars left, it logs out and stops script. Repeat. Extra Notes: You can only buy 10,000 Chocolate bars from the G.E every 4 hours. As with all scripts, if you don't want to get banned, script carefully or don't script at all. Download: Google Drive Link https://drive.google.com/file/d/0B68yui8zn4TPVXAyNHBtbzBKdWM/view?usp=sharing EDITS: 9/28/2016 - Added conditional sleeping, removed walk to bank function and added support for every bank. If you have any issues, post them here. Otherwise, enjoy!