Results 1 to 7 of 7

Thread: Problems Running OldschoolRS07 Include

  1. #1
    Join Date
    Nov 2013
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default Problems Running OldschoolRS07 Include

    I am unable to run the OldschoolRS07 include that simply enters 'username' and 'password' into the Oldschool Runescape login screen. I've been at this for about 8 hours, I've read through just about every help thread and watched several YouTube videos by YoHoJo, and I still have no idea what I'm doing wrong. Everything seems to be installed correctly and in the proper locations. Simba is in the C drive; SMARTv8.2 is in the Plugins folder; P07Include.simba, SPS (folder), srl-6 (folder), SRL-OSR (folder) are all in the Includes folder; P07UpChars (folder) is in the Fonts folder.

    I've even tried removing all these files and uninstalling Simba from my computer, but when I re-install everything I still have the same problems. When I try to run the OldschoolRS07 include, I get the following error message: "Exception in Script: Duplicate declaration "P07_GetUpText" at line 104, column 31 in file "C:\Simba\Includes\P07Include.Simba""

    I would really appreciate if somebody could help me out, I've been at this all day and I don't know where to go from here.

    **I apologize for not creating a hyperlink to the OldschoolRS07 include, but I haven't yet reached the 5 post minimum required. However, the thread number is 96863.

  2. #2
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    You don't run the 07include you run this

    Simba Code:
    Program testP07;

    {$I SRL/SRL.Simba}
    {$I P07Include.Simba}

    //LOGIN INFO STUFF
    Procedure P07_DeclarePlayer;
    Begin
      P07_PlayerName:='username';
      P07_PlayerPass:='password';
    End;

    Begin

      P07_DeclarePlayer;
      SetupP07Include;
      ActivateClient;
      Wait(2000);
      If (Not P07_LoggedIn) Then
        P07_LogInPlayer;
      P07_MakeCameraAngleHigh;
      P07_MakeCompassNorth;

      Writeln(P07_GetUpText);

      If P07_BankScreen Then
        WriteLn('Bank is Open');
      If P07_InvFull Then
        WriteLn('Inventory is Full');
     
    End.

  3. #3
    Join Date
    Nov 2013
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    I've probably been referring to the include improperly, but the above code you just listed is what I ran. The only difference is I changed {$I SRL/SRL.Simba} to {$I SRL-OSR/SRL.Simba}

  4. #4
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    Quote Originally Posted by Officer Barbrady View Post
    You don't run the 07include you run this

    Simba Code:
    Program testP07;

    {$I SRL/SRL.Simba}
    {$I P07Include.Simba}

    //LOGIN INFO STUFF
    Procedure P07_DeclarePlayer;
    Begin
      P07_PlayerName:='username';
      P07_PlayerPass:='password';
    End;

    Begin

      P07_DeclarePlayer;
      SetupP07Include;
      ActivateClient;
      Wait(2000);
      If (Not P07_LoggedIn) Then
        P07_LogInPlayer;
      P07_MakeCameraAngleHigh;
      P07_MakeCompassNorth;

      Writeln(P07_GetUpText);

      If P07_BankScreen Then
        WriteLn('Bank is Open');
      If P07_InvFull Then
        WriteLn('Inventory is Full');
     
    End.
    giving people outdated testscripts to run...
    Bad barbrady! As a man of authority, u shall bring them on the right path.

    Creds to DannyRS for this wonderful sig!

  5. #5
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Quote Originally Posted by tlang07uky View Post
    I've probably been referring to the include improperly, but the above code you just listed is what I ran. The only difference is I changed {$I SRL/SRL.Simba} to {$I SRL-OSR/SRL.Simba}
    No keep it how it is supposed to be, but the 07 include is outdated what do you need to run it for?

  6. #6
    Join Date
    Nov 2013
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    If I leave the code how it is (SRL/SRL.Simba instead of SRL-OSR/SRL.Simba), I get the error message "Exception in Script: File "SRL/SRL.Simba" not found at line 3, column 5"

  7. #7
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Quote Originally Posted by tlang07uky View Post
    If I leave the code how it is (SRL/SRL.Simba instead of SRL-OSR/SRL.Simba), I get the error message "Exception in Script: File "SRL/SRL.Simba" not found at line 3, column 5"
    install srl5 https://github.com/SRL/SRL-5 and set the interpreter to pascalscript


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
  •