-
Posts
178 -
Joined
-
Last visited
-
Feedback
100%
Posts posted by deadfish
-
-
7 minutes ago, Antonio Kala said:
if (!getInventory().contains("your item") {
// continue
}
If the inventory does not contain the item do something.
"I need to to check that a specific item is missing, not that any item besides that is there"
You are checking if that specific item is missing with that code.
this looks like it is what i needed. I mean to say, i think this is going to involve a bit more change than I thought. Thank you for the input!
so really the part where im hung up is
QuoteIf the inventory does not contain the item do something.
How tf do i write that using the osbot api?
-
13 minutes ago, sudoinit6 said:
If it were me I would use strings and say !inventory.contains(String), but I am a noob, and kinda drunk so maybe that isn't helpful.
i dont think that would work though for the same reason above. I need to to check that a specific item is missing, not that any item besides that is there. Because I need to to work weather the inventory is empty, AND/OR at least doesnt have that particular item there.
-
7 minutes ago, Butters said:
Just use inventory.isEmptyExcept();
And I strongly advise to use item names (Strings) and not id's for reasons like code clarity and for the fact that ids might change.
Is empty except would mean I would have to list everything outside of the one or two items i want it to drop, so in this case it would be a pretty long list. like, thousands.
-
So, I'm trying to get a script to continue an action once there is no longer a particular item in the inventory. It's easy to get it to drop the item, just
Spoilerinventory.dropAll(item ID's here);
But then I would like it to continue mining/thieving/chopping etc once the inventory is empty of that particular item(s).
I've tried
Spoilerif (!inventory.isEmpty(Item ID here))
return State.STATE1;as well as
Spoilerif (!inventory.contains(0-Item ID here))
return State.STATE1;(a few different versions of this one)
But I cant seem to find a way to get it to ONLY check that the inventory is empty of a specific item/items.
The reverse seems easy(Checking that the inventory DOES contain a specific item ID's), seems odd that it cant check for the lack of an item the same way.
I'm probably missing something stupidly easy, but I'm new to this and have been looking for a solution off and on all day.
any help is really appreciated!
-
well poop, was late on this one. Hmu if your current one falls through. ;)
-
7 hours ago, Rxd said:
aw i missed it
Dude same. Hoping the testers test the shit out of it though so it will be released asap
-
"Maxed Account"
*less than 2k total*
:thinking:(maybe specify "Maxed Melee". Also GL on the sale man.
-
V 0.1
(like, not even alpha really)
First "script" I've ever made.
Please DO NOT use this on any accounts you care about. lol~~~~~~~~~~~~~~ How to use ~~~~~~~~~~~~~~
Bring a pickax with you to any iron ore spot.
'Run' the script.
~~~~~~~~~~~~~ Requirements ~~~~~~~~~~~~~
A pickaxe
15 mining (or boosts)
~~~~~~~~~~~~~~ Download ~~~~~~~~~~~~~~
Here's the DeadIron.Jar Download Link (just click here)
(place the .Jar file in your local script folder located at C:/Users/NAME/OSBot/Scripts)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Screenshot of it running I guess;
For real though, this is the result of browsing the forums for a few hours and trying to figure out what threads are actually up to date and what threads are not
It tends to wonder off to further away ore's if it gets bored, and that is something I plan on fixing before adding any more features. I would however like to add banking as an option shortly afterwards.
- Deadfish
-
35 minutes ago, jesenican said:
my record was 13 days 24/7 botting, no point of lie.
you got any proof of this other than your word? also I assume you mean you got banned after the 13th day, thats not exactly the same as "24/7 with no bans!!!"
....but also really doubtful.... -
So was trying to use this as a chance to figure out how to change out static ID's . But I cant for the life of me figure out whats going wrong. There's an impressive amount of organization for the short time it took you to write this though, kudos man.
-
On 4/3/2018 at 3:24 AM, ExitPoint said:
anyone have the .jar file for this or source code ?
@lisabe96 probably does. MIA since February. RIP to a solid free wc script.
-
On 5/18/2017 at 4:45 AM, jesenican said:
just curious when is osbot gona upgrade to spectre there is 2 bot websites i wont name cuz i dont advertise who upgraded to spectre and i tested they are great....and i like osbot since i camed here but ban rate is horrible
Well shit, this post is old as hell and somehow i wrote this entire comment before noticing. My point still stands tho, so....
Spectre isn't an actual technology. Its just some fancy name for what seems to be mirrored mode. So you're getting the same tech just different scripts.
Also, saying that this client they have lets you b0t 24/7 and NEVER get a ban is just stupid. Even a human playing 24/7 (like actually 24 hours a day for 7 days of a week) is likely to be banned if not for suspected botting, Than for account sharing, since the number of people on the planet who can stay focused on a task that many hours straight without sleep is likely Zero. -
3 minutes ago, Chikan said:
Five guys costs a bit more but always has the best burgers
They are solid. One that is a little less consistent too is sonic. Their burger isn't very special, but when you get it on Texas Toast instead of the usual bun they use.... well it takes it to a whole new level. Not only does it add more bulk than their normal thin bun, but it a bit of flavor, and the larger bread holds the toppings on way better. Something I've always had an issues with when it comes to sonic burgers.
-
10 minutes ago, Chikan said:
Shitty comfort food that's always there when you want it. Whats not to like?
I mean, if there is any other option I'll probably opt out of the good ol' golden arches. Consistent quality they may be, its not the kind of quality im a fan of getting.
-
22 minutes ago, H0rn said:
I'm from the UK haha, McDonalds is 24h here ;)
Dude I have mcdonalds 24/7, but not the lunch menu </3
17 minutes ago, GPSwap said:if only breakfast was 24h too
Pretty sure the mcdonlads in my area is 24/7 breakfast, so the oposite of other places it seems.
3 minutes ago, Chikan said:It is where I am. All day breakfast, and the drive through is always open.
Yeah I think our McDonalds' experiences are pretty similar. you have 24/7 breakfast but dinner/lunch (burgers and nuggets) cut off at like 2/3am until 10/11am
-
10 minutes ago, Apaec said:
I think the best thing you can start with is something simple, and it's great that you're aiming/working towards a goal!
A good place to start is a woodcutting script, because there are 'checkpoints', and it is very expandable
- Make the script click trees
- Make the script not spam click trees
- Add dropping to the script
- Add banking to the script
- Add variables to the script to set tree data (e.g which tree to cut)
- Add axe upgrade support
- ... you get the idea
From there, you will gain lots of useful knowledge which you can use to branch out into different, perhaps more interesting scripts, like for example a wilderness chaos altar bone gathering/burying script?
GL!
Apa
Not what i was expecting be that sounds like a really solid way to start. Thanks for the advice, and taking the time to reply!
Guess ill start one of those first and see where I can get it roughly following that roadmap
-
4 minutes ago, 1def said:
thanks dude, ill use OSRS GP also if that helps sellers
actually thats probably even better tbh, ha. Cheers!
- 1
-
3 minutes ago, H0rn said:
Smashing down a quarter pounder with cheese
dude making me hungry. If its not too much to ask, wtf time zone are you in where you can get one of those this time of day? Im in the states and maybe its just my city, but legit not a single place sells burgers until like 11am at the earliest. Trust me, ive gone hunting for one in the morning before.
-
14 minutes ago, 1def said:
hey guys, new to the fourm so I am okay going first if you have good feed back or willing to use MM, looking to pay with paypal.
title says it all, looking for a 1 def pure.
0 bans
prefer 60 att, 90+str, 90+ range 94 mage.
if the account is close to these stats thats cool also.
Would want original email info also.
Thanks
just a heads up, you're probably not going to get anyone to sell you an account since you just make the osbot account you're using a few minutes ago. even with a mm, pp isn't something people usually take without decent rep for something that pricey. Though, if you are allowed to buy an amount with such low post count and time on the forums, you're best bet will be going first/using a mm paying with crypto currency. That shit is (well, btc at least) tracked on a public ledger so neither party is at much risk for being scammed.
just a friendly recommendation from some rando. Also, welcome to the forums!
-
Okay so, not 100% sure this is the right place to post this, but im trying to (key word trying) get my foot in the door scripting. Ive skimmed through and watched a couple tutorials for basic stuff, but im looking for an idea for a basic probably single task (likely without a GUI for now) script that isnt already covered by like a half dozen other free/nooby scripts. Because maybe then i'll be more motivated to get it running and/or keep up with it. So any ideas are Welcome.
Also, heads up, like 99& chance i wont get anything suggested her up and running anytime soon. Sooooo, just wanting to set the expectations low. lol.
-
I love you all. Its such a good time being part of this kinda sorta underground community. Ya'll are more kind than l99% of the standard rs player base.
like, yes a site dedicated to software breaking a games rules is gonna have some scummy scammer folks, but for real thats like less often here than on the runescape forums lol.
anyways, what're you all up to today?
-
1 hour ago, bottermanjiz said:
Pc 85 mage, 10 hp account, comes with dank email, never botted, all hand done
20 minutes ago, Norscax said:I would have bought it, but u got no feedback
i think you need 100 post count to sell an account anyway. though pc's dont matter right?
- 1
-
-
Check that inventory is empty "except Item ID"
in Scripting Help
Posted
Sorry if i havent been very clear. Ive been skimming through tutorials for like a day and a half now and cant find an alternative. though i noticed that there are some good paid scripts that actually suffer from this problem tht im trying to prevent. Basically, lets say I have a power miner, that needs to mine iron and then drop it all, then once its all dropped needs to keep mining. well, there is at least one paid script i've used that will drop everything in the inventory except pickaxes. this means they probably said for the script to drop everything except pickaxes, and then just to check that the inventory was empty aside from those pickaxes. well, it may be a waste of time, but i want my script to literally only drop one or two things, and keep everything else there. so like, if you start the power miner with some random shit in your inventory, it wont get dropped just because its not on a specific list to be ignored.