Coh3n
2011-05-03 16:31:29
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.
Gu3st...
2011-05-03 16:35:45
Does GameTab(tab_Stats); work?
Coh3n
2011-05-03 16:37:56
From: Zyt3x
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.
When I try and run MSI right now everything crashes at login…
Gonna have to figure that one out..
Coh3n
2011-05-03 17:41:41
From: NCDS
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.
Gu3st...
2011-05-03 17:52:07
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?
Gu3st...
2011-05-03 18:35:01
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
Coh3n
2011-05-04 00:21:00
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.