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

SMART Question please help


Neehosoft

2009-08-14 05:21:19

okay so im going to make my smart load a different runescape client (runescape.de) and i cant seem to find out the prefix (such as world80.runescape.de) for the worlds ( i dont speak dutch). Can anyone give me one? Im going to start willow cutting there, there was no one at willows last time i tried.
The procedure im using is:
SmartSetup('http://idk.runescape.de/', 'plugin.js?param=o0,a' + IntToStr((Integer(not(Signed)) + 1) * Integer(not((SuperDetail and Signed)))) + ',m' + IntToStr(Integer(Members)));
So, what do i replace idk with. Thanks and sorry for noob q im new to smart.

Bixby Sayz

2009-08-14 06:13:08

As an aside, .de is the top level domain for Germany, and the language you are seeing when you go to www.runescape.de is German. (Deutsch is the German word for German)

Regardless, if this just for your own personal use, wouldn't it be far simpler to just add an entry to worlds.ini for whichever world you want to load?

Heres the entry you would add to the end of worlds.ini for world 146 (The German world dedicated to Fist Of Guthix):

[World146]
Prefix=world146
Activity=Die Faust des Guthix
Type=Free
Location=Deutsch
LootShare=False
QuickChat=False
PvP=False

Then you can simply use SRL as normal. Tested this entry and it worked for me.

program New;

{.include /SRL/SRL/Misc/Smart.scar}
{.include /SRL/SRL.scar}

begin
Smart_Server := 146;
Smart_Signed := True;
Smart_SuperDetail := False;
SetupSRL;
end.

Hope that helps.

Edit: This requires SRL Revision #34 or higher to work. #34 introduced automatically loading SMART if Smart.scar is included in your script. To do it the old way, the prefix is world146 in this case, and you still use runescape.com (not runescape.de):

SmartSetup('http://world146.runescape.com/', 'plugin.js?param=o0,a' + IntToStr((Integer(not(Signed)) + 1) * Integer(not((SuperDetail and Signed)))) + ',m' + IntToStr(Integer(Members)));