Level System MFPS

Add-Ons for MFPS.
User avatar
Nerbs
Member
Member
Posts: 10
Joined: Fri Feb 02, 2018 7:52 pm

Tue Feb 20, 2018 7:57 pm

In the in-game scoreboard it just shows everyone as having the same level (it's whatever level the player is). I'm sure I can figure it out, but seeing as it's advertised in the asset, I'd like to see the level of each player on the scoreboard. Ideas?
User avatar
Lovatto
Admin
Admin
Posts: 1167
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

Tue Feb 20, 2018 9:33 pm

Nerbs wrote:In the in-game scoreboard it just shows everyone as having the same level
You are right, I have check and fix it, please download again the package from the web site,
but also require modify some lines in MFPS scripts:

in bl_RoomSettings.cs add this:

Code: Select all

#if ULSP && LM
         Hashtable PlayerTotalScore = new Hashtable();
         PlayerTotalScore.Add("TotalScore", bl_DataBase.Instance.LocalUser.Score);
         PhotonNetwork.player.SetCustomProperties(PlayerTotalScore);
#endif
after this lines: (line 96 for default)

Code: Select all

 PhotonNetwork.player.SetCustomProperties(PlayerRole);
and in bl_PlayerScoreboardUI.cs replace these lines: (40 and 59)

Code: Select all

 LevelIcon.sprite = bl_LevelManager.Instance.GetLevel().Icon;
with this:

Code: Select all

  LevelIcon.sprite = bl_LevelManager.Instance.GetPlayerLevelInfo(cachePlayer).Icon;
User avatar
Oggy
Contributor
Contributor
Posts: 80
Joined: Fri Oct 13, 2017 2:53 am

Thu Mar 08, 2018 6:31 pm

:( I have a problem, score have reach new level, in Lobby Scene, new icon rank be changed but NewLevelNotifier UI not enable!
User avatar
slthompson
Contributor
Contributor
Posts: 18
Joined: Mon Jul 01, 2019 7:11 am

Tue Jul 02, 2019 5:16 am

I can't seem to get it to display the level progression info by clicking on the level icon next to the player name in the Lobby.
User avatar
Lovatto
Admin
Admin
Posts: 1167
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

Tue Jul 02, 2019 8:36 pm

Can you please confirm if the button is interactable, I mean check that the button is not blocked,
you can simply check if there is a little color transition when pass the mouse over or click on it.
User avatar
slthompson
Contributor
Contributor
Posts: 18
Joined: Mon Jul 01, 2019 7:11 am

Wed Jul 03, 2019 9:01 am

There's no color indication.
User avatar
BigA
New Member
New Member
Posts: 1
Joined: Wed Mar 11, 2020 6:39 am

Sat Mar 14, 2020 8:05 am

i have problem!

why player cant see ranking each other?
how to fix that?
Post Reply