Everything posted by TheGreatests
-
Issues with path walking
Well what I am looking to do is calculate that if surrounding players is more then 3, to either hop or move to the next rock... int Tomuch = 3; the thing is, I cant do <=, or >= for (Player player : getPlayers().getAll()) { ///////Calculating players around if(player.equals(Tomuch)){ //hop //walktootherrock } } Could I use this?? for (Player player : getPlayers().getAll()) { ///////Calculating players around if(player.getIndex() <=2){ //do something } }
-
Want to buy as many gold bars as I can...
Try this int barsToBuy; barsToBuy = getInventory().getAmount("Coins") / 100); Honestly bro, I am pretty new to this all over again. im trying to figure out how to calculate all players around me and if the players are more then 3, to hop worlds.
-
Juggles AIO Shop Buyer
yup I did, doesnt buy stuff from aubury
-
Want to buy as many gold bars as I can...
You're using getamount wrong.
-
Juggles AIO Shop Buyer
Everytime I start her up shes lagging me out. I guess I can make myself one. hopefully its not 2 hard
-
Issues with path walking
Well, tyvm MR.Abuse!
-
ANyone got a snippet of how to calculate players around?
Just wondering if anyone has implemented this in their script. Would like to use for my miner
-
Issues with path walking
yup, I got it . Now onto determining how to calculate players around me... lol anyone help me out with that one. Im in the blind with this af!
-
Basic Walking / Webwalking Tutorial - A Simple Concept
How would I code a path, so it walks a path in the walking. method
-
Issues with path walking
Ive tried alot of things so I decided to try just walking the path. here is my set up, exactly like how it was posted in the tutorials however. I am getting a erro private Position[] path = { new Position(3183, 3431, 0), new Position(3177, 3429, 0), new Position(3171, 3426, 0), new Position(3172, 3416, 0), new Position(3171, 3404, 0), new Position(3173, 3395, 0), new Position(3177, 3388, 0), new Position(3179, 3381, 0), new Position(3182, 3375, 0) }; Then using getWalking().walkPath(path); But its wanting me to change it to .walk, and then when I change it to walk. it wants me to do other stupid shit. any help?
-
Smooth walking in areas where Webwalking doesn't extend to
ArrayList<Position> path = new ArrayList<Position>(); path.add(new Position(3253,3420,0)); path.add(new Position(3253,3426,0)); path.add(new Position(3246,3429,0)); path.add(new Position(3240,3429,0)); path.add(new Position(3234,3430,0)); path.add(new Position(3227,3429,0)); path.add(new Position(3222,3429,0)); path.add(new Position(3215,3429,0)); path.add(new Position(3208,3429,0)); path.add(new Position(3201,3428,0)); path.add(new Position(3194,3429,0)); path.add(new Position(3186,3429,0)); path.add(new Position(3182,3434,0)); Is giving me a error, multiple markers at this line.. I remember back when another api was around I used a similar path adding system like this. How do you add a path to just a list and then execute that path. Web walking is messing up my path badly. Ive been trying to add a alternative separate path but I dont exactly remember how I did it before. NVM -_- theres a fucking tutorial for walking paths and my brain dead ass completely missed it.
-
Simple Path Tool
im getting abunch of errors.
-
Smooth walking in areas where Webwalking doesn't extend to
Whats the ....? its not path.add?
-
Want to buy as many gold bars as I can...
Do a while loop in there, or a if loop. Example if(BarsToBuy=(int) (getInventory().get... !=null{ get item }
-
GrandExchange, how to buy items and sell them?
Sounds good!, i'll let you know. I'll have a look into it again. Just got back after a few weeks and am already going overboard lol. Anyways, would you happen to know where I could exchange the BTC I have for the credits needed for sponsorship. I have the cash in BTC, however you guys dont accept this payment.. This payment personally I think is the best payment as its nearly right in your hands.
-
GrandExchange, how to buy items and sell them?
Thank you very much, i am gonna be buying lifetime sponsorship shortly, and then really pushing some work into it. I use to script back in 2012-13, and lost nearly everything ive learned. Was the first to publish a tab-maker on the TriMuch's API.
-
GrandExchange, how to buy items and sell them?
I posted in this post, only thing available is the way to buy it which I know how to and still doesnt seem to work
-
Calling an Instance in onLoop
Could do this, as this is what I do when I call methods from a different class public class main extends Script { Classname m = new classname(); onstart(){ You can call it in the onstart class by doing this m.(whatever method you are gonna use from the other class) } or you could call it on your onloop, or instead your switches. }
-
GrandExchange, how to buy items and sell them?
Just wondering if anyone had any code/ ways to buy items from the GE, and also sell them
-
GE Help
Ah that sucks, so the API doesnt have the e.sellItems(2354,"Steel bar", 22, 299); method does it...
-
GE Help
Ah ok, gonna do that now. Basically adding the .jar files I assume correct? Got it Juggles, tyvm buddy!
-
GE Help
Updated the bot, using Eclipse. Can you just update it that way or some other way?
-
GE Help
the buyitems seems to be not working for me, continues to tell me that im not assigning the right integers, and such. GE.box??
-
Generating an area next to an RS2Object with variable size
Ya weird thing is ive made several scripts already. Willing to tutor me alittle, i'll pay ya! How do I call this class into another class though. its a Enum?
-
Generating an area next to an RS2Object with variable size
Can you tell me how to implement it without having to have the code in the class itself?