Results 1 to 6 of 6

Thread: SoHigh

  1. #1
    Join Date
    Feb 2012
    Posts
    28
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default SoHigh

    Hello.

    This is my first script for RS.I made it in about 30 mins.It's not flawless.
    Actually it's on lame-level now.
    What it does:
    -High Alchemy
    -Random Click breaks.
    -Well...it works


    future:
    -Antiban
    -Report stats
    -End when out of alch-items


    program SoHigh;

    {$DEFINE SMART}
    {$i SRL/srl.simba}

    ////////////////////////////BY KOLRO//////////////////////////////////////
    ////////////////////////////Ver 1.0//////////////////////////////////////




    Procedure welcome;
    begin
    writeln(' '); //you can delate it all if it annoys you
    writeln('Welcome to SoHigh');
    writeln('Version 1.0 By Kolro');
    writeln('Donat In-Game if you want ');

    end;
    procedure DeclarePlayers;
    begin
    HowManyPlayers := 1;
    NumberOfPlayers(HowManyPlayers);
    CurrentPlayer := 0;

    Players[0].Name := ''; //Write your nick
    Players[0].Pass := ''; //Write your password
    Players[0].Nick := ''; //Write 3-4 first letters of your nick
    Players[0].Active:=True;

    end;
    //don't touch below!//
    procedure Mau5;
    Begin



    MoveMouse(746, 183);
    wait(200 + Random(20));
    Mouse(746, 183, 3, 3, true);
    wait(200);
    Mouse(746, 186, 3, 3, true);
    wait(1000);
    MoveMouse(574, 326);

    end;
    procedure Alchemy;
    begin
    Mouse(574, 326, 3, 3, True);
    Wait(1200 + Random(35));
    Mouse(574, 326, 3, 3, true);

    end;




    begin
    Welcome;
    Smart_Server := 86;
    Smart_Members := True;
    Smart_Signed := True;
    Smart_SuperDetail := False;

    SetUpSRL;
    ActivateClient;
    DeclarePlayers;
    LoginPlayer;
    ToggleXPBar(True);
    Mau5;

    repeat
    Alchemy;
    until(False)

    end.

    It's in pre-alpha mode so babysit

    hope i improoved basic skills for pascal by this script

    cheers
    -Kolro



    PS:You can mod. it and do whatever you want with it.I'll be greatful if you give me some advice
    Last edited by Kolro; 03-02-2012 at 02:55 PM.

  2. #2
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    You're using coordinates, which aren't good.
    You should try using DTM's for more accurate results.

    But an excellent attempt at a first script

  3. #3
    Join Date
    Oct 2006
    Location
    Netherlands
    Posts
    3,285
    Mentioned
    105 Post(s)
    Quoted
    494 Post(s)

    Default

    Looks great! I always enjoy reading peoples first script. Some simple tips to improve:

    1. Add FindNonInventoryRandoms in your repeat loop
    2. Add If not(LoggedIn) then Break; in your repeat loop, so it doesn't continue when it's allready logged out
    3. Ofcourse some dtms or bitmaps, but that can wait


    Good luck scripting!
    Working on: Tithe Farmer

  4. #4
    Join Date
    Feb 2012
    Posts
    28
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks!
    Could you just tell me what DTM stand for?
    i was reading about this but it was about bitmap DTM

    I mean...it would be easier if i have a library of "what does it stand for" for all scripts.I couldn't find it in simba and forum ;/

    and thanks for motivation
    i really want to make it flawless in 2-3 days !

  5. #5
    Join Date
    Oct 2006
    Location
    Netherlands
    Posts
    3,285
    Mentioned
    105 Post(s)
    Quoted
    494 Post(s)

    Default

    There is a lot of information about them here: http://villavu.com/forum/forumdisplay.php?f=96

    Note that a bitmap is an image it will search for and a dtm is a collection of points with a certain color and distances between them.
    Working on: Tithe Farmer

  6. #6
    Join Date
    Feb 2012
    Posts
    28
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Oh my bad - I didn't search carefully
    Next book to read
    But i get what is Dtm and bitmap now ^ ^
    now i just have to learn it and improve script.

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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