SRL Archive - S.M.A.R.T. Questions and Answers.

Change what S.M.A.R.T. loads?


kyleisntwild

2009-06-17 09:03:36

Is there a way to change the website S.M.A.R.T. loads? Like runescape.de instead of runescape.com?

I am thinking there is a file that contains the runescape address in it somewhere, so maybe just simply changing the address would work?

Thanks

Floor66

2009-06-17 10:18:28

Take a look at this function from Smart.scar:

procedure SmartSetupEx(worldnumber: integer; members, signed, superdetail: boolean);
var
prefix: string;
begin
prefix := ReadINI('World' + IntToStr(worldnumber), '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)));
end;

HyperSecret

2009-06-17 10:37:01

Smart is made to load the RS Client and that is it. So you won't be able to load anything else in it. Sorry.

AFAIK.

Floor66

2009-06-17 10:49:49

But RuneScape.de would also have a rs client.. right.

kyleisntwild

2009-06-18 12:15:24

From: Floor66
But RuneScape.de would also have a rs client.. right.


Yes this is what I am getting at :)
Just don't want to say it out in the open and have all the good spots filled with botters :p

ZephyrsFury

2009-06-18 14:25:43

Yeah you can actually. German worlds just have different servers.

SmartSetupEx for non-English worlds:

procedure SmartSetupEx2(worldnumber: integer; members, signed, superdetail: boolean);
var
prefix: string;
begin
SmartSetup('http://world' + IntToStr(worldnumber) + '.runescape.com/', 'plugin.js?param=o0,a' + IntToStr((Integer(not(Signed)) + 1) * Integer(not((SuperDetail and Signed)))) + ',m' + IntToStr(Integer(Members)));
end;

You need to check the world number from here though: http://www.runescape.com/l=1/slu.ws?order=WMPLA

Same goes for French worlds: http://www.runescape.com/l=2/slu.ws?order=WMPLA

Frt

2009-06-18 14:46:01

But to run a script efficiently on a german server wouldn't that require translation of the entire SRL?

ZephyrsFury

2009-06-18 15:15:04

From: Frt
But to run a script efficiently on a german server wouldn't that require translation of the entire SRL?


Yeah it would, and even stuff like Login.scar wouldn't work.

Nava2

2009-06-18 16:46:13

You'd have to make all the uptextz and chooseoptions different. And the text procedures….

Wow not really worth it.