What does this mean for me? You will always be able to play your favorite games on Kongregate. However, certain site features may suddenly stop working and leave you with a severely degraded experience.
What should I do? We strongly urge all our users to upgrade to modern browsers for a better experience and improved security.
We suggest you install the latest version of one of these browsers:
Kongregate is a community-driven browser games portal with an open platform for all web games.
Get your games in front of thousands of users while monetizing through ads and virtual goods.
Learn more »
Hey, two unrelated questions
1. Is there a way to access a users statistics from my program. Is there a kongregate.stats.get() in addition go kongregate.stats.submit() that I just can’t seem to find?
2. I want to get a universal time in my program. Using Date.getDate() or Date.getUTCDay() does not work because that can be modified if the user changes the date on their computer. Is there a way to use the kongregate api to get the kongregate date/time or any other workaround to this?
There is no way to retrieve stats using either language (AS2 or AS3). The feature was pulled from the API a few years back.
There is no way to get the current time or date in a secure manner like you say because once the client has it they can change it easily. Don’t trust the client. So the Date class will be fine usually.
If you want to get around basic ‘cheating’ by not using system time you can write your own code to pull the date/time from [http://www.time.gov/](http://www.time.gov/). For reference you can look at [this AS3 NetTime class](https://github.com/skyboy/AS3-Utilities/blob/master/skyboy/net/NetTime.as) written by skyboy that does exactly that.