Page 1 of 1

ScoreTable: LP score aren't displayed at the end of a map

Posted: 14 Aug 2013, 10:20
by Usul
I don't why
I have change a lot of code before see it and now, LP are calculate but the scoretable don't show LP

If I connect on the server at the end of a map LP are shown

the "End Map" code is the same as Melee.script.txt

Code: Select all

MB_Sleep(1000);
Message::CleanBigMessages();
UIManager.UIAll.BigMessageSound = CUIConfig::EUISound::EndRound;
UIManager.UIAll.BigMessageSoundVariant = 0;
if (Winner != Null) {
	UIManager.UIAll.BigMessage = TextLib::Compose(_("$<%1$> wins the match!"), Winner.Name);
} else {
	UIManager.UIAll.BigMessage = _("|Match|Draw");
}

MB_Sleep(2000);
UIManager.UIAll.UISequence = CUIConfig::EUISequence::EndRound;
UIManager.UIAll.ScoreTableVisibility = CUIConfig::EVisibility::ForcedVisible;
MB_Sleep(5000);

UIManager.UIAll.UISequence = CUIConfig::EUISequence::Podium;
while(!UIManager.UIAll.UISequenceIsCompleted) {
	MB_Yield();
}
UIManager.UIAll.ScoreTableVisibility = CUIConfig::EVisibility::Normal;
UIManager.UIAll.BigMessage = "";
someone has an idea of the problem?

Re: ScoreTable: LP score aren't displayed at the end of a ma

Posted: 14 Aug 2013, 12:12
by Usul
I'm so stupid...
I do my test on local not on multi :clap:

Sorry for this post :p
but I spent 5h to watch and rework my code and I have my brain in my shoes :)

Re: ScoreTable: LP score aren't displayed at the end of a ma

Posted: 14 Aug 2013, 14:29
by Eole
Glad to see you found the solution yourself, less work for me. :mrgreen:

Re: ScoreTable: LP score aren't displayed at the end of a ma

Posted: 14 Aug 2013, 20:00
by TMarc
:lol:
It would be perfect if you would post the working code here as well, then others could learn from your "mistakes" and your progress :thumbsup:

Re: ScoreTable: LP score aren't displayed at the end of a ma

Posted: 16 Aug 2013, 14:12
by Eole
The code in his first post is correct. The problem was that he made his tests on a LAN server. On LAN server the ladder is disabled, so it's not possible to see the LP at the end of the map. To solve the problem you just have to create an Internet server from the client instead and then it will work.
;)

Re: ScoreTable: LP score aren't displayed at the end of a ma

Posted: 16 Aug 2013, 18:03
by TMarc
Great :)