SRL Archive - S.M.A.R.T. Questions and Answers.

Smart error. Plz Help


g0tp0t

2010-03-18 17:00:33

I run Yohojos PMS and get:

Line 134: [Error] (207:197): Invalid number of parameters in script D:\Program Files\SCAR 3.23\includes\SRL\SRL\Misc\SMART.SCAR

I get the same error for any script that uses smart… Help appreciated

so i think maybe it is the function it called that was updated without smart… is that possible?

YoHoJo

2010-03-18 20:25:34

If you are having trouble with a SPECIFIC SCRIPT, its' best to post the error IN THE THREAD WHERE YOU DOWNLOADED THE SCRIPT.

Anyways,
In SCAR do
Tools>Options>SRL Download>Move Plugins
Close SCAR, open SCAR again, run the script.
GoodLuck

kensaurus

2010-03-19 12:34:56

Same problem with almost all the scripts ith SMART, I have the latest Scar and SRL, moved the plugins, and for me its:

SRL Compiled in 0 msec
SMART Initialized.
Loaded: Server 152, Members: False, Signed: True, Super Detail: False.
[Runtime Error] : Exception: Access violation at address 697C14D3 in module 'Embedded_SMART.dll'. Read of address 00000BB4 in line 81 in script C:\Documents and Settings\Administrator\Desktop\SCAR\includes\SRL\SRL\misc\Smart.scar

(This was Draynor Chop N Bank)


Tried running this code and SMART worked.
program TestSMARTLogin;

{.Include SRL\SRL\Misc\SMART.SCAR}
{.Include SRL\SRL.SCAR}

procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := ''; //Youe Rs username
Players[0].Pass := ''; //Your RS password
Players[0].Nick := ''; //3-4 letters from name
Players[0].Active:= True;
end;

begin
SMARTSetupEx(2, False, True, False);
Wait(5000);
SetTargetDC(SmartGetDC);
repeat
wait(100);
until(SmartGetColor(253, 233)<>1118604);
SetUpSRL;
DeclarePlayers;
LogInPlayer;
Wait(2000 + Random(1000));
MMouse(388, 281, 3, 3);
Wait(2000 + Random(1000));
MMouse(4, 100, 3, 3);
Wait(3000 + Random(1000));
LogOut;
TerminateScript;
end.

YoHoJo

2010-03-19 17:11:01

g0tp0t PLEASE do not TRIPLE post.
Use the button instead.

And, to fix the sandwich.scar error, SVN commit your SCAR folder to this URL
http://freddy1990.com/svn/scarprerelease


And then make sure you are using the PRE-RELEASE version of SCAR
(In scar when you click Help>About it should say
Version Divi 3.23)

g0tp0t

2010-03-19 18:38:24

Line 268: [Error] (20568:1): Unknown identifier 'Pete_AnalyzeAnimal' in script C:\Program Files\SCAR 3.22\includes\SRL\SRL\Core\AntiRandoms\PrisonPete.scar


new error… :( im going to update srl… again:P

=========================================================================

Line 269: [Error] (16324:30): Invalid number of parameters in script C:\Program Files\SCAR 3.22\includes\SRL\SRL\Core\AntiRandoms\Sandwich.scar

that is what i get when i run your script… :(

…any other suggestions?

I think your problem was a variable or constant, my problem is with every script, not just smart.

as I showed its invalid number of parameters, and I did move plugins

Anyone have any way to help me? I cant find anyone with the same problem, and I have downloaded and installed SRL+scar correctly AND I have moved plugins.

Any srl devs know of a solution??

=======

Line 28: [Error] (28:28): Unknown identifier 'MMX1' in script C:\Program Files\SCAR 3.22\includes\SRL\SRL\Core\AntiRandoms\PrisonPete.scar

after updating scar then srl


=====

I have done this many times over, this time I did forget that sorry

YoHoJo

2010-03-19 18:40:30

SCAR>Tools>Options>SRL Download> Move Plugins
Close SCAR, Open SCAR again, done.

C'mon man, all of these questions can be answered in many of the setup srl tutorials and if you just search for the problem these questions have been asked/answered many times in many threads.

<3

g0tp0t

2010-03-19 18:46:51

Finally!!! omfg. scar hasn't worked in forever. tysfm.

YoHoJo

2010-03-19 18:49:24

SCAR has worked forever, you just don't follow instructions silly butt.

g0tp0t

2010-03-19 18:55:28

i know. its frustrating, and completely my fault:P that sounds like sarcasm but its not. lol.

Im Onto Making P0ts P0wer miner now!!!!:stirthepot: yea!!!!!

thanks 4 helping me, through my incompetence:duh: