Video Tutorial Created:
http://youtu.be/j3a-TkIC0xM
Also edited OP with link! @cohen; Thanks![]()
Thanks @YoHoJo; I updated it with an embedded link.![]()
SRL's F.A.Q. (Error fixes) | How to Convert SRL-5 Scripts to SRL-6 | Draynor Chop N' Bank (RS3)| AIO Superheater (RS3)
T - E - A - MTogether Everyone Achieves More
ok ty
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!
SRL's F.A.Q. (Error fixes) | How to Convert SRL-5 Scripts to SRL-6 | Draynor Chop N' Bank (RS3)| AIO Superheater (RS3)
T - E - A - MTogether Everyone Achieves More
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;
@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.
SRL's F.A.Q. (Error fixes) | How to Convert SRL-5 Scripts to SRL-6 | Draynor Chop N' Bank (RS3)| AIO Superheater (RS3)
T - E - A - MTogether Everyone Achieves More
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.
@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.
SRL's F.A.Q. (Error fixes) | How to Convert SRL-5 Scripts to SRL-6 | Draynor Chop N' Bank (RS3)| AIO Superheater (RS3)
T - E - A - MTogether Everyone Achieves More
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
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.
SRL's F.A.Q. (Error fixes) | How to Convert SRL-5 Scripts to SRL-6 | Draynor Chop N' Bank (RS3)| AIO Superheater (RS3)
T - E - A - MTogether Everyone Achieves More
Sorry I'm new here but how I can run Simba as admin?
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.
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
SRL's F.A.Q. (Error fixes) | How to Convert SRL-5 Scripts to SRL-6 | Draynor Chop N' Bank (RS3)| AIO Superheater (RS3)
T - E - A - MTogether Everyone Achieves More
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.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.
Of all the things I have lost, I miss my mind the most.
Current Projects:
Addy bar miner and superheater
There are currently 3 users browsing this thread. (0 members and 3 guests)