SRL Archive - S.M.A.R.T.

Smart 4.5


noidea

2009-09-06 04:36:10

From BenLand100 :)

The new SMARTSetup is this

SmartSetup('http://world142.runescape.com/', 'plugin.js?param=o0,a1,m0',765,503)

<BenLand100> aight, someone give that file to a dev and what not, maybe they can figure it out

The plugin is attached. /edit: NVM Its to big, cant attach

and here

http://bland.no-ip.org/files/SMARTv4.5.zip

Smarter Child

2009-09-06 04:40:11

So this SMART works with new updates?

Edit: Line 96: [Error] (98:187): Invalid number of parameters in script C:\Program Files\SCAR 3.21\includes\SRL\SRL\Misc\Smart.Scar

:confused:


Edit 2: :eek: erase double post lol :p

Edit 3: Umm this is what i have:

program New;
{.Include SRL\SRL\Misc\Smart.Scar}
{.Include SRL\SRL.Scar}
{.Include SRL\SRL\Reflection\Reflection.Scar}

Const
World = 155;
Members = false;
Signed = true; //update change latersz :P

procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;

Players[0].Name :='';
Players[0].Pass :='';
Players[0].Nick :='';
Players[0].Active := True;
end;

begin

SmartSetup('http://world142.runescape.com/', 'plugin.js?param=o0,a1,m0',765,503);
SetupSRL;
SetupReflection;
DeclarePlayers;
LoginPlayer;
{Next functions}
end.

3Garrett3

2009-09-06 04:41:17

From: Smarter Child
So this SMART works with new updates?


I believe the point of it is to make smart signed work.

3Garrett3

2009-09-06 04:48:11

You have to set it up the way that it says, in the first post.

noidea

2009-09-06 04:52:38

No. I just posted the new smart setup so the devs could see the format.
Smarterchild: you get the error because smartsetupex uses smartsetup which currently doesnt have the right parameters

Smarter Child

2009-09-06 04:53:17

From: noidea
No. I just posted the new smart setup so the devs could see the format.


Awwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww :(

I thought SMART was updated, then maybe, shortly reflection would be updated…..


—————————————


Currently Active Users Viewing This Thread: 10 (10 members and 0 guests)
Smarter Child, Awkwardsaw, Bixby Sayz, Brain, mormonman, MylesMadness, Nadeem, noidea, senrath, TRiLeZ

—————————————

noidea

2009-09-06 04:58:36

Yes, smart is updated. the devs just need to change Smartsetupex
your script wont compile because it includes srl/srl/misc/smart.scar
and that's SMARTsetup is outdated.

TRiLeZ

2009-09-06 05:05:56

I just fixed SmartSetupEx, Im gonna post it for a Dev to upload it.

Simtoon

2009-09-06 05:29:19

Thead with new Smart.scar
http://www.villavu.com/forum/showthread.php?p=627583

YoHoJo

2009-09-06 06:10:06

Well as most of you know i haven't been around forever, so dont laff at me :D.
Im using Taras chicken killer, put the smart 4.5 in my plugins folder and ran the script.
It opens the smart client properly, but after that it doesn't log in or continue.
What am i doing wrong?

Coh3n

2009-09-06 06:15:41

From: YoHoJo
Well as most of you know i haven't been around forever, so dont laff at me :D.
Im using Taras chicken killer, put the smart 4.5 in my plugins folder and ran the script.
It opens the smart client properly, but after that it doesn't log in or continue.
What am i doing wrong?


Actually, I get the same problem to be honest with you. :confused:

Simtoon

2009-09-06 10:06:18

From: Coh3n
Actually, I get the same problem to be honest with you. :confused:


From: YoHoJo
Well as most of you know i haven't been around forever, so dont laff at me :D.
Im using Taras chicken killer, put the smart 4.5 in my plugins folder and ran the script.
It opens the smart client properly, but after that it doesn't log in or continue.
What am i doing wrong?


SMART works prefect for me.
did you include
Smart_Server := 107;
Smart_Signed :=True;
etc?

ZephyrsFury

2009-09-06 10:33:14

SMART and SMART.scar are fixed in the latest open dev revision. Same usage as before.

noidea

2009-09-06 10:37:52

Thanks Zeph :)

tico2

2009-09-06 11:38:24

Works great! Thanks to all for the fast actions :)
Reflection to go :p

radiclerobby

2009-09-06 13:11:37

-.- im getting this error when running smart
Failed when compiling
Line 96: [Error] (98:1): Identifier expected in script C:\Program Files\SCAR 3.21\includes\srl\srl\misc\smart.scar

this is line 96
<<<<<<< .mine

TRiLeZ

2009-09-06 13:21:34

From: radiclerobby
-.- im getting this error when running smart
Failed when compiling
Line 96: [Error] (98:1): Identifier expected in script C:\Program Files\SCAR 3.21\includes\srl\srl\misc\smart.scar

this is line 96
<<<<<<< .mine


You need the latest Smart.scar file…

Edit: Damn I got ninja'd

tarajunky

2009-09-07 22:28:54

So this is just to make signed SMART work?

Home

2009-09-07 22:38:11

From: tarajunky
So this is just to make signed SMART work?


Yeap =) Now it works, and everything else should work too.

~Home

pl0xmypl0x

2009-09-08 03:54:55

just waiting for reflection now

Boreas

2009-09-08 08:48:52

http://www.moparisthebest.com/smf/index.php/board,21.0.html
Looks like mostly people are just yelling at each other, which probably means jagex did something big, so don't hold your breath.

Jethr0x

2009-09-08 15:30:12

we do have this:

@ Client Build : 556
//Client
int[] WalkX - > ps.kc
int[] WalkY - > ps.jc

//Character
static int BaseX - > lq.n
static int BaseY - > tb.z

//Npc
static Npc[] NpcList -> pp.k
static int[] NpcIndexes -> ig.i
static int NpcCount -> ch.i

//Minimap
static Float minimapOffSet -> dc.p
static int MinimapAngle - >ch.c
static int[] SineCurve - > bb.f
static int[] CosineCurve->bb.g
static int MinimapScale - > al.H

//Interface
int HorizantalScrollBarSize -> sj.X
int VerticalScrollBarSize - > sj.Eb

//Ground
Byte[][][] static GroundData - > k.T
GroundArray[][][] static GroundArray - > qk.hb

//BufferPointer
int BufferPointer -> fb.M
:o

TRiLeZ

2009-09-09 01:16:34

From: Jethr0x
we do have this:

:o


We need build 560.
Could you teach me how to update the hooks manually? :o

voot

2009-09-22 07:54:03

From: YoHoJo
Well as most of you know i haven't been around forever, so dont laff at me :D.
Im using Taras chicken killer, put the smart 4.5 in my plugins folder and ran the script.
It opens the smart client properly, but after that it doesn't log in or continue.
What am i doing wrong?


since this morning i have been having this same problem. worked fine overnight.

can not even get the test script for smart from forums to do the login. i put a writeln after the SetupSRL line and it never executes it.

no red cursor dot in smart window, just sits at main menu.

have downloaded the 3.22 of SCAR via svn, as well as the dev repo of SRL, and copied the plugins. have tried about 20 differenet server numbers. when i use the disable SMART button i can mouse around and click things.

am thinking about putting some comments into the SetupSRL code to see where it goes gaga on me.

i have searched and been unable to find any solutions that fixed the problem.

any suggestions from the pros before i start putting writeln's everywhere?

TRiLeZ

2009-09-22 08:00:34

I once had the same error as you. I just restarted my computer and everything worked fine.

Your problem is smart is never setup right? Nothing in the debug box or no smart screen? And its a smart script?

voot

2009-09-22 08:13:47

yes am using the following code copied from a forum post. as well as Coh3n's PowerChopper and several others that ran fine last night/ this morning till i logged out for a while.

have rebooted a couple times but will try again.

here is the testing code


program TestSMARTLogin;

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

procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := 'user'; //Your RS username
Players[0].Pass := 'pass'; //Your RS password
Players[0].Nick := '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.

this did work fine, filled in the DeclarePlayers part and would open a smart window for a few seconds and close it, then open smart again (perhaps because SetupSRL seems to include a section that also runs SmartSetup?) and login, mouse around a few times then logout. i put a Writeln in after SetupSRL and that never appears in the debug window.

course same thing happens in Coh3n's and other bots. since it looks like many other people are working fine using those bots, it must be something with my system but am failing to see what it is.

————– edit ————————

the smart screen does open just like it should, and i get the following in the debug window

Successfully compiled (3037 ms)
SRL Compiled in 16 msec
SMART Initialized.
Loaded: Server 90, Members: False, Signed: True, Super Detail: False.

but there is no red mouse cursor and the script never seems to return from the SetupSRL call.

———– edit 2 ————————-

ok well it seems that if for some reason the graphics settings get changed to resizeable window then none of the things in loginplayer seem to work. had confirmed finally that i was making it out of SetupSRL by temp shortening of the loop timing at end of that routine. had tried rebooting with no luck. so checked graphics settings manually and noticed it was set to resizeable. changed to fixed. and re-ran the macro/bot/script and it worked fine then. did i miss a warning about making sure settings are always on fixed size somewhere?

TRiLeZ

2009-09-22 08:48:55

Change your above script to…


program TestSMARTLogin;

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

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

begin
Smart_Server := 154;
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.

If smart is included, setupsrl will start smart so no need for setupsmartex.
Some runescape servers are offline so you could have been getting your problem from an offline server.
Smart_Server is the world to load in smart.
Change Smart_Server if its not working.

YoHoJo

2009-09-22 09:03:17

From: voot
since this morning i have been having this same problem. worked fine overnight.

can not even get the test script for smart from forums to do the login. i put a writeln after the SetupSRL line and it never executes it.

no red cursor dot in smart window, just sits at main menu.

have downloaded the 3.22 of SCAR via svn, as well as the dev repo of SRL, and copied the plugins. have tried about 20 differenet server numbers. when i use the disable SMART button i can mouse around and click things.

am thinking about putting some comments into the SetupSRL code to see where it goes gaga on me.

i have searched and been unable to find any solutions that fixed the problem.

any suggestions from the pros before i start putting writeln's everywhere?



I fixed it, i believe the problem was that i had to make sure i was using SIGNED version, and that i had to manually change my window on rs form resizeable to fixed.

voot

2009-09-22 12:22:07

From: TRiLeZ
Change your above script to…

If smart is included, setupsrl will start smart so no need for setupsmartex.
Some runescape servers are offline so you could have been getting your problem from an offline server.
Smart_Server is the world to load in smart.
Change Smart_Server if its not working.


yes that works better, since it eliminates the opening SMART window twice and is cleaner. i had found that script on a thread telling how to test if SCAR, SRL and SMART were setup and working properly.

From: YoHoJo
I fixed it, i believe the problem was that i had to make sure i was using SIGNED version, and that i had to manually change my window on rs form resizeable to fixed.


yes it was the resizeable part that was killing me i think scripts were already setting signed true but will double check that to. but is working great now after setting to fixed instead of resizeable. many thanks YoHoJo!