Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/16/13 in all areas

  1. Well, we might as well just put it our here. We have a massive goal set once again for this week. We've done that in the past and managed to more or less meet our goals within time. We will try to do the same thing this week, however this time it feels as if it's even more and the impact of these updates will make us the best bot out there if we manage to pull it off in time. So let's get to the list: Client related goals: [*]Find the source of invalid logins / unable to login / unable to connect to Runescape. This bug happens only to a select group of users, however we want OSBot to be public to everyone [*]Find the left sources of any freezing issues. I have not encountered it myself, but will try to reproduce the bug and profile it to find its origin. It's most likely a crash of the RS client itself caused by injected callbacks. [*]Fix up the skill hooks [*]Fix up the facing uid hook so we can return the proper facing entity [*]Add facing coordinates, x and y [*]Add the character chat messages, both force chat (used for randoms and such) and regular chat (used to write an AI to talk with other players in RS in the future) [*]Add the ability to provide the walking method with a collection of Position objects to create custom selfmade paths and lower overhead [*]Add a proper enum for hitsplats [*]Add a canReach method not only for entity, which we already have, but also for arbitrary Position objects [*]Find and fix the origin of non running onLoop() methods. This has occurred to me in the past, however not after last update, so we'll once again have to reproduce and find the cause. Non client related goals: [*]Finish up the SDN portal where script developers can login to maintain, update and submit their scripts. Set up the logic on the client and server to handle access to certain scripts (like premium scripts), automatic updates on random event handlers and a secure mechanism of providing the OSBot client with premium scripts that will prevent leaking to protect the creators of the scripts [*]Randoms, like we said, we aim to have most if not all randoms with their first version updated through the SDN once it's setup After writing this list I realized we should stop writing more and put the effort into real code! Yours sincerely, OSBot.org
    2 points
  2. Ok guys, the bot should be back online!
    2 points
  3. Someone asked me, so here //Imports herepublic class ScriptName extends Script { private static enum BotState = { STATE_1, STATE_2, STATE_3, STATE_4, STATE_5 }; private BotState state; public int onLoop() { state = setState(); // Method to figure out which state the bot is in return handleState(state); } /*************************************************************** * Method BotState setState() * returns ENUM - BotState * Use this method to calculate the state * Such as, if the players inventory is full * return BotState.BANKING ****************************************************************/ private BotState setState() { // Stuff here return BotState.STATE_5; } /*************************************************************** * Integer handleState * returns integer * Use this method to function * according to which state the script is in/ * Example: if STATE_1, RETURN 1000; (If the bot is in state_1, wait for a second. If not, look for another * state. ****************************************************************/ private int handleState(BotState state) { switch(state) { case STATE_1: //code return 1000; // Wait time before next onLoop() case STATE_2: //code return 710; // wait time before next onLoop() } }}
    1 point
  4.    Really isn't much to show, if you get it you get it, if you don't you don't. It's very basic scripting and anybody who understands a hello world program using a switch would understand this. /: EDITED with slight comment adjustments
    1 point
  5. Sorry guys for the recent downtime. We were changing our HTTP servers to fix some URL mod_rewriting issues. The forums is now back to normal. IRC Webclient now works: http://osbot.org/chat.html Rules can now be viewed: http://osbot.org/rules.html Thanks, Laz and the OSBot Team. P.S. We have had some users spaming private messages with malicious content. Please do not download anything from a PM unless you trust it. OSBot should ONLY be downloaded from our homepage: http://osbot.org EDIT: We have fixed all issues regarding the website and the bot now. Happy botting!
    1 point
  6. Is the server for the client down too?
    1 point
  7. Yeah posting, PMing, you name is, all has seem to be fixed.
    1 point
  8. i can feel my post count getting bigger!~~!@~
    1 point
×
×
  • Create New...