SRL Archive - SRL Archives

SetupSmartEx Fixed


TRiLeZ

2009-09-06 05:08:18


procedure SmartSetupEx(Server: integer; members, signed, superdetail: boolean);
var
prefix: string;
begin
prefix := ReadINI('World' + IntToStr(Server), 'Prefix', AppPath + 'includes\SRL\SRL\misc\worlds.ini');
if(prefix = '')then
begin
writeln('Invalid world number or corrupted world list. Please review your settings');
TerminateScript;
end;
SmartSetup('http://'+prefix+'.runescape.com/', 'plugin.js?param=o0,a' + IntToStr((Integer(not(Signed)) + 1) * Integer(not((SuperDetail and Signed)))) + ',m' + IntToStr(Integer(Members)) , 765, 503);
//SmartSaveSettings([Server, Members, Signed, SuperDetail, SmartGetDC]);
end;

Works with SMART v4.5 by Benland100.
Let me get the link for the plugin…

http://bland.no-ip.org/files/SMARTv4.5.zip
Link originally posted by noidea

Smarter Child

2009-09-06 05:09:43

@ Link - http://www.villavu.com/forum/showthread.php?p=627570#post627570

Good Job, its great you fixed it ;).

Edit:
SRL Compiled in 16 msec
SMART Initialized.
Loaded: Server 155, Members: False, Signed: True, Super Detail: False.

Tested, and working ;).

:)

Simtoon

2009-09-06 05:30:25

Like omg i go and fix it make a thread and see your thead!!

TRiLeZ

2009-09-06 05:34:04

From: Simtoon
Like omg i go and fix it make a thread and see your thead!!


lol
As long as SMART is fixed… ;)

xSaintias

2009-09-06 06:23:27

thank you.
can't believe how fast that was…
just to let you know.. when i dl it didn't put in this part of script:
, 765, 503);

in this line:
SmartSetup('http://'+prefix+'.runescape.com/', 'plugin.js?param=o0,a' + IntToStr((Integer(not(Signed)) + 1) * Integer(not((SuperDetail and Signed)))) + ',m' + IntToStr(Integer(Members)) , 765, 503);
not sure but may need to re upload :D

ZephyrsFury

2009-09-06 09:55:09

SMART and SmartSetupEx are fixed in the Open Dev svn. Thank TRiLeZ, Simtoon, Benland100 and whoever else :)

Narcle

2009-09-06 10:08:25

I laugh every time I see that SmartSetup line Zeph. lol
Ahh good times.

Main

2009-09-06 10:23:50

"You…. are the champion! my friend…..!".
:norris:

ZephyrsFury

2009-09-06 10:26:02

From: Narcle
I laugh every time I see that SmartSetup line Zeph. lol
Ahh good times.


I laugh at all those extra parenthesis I put in cos I'm addicted to parenthesis :p

wesleyxD

2009-09-06 11:43:18

Failed when compiling
Line 96: [Error] (98:187): Invalid number of parameters in script C:\Users\wesley\Documents\scarprerelease\includes\srl\srl\misc\smart.scar

TRiLeZ

2009-09-06 11:47:06

From: wesleyxD
Failed when compiling
Line 96: [Error] (98:187): Invalid number of parameters in script C:\Users\wesley\Documents\scarprerelease\includes\srl\srl\misc\smart.scar


You need the newest SMART plugin.

Home

2009-09-06 12:07:36

Great job guys! :)

~Home

pl0xmypl0x

2009-09-06 15:23:16

Thanks! works a treat :)

rogeruk

2009-09-06 15:30:47

Mine just spams the "Runescape is loading.. please wait" Started 3d library and just flashes al the time