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

S.M.A.R.T coding not working properly


royalsymbol

2010-01-03 03:55:05

Smart_World = 152

this, mostly used in any SMART script, however it doesn't choose the world for us :( ? it just choose randomly, but only the world chooser is not working properly, the rest is fine

any solution?

Kyle Undefined

2010-01-03 03:57:59


Smart_World := 152;

;)

~Camo

royalsymbol

2010-01-04 02:37:48

From: Camo Developer

Smart_World := 152;

;)

~Camo


seems like i did not highlight the ";" semi colon, however it still doesn't work, :)

jimmy_mac

2010-01-04 03:22:11

I dont know if Smart_World works. you could use this until someone else has a better solution.

[PHP]begin
SetupSRL;
if OpenWorldScreen then
begin
repeat
wait(50);
until(WorldScreen);
SelectWorld(152);
end;
end.[/PHP]

Kyle Undefined

2010-01-04 03:51:54

From: royalsymbol
seems like i did not highlight the ";" semi colon, however it still doesn't work, :)


Make sure you added the ":" before the "=". Smart_World := 152;

~Camo

jimmy_mac

2010-01-04 03:57:16

From: Camo Developer
Make sure you added the ":" before the "=". Smart_World := 152;

~Camo

program New;
{.include SRL/SRL/Misc/SMART.scar}
{.include srl/srl.scar}
begin
Smart_World:=152;
SetupSRL;
end.

Failed when compiling
Line 5: [Error] (21490:1): Unknown identifier 'Smart_World' in script

YoHoJo

2010-01-04 04:02:41

It needs to be


program New;
{.include SRL/SRL/Misc/SMART.scar}
{.include srl/srl.scar}
begin
Smart_Server := 99;
Smart_Signed := True;
Smart_SuperDetail := False;
SetupSRL;
end.

Kyle Undefined

2010-01-04 04:22:00

Ah, I thought it was the same. My bad :/ YoHoJo is right :)

~Camo

jimmy_mac

2010-01-04 04:23:50

You win this round yojo… you win this round..

YoHoJo

2010-01-04 04:30:15

:D, Awwh Yeah! Glad to help….simple problem.

royalsymbol

2010-01-04 06:12:37

oh well this part of the script is from coh3n lol
[URL="http://www.villavu.com/forum/showthread.php?t=46763"]Here lol[/URL]