Results 1 to 10 of 10

Thread: Login/World switch fixes

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

    Default Login/World switch fixes

    1) "Not logged out from last session" does not work ( http://i.imgur.com/Y3SAm.png ). Running CountColor(LOGIN_TEXTCOLOUR, 260, 140, 510, 400) on that screen -> "951" (you'd just need to plug that into the case statement; I am sure you know what to plug in @ line 671).

    2) PVP worlds do not exist anymore and are now know as "high risk wilderness" worlds. Won't detect if the error/warning message for them pops up, and won't hit back. Mousebox is also incorrect.
    Fixed both: it's now "82" instances of color instead of the former "210". Mousebox is fixed as well (GO LOGIN = 391, 361, 498, 383) (GO BACK = 263, 362, 372, 383, 1).
    Simba Code:
    if (CountColor(clWhite, 415, 336, 476, 356) = 82) then //PVP login button white colour points
        begin
          if (Length(Players[CurrentPlayer].WorldInfo) > 2) then
          begin
            if (Players[CurrentPlayer].WorldInfo[2]) then
              MouseBox(391, 361, 498, 383, 1) //HRW go login fixed
            else
              MouseBox(263, 362, 372, 383, 1); //Go back fixed
          end
          else
            if (AllowPVP) then
              MouseBox(391, 361, 498, 383, 1)
            else
              MouseBox(263, 362, 372, 383, 1);
          Wait(3000 + Random(2000));
        end;

    3) Worldswitcher line 362 - Bounty and PVP in the Pos should both be removed and replaced with 'ilderne' (wilderness).
    Code:
    WorldRec.PVP := (Pos('ildern', WorldRec.Activity) > 0);
    I think those are the only needed fixes. It should work fine now. Try it out.

    Edit: for #2, when it clicks "back", SRL thinks you finished logging in. Don't have time to mess with it right now, but most scripts should handle it properly -- at least it doesn't infinite loop now It was pre-existing like that, I didn't change anything other than updating the box coords and colorcount.
    Last edited by Wanted; 03-01-2011 at 07:38 PM.


    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!

  2. #2
    Join Date
    Nov 2008
    Location
    Melbourne, Australia
    Posts
    2,240
    Mentioned
    3 Post(s)
    Quoted
    11 Post(s)

    Default

    I also think the world changer should be set to disabled by default

    Just then when I ran an MSI script it selected a world which said "Running - Air Runes" or something and just as the world was loading Simba + Smart crashed.

    Should be disabled by default and only people who want it should enable it
    Click here to find out how to get full screen without members! | Click here to check out my Ultimate Bitmap Tutorial! Edited to work with Simba! |

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

    Default

    Quote Originally Posted by cycrosism View Post
    I also think the world changer should be set to disabled by default

    Just then when I ran an MSI script it selected a world which said "Running - Air Runes" or something and just as the world was loading Simba + Smart crashed.

    Should be disabled by default and only people who want it should enable it
    The switcher is disabled by default. Only WorldInfo overrides it, MSI has always used the world switcher.

  4. #4
    Join Date
    Oct 2007
    Location
    #srl
    Posts
    6,102
    Mentioned
    39 Post(s)
    Quoted
    62 Post(s)

    Default

    Quote Originally Posted by cycrosism View Post
    I also think the world changer should be set to disabled by default

    Just then when I ran an MSI script it selected a world which said "Running - Air Runes" or something and just as the world was loading Simba + Smart crashed.

    Should be disabled by default and only people who want it should enable it
    Quote Originally Posted by IceFire908 View Post
    The switcher is disabled by default. Only WorldInfo overrides it, MSI has always used the world switcher.
    Just change 'MSI_SetupVars[SETUP_SWITCH_WORLDS] := True;' to False;

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

    Default

    Which is completely separate from SRL...

  6. #6
    Join Date
    Oct 2007
    Location
    #srl
    Posts
    6,102
    Mentioned
    39 Post(s)
    Quoted
    62 Post(s)

    Default

    Quote Originally Posted by IceFire908 View Post
    Which is completely separate from SRL...
    ...Clearly. Oops, I read the post I quoted from you wrong.

    Anyways..What all broke with todays update as far as login goes and is anyone working on anything yet? I'm about to have a look in just a few minutes if no one else is yet.

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

    Default

    Jeez Jagex, I go and edit some stuff and you break it the next day

    I have some stuff I need to do IRL, but I'll try to update it tomorrow if no one else does.


    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!

  8. #8
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    I'll work on it now.

    E: All three committed.
    Last edited by Coh3n; 03-01-2011 at 10:02 PM.

  9. #9
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default

    Ce ne sont que des gueux


  10. #10
    Join Date
    Oct 2007
    Location
    #srl
    Posts
    6,102
    Mentioned
    39 Post(s)
    Quoted
    62 Post(s)

    Default

    Quote Originally Posted by Floor66 View Post
    We got them taken care of now Thanks though

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
  •