View Full Version : SMART Fixes.
0wn 4 skill: Replace smart.scar with the new one. Its on first post. (it was updated.
After you change that, try this.
{.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.
Nava2
11-11-2008, 01:18 PM
Hey Nava2: Any ideas how I can get my tile finder to work? I just get an error lyk this:
[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:
{.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 :(
Set a TPoint var to be GetMyPos then do IntToStr(P.x) that kinda thing. Will stop the errors :)
We run u.s.
11-12-2008, 03:44 AM
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?
Can anyone help me? i mean i posted this about 3 days ago...
update includes. File Download include or what ever. + download srl.
We run u.s.
11-12-2008, 04:39 AM
update includes. File Download include or what ever. + download srl.
Did all that like 4 times, even cleaned up the SRL FILES and re-installed
SRL/subversion. what gives??!?!? btw, i can't find srl.scar inside >> srl/srl
public3n3my
11-12-2008, 06:31 AM
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.
ruthlesskiller
11-12-2008, 10:46 AM
That means that your plugin is messed up, make sure that you didn't leave the old plugin in the plugins folder, as it will read both plugins and that's not good
I got the same error as him but i put in the plugin on 1st page but still get the same error
Tootoot222
11-12-2008, 12:42 PM
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
Itzkirby
11-16-2008, 06:12 AM
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
We run u.s.
11-16-2008, 07:48 PM
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!!
Nava2
11-16-2008, 09:38 PM
SmartSetupEx(38, false, true, false);
Replace yours with that one.
jacoby6000
11-17-2008, 04:17 AM
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)
Nava2
11-17-2008, 01:22 PM
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)
Did you minimize smart?
mepure155
11-18-2008, 01:35 AM
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
We run u.s.
11-18-2008, 04:03 AM
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
Did Scar log any of you in? because i have the same problem...
ruthlesskiller
11-18-2008, 06:39 AM
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
i do dat but still doesnt work
NiCbaZ
11-18-2008, 06:40 AM
I have the same problem, it just does not log in...
Brain
11-18-2008, 06:45 AM
smart works fine for me, logs in, and runs fine.
NiCbaZ
11-18-2008, 08:56 AM
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.
gangsta-444
11-18-2008, 01:43 PM
[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"
We run u.s.
11-18-2008, 08:55 PM
[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"
Try to re-installing java.
gangsta-444
11-19-2008, 01:26 PM
Ok Will Try ....
Edit: Worked Fine , Just Had To Update Java ... Thanks
Kyle Undefined
11-19-2008, 07:23 PM
smart works fine for me, logs in, and runs fine.
Yeah same here. I'm using it now on forefeathers 13+ hours.
~Camo
Pierre14
11-19-2008, 09:39 PM
Yeah same here. I'm using it now on forefeathers 13+ hours.
~Camo
M8 im trying to run forefeathers but every time I click play smart starts up log me in kills a chicken then logs out.. Then when i click on smart i can click anywhere even if it's disabled... what is going on?
All help is appreciated;)
Kyle Undefined
11-19-2008, 09:55 PM
M8 im trying to run forefeathers but every time I click play smart starts up log me in kills a chicken then logs out.. Then when i click on smart i can click anywhere even if it's disabled... what is going on?
All help is appreciated;)
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:
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:
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.
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
Pierre14
11-19-2008, 10:03 PM
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!
Pierre14
11-19-2008, 10:16 PM
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?
Kyle Undefined
11-19-2008, 10:32 PM
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
Pierre14
11-19-2008, 11:44 PM
So i have to have smart minimized at all times to make sure it doesn't stop..
Kyle Undefined
11-19-2008, 11:47 PM
Yup, or else Smart loses RS's canvas.
~Camo
Nava2
11-20-2008, 02:59 AM
Glad to see you are all working it out on your own.
As for the wierd errors, I get them as well. Usually just takes a few tries and a wait in between. :)
Kyle Undefined
11-20-2008, 03:02 AM
Glad to see you are all working it out on your own.
As for the wierd errors, I get them as well. Usually just takes a few tries and a wait in between. :)
It's not hard to fix, you gave us the required materials and all we had to do was find the certain way to plug them into the script. Easy enough ;) Thanks for providing everything, just what we needed.
~Camo
Death-Magnetic
11-20-2008, 09:22 AM
Helpful thread, really. But should i just copy and paste that thing? PLEASE pm me to answer this, please. Thx!
Kyle Undefined
11-20-2008, 01:27 PM
Copy and paste what? The smart.scar code he posted? Just open smart.scar, hit ctrl + a then hit delete. Leave it open, copy what Nava2 posted then paste that in the new smart.scar, hit save. Download the attached Embedded_Smart.dll and rename it to Embedded Smart.dll. Delete the one in your plugins folder, and place the one you just downloaded into it. Then replace the Worlds.ini with the new one.
~Camo
gimillii1592
11-21-2008, 05:48 AM
Thanks...works perfectly :]
ccameronn
11-21-2008, 03:11 PM
ill give it a try
Kyle Undefined
11-21-2008, 10:13 PM
ill give it a try
If you need any help with smart just send me a PM or add me on AIM or Yahoo and I will try my best. Happy autoing.
~Camo
Death-Magnetic
11-21-2008, 11:59 PM
Copy and paste what? The smart.scar code he posted? Just open smart.scar, hit ctrl + a then hit delete. Leave it open, copy what Nava2 posted then paste that in the new smart.scar, hit save. Download the attached Embedded_Smart.dll and rename it to Embedded Smart.dll. Delete the one in your plugins folder, and place the one you just downloaded into it. Then replace the Worlds.ini with the new one.
~Camo
YAY! I made it run :D Thx ALOT Camo! ;) ;) :spot:
imlvl127
11-22-2008, 12:22 AM
I applied the fixes and smart will load up. However it will not log in or anything and regardless of weather it's on "enable smart" or "disable smart" I can still hover my mouse over the icons so that they light up.
Currently using amble alcher. http://www.villavu.com/forum/showthread.php?t=9722
... read first post.. it says to minimize as soon as possible... do not put your mouse over the client screen!
imlvl127
11-22-2008, 02:42 AM
... read first post.. it says to minimize as soon as possible... do not put your mouse over the client screen!
I have tried that and it doesn't work!!!!:sasmokin:
try the way were as soon as you press start minimize scar and wait for smart to load without anything else on... then as soon as it loads click anywhere on the desktop...
We run u.s.
11-22-2008, 02:53 AM
SRL Compiled in 16484 msec
you are cutting Willow
It has been 1 minute and Runescape is not yet ready... Terminating.
Successfully executed
This is what i get every time i run smart/ scar...
Yes i got new smart.scar/ .dll, except i do not have the new worlds.ini...(to lazy to download FAWG. but is the reason why i keep getting this some where around worlds.ini? or something else?
search script for ActivateClient... with smart it is not needed cuz you have the SetTargetDC(SmartGetDC) thingy...
Kyle Undefined
11-22-2008, 07:11 AM
@ Death. You're welcome. Glad I could help ;)
@ U.S. Mind posting the first 10 lines of the main loop? I bet I know what's going on but I need to see to be sure.
(Look at Mormon trying to me like me lol :rolleyes: :p )
~Camo
Metagen
11-22-2008, 03:33 PM
This still doesn't work for me... It will have a working canvas until the main menu pops up, then everything stops working and it looses canvas. Can someone PLEASE help me?
this is what i did...
1. Replaced my smart.scar with the wierd one.
1.5. replaced embedded_smart inside the plugins folder
2. used setupsmartEx
elobire
11-22-2008, 05:43 PM
i cant find the smart plugin folder?
do u know what file its in?
This still doesn't work for me... It will have a working canvas until the main menu pops up, then everything stops working and it looses canvas. Can someone PLEASE help me?
this is what i did...
1. Replaced my smart.scar with the wierd one.
1.5. replaced embedded_smart inside the plugins folder
2. used setupsmartEx
...i think you can check the script for
ActivateClient;
take that out and see if it works... did for me!
Kyle Undefined
11-22-2008, 06:19 PM
i cant find the smart plugin folder?
do u know what file its in?
Scar 3.15 > Plugins
~Camo
altec
11-22-2008, 08:35 PM
Copy and paste what? The smart.scar code he posted? Just open smart.scar, hit ctrl + a then hit delete. Leave it open, copy what Nava2 posted then paste that in the new smart.scar, hit save. Download the attached Embedded_Smart.dll and rename it to Embedded Smart.dll. Delete the one in your plugins folder, and place the one you just downloaded into it. Then replace the Worlds.ini with the new one.
~Camo
were can i find that worlds.ini ? :D
Kyle Undefined
11-23-2008, 08:23 PM
Here. (http://www.villavu.com/forum/showthread.php?t=38498)
~Camo
We run u.s.
11-24-2008, 12:42 AM
When your talking about "worlds.ini", where do you put the new ones? what folder inside scar? or is it world switcher inside srl/srl/misc? help?
Kyle Undefined
11-24-2008, 02:24 AM
Scar 3.15 > Includes > SRL > SCSS
~Camo
Nava2
11-24-2008, 07:45 PM
For all of you wondering about the worlds.ini. You need to look up Mixsters world list parser. It will give you the correct worlds.ini :)
Kyle Undefined
11-24-2008, 07:56 PM
What about the one I made by hand just the other day?
~Camo
Nava2
11-25-2008, 06:29 PM
No idea. Haven't looked.
The one which SRL uses is the one that mixster parsed though. So, it is better to use his. Sorry :(
jking
11-26-2008, 02:48 PM
im having problems with adding smart to a script. the script runs it clicks log in but then it doesnt log my character in and just sits there
LiveNDieHye
11-26-2008, 04:03 PM
i just did what ur guide said....
ine 86: [Error] (103:187): Invalid number of parameters in script C:\Program Files\SCAR 3.15\includes\srl/srl/misc/smart.scar
006786
11-26-2008, 06:22 PM
Used the fix, got the following:
Line 86: [Error] (116:187): Invalid number of parameters in script C:\Program Files\SCAR 3.15\includes\SRL/SRL/Misc/Smart.Scar
Nava2
11-26-2008, 08:16 PM
i just did what ur guide said....
ine 86: [Error] (103:187): Invalid number of parameters in script C:\Program Files\SCAR 3.15\includes\srl/srl/misc/smart.scar
Used the fix, got the following:
Line 86: [Error] (116:187): Invalid number of parameters in script C:\Program Files\SCAR 3.15\includes\SRL/SRL/Misc/Smart.Scar
Replace the .dll.
boomitzben
11-26-2008, 08:25 PM
I used your fix and it worked great for at least 2 weeks but now i mean the smart is acting funny it does not want to login.
PriSoner
11-26-2008, 08:57 PM
I used your fix and it worked great for at least 2 weeks but now i mean the smart is acting funny it does not want to login.
This is because of the recent update. The login text changed slightly.
You have to change line 331 in login.scar
change: while (GetColor(343, 174) <> 7750) do
to: while (GetColor(343, 175) <> 7750) do
Baked0420
11-27-2008, 06:11 PM
Replace the .dll.
I replaced the .dll and it's still not working for me, you place the .dll in the folder
SCAR 3.15\Includes\SRL\place inside plugins folder
right?
you just extract the file to there from RAR?
PriSoner
11-27-2008, 06:21 PM
I replaced the .dll and it's still not working for me, you place the .dll in the folder
SCAR 3.15\Includes\SRL\place inside plugins folder
right?
you just extract the file to there from RAR?
no you place it in the \SCAR 3.15\Plugins not the SCAR 3.15\Includes\SRL\place inside plugins folder
also make sure there are no other SMART dlls in the \SCAR 3.15\Plugins folder.
Baked0420
11-27-2008, 06:37 PM
no you place it in the \SCAR 3.15\Plugins not the SCAR 3.15\Includes\SRL\place inside plugins folder
also make sure there are no other SMART dlls in the \SCAR 3.15\Plugins folder.
ok well I dont know why I already had a smart.dll in the
SRL\place inside plugins folder
folder, but I did, should I delete it?
and thanks for the help I'll see if it works now
EDIT2: nevermind I didn't delete that folder but I placed smart.dll where you told me and it worked thanks so much and thanks to who created this thread sorry I can't double check to find out your name I'm in a rush, but it finally works again for me, thanks anyone who helped.
Nava2
11-28-2008, 04:43 AM
Glad you got helped, thanks prisoner for holding down the fort. :)
Larrylucky
11-29-2008, 03:31 AM
Thank you so much for this post! Once I found everything and followed the instructions, SMART worked perfectly.
naryasha
11-30-2008, 06:32 PM
i did everything and i got this error
Line 4: [Error] (53:11): Unknown identifier 'SmartIsKeyDown' in script C:\Program Files (x86)\SCAR 3.15\includes\SRL/SRL/misc/SMART.scar
Nava2
11-30-2008, 06:56 PM
Try recopying your Embedded_Smart.dll, also, you need to make sure you did everything right.
Did you restart scar?
jumbosped
11-30-2008, 07:27 PM
This is because of the recent update. The login text changed slightly.
You have to change line 331 in login.scar
change: while (GetColor(343, 174) <> 7750) do
to: while (GetColor(343, 175) <> 7750) do
Dude, thank you so much! i had that problem and ur fix worked perfectly!
Itzkirby
11-30-2008, 11:58 PM
Hm after taking a break from botting, I've tried it and it doesn't want to work. I've redid everything and it still doesn't work. The SMART clickable.
Throm
12-01-2008, 03:17 AM
thxs nava just a few probs im still trying to work out after smart pops up
poolikemax
12-02-2008, 05:56 PM
what dose this mean?:
Invalid world number or corrupted world list. Please review your settings
dont seem in valid to me:
SMARTSetupEx(1 {world}, False {F2P}, True {signed}, False {standad detail});
Nava2
12-04-2008, 02:06 AM
Get the new worlds.ini in the link on the first post.
ttocszed
12-08-2008, 03:44 AM
after being gone for a year and trying to catchup to the latest trends and was a pain thanks for the help nava2 :)
gangsta-444
12-08-2008, 05:12 AM
Can Somone help me with the jvm.dll , I've Already Saw That Thread About It...
-reinstalled java \ downloaded the DLLs and putted them in system32- ...
So Please Don't Redirect Me To That Thread....
NiCbaZ
12-08-2008, 12:14 PM
SMART doesn't work for me on my main computer, looses focus as soon as it pop's up, it worked 24 hours and not now, so please don't give shit like, Minimize ASAP " have you got the login fix" Etc, any one else had this problem and know's a fix?
Metagen
12-08-2008, 02:27 PM
I have this problem but no fix :D
Tom_Gower
12-09-2008, 07:50 AM
metta, keeps hassling me ay buddy. FIX MY SMART FFS! something along those lines, just send me the script bro ill test on my comp as urse is dekcuf. Works great for me except when a script uses a form :S
Spayed
12-09-2008, 10:33 AM
when i try to run my script i get
this application has failed to start because MSVCR71.dll was not found. Re-installing the application may fix this problem.
and then it says JVM.dll could not be found, try reinstalling java
ive reinstalled java
[Runtime Error] : Exception: Access violation at address 6720138A in module 'Embedded_SMART.dll'. Read of address 000003F4 in line 1103 in script
that error comes up when i try 2 run the script also
senrath
12-09-2008, 10:35 AM
when i try to run my script i get
this application has failed to start because MSVCR71.dll was not found. Re-installing the application may fix this problem.
and then it says JVM.dll could not be found, try reinstalling java
ive reinstalled java
For the first error, go here:
http://www.villavu.com/forum/showthread.php?t=28941
Spayed
12-09-2008, 10:48 AM
actually i got it 2 work :D
got smart open, but its just sitting at the login page doing nuthing :S
im getting some where, its just trying 2 log me onto a members world :S, how can i fix this?
Kyle Undefined
12-09-2008, 12:42 PM
SMARTSetUpEx(SmartWorld, False, True, False); {WorldNum : Integer; Members, Signed, SuperDetail: Boolean}
That should do it
~Camo
Smexyprince
12-09-2008, 01:00 PM
Got a Error:
Line 75: [Error] (78:1): 'BEGIN' expected in script C:\Program Files\SCAR 3.15\includes\srl/srl/misc/Smart.scar
Kyle Undefined
12-09-2008, 01:47 PM
Can you post the script?
~Camo
Method
12-09-2008, 02:30 PM
Got a Error:
Line 75: [Error] (78:1): 'BEGIN' expected in script C:\Program Files\SCAR 3.15\includes\srl/srl/misc/Smart.scar
Delete your Smart.scar and re-download SRL from the SVN repository. It's an error that happens sometimes when downloading a new revision and should be fixed if you try again.
Smexyprince
12-10-2008, 12:08 AM
Yea I Figured That.
Nvm Fixed it Though.
n33d scripts
12-10-2008, 09:13 AM
Omga Ownage Man
Hobbit
12-20-2008, 06:19 AM
Closed on request of author
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.