Results 1 to 8 of 8

Thread: [Error]: No IFDEF for ENDIF at 18507:3

  1. #1
    Join Date
    Oct 2007
    Location
    http://ushort.us/oqmd65
    Posts
    2,605
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default [Error]: No IFDEF for ENDIF at 18507:3

    After I downloaded the Dev SVN.

    Whats the fix please?
    I do visit every 2-6 months

  2. #2
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    Umm, Rasta committed something using compiler directives, this should be tweaked.

  3. #3
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    No, I did. But what was the error? I can't compile atm.
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  4. #4
    Join Date
    Oct 2007
    Location
    http://ushort.us/oqmd65
    Posts
    2,605
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Fixed. Its in Srl.scar replace srl.scar with this

    SCAR Code:
    //----------------------------------------------------------------------------//
    //--                    Scar Standard Resource Library                      --//
    //----------------------------------------------------------------------------//
    //-- by: Azeroth, Bebe, BenLand100, benleegt, Boreas, c0de,                 --//
    //--   Cheesehunk, dakota, Dankness, driger1592, Flyboy, Freddy1990,        --//
    //--   Hobbit, inferno, Kernel Klink, Knightstreak, Krazy_Meerkat,          --//
    //--   Krichevskoy, Liquid, Lorax, lordsaturn, Mad Cow, Markus,             --//
    //--   masquerader, mastaraymond, moparisthebest, Mutant Squirrle, n3ss3s,  --//
    //--   Nava2, nielsie95, phantombmx, pups, Pyro, RAM, Rasta Magician,       --//
    //--   realrune, Renax, Ron, RsN, SKy Scripter, solemn wishes, Spky, SRL,   --//
    //--   Starblaster100, Stupid3ooo, Sumilion, tarajunky, The Claw,           --//
    //--   The_Rs_Monkey, Wizzup?, WT-Fakawi, XxKanexX, Yakman, YoHoJo,         --//
    //--   Zephyrsfury, _ChArMz,                                                --//
    //--                                                                        --//
    //--                                ....... and the SRL Community.          --//
    //----------------------------------------------------------------------------//

    {$IFDEF SMART}{.include SRL/SRL/Misc/Smart.scar}{$ENDIF}

    //----------------------------------------------------------------------------//
    //--                         SRL Level 1 Includes                           --//
    //--                                                                        --//
    //--        Low Level SCAR Math, Mouse Movement and Color routines.         --//
    //----------------------------------------------------------------------------//

    {.include SRL/SRL/Core/Globals.scar}
    {.include SRL/SRL/Core/Math.scar}
    {.include SRL/SRL/Core/Mouse.scar}
    {.include SRL/SRL/Core/Color.scar}
    {.include SRL/SRL/Core/Players.scar}
    {.include SRL/SRL/Core/Overwrite.scar}

    //----------------------------------------------------------------------------//
    //--                         SRL Level 2 Includes                           --//
    //--                                                                        --//
    //--                  Interface, Object and OCR routines.                   --//
    //----------------------------------------------------------------------------//

    {.include SRL/SRL/Core/Timing.scar}
    {.include SRL/SRL/Core/GameTab.scar}
    {.include SRL/SRL/Core/SRLLog.scar}
    {.include SRL/SRL/Core/Text.scar}
    {.include SRL/SRL/Core/Inventory.scar}
    {.include SRL/SRL/Core/Object.scar}

    //----------------------------------------------------------------------------//
    //--                         SRL Level 3 Includes                           --//
    //--                                                                        --//
    //--       MapWalking, AntiRandoms, Bank, Symbol and many more...           --//
    //----------------------------------------------------------------------------//

    {.include SRL/SRL/Core/Bitmaps.scar}
    {.include SRL/SRL/Core/FlagChat.scar}
    {.include SRL/SRL/Core/Login.scar}
    {.include SRL/SRL/Core/Mapwalk.scar}
    {.include SRL/SRL/Core/Bank.scar}
    {.include SRL/SRL/Core/Symbol.scar}
    {.include SRL/SRL/Core/RC.scar}
    {.include SRL/SRL/Core/AutoColor.scar}
    {.include SRL/SRL/Core/Globalstats.scar}
    {.include SRL/SRL/Core/CAutoRespond.scar}
    {.include SRL/SRL/Core/Amount.scar}
    {.include SRL/SRL/Core/AntiRandoms/Common.scar}
    {.include SRL/SRL/Core/AntiRandoms/Certer.scar}
    {.include SRL/SRL/Core/AntiRandoms/Demon.scar}
    {.include SRL/SRL/Core/AntiRandoms/Forester.scar}
    {.include SRL/SRL/Core/AntiRandoms/Quiz.scar}
    {.include SRL/SRL/Core/AntiRandoms/Sandwich.scar}
    {.include SRL/SRL/Core/AntiRandoms/EvilBob.scar}
    {.include SRL/SRL/Core/AntiRandoms/Leo.scar}
    {.include SRL/SRL/Core/AntiRandoms/Frog.scar}
    {.include SRL/SRL/Core/AntiRandoms/Molly.scar}
    {.include SRL/SRL/Core/AntiRandoms/Pillory.scar}
    {.include SRL/SRL/Core/Antirandoms/Pinball.scar}
    {.include SRL/SRL/Core/Antirandoms/Maze.scar}
    {.include SRL/SRL/Core/Antirandoms/CapnArnav.scar}
    {.include SRL/SRL/Core/Antirandoms/BeeKeeper.scar}
    {.include SRL/SRL/Core/AntiRandoms/Abyss.scar}
    {.include SRL/SRL/Core/AntiRandoms/Mordaut.scar}
    {.include SRL/SRL/Core/AntiRandoms/PrisonPete.scar}
    {.include SRL/SRL/Core/AntiRandoms/Mime.scar}
    {.include SRL/SRL/Core/AntiRandoms/AntiRandoms.scar}
    {.include SRL/SRL/Core/AntiBan.scar}

    {$DEFINE SRL_OPENDEV}

    {*******************************************************************************
    procedure  SetupSRL;
    by: SRL Dev Team
    Description: Sets up all variables needed to run SRL.
    *******************************************************************************}


    procedure SetupSRL;
    var
      t: Integer;
    begin
      t := GetTimeRunning;
      MouseSpeed := 15;
      {$IFDEF UseLaptopMouse}LMouse_MissChance := 75;{$ENDIF}
      CheckHPFirst := True;
      Reincarnate := False;
      TalkAfterRandoms := False;
      RoadColor := 0;
      WaterColor := 0;
      BankColor := 0;
      LampSkill := 'mining';
      SetUpSRLReport;
      LoadCosineArrays;
      SymbolAccuracy:= 0.8;
      LoadSRLBitMaps;
      LoadTeleRandoms;
      SolveSRLRandoms := True;
      SetupSRLAutoResponder;
      UseFindMod := True;
      LogoutOnMod := True;
      UseFindTrade := True;
      UseAutoResponder := True;
      Screenshots := False;
      GraphicsSet := False;
      AllowPVP    := False;
      WarnSensitivity := -2;
      InitializeSRLLogFile;
      Writeln ('SRL Compiled in '+  IntToStr(GetTimeRunning - t) + ' msec');
      {$IFDEF SMART}
        SMARTSetup(Smart_Server, Smart_Members, Smart_Signed, Smart_SuperDetail);
        SetTargetDC(SmartGetDC);
      {$ENDIF}
    end;
    I do visit every 2-6 months

  5. #5
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    It was [Error]: No IFDEF for ENDIF at 18507:3 .

  6. #6
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    Committed..
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  7. #7
    Join Date
    Oct 2007
    Location
    http://ushort.us/oqmd65
    Posts
    2,605
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    [Error]: Define not closed

    I know its in Srl.scar again (I think)

    But now Srl.scar confuses me

    so many <<< and such

    (just updated my revision)
    I do visit every 2-6 months

  8. #8
    Join Date
    Apr 2007
    Location
    Perth, Australia
    Posts
    3,926
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by Zasz View Post
    [Error]: Define not closed

    I know its in Srl.scar again (I think)

    But now Srl.scar confuses me

    so many <<< and such

    (just updated my revision)
    The >>>>> and <<<<< probably indicate a conflicted file merge when you updated SRL. Try deleting SRL.scar and reupdating.

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
  •