From: Bixby Sayz
Let me test my physic powers:
Your stats password does not contain uppercase letters.
After a bit of poking around a bit in the mess that is msi code found what is going wrong. Still not sure where/why.
All of which begs the question: Why is there a Stats.simba in the msi codebase if it isn't used? Spent some time sidetracked there trying to figure out why my debug edits weren't having any effect. Was (briefly) excited when I realized that file had the wrong submit url in it.
Anyway placing some debug code in the srl stats submit function I see my password is mangled into all lowercase at that point. Haven't had time to figure out if this is a msi/srl thing.
Edit: Too bad MSI isn't scar compatible. At least you could step through the code and try to wade through it. Where is my watch list…I want a full blown Delphi…wahh. Okay I'm finished with my meltdown.
Edit: Alternately if stats would let you change your password I would change my pass to all lowercase and let it be someone else's problem hehe.
The issue is likely with your password, yes.
Stats recently got included in SRL, with the older system it was a requirement of the scripter to include the code in their script. So that is likely remnants, I honestly haven't looked through it.
If you've debugged SRL and it shows you what you want, it's an SRL thing ;)
SCAR isn't really compatible with much (inb4 people bitch and moan about this statement, go bother yourselves on all the other threads), especially MSI. Simba is SRL specific and hence works better (imo) with SRL. Also, going through the code in SCAR is the same as Simba, you look line by line at it and understand the exact same, if I understand your complaint correctly.
Either way, 30 seconds of looking has lead me to the problem. In stats.simba (located in SRL/SRL/misc) you will notice this code:
procedure SetupSRLStats(ScriptID: integer; UserName, UserPass: string);
begin
stats_Timer := GetSystemTime;
stats_ScriptID := IntToStr(ScriptID);
stats_Username := LowerCase(UserName);
stats_UserPass := LowerCase(UserPass);
stats_RandNames := ['leo the gravedigger', 'freaky forester', 'maze',
'prison pete', 'evil bob''s island', 'drill demon',
'quiz', 'surprise exam', 'mollys evil twin', 'pinball',
'sandwich lady', 'bee keeper', 'pillory', 'capn arnav',
'abyssal teleport', 'certer', 'mime', 'frog', 'trade',
'mod', 'fight', 'lamp', 'bird nest', 'death'];
SetArrayLength(stats_RandSolved, Length(stats_RandNames));
end;
Emphasis on this:
stats_UserPass := LowerCase(UserPass);
Someone simply thought that it should be lowercase I suppose. Removing the lowercase will allow your password to be sent correctly.
I hope you find this works, if not you're very welcome to PM myself or any other MSI member.
E: You ninja'd me, but this is an SRL bug. You may report it where you see fit, in the Stats section (Thread titled 'Include to commit to stats' or something) or the SRL bugs section.