Results 1 to 18 of 18

Thread: SelectWorld,GetWorldInfo

  1. #1
    Join Date
    Oct 2011
    Posts
    422
    Mentioned
    15 Post(s)
    Quoted
    116 Post(s)

    Default SelectWorld,GetWorldInfo

    * Warning in FindWorld: World Number cannot be 0 **
    This started happening after the update
    Last edited by slushpuppy; 10-26-2012 at 11:57 AM. Reason: My apologies, I didn't update. However I still get another error

  2. #2
    Join Date
    Jan 2012
    Posts
    2,568
    Mentioned
    35 Post(s)
    Quoted
    356 Post(s)

    Default

    Update your SRL.
    Also how did you get a World 0 error? If 0 is passed it should return 'World Number cannot be 0'?

  3. #3
    Join Date
    Oct 2011
    Posts
    422
    Mentioned
    15 Post(s)
    Quoted
    116 Post(s)

    Default

    My apologies, I didn't update. However I still get another error. Don't think the world switcher works

  4. #4
    Join Date
    Jul 2011
    Location
    /home/litoris
    Posts
    2,226
    Mentioned
    0 Post(s)
    Quoted
    159 Post(s)

    Default

    Set up the worldinfo array, it's the easiest solution really.
    Miner & Urn Crafter & 07 Chicken Killer
    SPS BlindWalk Tutorial

    Working on: Nothing

    teacher in every art, brought the fire that hath proved to mortals a means to mighty ends

  5. #5
    Join Date
    Jan 2012
    Location
    127.0.0.1
    Posts
    702
    Mentioned
    11 Post(s)
    Quoted
    76 Post(s)

    Default

    hows your wildy miner working?

  6. #6
    Join Date
    Oct 2011
    Posts
    422
    Mentioned
    15 Post(s)
    Quoted
    116 Post(s)

    Default

    Runescape is lagging or we're logged in too many times. Keep trying!
    ** Warning in FindWorld: World Number cannot be 0 **
    Failed to find World 0!
    'Login limit exceeded.'
    Runescape is lagging or we're logged in too many times. Keep trying!

    World info as set by me:

    Simba Code:
    WorldInfo   := [27, 42, 45, 46, 48, 52, 59, 70, 72, 78, 79, 87, 104, 115, 117];

  7. #7
    Join Date
    Jul 2011
    Location
    /home/litoris
    Posts
    2,226
    Mentioned
    0 Post(s)
    Quoted
    159 Post(s)

    Default

    Quote Originally Posted by slushpuppy View Post
    World info as set by me:

    Simba Code:
    WorldInfo   := [27, 42, 45, 46, 48, 52, 59, 70, 72, 78, 79, 87, 104, 115, 117];
    Simba Code:
    WorldInfo: TVariantArray;       // * [Members {Boolean}, World {Integer}, PVP {Boolean}]

    So you need to set it that way, or not set it at all.
    ie
    Worldinfo := [False, 16, False]
    or [False, 57, True]
    Miner & Urn Crafter & 07 Chicken Killer
    SPS BlindWalk Tutorial

    Working on: Nothing

    teacher in every art, brought the fire that hath proved to mortals a means to mighty ends

  8. #8
    Join Date
    Jan 2012
    Posts
    2,568
    Mentioned
    35 Post(s)
    Quoted
    356 Post(s)

    Default

    Simba Code:
    WorldInfo: TVariantArray;       // * [Members {Boolean}, World {Integer}, PVP {Boolean}]
    If you want it to select a world randomly from a list, you have to make your own TIA then make it randomly choose one of the index.

    Quote Originally Posted by litoris View Post
    Simba Code:
    WorldInfo: TVariantArray;       // * [Members {Boolean}, World {Integer}, PVP {Boolean}]

    So you need to set it that way, or not set it at all.
    ie
    Worldinfo := [False, 16, False]
    or [False, 57, True]
    It is possible now to just input the world integer like [16].

  9. #9
    Join Date
    Oct 2011
    Posts
    422
    Mentioned
    15 Post(s)
    Quoted
    116 Post(s)

  10. #10
    Join Date
    Jul 2011
    Location
    /home/litoris
    Posts
    2,226
    Mentioned
    0 Post(s)
    Quoted
    159 Post(s)

    Default

    Quote Originally Posted by riwu View Post
    Simba Code:
    WorldInfo: TVariantArray;       // * [Members {Boolean}, World {Integer}, PVP {Boolean}]
    If you want it to select a world randomly from a list, you have to make your own TIA then make it randomly choose one of the index.


    It is possible now to just input the world integer like [16].
    Oh, your commit added that too? Cool.

    I still favor the original version because it lets me log into hi-risk wildy worlds.
    Miner & Urn Crafter & 07 Chicken Killer
    SPS BlindWalk Tutorial

    Working on: Nothing

    teacher in every art, brought the fire that hath proved to mortals a means to mighty ends

  11. #11
    Join Date
    Jan 2012
    Posts
    2,568
    Mentioned
    35 Post(s)
    Quoted
    356 Post(s)

    Default

    Quote Originally Posted by litoris View Post
    Oh, your commit added that too? Cool.

    I still favor the original version because it lets me log into hi-risk wildy worlds.
    It should still be able to do that if you input a world that is hi-risk. The world you input decides what world you go to, how does providing extra info on whether it is member or pvp matters?

  12. #12
    Join Date
    Jul 2011
    Location
    /home/litoris
    Posts
    2,226
    Mentioned
    0 Post(s)
    Quoted
    159 Post(s)

    Default

    Quote Originally Posted by riwu View Post
    It should still be able to do that if you input a world that is hi-risk. The world you input decides what world you go to, how does providing extra info on whether it is member or pvp matters?
    It will click "go back" instead of "log in" on the confirmation screen if you don't set allowpvp to true, and the 3rd component in the array does that. You can set allowpvp true manually too though.
    Miner & Urn Crafter & 07 Chicken Killer
    SPS BlindWalk Tutorial

    Working on: Nothing

    teacher in every art, brought the fire that hath proved to mortals a means to mighty ends

  13. #13
    Join Date
    Jan 2012
    Posts
    2,568
    Mentioned
    35 Post(s)
    Quoted
    356 Post(s)

    Default

    Quote Originally Posted by litoris View Post
    It will click "go back" instead of "log in" on the confirmation screen if you don't set allowpvp to true, and the 3rd component in the array does that. You can set allowpvp true manually too though.
    Oh, that's kind of weird code considering that you obviously want pvp world if you input a pvp world. I'll update that after bxpw is over then.

  14. #14
    Join Date
    Oct 2011
    Posts
    422
    Mentioned
    15 Post(s)
    Quoted
    116 Post(s)

    Default

    Hm it worked, but I assume it is impossible to have the script randomly choose a world without making my own TIA?(like what it did before)

  15. #15
    Join Date
    Jan 2012
    Posts
    2,568
    Mentioned
    35 Post(s)
    Quoted
    356 Post(s)

    Default

    Quote Originally Posted by slushpuppy View Post
    Hm it worked, but I assume it is impossible to have the script randomly choose a world without making my own TIA?(like what it did before)
    Uhm it has never been able to :S It probably only chose the world at index 1.

  16. #16
    Join Date
    Oct 2011
    Posts
    422
    Mentioned
    15 Post(s)
    Quoted
    116 Post(s)

    Default

    Quote Originally Posted by riwu View Post
    Uhm it has never been able to :S It probably only chose the world at index 1.
    Weird because before the recent update, I omitted the WorldInfo record member and I was able to launch multiple SMARTS without having to deal with client limit error

  17. #17
    Join Date
    Jan 2012
    Posts
    2,568
    Mentioned
    35 Post(s)
    Quoted
    356 Post(s)

    Default

    Quote Originally Posted by slushpuppy View Post
    Weird because before the recent update, I omitted the WorldInfo record member and I was able to launch multiple SMARTS without having to deal with client limit error
    Client limit error? 'Login limit exceeded'? 'Client token expired'? These has nothing to do with SMART, let alone login.simba.

  18. #18
    Join Date
    Jan 2012
    Posts
    369
    Mentioned
    6 Post(s)
    Quoted
    91 Post(s)

    Default

    He was probably saying that he runs multiple accounts and they all were trying to login on the same world.

    But anyway - world.ini isn't being built:
    [Worlds]
    Count=1
    High=0

    [World0]
    Type=Free
    LootShare=False
    QuickChat=False
    PvP=False


    And I get this :

    ** Warning in FindWorld: World -1 does not exist in worlds.ini **
    Failed to find World -1! using :
    Players[0].WorldInfo := [True, -1, False];

    It used to work before ....

    I put an old worldinfo.ini in place, and an old loginplayer function - it works decently so far.
    Last edited by speedster; 10-27-2012 at 07:56 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •