-
Posts
38 -
Joined
-
Last visited
-
Feedback
0%
Posts posted by zachtucker
-
-
Just socks for me
-
Also it looks like if your doing a task on a slayer master for example tureal i got ghouls but ghouls doesn't populate in its monster list but in Mazchna even though the profile is setup for that monster on Mazchna doesnt load its presets.
Also when i recieved banshees as a task it went to buy earmuffs and just sat there swaping between the regular preset and the earmuffs
-
My bot freezes if i use the i turn on prayers
-
hey do you have discord
-
(client.getSkills().getExperience(Skill.FIREMAKING) = your firemaking code
-
Here are some awesome, useful snippets:
DistanceToPoint (Distance from character to point, can be used for finding the closest thing to the character at any distance):
private int distanceToPoint(int pointX,int pointY) { return (int) Math.sqrt(Math.pow(this.client.getMyPlayer().getX() - pointX, 2) + Math.pow(this.client.getMyPlayer().getY() - pointY, 2)); }
Get XP for Level:
public int getXPForLevel(int level) { int points = 0; int output = 0; for (int lvl = 1; lvl <= level; lvl++) { points += Math.floor((double)lvl + 300.0 * Math.pow(2.0, (double)lvl / 7.0)); if (lvl >= level) return output; output = (int)Math.floor(points / 4); } return 0; }
Get Level for XP:
public int getLevelForXP(int exp) { int points = 0; int output = 0; if (exp > 13034430) return 99; for (int lvl = 1; lvl <= 99; lvl++) { points += Math.floor((double) lvl + 300.0 * Math.pow(2.0, (double) lvl / 7.0)); output = (int) Math.floor(points / 4); if (output >= exp) { return lvl; } } return 0; }
ALL OF THIS IS USELESS
Plus all of these snippets are from rsps servers
-
1
-
-
so if a npc is walking the mouse doesnt miss
so is there a way?
-
how would you force a right click on an entity?
-
i just made a large complex code of a bunch of fail safes using getFacing() and a bunch of other methods ill post a betta of my new script tonight
-
let me check
-
yes but how would you make it count your npc in specific and not all other npc's doing the same animation around you
-
is there a way to count the ammount of npc's you have killed or is the api that far yet?
-
he is right tho, most scripts have flaws the creators just dont feel like fixing.
And how many scripts have you made not hating but it takes time bud , and the osbot api is still developing , idk if anyone has noticed but this is still in beta soo everyone just calm down. I'm sure better non bugged scripts will come out.....
-
We need to get somewhat decent scripts, not half asses scripts... Lets go people. All i see on the scripts page are half done scripts. If anyone can find me a script I can run 10+ hours with great anti-ban please link it below... Until then people lets go on finishing a script... For example, how do we not have a working rock crabs and/or aiofisher?
how about you go make your own scripts if your so damn worried...
$1000.00 in OSBot Credit Holiday Giveaway [WINNERS ANNOUNCED]
in Community Discussion
Posted
OMG I just realised i won!!! Thank you so much!!!