Everything posted by atoo
-
better way to count X logs chopped?
Code bellow works fine when we are not breaking, but when im breaking it fucks up and either goes up like 2+ extra logs even though we dont have that many logs. example : we have chopped 200logs, but it returns 240 logs chopped. if(myPlayer() != null) { long oaksInInventory = getInventory().getAmount("Oak logs"); if(oaksInInventory > oakpreviousInvCount){ oakChopped += (oaksInInventory - oakpreviousInvCount); oakpreviousInvCount = oaksInInventory; } else if (oaksInInventory < oakpreviousInvCount){ oakpreviousInvCount = oaksInInventory; } } Reason im asking for some help or tips is because when we have X logs chopped i want it to do something.
- 94-99 str
-
Bot busted moderate in your farm
- 0.53 [☆1000 Feedback☆] [LIFETIME SPONSOR]?️EATING COMPETITORS[BULK]
He bought my 14m, i went first- Main account banned
You got perma'd? When i botted my main i only got 2days ban or whatever the fuck it was- OSBot 2.4.145
- RandomInc SudokuSolver [Source | Moneymaker | Low Req]
- Can't interact with inventory?
I already check for animation in another part of My code, as for the code it was working B4. osbot client is obv outdated or something.- Can't interact with inventory?
It worked fine until this morning, dont know whats wrong. Did not change any code and script has been running for 8+hours before this happend. Something in the api broken? if(getInventory().contains("Maple logs") && getInventory().contains("Knife")) { if(getBank().isOpen()) getBank().close(); if(!getBank().isOpen()) { if(!getWidgets().isVisible(270, 16)) { log("Did we get here?"); //this gets printed out if(!getInventory().isItemSelected()) getInventory().interact("Use", "Knife"); if(getInventory().isItemSelected()) getInventory().interact("Use", "Maple logs"); sleep(1000); } else { getKeyboard().typeString("3"); } } } Edit: Webwalking doesn't seem to work either the fuck lol seems like the api is outdated or smth (I guess) [ERROR][Bot #1][11/10 10:40:30 AM]: Error executing event : org.osbot.rs07.event.WebWalkEvent@6a336838 java.lang.IllegalStateException: Could not identify minimap interface child! Please report to developers. at org.osbot.rs07.api.util.GraphicUtilities.IIiIIiiIIIiI(xl:613) at org.osbot.rs07.api.util.GraphicUtilities.getMinimapScreenCoordinate(xl:441) at org.osbot.rs07.api.map.Position.isOnMiniMap(mh:694) at org.osbot.rs07.event.WebWalkEvent.execute(yg:545) at org.osbot.rs07.event.EventExecutor$2.run(ij:60) at org.osbot.rs07.event.EventExecutor.execute(ij:176) at org.osbot.rs07.script.MethodProvider.execute(bn:715) at org.osbot.rs07.api.Walking.webWalk(qg:227) at mainScript.onLoop(mainScript.java:99) at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(ro:134) at java.lang.Thread.run(Unknown Source)- Get item price directly through GE?
Ye ill look into it when i work more on my fletcher, thanks. I'll also look into using the widget but i think using your snippet would be a lot better imo I got it working, thanks everyone for the help!- Get item price directly through GE?
Ye price per item, is there some snippet without json though? I remember explv saying so but i can't find the thread- Get item price directly through GE?
So working on my 1-99 fletcher ive been looking to make it all more automated, but i haven't gotten around getting the price on X item in GE. Now im curious if its possible to get the price shown in GE itself? Example:- My Mining Rig Build Project
Looking good even though you haven't made profit (yet). Keep us updated fam, mining is always intresting!- When running any unofficial script 'invalid or corrupt jar file: scriptname.jar'
Dont listen to muffin, local scripts should be placed here: C:\Users\USERNAME\OSBot\Scripts\- has anyone here learned scripting on their own?
I learnt c# in college (for 2 years) and then c++/java from home. Java is almost like c# so it was very easy to start scripting aslong as you understand the api.- who's hyped?
this is hot memes- Explv's Walker
No need to be upset, was just having a banter- Explv's Walker
goodluck making it as p as @Explv's- 0.53 [☆1000 Feedback☆] [LIFETIME SPONSOR]?️EATING COMPETITORS[BULK]
bought 21m from me all smooth!- does anyone know a script that buys buckets and soda ash?
pm me on discord and ill make it for you atoo#2533- Selecting ALL npcs or ground items.
not null checking is the best feeling ever, don't you just love when the game freezes?- $$$ AMAZING BOT F2P/P2P $$$
- atoo's development thread - [First script in awhile]
Thanks man, ill let you know- atoo's development thread - [First script in awhile]
Crafting added! Will record video and replace with old one to show what i currently have done. Updated changelogs.- Selling 30$ BTC for PayPal
1:1? - 0.53 [☆1000 Feedback☆] [LIFETIME SPONSOR]?️EATING COMPETITORS[BULK]