THERE IS A BUG THAT WILL TAKE BENLAND100 A WHILE TO FIX , THE RS CLIENT HAS CHANGED SO IT DOESNT WORK< STOP REPEATING THE SAME THINGS
SMART WILL NOT WORK PROPERLY
Printable View
THERE IS A BUG THAT WILL TAKE BENLAND100 A WHILE TO FIX , THE RS CLIENT HAS CHANGED SO IT DOESNT WORK< STOP REPEATING THE SAME THINGS
SMART WILL NOT WORK PROPERLY
ok, im getting this error but im not sure how to tackle it
Line 74: [Error] (96:71): Invalid number of parameters in script
Heres the script
SCAR Code:if Signed then
S := 'plugin.js?param=o0,a1,m' + IntToStr(Integer(not Free))
else
S := 'a2,m0,j0,o0';
SmartSetup('http://world' + IntToStr(WorldNum) + '.runescape.com/', S); //This is line 74 btw, the "S" on the end is the problem code
SetTargetDC(SmartGetDC);
WorldNum := GetTimeRunning;
everytime i start the script..it goes into a random but member world...>.< and yes im using sereko's yew cutter and ive set members='no'
EDIT:Tried on some other scripts too...no matter what it logs me in into members server
use:
SCAR Code:LoadSMART(world, False,False);
i think thats not signed nor members let me know.
replaced the file but still got error somebody pm me or post here a post here is my error:
http://img100.imageshack.us/img100/4116/errorpj0.jpg
http://img100.imageshack.us/img100/e...pg/1/w1440.png
somebody plz help me I am usselus without smart
Please, wait for a fix. It's not working at the moment anyway. It's useless when the enable/disable SMART function is not working.
Please read the freaking first post. -_-
hey i get this error:
Successfully compiled (1755 ms)
SRL Compiled in 7628 msec
4 Players
[Runtime Error] : Exception: in line 46 in script C:\Program Files\SCAR 3.15\includes\SRL/SRL/Core/Math.scar
the script opens the rs client then closes as soon as it does so. any help guys? thanks. ps. ive read all the posts...
SMART Status:
http://www.villavu.com/forum/showthread.php?t=36987
Read it people.
ooo... so i guess it's normal to get that error? i'm pretty lame at this so anything helps.
I figured some stuff but got another warning -.- please somebody help me:
http://img145.imageshack.us/img145/3552/errorra1.jpg
http://img145.imageshack.us/img145/e...jpg/1/w934.png
is there a screenshot or video of using smart?
and how to setup from the start if i wanna run: for example hy's caver
hey well the smart windows pops up thats a good sign :) but it doesn't do anything ill keep trying till it works.
doesnt seem to work for me
It works, just not well... :(
what about SmartSetTarget? would that not help?
Lol guess nothing stops fools from posting stupid questions on here... heh.. Anywho, nice job wit the fix ;)
oh and:What a noble guy... lolQuote:
I take no credit for fixing the .dll, that was Benland.
NIce tut helped me heaps
i know peeps posted saying it's not working and etc but i got all to work but cannot get the autoing going...
i dont get the red spot acting as the mouse cursor to appear either.
can someone someone who managed to get it working guide me from here please?
Updated with how to run SMART with this version,
Please read the first post.
so you just minimize SMART when it opens, and don't put it back up while autoing?
Yup :D
hey...
Managed to get it working...
the code for VEIM or Narcles figter are
Code[
LoadSMART(141, False, False);
wait(5000);
SetTargetDC(SmartGetDC);
repeat
wait(100);
until(SmartGetColor(253, 233)<>1118604);
]/code
put this in your code and apply what it says in the first post, all should work...
Off topic: Wtf Nava2? You joined jan 2008, and is allready such a great scripter. Fast learner or what?
EDIT: All i had to do was to fix the embedded smart thingy correctly. stupid me :/
Anyway i still have this log in problem, its the same with all scripts.
Would be nice if someone can help me :)
http://img122.imageshack.us/img122/2...shot133cq6.jpg
Heeeey guys,I have a question.
If I have a "auto woodcutter" and someone ask "What is your level in Woodcutting?" can I do in my S.M.A.R.T script if someone ask "What is your level in Woodcutting?" can I do so it writes "My Woodcutting level is 99." ?
hehe you could use my ChooseChat function
SCAR Code:{*******************************************************************************
function ChooseChat(S: TStringArray): Boolean;
By: Quickmarch
Description: Choose's a Chat inside the Quick Chat.
*******************************************************************************}
function ChooseChat(S: TStringArray): Boolean;
var
i: Integer;
begin
Wait(1000+random(100));
SendKeys(chr(13));
Wait(100+random(100));
for i := 0 to High(S) do
begin
Result := ClickText(S[i], SmallChars, 7, 361, 513, 473, True);
if Result then
Wait(1000+random(200));
end;
end;
put that in your script and
SCAR Code:ChooseChat(['Skills', 'ood', 'level is'])
thats how use use the function.:spot:
it should work.
Okay,thank you:)
Riffe, please don't spam. You should know, that SMART behaves the EXACT same way that a regular script works.
Try not to ask silly questions, when you know the answer. And when they are off topic.
For the person who can't log in. You need to make sure you have the latest rev, these SMART fixes, and that SMART is minimized immediately. :)
Hmm weird, why am I getting unknown identifier LoadSMART ?
I've replaced my SMART.scar with the one posted, and replaced my plugin
EDIT: Haha nevermind I'm dumb. I still had {.include srl/srl/misc/Smart.scar} commented out.
How would I go about using this code though?
SCAR Code:program New;
{.include SRL/SRL/misc/SMART.scar}
{.include SRL/SRL.scar}
procedure ShowClient;
var
Client : Integer;
C : TCanvas;
begin
Client := BitmapFromString(766, 506, '');
C := GetBitmapCanvas(Client);
C.Handle := SMARTGetDC;
SafeCopyCanvas(C, GetDebugCanvas, 0, 0, 766, 506, 0, 0, 766, 506);
FreeBitmap(Client);
SetTimeout(3, 'ShowClient');
end;
{procedure SetShowClient(time : Integer);
var
V : TVariantArray;
begin
V := [];
ThreadSafeCall('ShowClient', V);
end; }
begin
SetupSRL;
LoadSMART(115, True, True);
Wait(2000);
DisplayDebugImgWindow(766, 506);
ShowClient;
repeat
Wait(500);
until False;
end.
I know S.M.A.R.T is fixed,but i'm wondering if I can choice that world I want now. Can i choice what world i want now or is it automatic?
He means he forgot to replace the {.include SRL/SRL/Misc/SMART.scar} at the top of the script.
After loading, use SRLs new world switcher.
IMO, After doing some tests, I would call it after the first LoginPlayer. So after that call:
SCAR Code:LoginPlayer;
Wait(RandomRange(1000, 1500));
DisplayDebugImgWindow(766, 506);
ShowClient;
...
You only need to call the show client procedure once, and if you want the debug window to show anything, you need to call that display. :)
P.S. You can remove that commented out procedure. :)
No guarantees as to how long that will run though.
calling with:Code:[Runtime Error] : Exception: '' is not a valid integer value in line 88 in script C:\Program Files\SCAR 3.15\includes\SRL\SRL\Misc\Smart.Scar
Code:LoadSMART(94, True, False);
Edit: That error occurs only if I change the SmartSetup within SMART.scar, if I don't.. I get this instead.
The line is:Code:Failed when compiling
Line 110: [Error] (171:71): Invalid number of parameters in script C:\Program Files\SCAR 3.15\includes\SRL\SRL\Misc\Smart.Scar
Ideas or fixes?Code:SmartSetup('http://world' + IntToStr(WorldNum) + '.runescape.com/', S);
[Runtime Error] : Exception: Access violation at address 0222138A in module 'Embedded_SMART.dll'. Read of address 00000350 in line 48 in script C:\Program Files\SCAR 3.15\includes\srl/srl/misc/Smart.scar