SRL Archive - OSR Help

How to start script on custom world.


Sable

2013-03-28 14:02:01

RS07

I want to start my script in a particular world, not the world Smart chooses for me.
How do i do this?

Ashaman88

2013-03-28 14:07:33

enter your world info in the players array (like username it is worldinfo). See example in my 07 agility script. Of course requires SRL-OSR

Sable

2013-03-28 14:15:52

Sorry i think you or i misunderstood. i menth on RS2007

Ashaman88

2013-03-28 14:17:49

From: Sable
Sorry i think you or i misunderstood. i menth on RS2007


If you put login player in your script and your declareplayers has the world info filled in (with the world you want), the script will select the world for you. I also think Justin put something in there to actually load smart for a different world as well (can't remember if/how he did this)

Sable

2013-03-28 14:19:49

That was my goal. i want to start Smart with world 1
(which is always full)

Runehack123

2013-03-28 14:39:11

So it doesn't log you in if it's full and you put it in decclare players array like Ash said?

Sable

2013-03-28 14:45:12

SMART has to start the world i want, not the script.

Ashaman88

2013-03-28 14:45:41

If it's full the include makes you select another world. Someone do an @Justin for me so he can help

Sable

2013-03-28 14:53:31

thanks

rj

2013-03-28 18:51:39

From: Ashaman88
If it's full the include makes you select another world. Someone do an @Justin for me so he can help


@Justin

Justin

2013-03-28 19:11:07

From: Sable
RS07

I want to start my script in a particular world, not the world Smart chooses for me.
How do i do this?


Before you call SetupSRL; put
Smart_World := 6 

and that would load OldSchool RuneScape world 6