SRL / SRL-5

SRL 5
https://villavu.com
GNU General Public License v3.0
32 stars 34 forks source link

Updated GetWorldInfo and fixed ChooseWorldBy #157

Closed idynin closed 11 years ago

idynin commented 11 years ago

Changed GetWorldInfo parameter name from World to WorldIndex to better represent its meaning. Changed WorldRec.Number to return actual world number instead of parameter world index.

Fixed ChooseWorldBy to a working state, as previous version was not working due to being out of date.

litoris commented 11 years ago

These changes broke the WorldInfo part of the player record. Picking a world using Players[#].WorldInfo := [##] does not log you into world ##. I am using an older version of the worldswitcher.simba, and it works that way. I looked through the code but could not find what exactly broke it. Check login.simba to see the way WorldInfo is used.

litoris commented 11 years ago

Core pointed out that using WorldInfo as [Members, WorldNo] makes it work, so a fix isn't needed.