From: Coh3n
I think something like this was suggested a while ago, but a little different. I like it and as far as I know, SRL's world switching is working.
Mmmm… I think it would require editing actual SRL to add it though… as the world switching option is after you enter password, but BEFORE you hit the play button.
I think the options are:
1) Edit SRL's loginplayer so it will have a global switch_world boolean or something, default to false.
2) Rip off SRL's loginplayer and copy-paste it into MSI.
3) Any other option?
I think #1 would work best, though. I think I will work on it right now .. my only SRL work in forever. Don't know if SRL devs will even commit it, but it's worth a try.
Edit: uuuuh worldswitching is already built into SRL's login.scar.. I don't know if it works though. Would be:
Players[0].WorldInfo := [False {True if Members}, -1 {Leave as such for random world}, False {True for PVP worlds}];
Edit2: lol WorldInfo works flawlessly, no edits needed. Will only need minor edits to MSI (I think), as it works flawlessly with traditional declareplayers…. :D
Too lazy to make a .diff, but this should work:
Globals.simba:
Line 626, add:
WorldInfo: TVariantArray;
RunMe.simba:
In with MSI_Players[NUMBER] do:
Add at end of "TotalTime":
WorldInfo := [False {True if Members; YOU COULD PROBABLY MAKE IT GRAB THE VALUE FROM MSI_Member, HINT HINT}, -1 {Leave as such for random world}, False {True for PVP worlds}];
Add in for i := 0 to High(Players) do:
after:
Players[i].Member := MSI_Players[i].Member;:
Players[i].WorldInfo := MSI_Players[i].WorldInfo;
Not trying to make you look dumb, I am sure it would take you 20 seconds to add it without me doing that step-by-step instruction… just trying to make it easier for you :)
Yay, I can finally auto tonight without being reported a ton ^_^