Results 1 to 9 of 9

Thread: Compiling failed, help please!

  1. #1
    Join Date
    Nov 2014
    Posts
    22
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default Compiling failed, help please!

    So i just joined this site to try some scripts out and stumbled into a simple honeycomb picker.
    After going trough the setup and finally understanding what i'm doing i stumbled upon an error, i was wondering if you could help please.
    It seems like there is something wrong with the fourth line in the code.
    Help is much appriciated!

    The error i get:
    Error: File "srl/srl/misc/smart.simba" not found at line 4
    Compiling failed.
    Error: File "srl/srl/misc/smart.simba" not found at line 4
    Compiling failed.
    The script i use
    program HoneyComberVersion1; //by blazingrobin
    {$DEFINE SMART}
    {$DEFINE CRASHSMART}
    {$include srl/srl/misc/smart.simba}
    {$include srl/srl.simba}
    {$include sps/sps.simba}

    var
    x, y, Hive, HoneyComb, InsectRepel: integer;
    honeywalk:TPointArray;
    bankwalk:TPointArray;

    Procedure SetDTM; //declaring dtms
    begin
    Hive := DTMFromString('mbgUAAHic7dBZTgJBEAbg4gTeyVuqUaOCgK Ls+74Jsu/DKDuKxPUK/lUUCfHVV0i+NNNd9VfPHBLR3ELUgxUsYQJtMGAKr/ChZjCEDnRhBAv41n5+HijOrEETGlBXvNfSfkN7OPcF1juzPjV3 +7zSuifNN3Q1d+7B+VUYWzbvxXf/0Zytms429V1NvaMT3+ISLsADUQjDNVjBDvfghxAEwUubPqty6Z lfa/nsHM7gCm7ArTUpyEMBSn/wXgYSWuvQ/FM4UsdworlRreXMNOQgpnO3/FqX0nMfxHUW3yOie+lwiCrZLIXdbvlfLxRo0utRNZ+jTCRCEa+ HAq5bOee6zmOZzFaLupWKnCcCfrqz2aSXe/i8+VCUnH6tKrh+1O3Q3DAkez2Z0Nt4RAtzKM/bvFIqJfM4L+bzyepxOshtt8s+zysmE3IPNmw2ZC1n0pSLRelru aD32ZQK8Tglg0Hp4X5eOYP7p4O+zHxut2lQr8v9eO8A32KPyLI n/v/7BUjrAus=');
    HoneyComb := DTMFromString('mvQEAAHicE2VgYHBmYWBwAmJbILYCYnsWiJ gXEHsCsSMQ2wGxG1SNG1QOxneE6ncHYgcgtgRiOUYGBgkglgFi JShWhtKyQCwIxJJALA7EqkgYJCcPxGpALArEilAzQHLl8SYM+x dkMUyvC2aY0xwGxvNawhlW9MYyFMcYMdSnmTO0ZlkxFEYbMnTk WjNUJ5uB6WXdMWA1E6sCGVb1xYHx/LYIhtI4YwZ+oP+pjRlpgLECAImtJco=');
    InsectRepel := DTMFromString('mVAEAAHicE2BgYBBnYWCQYoHQEkAsDcRyQC wDFRMGYhEoloTKw/SA1MszAsWAWBKIBYFYAohlgVgJiFWBWBmI5YBYCioGUi8DlRMB 4ie3bjG45doyOKZaMAT4+DCYhegzLJk7l+HEgf0MD69fZ7BLNG NwzrRisE82Z3h08wbDtbNnGZ7euQ2Wiw4PZ+AH+oESzEghRgcA fYUfPA==');
    end;

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

    Players[0].Name := ''; //Username
    Players[0].Pass := ''; //Password
    Players[0].Nick := '';
    Players[0].Active := True;
    Players[0].Pin :=''; //if no bank pin leave empty
    end;

    procedure Rest;
    var
    S: String;
    begin
    if not (LoggedIn) then
    Exit;
    if (GetMMLevels('Run', S) <= 25) then
    RestUntil(RandomRange(75,100))


    procedure GoToHoney; //walking to honey
    begin
    SPS_Setup(RUNESCAPE_SURFACE, ['6_6','6_7','7_7']);//SPS Areas
    honeywalk := [Point(2740, 2695), Point(2739, 2708), Point(2739, 2720),
    Point(2738, 2744), Point(2738, 2761), Point(2741, 2779),
    Point(2744, 2794), Point(2747, 2806), Point(2749, 2820),
    Point(2752, 2832), Point(2757, 2847), Point(2764, 2854),
    Point(2769, 2864), Point(2771, 2871), Point(2780, 2881),
    Point(2789, 2880), Point(2801, 2879), Point(2812, 2878),
    Point(2823, 2877), Point(2834, 2875), Point(2843, 2873),
    Point(2852, 2873), Point(2868, 2876)];
    SPS_WalkPath(honeywalk);
    end;

    procedure Banking;
    begin
    if bankscreen then
    begin
    wait(1500 + random(50))
    if (FindDTM(HoneyComb, x, y, MIX1, MIY1, MIX2, MIY2)) then
    Mouse(x, y, 1, 1, False);
    ChooseOption('All');
    end;
    begin
    if (InvCount) >2 = True then
    Begin
    CloseBank;
    GoToHoney;
    end;
    end;
    CloseBank;
    end;

    procedure FindBanker;
    var
    bx, by, Speed, ColFace, ColGrey, ColBlue, ColHair: Integer;
    begin
    if SPS_WalkPath(bankwalk) then
    Wait(100 + Random(50));
    If FindNormalRandoms then
    Begin
    Logout;
    TerminateScript;
    End;
    Speed := GetColorToleranceSpeed;
    ColorToleranceSpeed(1);
    ColFace := 7513036;
    ColGrey := 4995649;
    ColBlue := 4336690;
    ColHair := 2506053;
    if (FindObjThroughMM(bx, by, 'npc', [ColFace, ColBlue, ColGrey, ColHair], [5, 5, 5, 5],
    ['ounter', 'se Co', 'anke', 'to B', 'Banker', 'nker'], 2, 2)) then
    begin
    Mouse(bx, by, 0, 0, False);
    if (WaitOptionMulti(['kly Co', 'se-qu', 'ank B', 'Bank Banker', 'ank', 'nker'], 750)) then
    begin
    if (Length(Players) > 0) then
    if ((PinScreen) and (Players[CurrentPlayer].Pin <> '')) then
    InPin(Players[CurrentPlayer].Pin);
    begin
    wait(1500 + random(50))
    if (FindDTM(HoneyComb, x, y, MIX1, MIY1, MIX2, MIY2)) then
    Mouse(x, y, 1, 1, False);
    ChooseOption('All');
    end;
    begin
    if (InvCount) >2 = True then
    Begin
    CloseBank;
    GoToHoney;
    end;
    end;
    CloseBank;
    end;
    end;
    ColorToleranceSpeed(Speed);
    end;

    procedure GoToBank; //banking walk
    begin
    SPS_Setup(RUNESCAPE_SURFACE, ['7_7','6_7','6_6']);//SPS Areas
    bankwalk := [Point(2867, 2879), Point(2848, 2876), Point(2833, 2873),
    Point(2822, 2873), Point(2810, 2873), Point(2798, 2873),
    Point(2788, 2878), Point(2775, 2879), Point(2765, 2875),
    Point(2760, 2866), Point(2756, 2854), Point(2754, 2841),
    Point(2751, 2832), Point(2747, 2821), Point(2742, 2810),
    Point(2740, 2798), Point(2740, 2788), Point(2740, 2773),
    Point(2739, 2757), Point(2738, 2748), Point(2739, 2736),
    Point(2738, 2722), Point(2738, 2706), Point(2738, 2693),
    Point(2735, 2679)];
    SPS_WalkPath(bankwalk)
    if (InvFull) then
    begin
    FindBanker;
    end;
    if (InvEmpty) then
    begin
    GoToHoney;
    end;
    end;

    procedure GetHoney; //getting honey from hive
    begin
    if (InvEmpty) then
    GoToHoney;
    begin
    if (InvFull) then
    GoToBank;

    if (FindDtm(Hive, x, y, MSX1, MSY1, MSX2, MSY2)) then
    begin
    Mouse(x, y, 5, 5, False);
    ChooseOption('oney');
    repeat
    GetHoney;
    Until(InvCount=27);
    begin
    Exit;
    end;
    end;
    end;
    end;

    procedure FreDTM;
    begin
    FreeDTM(Hive);
    FreeDTM(HoneyComb);
    FreeDTM(InsectRepel);
    end;

    begin
    Smart_Signed := TRUE;
    Smart_Members := True;
    Smart_SuperDetail := FALSE;
    Smart_Server := 60;
    ClearDebug;
    SetUpSrl;
    SetDTM;
    MouseSpeed := 10;
    ActivateClient;
    DeclarePlayers;
    LoginPlayer;
    repeat
    SetAngle(SRL_ANGLE_HIGH);
    GoToHoney;
    GetHoney;
    GoToBank;
    FindBanker;
    Banking;
    wait(1000 +random(50));
    MakeCompass ('N');
    Rest;
    until (LoggedIn) = False
    end

  2. #2
    Join Date
    Jan 2012
    Posts
    2,568
    Mentioned
    35 Post(s)
    Quoted
    356 Post(s)

    Default

    The script is outdated, find a more recent script in the correct section.

    U also didnt have the srl include, which is the cause of the error.
    Try SRL>Check for updates at the top option bar

  3. #3
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    Are you Manager from pb?
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Bad™ before everyone gets laser pistols

  4. #4
    Join Date
    Nov 2014
    Posts
    22
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by KeepBotting View Post
    Are you Manager from pb?
    Yes i am.

  5. #5
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    Quote Originally Posted by Manager View Post
    Yes i am.
    l3l you're banned on there for scamming ain't ya
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Bad™ before everyone gets laser pistols

  6. #6
    Join Date
    Nov 2014
    Posts
    22
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by KeepBotting View Post
    l3l you're banned on there for scamming ain't ya
    Yes i am, altough that is irrelevant to this topic.
    Also i'm here to script, not to market trade.

  7. #7
    Join Date
    Mar 2013
    Posts
    1,010
    Mentioned
    35 Post(s)
    Quoted
    620 Post(s)

    Default

    This is a SRL5 script, it's damn outdated
    #slack4admin2016
    <slacky> I will build a wall
    <slacky> I will ban reflection and OGL hooking until we know what the hell is going on

  8. #8
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    First, you have to find a script that's not 8 months old.

  9. #9
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    Quote Originally Posted by Manager View Post
    Yes i am, altough that is irrelevant to this topic.
    Also i'm here to script, not to market trade.
    Yeah, I understand. Didn't mean anything by it - as long as you're not planning to do the same here.

    As others have said, that script is quite old and was probably written for RS2 EoC. libSRL5 by Markus might help you convert it, but work will probably still need to be done.
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Bad™ before everyone gets laser pistols

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
  •