Results 1 to 13 of 13

Thread: SixHourFix bug

  1. #1
    Join Date
    Jun 2012
    Location
    THE Students-City of Holland
    Posts
    332
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default SixHourFix bug

    Hey, about 20% of the time I get this error when botting...

    Code:
    We're going to take a break for 19 minutes
    We're now going to bot again, for 91 minutes
    Welcome to Runescape.
    ********@*****.Com
    'Game session expired.'
    SRL Compiled in 0 msec
    Loading SMART: http://world53.runescape.com/f5206623663117098436
    Welcome to Runescape.
    ********@*****.Com
    Screenshot of: IP Log 7 Hours, 8 Minutes and 34 Seconds
    'One minute has passed...  Debug: 1375'
    ** Warning in SixHourFix: Could not log in player **
    Successfully executed.
    Obviously this is a bug from SRL SixHourFix,... Does anyone experience the same or has a fix for it?
    Former Name: MasterCrimeZ.
    ToDo: 1. Finish my private bot 2. Make some cool bots for this community 3. Become a member
    If you have any questions about scripting, feel free to PM me

  2. #2
    Join Date
    Feb 2012
    Location
    Discord
    Posts
    3,114
    Mentioned
    37 Post(s)
    Quoted
    538 Post(s)

    Default

    the title is ironic... SixHourFix bug its meant to be a fix... but its a bug.. hahahah

  3. #3
    Join Date
    Jun 2012
    Location
    THE Students-City of Holland
    Posts
    332
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Talking

    Quote Originally Posted by The Killer View Post
    the title is ironic... SixHourFix bug its meant to be a fix... but its a bug.. hahahah
    kind of..

    but still, there's a bug in a fix. The fix doesn't work all the time
    Former Name: MasterCrimeZ.
    ToDo: 1. Finish my private bot 2. Make some cool bots for this community 3. Become a member
    If you have any questions about scripting, feel free to PM me

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

    Default

    It could also be that the scripter didn't consider what would happen if the player were to be logged out in the middle of the script.
    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
    Dec 2011
    Location
    Hyrule
    Posts
    8,662
    Mentioned
    179 Post(s)
    Quoted
    1870 Post(s)

    Default

    So it logs back in and then shuts down? Anybody know if any changes been made recently to loginplayer or sixhourfix?

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

    Default

    Quote Originally Posted by Ashaman88 View Post
    So it logs back in and then shuts down? Anybody know if any changes been made recently to loginplayer or sixhourfix?
    I think Riwu took delcare players out so it doesn't mess up multi-player?

  7. #7
    Join Date
    Mar 2007
    Posts
    5,125
    Mentioned
    275 Post(s)
    Quoted
    901 Post(s)

    Default

    Quote Originally Posted by Ashaman88 View Post
    So it logs back in and then shuts down? Anybody know if any changes been made recently to loginplayer or sixhourfix?
    AFAIK the only change that COULD be effecting this is the SRL_NAVBAR_BITMAP was recently changed...

    Maybe Jagex changed the Colour of the text that is counted to detect what login message is displayed.

    Forum account issues? Please send me a PM

  8. #8
    Join Date
    Oct 2012
    Location
    Singapore
    Posts
    163
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Fix = Bug... Lol boss.
    Perfection is not attainable, but if we chase perfection we can catch excellence.
    Vince Lombardi
    http://villavu.com/forum/showthread....t=newbie+guide
    Read through and followed all steps 3 times. Still doesn't get Simba scripting or any form of scripting for that matter. *retard*

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

    Default

    Did you declare your player id&pass properly?

    Also I've never experience any false positive with the new nav bar.
    A common error is when you don't set your CTS back to 1 which will cause the nav bar not to be detected.

  10. #10
    Join Date
    Jun 2012
    Posts
    4,867
    Mentioned
    74 Post(s)
    Quoted
    1663 Post(s)

    Default

    Quote Originally Posted by riwu View Post
    Did you declare your player id&pass properly?

    Also I've never experience any false positive with the new nav bar.
    A common error is when you don't set your CTS back to 1 which will cause the nav bar not to be detected.
    How do you do that?

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

    Default

    Quote Originally Posted by BMWxi View Post
    How do you do that?
    If you don't know then you aren't changing it :P so it cant be that.

    Quote Originally Posted by riwu View Post
    Also I've never experience any false positive with the new nav bar.
    A common error is when you don't set your CTS back to 1 which will cause the nav bar not to be detected.

    Although couldn't we fix this if this was the case? (although I cant really understand how it could come to cts) but along the lines of

    cts := getcurrenttolerancespeed

    setcolortolerancespeed(1)
    do the bitmap finding blah blah

    setcolortolerancespeed(cts);

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

    Default

    I think there are quite a few SRL functions that uses CTS 1, and they do not check for it either. It is the scripter's responsibility to reset to 1 before any LoginPlayer is executed.

    Eg. wrong way:
    Simba Code:
    //wrong eg. 1
    SetColorToleranceSpeed(2);
    If not FindColorsTolerance() then
      Exit; //exited without setting back

    //wrong eg.2
    SetColorToleranceSpeed(2);
    FindColorsTolerance();
    //some other codes
    if not LoggedIn then  //CTS at this point is still 2!
      LoginPlayer;

    SetColorToleranceSpeed(1);

    Always ensure that the CTS will be set to 1 regardless of what happens, and LoggedIn checks should only be performed after it is set to 1.

    As a good practice, set it back to 1 right after the color finding function.

  13. #13
    Join Date
    Jun 2012
    Location
    THE Students-City of Holland
    Posts
    332
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Thanks! Will test this this evening

    Edit: it can't be CTS because I don't use it in my whole script. (But it might be set to 2 somewhere in a function I use from the SRL include, might it?)
    Last edited by Master BAW; 11-12-2012 at 03:44 PM.
    Former Name: MasterCrimeZ.
    ToDo: 1. Finish my private bot 2. Make some cool bots for this community 3. Become a member
    If you have any questions about scripting, feel free to PM me

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
  •