Database save error

11/06/2018 01:11 JaDroK#1
I create a column called "PrestigeLevel" (Adding it to CharacterMapper.cs) on table Character and when for example I try to increase the "PrestigeLevel += 1;" and i added Session.Character.Save(); when the player logout the value turn to 0 again.

I added that to CharacterMapper.cs:
Output.PrestigeLevel = input.PrestigeLevel; On public static bool ToCharacter(CharacterDTO input, Character output)

Output.PrestigeLevel = input.PrestigeLevel on public static bool ToCharacterDTO(Character input, CharacterDTO output)

Btw Im using opennos Ciapas source.

Some suggestions about how to fix that? :handsdown:
11/06/2018 11:29 Nephya#2
C info / In
11/06/2018 11:48 GGGGame#3
Character.cs

PrestigeLevel = input.PrestigeLevel;
11/06/2018 12:03 JaDroK#4
Quote:
Originally Posted by Nephya View Post
C info / In
I already added on GenerateCInfo & GenerateIn thats not the problem the things is that when user use $Prestige and logout the PrestigeLevel turn to 0 :)
11/06/2018 14:01 JaDroK#5
The problem was that I didnt add Prestigelevel = input.PrestigeLevel; on OpenNos.GameObject.Character.cs properties :)