Page 60 of 79 FirstFirst ... 1050585960616270 ... LastLast
Results 1,476 to 1,500 of 1956

Thread: How to install/setup Simba for RS3

  1. #1476
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Video Tutorial Created:
    http://youtu.be/j3a-TkIC0xM
    Also edited OP with link! @cohen; Thanks

  2. #1477
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    Quote Originally Posted by YoHoJo View Post
    Video Tutorial Created:
    http://youtu.be/j3a-TkIC0xM
    Also edited OP with link! @cohen Thanks
    gj. still need to sub with my srl youtube account btw

    edit:


  3. #1478
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Thanks @YoHoJo; I updated it with an embedded link.

  4. #1479
    Join Date
    Oct 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    ok ty

  5. #1480
    Join Date
    Feb 2012
    Posts
    179
    Mentioned
    0 Post(s)
    Quoted
    84 Post(s)

    Default

    When I try to add players to Rafiki Players Manager, it either closes Simba or I fill the information, safe but it doesn't remember it.

    I will appreciate any help!

  6. #1481
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by Nufineek View Post
    When I try to add players to Rafiki Players Manager, it either closes Simba or I fill the information, safe but it doesn't remember it.

    I will appreciate any help!
    After you've saved the players once, you have to use the File > Open button to open a saved list.

  7. #1482
    Join Date
    Oct 2010
    Posts
    1,255
    Mentioned
    0 Post(s)
    Quoted
    15 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    After you've saved the players once, you have to use the File > Open button to open a saved list.
    The open prompt does a browse in windows explorer and I can't find the army file anywhere.

    Also, is it possible to just input login information with the login procedures or is the player manager required?
    I'm back

  8. #1483
    Join Date
    Oct 2013
    Location
    East Coast USA
    Posts
    770
    Mentioned
    61 Post(s)
    Quoted
    364 Post(s)

    Default

    The player files are in SIMBADIR/includes/players

    You don't have to use the player manager, it loads the players array for you. You can set things in there manually.

    Example in the code (SIMBADIR/includes/srl-6/lib/core/players.simba)

    Code:
        with players[0] do
        begin
          loginName := 'example@example.com';
          displayName := 'Sir Example III';
          nickname := 'fighter1';
          password := 'thisismypassword12345';
        end;

  9. #1484
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by smurg View Post
    The open prompt does a browse in windows explorer and I can't find the army file anywhere.

    Also, is it possible to just input login information with the login procedures or is the player manager required?
    @bonsai; is exactly right.

    I think there's a way to set a default directory for the Open dialog. Will have to look into that. Also need to look into loading the previous player list on start up.

  10. #1485
    Join Date
    Oct 2010
    Posts
    1,255
    Mentioned
    0 Post(s)
    Quoted
    15 Post(s)

    Default

    Quote Originally Posted by bonsai View Post
    The player files are in SIMBADIR/includes/players

    You don't have to use the player manager, it loads the players array for you. You can set things in there manually.

    Example in the code (SIMBADIR/includes/srl-6/lib/core/players.simba)

    Code:
        with players[0] do
        begin
          loginName := 'example@example.com';
          displayName := 'Sir Example III';
          nickname := 'fighter1';
          password := 'thisismypassword12345';
        end;
    Exception in Script: Runtime error: "Access violation" at line 37, column 15

    @ the loginName line.
    I'm back

  11. #1486
    Join Date
    Oct 2013
    Location
    East Coast USA
    Posts
    770
    Mentioned
    61 Post(s)
    Quoted
    364 Post(s)

    Default

    Sorry, that was just a snippet, not complete.

    You get that error if you access an array outside of its set length. In this case the array was never initialized.

    Here is a complete login program. I'm not sure the isActive is required but a number of functions use it so it seems prudent to set it.

    Code:
    program new;
    {$DEFINE SMART}
    {$i srl-6/srl.simba}
    
    begin
      ClearDebug();
      SetupSRL();
      setLength(players,1);
      with players[0] do
        begin
          loginName := 'user@example.com';
          password := 'secret';
          isActive := true;
        end;
      currentPlayer := 0;
    
      players[currentPlayer].login();
    end.

  12. #1487
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    @bonsai; isActive is required. The SRL login functions check each player's isActive field before logging them in. If it is set to false, it will skip to the next player whose isActive field is set to true.

  13. #1488
    Join Date
    Oct 2010
    Posts
    1,255
    Mentioned
    0 Post(s)
    Quoted
    15 Post(s)

    Default

    It seems prudent that sixHourFix() would finish after waitClientReady() is true and not login using .login(). I have a custom login procedure.
    Last edited by smurg; 10-17-2013 at 07:04 PM.
    I'm back

  14. #1489
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by smurg View Post
    It seems prudent that sixHourFix() would finish after waitClientReady() is true and not login using .login(). I have a custom login procedure.
    I agree. @Olly; wrote that function. It might be so the script just continues from where it left off. You can open a feature request in the bugs section if you want.

  15. #1490
    Join Date
    Nov 2011
    Location
    England
    Posts
    3,072
    Mentioned
    296 Post(s)
    Quoted
    1094 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    I agree. @Olly; wrote that function. It might be so the script just continues from where it left off. You can open a feature request in the bugs section if you want.
    I don't see why it shouldn't log you in it's a login action at the end of the day it logs in the player.

  16. #1491
    Join Date
    Oct 2010
    Posts
    1,255
    Mentioned
    0 Post(s)
    Quoted
    15 Post(s)

    Default

    Quote Originally Posted by Olly View Post
    I don't see why it shouldn't log you in it's a login action at the end of the day it logs in the player.
    I was talking about having the login procedure inside of sixHourFix;

    I felt that sixHourFix should just reload the client (and not login) and let the scripter decide what to do next (in case they have a custom login procedure).
    I'm back

  17. #1492
    Join Date
    Oct 2013
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Sorry I'm new here but how I can run Simba as admin?

  18. #1493
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Quote Originally Posted by jerzq View Post
    Sorry I'm new here but how I can run Simba as admin?
    Assuming you're on Windows, right click the Simba icon, and click 'Run as Administrator'.

  19. #1494
    Join Date
    Oct 2013
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Okay thanks. For some reason I'm still getting this: 'Fatal Error: Unable to spawn a SMART client'. I'm trying to run RS 07 script.

  20. #1495
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    Quote Originally Posted by jerzq View Post
    Okay thanks. For some reason I'm still getting this: 'Fatal Error: Unable to spawn a SMART client'. I'm trying to run RS 07 script.
    java version?

  21. #1496
    Join Date
    Oct 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Exception in Script: Unknown declaration "bmpMinimapMask" at line 115, column 20 in file "C:\Simba\Includes\SRL-OSR\SRL\core\flag.simba"


    i keep getting that trying to run a script

  22. #1497
    Join Date
    Oct 2013
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by hoodz View Post
    java version?
    My java version should be newest one. I updated it yesterday.



    Ok i got it working no ty for help
    Last edited by jerzq; 10-20-2013 at 08:45 AM.

  23. #1498
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by Olly View Post
    I don't see why it shouldn't log you in it's a login action at the end of the day it logs in the player.
    Quote Originally Posted by smurg View Post
    I was talking about having the login procedure inside of sixHourFix;

    I felt that sixHourFix should just reload the client (and not login) and let the scripter decide what to do next (in case they have a custom login procedure).
    We could just add a new variable, smartLoginOnRestart, set default to true.

  24. #1499
    Join Date
    Jul 2010
    Location
    Western US
    Posts
    387
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Code:
    Compiled successfully in 3744 ms.
    Script started
    -- setupSRL()
    ---- Setting up SRL...
    ---- initSmart():
    ------ Attempting to pair to a previously spawned client
    ------ smartPairToExistingClient():
    -------- Found 1 free client(s), attempting to pair to one...
    -------- Failed to pair to SMART[24364]
    ------ smartPairToExistingClient(): result = false
    ------ Attempting to spawn a new client..
    ------ smartCreateClient():
    ---------- smartGetParameters(): Succesfully grabbed paramters
    -------- getJavaPath():
    ---------- Attempting to search for your Java path
    ---------- Found your java path @ C:\Program Files (x86)\Java\jre7\bin\java.exe
    -------- getJavaPath()
    -------- Using parameters [http://world30.runescape.com/, f7089400963193946469]
    -------- Using plugins "OpenGL32.dll"
    -------- Succesfully spawned a client, attempting to target
    ---------- smartSetAsTarget(): Succesfully set SMART[24924] as Simba's target
    ------ smartCreateClient(): result = true
    ------ Succesfully initialized via spawning a new client
    ---- initSmart()
    ---- Waiting up to 5 minutes for RS to load...
    ---- 1 minute(s) have passed, client is not ready yet
    ---- 2 minute(s) have passed, client is not ready yet
    ---- 3 minute(s) have passed, client is not ready yet
    ---- 4 minute(s) have passed, client is not ready yet
    ---- Client is taking too long to load, terminating...
    -- setupSRL(): False
    -- Freeing gametabs bitmaps..
    -- Succesfully freed SMART[24364]
    Successfully executed.
    So I am having an issue with the new smart, and a search of the forums turned up outdated information. Has anyone else come across this issue. The smart window opens, but just sits there with the waiting up to 5 minutes. it goes for the 5 minutes, and then terminates the scripts.
    Of all the things I have lost, I miss my mind the most.
    Current Projects:
    Addy bar miner and superheater

  25. #1500
    Join Date
    Jun 2012
    Posts
    4,867
    Mentioned
    74 Post(s)
    Quoted
    1663 Post(s)

    Default

    Quote Originally Posted by EtherFreak View Post
    Code:
    Compiled successfully in 3744 ms.
    Script started
    -- setupSRL()
    ---- Setting up SRL...
    ---- initSmart():
    ------ Attempting to pair to a previously spawned client
    ------ smartPairToExistingClient():
    -------- Found 1 free client(s), attempting to pair to one...
    -------- Failed to pair to SMART[24364]
    ------ smartPairToExistingClient(): result = false
    ------ Attempting to spawn a new client..
    ------ smartCreateClient():
    ---------- smartGetParameters(): Succesfully grabbed paramters
    -------- getJavaPath():
    ---------- Attempting to search for your Java path
    ---------- Found your java path @ C:\Program Files (x86)\Java\jre7\bin\java.exe
    -------- getJavaPath()
    -------- Using parameters [http://world30.runescape.com/, f7089400963193946469]
    -------- Using plugins "OpenGL32.dll"
    -------- Succesfully spawned a client, attempting to target
    ---------- smartSetAsTarget(): Succesfully set SMART[24924] as Simba's target
    ------ smartCreateClient(): result = true
    ------ Succesfully initialized via spawning a new client
    ---- initSmart()
    ---- Waiting up to 5 minutes for RS to load...
    ---- 1 minute(s) have passed, client is not ready yet
    ---- 2 minute(s) have passed, client is not ready yet
    ---- 3 minute(s) have passed, client is not ready yet
    ---- 4 minute(s) have passed, client is not ready yet
    ---- Client is taking too long to load, terminating...
    -- setupSRL(): False
    -- Freeing gametabs bitmaps..
    -- Succesfully freed SMART[24364]
    Successfully executed.
    So I am having an issue with the new smart, and a search of the forums turned up outdated information. Has anyone else come across this issue. The smart window opens, but just sits there with the waiting up to 5 minutes. it goes for the 5 minutes, and then terminates the scripts.
    Are you on OpenGl resizeable mode with maximum brightness?

Page 60 of 79 FirstFirst ... 1050585960616270 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 3 users browsing this thread. (0 members and 3 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
  •