Dear community,
The download for BETA v1.7.64 is available for download. This should fix an issue for some users who were not able to get the OSRS client downloaded.
The OSBot 2 API has been getting many updates, we hope to finish this up soon.
Sincerely,
OSBot.org
Gilgad is moderator? Uh...? Didn't he scam while he was drunk?
Yeah... he did... Sure he payed him back, but so has everyone else with the TWC.
Shouldn't he at least have TWC? And why should someone who scammed be able to become moderator, even if he paid back?
Discuss.
(I have nothing against you Gilgad, but this isn't fair)
No offense but the api is so messy it is very hard to find, please do point me in the right direction.
Oh you call it getFacing? Fucking Laz with his weird naming it drives me crazy
The main focus at this moment for OSBot 2 lies in making sure we have organized and covered every part of the planned API. The moment we release we can't refactor existing code anymore. Because we want OSBot 2 to have a very intuitive API, besides the performance gains, we are making sure we are not missing anything.
Why does the staff team not know the rules enforced by Maldesto then?
Even he doesn't obey them.
If someone has scammed and repayed, then they get TWC. And to give someone moderator right after them being unbanned? AND when they deserve TWC?
That's a bit fishy if you ask me.
I'm just going off of what Gilgad himself, and on a thread he said he did scam but he was drunk.
So I took his picture off google:
http://imgur.com/LaYF8US
(cut it to 100x100, using it for a webgame) and put some extra effects on it, heres the final results:
http://i.imgur.com/JqagA9B.png
my name aswell
We'll have to do with this as long as it's not hooked, I needed this for my script and I decided to share it with you people.
public Entity getInteracting(final org.osbot.script.rs2.model.Character<?> character) {
try {
final ClassLoader loader = provider.bot.I();
final Field field = loader.loadClass("aw").getDeclaredField("ao");
field.setAccessible(true);
final int index = field.getInt(character.instance) * 1850266567;
final XClient client = provider.client.instance;
if (index == -1) {
return null;
} else if (index > 32767) {
final XPlayer[] players = client.getLocalPlayers();
return new Player(players[index - 32768]);
} else {
final XNPC[] npcs = client.getLocalNpcs();
return new NPC(npcs[index]);
}
} catch (final Exception e) {
provider.log(e.getMessage());
}
return null;
}
Probably self explanatory but it uses the bots classloader to load class aw (entity/character/actor) and retrieve field ao (interacting index). It then changes the modifier of this field to public. If index = -1 (no interacting entity) it returns null, if the index is higher than 32767 (the size of the npc array), the interacting entity is a player and therefor it gets the player array (obviously unmodified) and subtracts 32768 from the index to get the index in the player array. If the index is not higher than 32767 (so 32767 and lower) it'll just get the instance out of the unmodified npc array and return a new NPC.
Images:
You weren't around when anne was mod? She was one of the best. After Anne resigning, one of the developers said she was annoying, so then everyone agreed cuz everyone must agree with developer right? -_-