I'm sure a lot of you know about EmmeTheCoder's release about Points. I got everything working perfectly, which is great! However, when the character logs out the points do not save and the char logs back in with 0 points. Does anyone know who to fix this?!
These are the two save codes I've tried. None work!
#1
#2
These are the two save codes I've tried. None work!
#1
Code:
public void SavePoints()
{
LastSave = DateTime.Now;
if (MyClient.There)
if (MyClient.Online)
{
DataBase.SaveChar(this);
DataBase.SavePoints(this);
}
}
Code:
public void SavePoints()
{
LastSave = DateTime.Now;
if (MyClient.There)
if (MyClient.Online)
DataBase.SaveChar(this);
DataBase.SavePoints(this);
}