Results 1 to 11 of 11

Thread: Why wont it select world 2?

  1. #1
    Join Date
    Apr 2012
    Posts
    35
    Mentioned
    1 Post(s)
    Quoted
    8 Post(s)

    Default Why wont it select world 2?

    It just logs in and hits the big button to loggin it doesnt switch to openworld screen at all. I have tried doing this instead

    Code:
    repeat
          OpenWorldScreen;
        until WorldScreen;
    but it doesnt help.... any ideas?

    Code:
    procedure SetupLogin;
    begin
      ClearDebug;
      Smart_Server := 10;
      Smart_Members := True;
      Smart_Signed := True;
      Smart_SuperDetail := False;
      SetupSRL;
      DeclarePlayers;
    
      if not LoggedIn then
      begin
        repeat
          LoginPlayerToLob;
        until LobbyScreen;
    
        
    
        OpenWorldScreen;
        if not WorldScreen then
        OpenWorldScreen;
        if WorldScreen then
        begin
          writeln('picking world 100');
          SelectWorld(100);
          LogInPlayer;
        end;
      end;
    
      repeat
        wait(500);
      until LoggedIn;
    
      if LoggedIn then
      begin
        ClickNorth(SRL_ANGLE_HIGH);
        ExitSquealOfFortune();
      end;
    
      if not IsXPBarOpen then
        ToggleXPBar(True);
    end;

  2. #2
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    Use .WorldInfo on your CurrentPlayer.

    If you don't understand that, read this:
    Players[CurrentPlayer].WorldInfo := [Member, WorldNumber, AllowPVP];


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  3. #3
    Join Date
    Mar 2012
    Location
    Color :D
    Posts
    938
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by k9thebeast View Post
    It just logs in and hits the big button to loggin it doesnt switch to openworld screen at all. I have tried doing this instead

    Code:
    repeat
          OpenWorldScreen;
        until WorldScreen;
    but it doesnt help.... any ideas?

    Code:
    procedure SetupLogin;
    begin
      ClearDebug;
      Smart_Server := 10;
      Smart_Members := True;
      Smart_Signed := True;
      Smart_SuperDetail := False;
      SetupSRL;
      DeclarePlayers;
    
      if not LoggedIn then
      begin
        repeat
          LoginPlayerToLob;
        until LobbyScreen;
    
        
    
        OpenWorldScreen;
        if not WorldScreen then
        OpenWorldScreen;
        if WorldScreen then
        begin
          writeln('picking world 100');
          SelectWorld(100);
          LogInPlayer;
        end;
      end;
    
      repeat
        wait(500);
      until LoggedIn;
    
      if LoggedIn then
      begin
        ClickNorth(SRL_ANGLE_HIGH);
        ExitSquealOfFortune();
      end;
    
      if not IsXPBarOpen then
        ToggleXPBar(True);
    end;
    Simba Code:
    SelectWorld(100);

    Change it to 2. And isn't this from my script? lol.


    Quote Originally Posted by Harry View Post
    Use .WorldInfo on your CurrentPlayer.

    If you don't understand that, read this:
    Didn't know there's such thing. Learnt something again

  4. #4
    Join Date
    Apr 2012
    Posts
    35
    Mentioned
    1 Post(s)
    Quoted
    8 Post(s)

    Default

    ^^^^ :P

  5. #5
    Join Date
    Apr 2012
    Posts
    35
    Mentioned
    1 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by Harry View Post
    Use .WorldInfo on your CurrentPlayer.

    If you don't understand that, read this:
    How come


    Players[0].WorldInfo := [Players[0].Member, 2, False];


    Just logs me into a random world? It wont log into world 2? This time it goes and selects a specific world, but never the world I intended

  6. #6
    Join Date
    Mar 2012
    Location
    Color :D
    Posts
    938
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by k9thebeast View Post
    How come


    Players[0].WorldInfo := [Players[0].Member, 2, False];


    Just logs me into a random world? It wont log into world 2? This time it goes and selects a specific world, but never the world I intended
    Then just use mine, change 100 to 2 lol.

  7. #7
    Join Date
    Apr 2012
    Posts
    35
    Mentioned
    1 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by CephaXz View Post
    Then just use mine, change 100 to 2 lol.
    Yours doesnt work lol. I dont understand why it works for ur script but not for mine lollolololo

  8. #8
    Join Date
    Mar 2012
    Posts
    426
    Mentioned
    0 Post(s)
    Quoted
    9 Post(s)

    Default

    Quote Originally Posted by k9thebeast View Post
    How come


    Players[0].WorldInfo := [Players[0].Member, 2, False];


    Just logs me into a random world? It wont log into world 2? This time it goes and selects a specific world, but never the world I intended
    Simba Code:
    Const
    World = 88; //Enter world you want to use script in.

    Procedure DeclarePlayers;
    Begin
      HowManyPlayers := 1;
      NumberOfPlayers(HowManyPlayers);
      CurrentPlayer := 0;
      Players[0].Name :='';  // Enter your username here.
      Players[0].Pass :='';   // Enter your password here.
      Players[0].Nick :='';    // Enter nickname for progress report.
      Players[0].Active:=True;
      Players[0].BoxRewards := ['Xp', 'mote', 'ostume', 'oins'];
      Players[0].WorldInfo := [False, World];
    End;

    That is the declare players procedure I use for most of my scripts. Just make sure to have World as a constant and then you will log into whatever world you put it equal to.

  9. #9
    Join Date
    Apr 2012
    Posts
    35
    Mentioned
    1 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by alevere4 View Post
    Simba Code:
    Const
    World = 88; //Enter world you want to use script in.

    Procedure DeclarePlayers;
    Begin
      HowManyPlayers := 1;
      NumberOfPlayers(HowManyPlayers);
      CurrentPlayer := 0;
      Players[0].Name :='';  // Enter your username here.
      Players[0].Pass :='';   // Enter your password here.
      Players[0].Nick :='';    // Enter nickname for progress report.
      Players[0].Active:=True;
      Players[0].BoxRewards := ['Xp', 'mote', 'ostume', 'oins'];
      Players[0].WorldInfo := [False, World];
    End;

    That is the declare players procedure I use for most of my scripts. Just make sure to have World as a constant and then you will log into whatever world you put it equal to.

    That worked due! Love ya no homo Thanks everyone for ur help!

  10. #10
    Join Date
    Nov 2011
    Location
    England
    Posts
    3,072
    Mentioned
    296 Post(s)
    Quoted
    1094 Post(s)

    Default

    Never actually knew about that haha

  11. #11
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    You don't need it as a constant.

    Simba Code:
    WorldInfo := [False,2]

    Would also work.

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
  •