Rank icon

Report bugs of MFPS 2.0 here
User avatar
Lovatto
Admin
Admin
Posts: 1772
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

websbk wrote:Such mistakes have got when the fight went
This error is because the "TotalScore" property has not been found, this can be due you has not enable ULogin or Level Manager from toolbar,so

1 - Make sure ULogin Pro and Level System are enable on toolbar (MFPS -> Addons -> ... -> Enable)
2 - Make sure that you have that part done:

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);
How to find your Invoice Number: Here
How to find your Order Number: Here
User avatar
websbk
Contributor
Contributor
Posts: 175
Joined: Fri Aug 04, 2017 5:34 pm

Lovatto wrote:
websbk wrote:Such mistakes have got when the fight went
This error is because the "TotalScore" property has not been found, this can be due you has not enable ULogin or Level Manager from toolbar,so

1 - Make sure ULogin Pro and Level System are enable on toolbar (MFPS -> Addons -> ... -> Enable)
2 - Make sure that you have that part done:

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);
The problem was solved by reinstalling the addon
Post Reply