Stats Problem :-/

Started by ali_vcmp, Nov 08, 2014, 08:12 PM

Previous topic - Next topic

Kratos_

#15
Have you specified somewhere this:-
stats[player.ID].PreviousData = true;
If you haven't, then that's why the record is inserting again & again.
Create the new record in table when the player registers. If something unusual happened then their records will not be created. On Player leave, save the player stats.[ No need to insert at that event ].  In login cmd & in register cmd too , set the above condition.
In the middle of chaos , lies opportunity.

.

That's because your query inserts a new row every time instead of updating the old one.
.

ali_vcmp

#17
Topic Locked My Problem Solved :D Thanks YouAll Thanks s.L.C And Seeby