SRL Archive - News and General

How to add world.


kirbyn

2012-03-31 12:11:59

How do you add the bot to log itself in and find a specific world? the one im using doesn't do that :o

I've found a mobilising armies script and thats the only problem with it, if needed i can pm the script aslong as you pm an updated version. ^^,

Cerylin

2012-03-31 12:17:20

What i do is instead of putting my account details into the script, i let it run, disable smart (bottom left button) log in myself with the world of my choice and then enable smart again. Simplez.

kirbyn

2012-03-31 12:27:42

From: Cerylin
What i do is instead of putting my account details into the script, i let it run, disable smart (bottom left button) log in myself with the world of my choice and then enable smart again. Simplez.


That's what im doing at the minute but, i need a specific mobilising armies world.. and im using SMARTManager.. so i need the script to autolog in and choose the world so i can let it run forever. :)

Abu

2012-03-31 12:29:23

To do this, at the start of your script you make this under your global constants:
  WORLD = whatever world you want;     

Then in your mainloop you set the SMART server to world, like so:
  Smart_Server := WORLD;