Newbie Spellweaver
- Joined
- Jan 30, 2022
- Messages
- 26
- Reaction score
- 5
Hey,
I added the rebirth system from the nanussv3 source and adapted it a bit.
The source part is working fine but somehow the plat level isnt saving properly. Its fine when relogging, but once I restart the server, the game shows me the plat level as 0 again.
After logging out, the database adapts the value of the game and sets it also to 0.
I added the column in the char table, char str procedure in the S1,U1 (I1 part, where the values get put into the char table again) ... I guess the problem happens when the source is trying to read the saved value after restarting the server but somehow it reads null even though the value in the char table is still fine in the database.. After the relog the database ofc adapts the readed null and sets the column back to default value.
In the source the defines are in the dbmanagerjoin and dbmanager. Does the nanuss source miss something regarding reading the stored database value properly or are my database declarations wrong? Any ideas or tips would be appreciated![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
I added the rebirth system from the nanussv3 source and adapted it a bit.
The source part is working fine but somehow the plat level isnt saving properly. Its fine when relogging, but once I restart the server, the game shows me the plat level as 0 again.
After logging out, the database adapts the value of the game and sets it also to 0.
I added the column in the char table, char str procedure in the S1,U1 (I1 part, where the values get put into the char table again) ... I guess the problem happens when the source is trying to read the saved value after restarting the server but somehow it reads null even though the value in the char table is still fine in the database.. After the relog the database ofc adapts the readed null and sets the column back to default value.
In the source the defines are in the dbmanagerjoin and dbmanager. Does the nanuss source miss something regarding reading the stored database value properly or are my database declarations wrong? Any ideas or tips would be appreciated