suriyun-production / turnbase-rpg-docs

This is document for Turnbase RPG project (https://www.assetstore.unity3d.com/#!/content/107578?aid=1100lGeN)
https://suriyun-production.github.io/turnbase-rpg-docs
12 stars 3 forks source link

Data iconId and frameId null #259

Closed solodevelopment97 closed 1 year ago

solodevelopment97 commented 1 year ago

Screenshot (35)

insthync commented 1 year ago

What you want to tell me?

solodevelopment97 commented 1 year ago

when playing the user cannot see the icon and frame that is being used by the player

solodevelopment97 commented 1 year ago

and when I check the data player as photographed, there is no id icon and frame id data taken from the database

insthync commented 1 year ago

Find SELECT * FROM player WHERE

Then add codes to apply read data like this

Screenshot_782

            player.IconId = players.GetString("iconId");
            player.FrameId = players.GetString("frameId");
            player.TitleId = players.GetString("titleId");
solodevelopment97 commented 1 year ago

thanks and this is working fine, if anyone encounters the same script file it is in SQLiteGameServiceHelpers.cs