Results 1 to 3 of 3

Thread: Let bot reset xp counter at the beginning?

  1. #1
    Join Date
    Apr 2013
    Posts
    21
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default Let bot reset xp counter at the beginning?

    Hi there, I have to manually reset the skill counter every time I use a script (I use like 4 scripts now), but then I thought it would be much handier if the bot does this the first time on startup.
    So, is there a handy code to do that? I could not find it here on the web..

    Skillery

  2. #2
    Join Date
    Sep 2012
    Location
    Australia.
    Posts
    839
    Mentioned
    16 Post(s)
    Quoted
    225 Post(s)

    Default

    You can try the ResetXPTotal function, here's the documentation found in gametab.simba:

    Simba Code:
    (*
    ResetXPTotal
    ~~~~~~~~~~~~

    .. code-block:: pascal

        function ResetXPTotal: Boolean;

    Resets the XP Bar.

    .. note ::

        by Narcle & IceFire908

    *)

    function ResetXPTotal: Boolean;
    var
      TPA: TPointArray;
      P: TPoint;
    begin
      TPA := TPAFromBox(IntToBox(521, 51, 546, 75));
      FilterPointsPie(TPA, 0, 360, 0, 12, 534, 63);
      P := TPA[Random(Length(TPA))];
      Mouse(P.X, P.Y, 0, 0, mouse_right);
      Result := WaitOptionMulti(['Res', 'ese', 'set'], 1000);
    end;

  3. #3
    Join Date
    Apr 2013
    Posts
    21
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Thanks , I will try this out

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •