Results 1 to 5 of 5

Thread: need some help

  1. #1
    Join Date
    Mar 2013
    Posts
    15
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Question need some help

    i know there are probably more posts like this but i couldn't find it with the search tool. so i just started scripting and i followed a tutorial, but found out it was for eoc. are there any guides for 07 scripting, cause i really can't find them anywhere.
    thanks in advance,
    larsi37

  2. #2
    Join Date
    Feb 2007
    Location
    Colorado, USA
    Posts
    3,716
    Mentioned
    51 Post(s)
    Quoted
    624 Post(s)

    Default

    What tutorial was specific to eoc? There shouldn't be much of a difference scripting wise.

    You'll have different functions from the eoc include vs the 07 include, that should be all.
    The only true authority stems from knowledge, not from position.

    You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.

  3. #3
    Join Date
    Mar 2013
    Posts
    15
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by grats View Post
    What tutorial was specific to eoc? There shouldn't be much of a difference scripting wise.

    You'll have different functions from the eoc include vs the 07 include, that should be all.
    i used the thread: Script down your first rs tree (http://villavu.com/forum/showthread.php?t=44942)
    but when i see some 07 scripts it all has codes with P07 in front of it? don't you have to use that if you want to make a script for 07 scape?
    this is what i made so far:

    program new;
    {$i srl/srl.simba}
    {$DEFINE SMART8}

    Procedure DeclarePlayers;
    Begin
    HowManyPlayers := 1;
    NumberOfPlayers(HowManyPlayers);
    CurrentPlayer := 0;

    Players[0].Name := '';
    Players[0].Pass := '';
    Players[0].Nick := '';
    Players[0].Active:=True;
    End;

    procedure Antiban;
    begin
    if(not(Loggedin))then
    Exit;
    FindNormalRandoms;
    case Random(8) of
    0:
    begin
    HoverSkill('Woodcutting', false);
    wait(1800+Random(350));
    end;
    1: PickUpMouse;
    2:
    begin
    MakeCompass('N');
    wait(100+random(133));
    MakeCompass('S');
    wait(50+random(133));
    MakeCompass('N');
    FindNormalRandoms;
    end;
    end;
    end;

    procedure Choptree;
    var x, y: integer;
    begin
    repeat
    FindNormalRandoms;
    if Findobj(x, y, 'hop', 3037523, 35) then
    begin
    Mouse(x, y, 2, 2, false);
    ChooseOption('hop');
    end;
    repeat
    wait(400+random(250));
    Antiban;
    Until not IsUpText('ak') or (InvFull);
    until(InvFull);
    end;

    begin
    SetUpSRL;
    ActivateClient;
    Declareplayers;
    Loginplayer;
    Choptree;
    end.

  4. #4
    Join Date
    Feb 2007
    Location
    Colorado, USA
    Posts
    3,716
    Mentioned
    51 Post(s)
    Quoted
    624 Post(s)

    Default

    Yea, the P07 defines that set of functions vs the "updated" ones

    as far as learning to script, you should be able to do nearly the same things, while just replacing functions with P07, I'd grab a few scripts and learn by viewing what they did. I haven't played rs in over a year so not sure on all the 07 stuff... but all you would need to do is match what any tutorial says with the P07 version of it, this is where looking at already working scripts & learning from them comes in handy
    The only true authority stems from knowledge, not from position.

    You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.

  5. #5
    Join Date
    Mar 2013
    Posts
    15
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    oh okay thanks, so the procedures and everthing written between begin and end don't have to be changed, i only need to put P07 in front of some codes?

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
  •