GetTickCount
#1

Hello, I want to make a VIP system, and it works on GetTickCount, so if someone redeemed VIP for 30 days, it will store the TickCount and when the 30 days pass (in miliseconds) he loses the vip.

So, I have noticed that GetTickCount changes a lot if I restart the server, how to solve this problem? Should I store the tick count in the database before restarting?
Reply
#2

Shouldn't be using GetTickCount for this purpose. You should be using a getdate and gettime setup, especially when you are looking at a period of days, not just a minute.

GetTickCount simply shows the uptime of the server.
Reply
#3

Okay thank you.
Reply


Forum Jump:


Users browsing this thread: