Results 1 to 11 of 11

Thread: Select(randomworld)

  1. #1
    Join Date
    Jul 2009
    Posts
    132
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default Select(randomworld)

    SelectWorld(RandomWorld(True,False));

    This means Select a radom member's world but not a pvp world... Right?

    Why is it choosing Bounty hunter worlds? Does anyone know a work around for this?

  2. #2
    Join Date
    Dec 2006
    Location
    Houston, TX USA
    Posts
    4,791
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

  3. #3
    Join Date
    Jul 2009
    Posts
    132
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by IceFire908 View Post
    Ok so what am I doing wrong?

    Why is it still logging in to bounty worlds?
    Last edited by ownedlikenoob; 07-08-2010 at 02:26 AM.

  4. #4
    Join Date
    Dec 2006
    Location
    Houston, TX USA
    Posts
    4,791
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by ownedlikenoob View Post
    Ok so what am I doing wrong?

    Why is it still logging in to bounty worlds?
    Update your SRL to the latest rev again, I believe I fixed that today. Tell me if not.

    You also don't need to use any of the chooseworld stuff, just put that under your player setup with Players[0].WorldInfo := ect.... that thread it explains it.

    Let me know if updating your rev works.

  5. #5
    Join Date
    Jul 2009
    Posts
    132
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by IceFire908 View Post
    Update your SRL to the latest rev again, I believe I fixed that today. Tell me if not.

    You also don't need to use any of the chooseworld stuff, just put that under your player setup with Players[0].WorldInfo := ect.... that thread it explains it.

    Let me know if updating your rev works.
    SRL is updated, but it still happens, But see I didn't declare a Player[0].WorldInfo

    I just called that procedure. Do I need to declare that under declare player?

    if so... What do I declare... I'm new at this btw. lol

  6. #6
    Join Date
    Dec 2006
    Location
    Houston, TX USA
    Posts
    4,791
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    {$DEFINE SMART}
    {.include SRL\SRL.scar}

    begin
      SetLength(Players, 1);
      Players[0].Name := 'Zezima';
      Players[0].Pass := 'rs4life';
      Players[0].Active := True;
      Players[0].WorldInfo := [False, -1, False];
      LogInPlayer;
    end.

  7. #7
    Join Date
    Jul 2009
    Posts
    132
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by IceFire908 View Post
    SCAR Code:
    {$DEFINE SMART}
    {.include SRL\SRL.scar}

    begin
      SetLength(Players, 1);
      Players[0].Name := 'Zezima';
      Players[0].Pass := 'rs4life';
      Players[0].Active := True;
      Players[0].WorldInfo := [False, -1, False];
      LogInPlayer;
    end.
    Code:
    procedure DeclarePlayers;
    begin
      HowManyPlayers := 1;
      NumberOfPlayers(HowManyPlayers);
      CurrentPlayer := 0;
    
      Players[0].Name :='Zezima';
      Players[0].Pass :='rs4life';
      Players[0].Nick :='zezi';
      Players[0].Active := True;
      Players[0].WorldInfo := [True, -1, False];
    end;
    That is my declare players procedure...

    Code:
    begin
      Smart_Members := MEMBERS;
      Smart_Server := WORLD;
      Smart_Signed := SIGNED;
    SetupSRL;
    DeclarePlayers;
    LoginPlayer;
    That is my what I tell it to do,

    After a while it chooses a bounty world... Even though I tell it not to choose pvp worlds. If you want to see the whole script I will pm it to you.

  8. #8
    Join Date
    Dec 2006
    Location
    Houston, TX USA
    Posts
    4,791
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Trying to this

    AllowPVP := False;

    after SetUpSRL;

  9. #9
    Join Date
    Apr 2007
    Location
    Perth, Australia
    Posts
    3,926
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Worlds.ini is probably outdated so the worlds list loaded is incorrect.

  10. #10
    Join Date
    Jul 2009
    Posts
    132
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by IceFire908 View Post
    Trying to this

    AllowPVP := False;

    after SetUpSRL;
    Thank you lol fixed.

  11. #11
    Join Date
    Dec 2006
    Location
    Houston, TX USA
    Posts
    4,791
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by ZephyrsFury View Post
    Worlds.ini is probably outdated so the worlds list loaded is incorrect.
    It's actually a coincidence that I updated the PVP worlds this morning, I still think Worlds.INI needs another look at.

    When doing this the right way though, it should not select PVP worlds as is.

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
  •