-
Posts
744 -
Joined
-
Last visited
-
Feedback
100%
Posts posted by zScripz
-
-
holy shit no you could build a much better one for the same cost
-
Thanks man!
A second question...I want my script to perform a profit check function first and then move on to repeating the merch function until a certain time. My issue is that I cannot even get it to move from the ProfitCheck Case to the Merch Case
Here is my Code
NPC clerk = npcs.closest("Grand Exchange Clerk"); if (clerk !=null && grandExchange.isOpen() == false) return State.ExchangeBanker; int OpenedIt = 1; int CheckedIt = 0; if (OpenedIt <= 2 && CheckedIt == 0) return State.ProfitCheck; OpenedIt += 1; CheckedIt += 1; if(CheckedIt >= 0) return State.MerchTime; return State.Wait; }
Here you see that I'm simply trying to get the script to recognize that if the previous case was completed it can move onto the next case, but for some reason it keeps hanging on the profit check case.
The code where you increment OpenedIt and CheckedIt is unreachable
also camelCase pls
also you probably want to learn Java before writing a massive merch script
-
am I on /r/humblebrag right now lmao
- 1
-
Bank pin works perfect now, thank you.
- 1
-
public boolean interactWithTableItem(GroundItem tableItem, String action, int tableHeight) throws InterruptedException { Point p = org.osbot.script.rs2.utility.Utilities.getScreenCoordinates( bot, tableItem.getGridX(), tableItem.getGridY(), tableHeight); int height = (int) tableItem.getMouseDestination().getBoundingBox() .getHeight(); int width = (int) tableItem.getMouseDestination().getBoundingBox() .getWidth(); return selectOption(null, new RectangleDestination(p.x - width / 2, p.y - height / 2, width, height), action, false); }
this was old code i used in osbot 1, with a little tinkering it should work
-
Bored irl so thought I'd come back and create some scripts. Gonna focus more on free scripts this time around
-
the virginity is real
-
The OP was poorly worded, so I don't think anyone besides the developers even know what's going on, but in overall it seems that were going to have to rewrite our scripts for free. Even if they just get it for 30 days that's still a free month of access to our scripts and only like 5% of buyers actually renew a script.
Don't quote me if the topic doesn't even concern you. Just manage the forum big boy.
itt swizz complains about something that takes literally 5 minutes b/c he would rather fuck over customers than give them a good product
claps 4 you!
- 2
-
might want to add that your zybez class isn't yours
-
dear god what am I reading
-
1. In OSBot 1 we had obj.getMouseDestination().getBoundingBox() which returned a rectangle, which was very useful in drawing objects on screen. I've looked around ObjectDefinition and the new Model, but haven't found any way to access this, if its even still here.
I will update as I find things, but liking the new api a lot. Its going to be extremely easy for new scripters to learn how to script.
- 1
-
How finalized are the docs? IE if I begin to develop a script now, is there a large chance that everything will be changed on me?
EDIT:
As I convert a small script, is distance(Position) gone or am I just missing it?
-
317 sweg
-
nezz, moore and fearme all 3 examples of great scripters and their scripts work super good..... yet the SDN scripter shows nothing whatsoever. means you got a script on the SDN big whup! no one will know that they release/write premium quality scripts/work whatsoever and most people with SDN Scripter rank are known to jst upload a free script and just get the rank thats it........................ -_____- Go look at sales ffor all those with OSD vs SDN Scripter rank. those with OSD exceed SDN Scripter rank massively..........
LOLOLOLOL
ot: no
- 1
-
I use .compareTo in most cases. This was an earlier method I used and it worked so I didn't see the need to replace the ==.
sorry to say this but if you are using this method you simply don't understand anything about strings..
- 1
-
if(pot_type == "Super strength")
else if(pot_type == "Strength potion")
else if(pot_type == "Super attack")
else if(pot_type == "Attack potion")
- 1
-
Dat waste of bandwidth
- 1
-
i crai errytime ne'er4get :'(
-
Can we have a breakfast section?
A book-reading section?
An Italian Imperial Empire discussion section?
wtf is this shit ofc not
-
Both ACT and AP offer financial aid. In addition your school will help you as much as possible with this, they receive an incentive for each child taking these tests
source: took 12 AP tests and 3 ACTs and SATs now
if you like I can link you.
EDIT:
here it is anyways
https://professionals.collegeboard.com/testing/ap/coordinate/fee-assistance
http://webapps01.act.org/fane/docs/
As her parents are not supporting her financially she would declare she is INDEPENDENT of them.
- 2
-
Just tested out an OSB1 script and it's still failing to execute any type of clickMouse method
Confirmed this is true
-
rofl this is amazing
-
bookmarked so I can refer idiots who tell me that macs can't get a virus to this page
- 5
-
YES THOMAS JEFFERSON DIED FOR MY RIGHT TO POST GAY PRONZ ON BOTTING FORUMS
I have created an automatic account creator
in Spam/Off Topic
Posted
How did you bypass the captcha?