Results 1 to 10 of 10

Thread: Scripts wont run.

  1. #1
    Join Date
    Apr 2013
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default Scripts wont run.

    Hey,

    I recently finished setting up SRL and SIMBA using the sticky threads and youtube tutorials.
    When I click play, the script compiles properly. The runescape 07 client launches.
    BUT! none of the scripts functionalities run. I am using the test snippet:

    Code:
    Program testP07;
    {$DEFINE SMART8}
    {$I SRL/SRL.Simba}
    {$I P07Include.Simba}
    
    //LOGIN INFO STUFF
    Procedure P07_DeclarePlayer;
    Begin
      P07_PlayerName:='username';
      P07_PlayerPass:='password';
    End;
    
    Begin
      SetupSRL;
      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');
    - Smart v8 is installed.

    This will (supposedly) try to log in with 'username' and 'password'. However, it does not.
    Any suggestions? Thanks.
    Last edited by Prayanthem; 04-01-2013 at 01:48 PM.

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

    Default

    Quote Originally Posted by Prayanthem View Post
    Hey,

    I recently finished setting up SRL and SIMBA using the sticky threads and youtube tutorials.
    When I click play, the script compiles properly. The runescape 07 client launches.
    BUT! none of the scripts functionalities run. I am using the test snippet:

    Code:
    Program testP07;
    {$DEFINE SMART8}
    {$I SRL/SRL.Simba}
    {$I P07Include.Simba}
    
    //LOGIN INFO STUFF
    Procedure P07_DeclarePlayer;
    Begin
      P07_PlayerName:='username';
      P07_PlayerPass:='password';
    End;
    
    Begin
      SetupSRL;
      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');
    - Smart v8 is installed.

    This will (supposedly) try to log in with 'username' and 'password'. However, it does not.
    Any suggestions? Thanks.
    U replaced login.simba, SmartParams.simba and globals? with the ones from Gurkan's thread

    Creds to DannyRS for this wonderful sig!

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

    Default

    Quote Originally Posted by Sjoekeloe View Post
    U replaced login.simba, SmartParams.simba and globals? with the ones from Gurkan's thread
    I did. But if you think that could be causing the problem I will try to redo the process just to be sure.

    EDIT >

    If I hadnt before, I have definently done it now and it changed nothing.
    However, I noticed when launching Simba that it outputs this:

    Can not load SQLite client library "sqlite3.dll". Check your installation.
    You can find the library at "http://www.sqlite.org/".
    Setting LastConfig/MainForm/RecentFiles/File7 to
    Don't know what that means, but I guess I will take the tip and "Check my installation" - So I'll reinstall and see what happens.
    Last edited by Prayanthem; 04-01-2013 at 02:16 PM.

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

    Default

    Quote Originally Posted by Prayanthem View Post
    I did. But if you think that could be causing the problem I will try to redo the process just to be sure.

    EDIT >

    If I hadnt before, I have definently done it now and it changed nothing.
    However, I noticed when launching Simba that it outputs this:



    Don't know what that means, but I guess I will take the tip and "Check my installation" - So I'll reinstall and see what happens.
    Shouldn't cause a problem, that pop-ups for me to. Just try a full re-install

    Creds to DannyRS for this wonderful sig!

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

    Default

    Quote Originally Posted by Sjoekeloe View Post
    Shouldn't cause a problem, that pop-ups for me to. Just try a full re-install
    Tried a full re-install, the problem persists.

    Steps:

    Install Simba
    Enable extensions
    Update extensions
    Try to run: It compiles and a rs window pops up

    Install Smart v8
    Run: It compiles and a rs window pops up with v8

    Add P07UpChars and P07Include to their respective folders
    Run, after you have selected an old RS window as the client, using the code snippet if should log in

    Does not login!

    * I restart Simba in between.

    Outputs
    Code:
    New window: XXXXXX (Selection of RS client)
    Compiled successfully in 624 ms.
    Checking P07Include VersionNumber
    Local : 1.7 / Latest : 1.7
    You Have The Latest Version of P07Include
    Then nothing...
    Last edited by Prayanthem; 04-01-2013 at 03:58 PM.

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

    Default

    The way you did it, doesn't it pop up EoC?

    This is the last step :http://villavu.com/forum/showthread.php?t=97599

    Creds to DannyRS for this wonderful sig!

  7. #7
    Join Date
    Apr 2013
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    It does, however the last step is this one:
    http://villavu.com/forum/showthread.php?t=96863
    Or rather:
    http://www.youtube.com/watch?feature...LylEj40#t=227s
    "Open up an OldSchool runescape in your browser"

    I am not using SMART in this step.

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

    Default

    Quote Originally Posted by Prayanthem View Post
    It does, however the last step is this one:
    http://villavu.com/forum/showthread.php?t=96863
    Or rather:
    http://www.youtube.com/watch?feature...LylEj40#t=227s
    "Open up an OldSchool runescape in your browser"

    I am not using SMART in this step.
    try setting auto-update to false in the P07Include.

    Should be at top of the include.

    Make sure there's only one file in the Include folder (sometimes it makes a new now)

    Creds to DannyRS for this wonderful sig!

  9. #9
    Join Date
    Apr 2013
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    This is just awfully embarrasing...

    My assumptions were correct - I did something wrong in the 07 setup.
    Hence, I opened the P07Include.simba - it was fine - then P07UpChars folder in the fonts > The directory went like this: C:\Simba\Fonts\P07UpChars\P07UpChars
    A DOUBLE FOLDER! ^ Damn you WinRar...

    Anyways, new problem occured. It now successfully clicks the windows and attempts to log in, but it does not in fact output 'username' & 'password'

    Code:
    Begin
      P07_PlayerName:='username';
      P07_PlayerPass:='password';
    End;

    EDIT: EVERYTHING IS KEWL!!!

    /closed
    Last edited by Prayanthem; 04-01-2013 at 04:23 PM.

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

    Default

    [Error] (1:1): period ('.') expected at line 0
    Compiling failed. please help my

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
  •