Recent posts by dampgnat on Kongregate

Flag Post

Topic: Game Programming / AS2 API connection and confusion [solved]

Thanks Jabor, it must actually be connecting in that case. I’ve realised that setting up a score on Kong only seems to work if you enable the leaderboard option. Odd, as statistics should be useful for things other than just leaderboards.

I downloaded Firebug as you suggested and watched the console but it didn’t seem to return any post or get for my variables. Maybe this only works if done from your own server, or with AS3. I guess if Flash only sets variables in its own space, its not actually posting anything as Kong’s wrapper would do all the work. Hmm… so firebug should be picking up Kong’s wrapper in that case.

Cheers!

 
Flag Post

Topic: Game Programming / AS2 API connection and confusion [solved]

I can see a little ‘connected’ green icon top right of the game panel. But I’m not sure if this means connected to the stats.

What do people normally see? The score table in the right window? I see no change anywhere.

 
Flag Post

Topic: Game Programming / AS2 API connection and confusion [solved]

I’ve been attempting to connect to the stats all week! I’m going CRAZY!!!!!

The instructions for the new AS2 API system which is beautifully simple, offers additional help directing you to a conflicting and out of date page! Please Kong you really must sort this.

My code in frame 1 is:

var kongregate = _global.kongregate;
kongregate.services.connect();

I create the swf in Flash, encrypt, upload to Kong and the game plays but with no indication of connecting. How do I know when its connecting?
Surely I don’t have to ‘PUBLISH’ to test this do I? That would go public.

extra info:
I’ve tried kongregate.services.connect(); AND kongregateServices.connect()
My stats are all set up on Kong.
The swf is fresh from Flash, no mochiads wrapper etc.

 
Flag Post

Topic: Game Programming / API Documentation

As far as I know, my game is ready to roll, but I won’t publish until I know its connecting with Kong. Is there any simple way of knowing if its connecting?