Everything posted by House
-
Private RSPS Scripts - Flamo's Scripting Shop
Pretty sure this means using a different client aka advertising offsite borderline ?
-
Why are girls weird
fuck her right in the pu$$y!
-
setting up cli parameters
do it? on a more serious note i'm guessing you are looking to find out how to do it? Should probably include a question then public String getParameterString(int i) { String[] parameters = getParameters().split("-"); return parameters[i].replace("_", " "); } public int getParameterInteger(int i) { String[] parameters = getParameters().split("-"); return Integer.parseInt(parameters[i]); } Example usage: -script AIOGodwarsDungeon:bandons-brews-1000
-
fair matchmaking...
why do you play flex queue if you are alone
-
Finding the object that you clicked
Im not exactly sure what you are asking sorry lol. It stores the rocks that are clicked in a hashmap with the key being the rocks position and the value being the rocks id at the selection time (the rock is selected when it has ore in it) And if i understand what you are saying then why are you trying to listen to mouse clicks by the client mouse method. All you need is the rs2object it is interacting with (clicking) to know the position the script "clicked on".
-
Admin is not responding to my refund request or my pm
inb4 its another case where they charged back and mald recks them
-
Finding the object that you clicked
Objects.get() returns an array of objects at the position, .get(0) returns the first one and usually there is only one objects per tile. You could take an area around the player in a eg 10x10 grid and check if the mouse click or press event's .getPoint() is within the bounds of a tile. (Do not check every tile loaded, 10x10 is already a significant load) Idk if this is the best way to approach it but i know it works Useful snippets: ArrayList<Position> nearby_positions = new ArrayList<Position>(); private void updateNearbyPositions(int scan_radius) { Position my_position = myPosition(); int start_x = my_position.getX() - scan_radius; int start_y = my_position.getY() - scan_radius; int end_x = my_position.getX() + scan_radius; int end_y = my_position.getY() + scan_radius; for (int xx = start_x; xx <= end_x; xx++) { for (int yy = start_y; yy <= end_y; yy++) { Position pp = new Position(xx, yy, my_position.getZ()); nearby_positions.add(pp); } } } @[member=Override] public void mouseClicked(MouseEvent e) { for (Position p : nearby_positions) { if (p.isVisible(getBot()) && p.getPolygon(getBot()).contains(e.getPoint())) { if (mining_rock_positions.containsKey(p)) { mining_rock_positions.remove(p); e.consume(); } else if (!mining_rock_positions.containsKey(p)) { RS2Object rock = getObjects().get(p.getX(), p.getY()).get(0); if (rock != null) { mining_rock_positions.put(p, rock.getId()); e.consume(); } } } } } Apologies for the structure, its a pretty old code of mine
-
Finding the object that you clicked
You need to regrab the object on the position you store. You do not store the RS2Object. you can get an updated version of the current object on a tile using Objects.get(x,y).get(0);
-
PC on Fresh Tutorial and 7QP Accounts
or just bot it
-
Finding the object that you clicked
When you interact with the rock you have an instance of the object. You can store the position and see if the rock is still a valid mineable rock?
-
Selling 120M 0.95$/M PP
Fair enough but if you look at my feedback i've been selling decent chunks of gold recently and i go first
-
Selling 120M 0.95$/M PP
Status: SOLD Selling 120M 0.95$/M PP Leave your skype below or pm it
-
Selling 140M PP 0.95$/m
Selling 140M PP 0.95$/M PM me or post your skype below!
-
How to handle trees that grab you?
In general i personally don't recommend walking to current location + x because it will not work with WalkingEvent if the tile is not walkable which can be the case because you base it on current location + x Just my two cents
-
How to handle trees that grab you?
Just check for that darn tree haha
-
How to handle trees that grab you?
hmm if he is around that area, what if he is attacked by the guards on the way?
-
hi im dan beaver (not dbuffed)
Did you open the forums with your bot client using the same proxy dbuffed used?
-
How to handle trees that grab you?
create your own solution to handle the obstacle? add it into the break condition if the tree is X distance away and handle it yourself
-
Is there a way to seperate breakhandler from random events?
This ^ Also good to mention getTimeUntilBreak() returns the time in minutes OR you can write your own break manager with -allow norandoms
-
[Private Script Request] Paying Alot of Money
Fuck what am i expecting on here
-
[Private Script Request] Paying Alot of Money
Need It To Be Undetectable. -> Not possible Low Ban Rate. -> Possible Multi-Platform -> What does that even mean?
-
Selling 100M 0.95$/M PP
Status: Sold Selling 100M 0.95$/M PP if you wouldn't sell to the account you are posting on yourself don't bother
-
No more org.osbot.rs07.script.RandomBehaviourHook ?
This isn't the spam section, but why ?
-
No more org.osbot.rs07.script.RandomBehaviourHook ?
So we can properly manage farms?
-
I really think this song's going to blow up soon
its from 2015 bro