Afaik.
Printable View
Afaik.
for those of you who do not know acronyms AFAIK Means, As Far As I Know.
And that was a response to the last post on the last page, "Is benland even working on it".
aint working
it seems to eb working, but when i sstart it, it says "Invalid number of parameters in script C:\Program Files\SCAR 3.15\includes\srl\srl\misc\smart.scar"
the problem code is here
SCAR Code:begin
prefix := ReadINI('World' + IntToStr(worldnumber), 'Prefix', AppPath + 'includes\SRL\SCSS\worlds.ini');
if(prefix = '')then
begin
writeln('Invalid world number or corrupted world list. Please review your settings');
TerminateScript;
end;
SmartSetup('http://'+prefix+'.runescape.com/', 'plugin.js?param=o0,a' + IntToStr((Integer(not(Signed)) + 1) * Integer(not((SuperDetail and Signed)))) + ',m' + IntToStr(Integer(Members))); // this is the bad line
end;
ok, i got the code onto smart.scar now thanks
the smart window pops up now and i minimize it and scar asap but it just stays on the login screen then the script terminates after a min of waiting
it says
Line 85: [Error] (85:33): Invalid number of parameters in script C:\Documents and Settings\Administer\Skrivbord\SRL\SRL\misc\Smart.S car
And the line 85 says is:
SMARTSetupEx(False, True, False);
O, and btw.. i dont know why it says
C:\Documents and Settings\Administer\Skrivbord\SRL\SRL\misc\Smart.S car
Shouldnt it be:
C:\Program\SCAR 3.15\Includes\SRL\SRL\misc/Smart.Scar
Please help =\
Thank you so much!
Uhh, I'm having problems with this... i followed everything in this mini tut, and i still can't get it to work, maybe its because i have Reflection.... but idk... here is what i get when i run my script..
yes i have SRL... i just have reflection over it..
Include file C:\Program Files\SCAR 3.15 and SUB\includes\SRL\SRL.SCAR does not exist.
Failed when compiling
Inside Includes, SRL, SRL, MISC, > Smart.scar has a ! on it...instead of a white check mark and a green circle around. i don't what to do... i did delete everything and posted the new Smart.scar. anyone please help?
Hey Nava2: Any ideas how I can get my tile finder to work? I just get an error lyk this:
SCAR Code:[Runtime Error] : Exception: Canvas does not allow drawing in line 102 in script C:\Program Files\SCAR 3.15\includes\SRL/SRL/Core/Players.scar
Here is script:
SCAR Code:{.Include SRL\SRL\Misc\Smart.Scar}
{.Include SRL\SRL.Scar}
{.Include SRL\SRL\Reflection\Reflection.Scar}
Procedure DeclarePlayers;
Begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name :='';
Players[0].Pass :='';
Players[0].Nick :='';
Players[0].Active:=True;
end;
Begin
LoadSMART(24, True, False);
SetTargetDC(SmartGetDC);
SetupSRL;
ActivateClient;
DeclarePlayers;
LoginPlayer;
SetAngle(true);
Wait(2000 + Random(500));
Repeat
If (IsFKeyDown(12)) Then
Begin
GetMyPos;
WriteLn(IntToStr(GetMyPos.x) + ' ' + IntToStr(GetMyPos.y));
While (IsFKeyDown(2)) Do
Wait(1);
End;
Until False;
End.
Thankyou. Sorry if i cause an inconvenience :(
0wn 4 skill: Replace smart.scar with the new one. Its on first post. (it was updated.
After you change that, try this.
SCAR Code:{.Include SRL\SRL\Misc\Smart.Scar}
{.Include SRL\SRL.Scar}
{.Include SRL\SRL\Reflection\Reflection.Scar}
Procedure DeclarePlayers;
Begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name :='';
Players[0].Pass :='';
Players[0].Nick :='';
Players[0].Active:=True;
end;
Begin
SmartSetupex(24, true, false, false);
SetTargetDC(SmartGetDC);
SetupSRL;
ActivateClient;
DeclarePlayers;
LoginPlayer;
SetAngle(true);
Wait(2000 + Random(500));
Repeat
If (IsFKeyDown(12)) Then
Begin
GetMyPos;
WriteLn(IntToStr(GetMyPos.x) + ' ' + IntToStr(GetMyPos.y));
While (IsFKeyDown(2)) Do
Wait(1);
End;
Until False;
End.
update includes. File Download include or what ever. + download srl.
Seems to be working perfectly. SMART opened and I can hear it running minimized. Will wait an hour or so to see if anything happened.
when you download the plugin from the first page, it's called "Embedded_SMART.dll", not "Embedded SMART.dll", so if you just saved it to the folder, it won't overwrite, so you have to make sure that there is only one "Embedded SMART.dll" in your plugins folder
How come it was LoadSMART and now it's SMARTSetupEx? It was fine before and now some shit happened and I had to reinstall SRL. Now this method doesn't work for me anymore.
so the so many people didn't have to fix a ton of scripts... cuz some scripts already had smartsetupex... and if the script is a reflection script then it doesn't work because the hooks were reloaded so... ya
Quote:
procedure SetUpScript;
begin
SmartSetupEx('world38', false, true, false);
SetTargetDC(SMARTGetDC)
SetUpSRL;
DeclarePlayers;
writeln('you are cutting '+(Players[CurrentPlayer].Strings[1]))
case ((Players[CurrentPlayer].Strings[1])) of
Failed when compiling
Line 155: [Error] (16982:44): Type mismatch in script C:\Program Files\
I get this error when i try to RUN the script.Someone please help?
EDIT: thx nava!!
SCAR Code:SmartSetupEx(38, false, true, false);
Replace yours with that one.
someone please help... the script says running... but it doesn't log in or actually perform what its supposed too, I waited for a full minute to see if the gay music stopped and the mining started (wissups new miner)
yeah i have the same problem it worked earlier for me today but now when i start it i minimize it real quick and it just sits there and does nothing
I have the same problem, it just does not log in...
smart works fine for me, logs in, and runs fine.
I was working for me with the for for a few weeks, at 3 oclock 2 days ago i stoped working on all 3 of my computers.
[Runtime Error] : Exception: Access violation at address 6720456E in module 'Embedded_SMART.dll'. Read of address 00000000 in line 86 in script
Guys What DOes This Mean???
Please Dont Tell Me To check Embedded_smart , I've Double Checked , and yes I deleted embedded SMARt.dll , Reinstalled Scar And Rev#28 , Replace SMART.scar As Instructed ..
Also It Works On My Other Pc But Not This One....
"Sorry For Grammers , If There's Any"
Ok Will Try ....
Edit: Worked Fine , Just Had To Update Java ... Thanks
Ok I'll post the changes that I made, not the whole script since this isn't a Junior Mem section.
First off, the main loop:
SCAR Code:procedure setupScript;
begin
cleardebug;
writeln(' = ');
writeln(' =|= FFFFFf ');
writeln(' ==|== Ff ');
writeln(' ==|== FFFf ');
writeln(' ==|== Ff orefeathers ');
writeln(' ==|== Ff ');
writeln(' =|= by munk');
writeln(' |');
SMARTSetUpEx(SmartWorld, False, True, False); {WorldNum : Integer; Members, Signed, SuperDetail: Boolean}
Wait(5000);
SetTargetDC(SMARTGetDC);
setupsrl;
ScriptID:='362';
if (yourSRLID <> '') then SRLID := yourSRLID;
if (yourSRLPW <> '') then SRLPassword := yourSRLPW;
mousespeed:=20+random(5);
declareplayers;
wait(500);
end;
Then the includes:
SCAR Code:program forefeathers;
{.include srl/srl/misc/smart.scar}
{.include srl/srl.scar}
Last I added a constant so you can choose the world you want to auto in.
SCAR Code:const
dbug=false;
directionToRun='E';
yourSRLID='';
yourSRLPW='';
SmartWorld=81;
That is everything I changed and it works fine. I had a 15 hour proggie but my computer froze and I lost it :(
~Camo
Thank you so much Camo Kyle. I also noticed that i had srl rev 27 so when i updated it I now get this error
Line 85: [Error] (92:46): Invalid number of parameters in script C:\Program Files\SCAR 3.15\includes\SRL/SRL/Misc/smart.scar
Any help to what this is?
EDIT: NVM fixed it!
Camo Kyle i tried what you told me to do... but it still does the same thing and it also doesn't select the world that I had put in the costant.
Omg im so sorry for double posting!!!! Ive never double posted im my life. Again im am very sorry.
Also is it possible you can paste the whole script for me and pm me it? or is that against the rules?
Lol. Just edit your posts so only one shows. It sometimes never chooses the world but it is more random than having the world hard coded into the smart startup. I can do that, since you are a Junior mem. I don't know what the difference will be tho. Also, did you do all of the smart fixes? Even minimizing it?
~Camo
So i have to have smart minimized at all times to make sure it doesn't stop..