+ Reply to Thread
Results 1 to 8 of 8

Thread: Multiplayer messed up?

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

    Default Multiplayer messed up?

    I'm running MSI with 100% color since the hooks aren't updated and for whatever reason, after it switches players, it never clicks the stats tab to get the player's skill level. It works perfectly for the first player, but not for any player after that.

    Is anyone else having this issue?

    I even put a Gametab(tab_Stats) in MSI_GetSkillLevel, and guess what!? It didn't click the tab. I'm just about ready to break something if we have another stupid gameTab issue again.

    Any help is appreciated.

  2. #2
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    Does GameTab(tab_Stats); work?

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

    Default

    Quote Originally Posted by Zyt3x View Post
    Does GameTab(tab_Stats); work?
    I assume so because it works for the first player. Just not any after that. Like I actually watched it click the tab and get the player's level, then watched it switch players and fail.

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

    Default

    When I try and run MSI right now everything crashes at login...

    Gonna have to figure that one out..

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

    Default

    Quote Originally Posted by NCDS View Post
    When I try and run MSI right now everything crashes at login...

    Gonna have to figure that one out..
    Interesting.. Working fine for me. I'm running single player clay softener right now.

  6. #6
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    Axel Selmer-Anderssen sier:
    Go to SRL/Gametab and in TabExists(), right after Result := ...; do WriteLn(CountColorTolerance(5597817, tp.x-12, tp.y-12, tp.x+12, tp.y+12, 10));
    I suspect the count being higher than 81 for some reason
    Cohen Adair sier:
    First player
    [0:00:22]: tab 21: 56
    [0:00:22]: tab 22: 48
    [0:00:22]: tab 23: 34
    [0:00:22]: tab 24: 44
    [0:00:22]: tab 25: 0
    [0:00:22]: tab 26: 78
    [0:00:22]: tab 27: 59
    [0:00:22]: tab 28: 43
    [0:00:22]: tab 29: 81
    [0:00:22]: tab 30: 55
    [0:00:22]: tab 31: 41
    [0:00:22]: tab 32: 42
    [0:00:22]: tab 33: 47
    [0:00:22]: tab 34: 29
    [0:00:22]: tab 35: 54
    [0:00:22]: tab 36: 51
    [0:00:22]: [1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1]
    Second player
    [0:02:07]: tab 21: 191
    [0:02:07]: tab 22: 117
    [0:02:07]: tab 23: 125
    [0:02:07]: tab 24: 118
    [0:02:07]: tab 25: 0
    [0:02:07]: tab 26: 162
    [0:02:07]: tab 27: 238
    [0:02:07]: tab 28: 176
    [0:02:07]: tab 29: 334
    [0:02:07]: tab 30: 168
    [0:02:07]: tab 31: 144
    [0:02:07]: tab 32: 144
    [0:02:07]: tab 33: 169
    [0:02:07]: tab 34: 133
    [0:02:07]: tab 35: 123
    [0:02:07]: tab 36: 190
    [0:02:07]: [0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]
    Axel Selmer-Anderssen sier:
    Wow!
    Cohen Adair sier:
    Yeah no kidding
    Not sure how that works, cause as soon as I restart it, it goes back to the first one
    Axel Selmer-Anderssen sier:
    what the...?!
    Cohen Adair sier:
    I know. I just restarted MSI, kept the player logged in from the last one, and got this:
    [0:00:13]: tab 21: 56
    [0:00:13]: tab 22: 48
    [0:00:13]: tab 23: 34
    [0:00:13]: tab 24: 44
    [0:00:13]: tab 25: 0
    [0:00:13]: tab 26: 78
    [0:00:13]: tab 27: 59
    [0:00:13]: tab 28: 43
    [0:00:13]: tab 29: 81
    [0:00:13]: tab 30: 55
    [0:00:13]: tab 31: 41
    [0:00:13]: tab 32: 42
    [0:00:13]: tab 33: 47
    [0:00:13]: tab 34: 29
    [0:00:13]: tab 35: 54
    [0:00:13]: tab 36: 51
    [0:00:13]: [1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1]
    Now what can possible cause this?

  7. #7
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    Coh3n and I have narrowed it down to not resetting CTS... For some reason the CTS gets reset to 0 when switching players.....

    There's CTS problems in these procedures:
    MSI_WaitWhileMining doesn't reset it if it exits before the end of the procedure
    MSI_DetectSide doesn't reset anything at all
    MSI_DetectWaterDirections doesn't reset the hue and sat mods
    MSI_FishGear doesn't reset the hue and sat mods
    E: Turns out after fixing those errors it still happens... There's only one CTS error in SRL and it's in runecrafting.scar in hte procedure EnterRCAltar, so that's not the source either....

    E2: I missed some files! There's CTS resetting errors here:
    GetSkillInfo doesn't reset the CTS if it exits before the end of the procedure <- Sets it to 0
    Last edited by Zyt3x; 05-03-2011 at 11:00 PM.

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

    Default

    Yep, it was GetSkillInfo. Everything works now. And I'm pretty sure this was the reason for the inventory tab clicking issue we were having a while back.
    Last edited by Coh3n; 05-04-2011 at 04:26 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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