Recent posts by thup on Kongregate

Flag Post

Topic: Game Programming / Multiplayer

Smart Fox Server is definitely the best of the lot. We’re using it for Campaign here on Kongregate.

We developed using Java on the server side, but it’s got a lot of flexibility in that regard (actionscript on the server side). You can even kind of avoid the server side coding entirely and keep all your logic client side, but the cheat engine guys will be all over your game in no time.

 
Flag Post

Topic: Kongregate / Updated Games

Campaign Game has been updated for the General Election:
http://www.kongregate.com/games/thup/campaign-game

 
Flag Post

Topic: General Gaming / Campaign Game Updated

Ah, thanks Juze, didn’t see that thread.

 
Flag Post

Topic: General Gaming / Campaign Game Updated

Figured this was as good a place as any to post this, Campaign Game has been updated:
http://www.kongregate.com/games/thup/campaign-game

The “General Election” version features McCain and Obama, new candidate special abilities, improved AI, and numerous bug fixes (including that awful badge bug that had been popping up).

I’d welcome reports on any other bugs people find.

 
Flag Post

Topic: Game Programming / Aggressive caching makes updating games difficult

/me hangs head in shame.

Yes, you all were right of course.

I opted for a simple static version number appended to my loads (which I believe should still allow flash to cache between versions, which I want).

I changed the thread title accordingly.

 
Flag Post

Topic: Game Programming / Aggressive caching makes updating games difficult

You know, I’ve had problems with flash caching in the past, but I dismissed them in this case because the issues I was having are so unusual.

E.g. On my 6th revision of an upload, the preview suddenly showing my first revision which I hadn’t seen in a long time.

That said, it does seem like I might have ruled out a tenacious flash caching issue. Looking into it now, I’m going to be pretty ashamed if this is all the problem was.

 
Flag Post

Topic: Game Programming / Kong API - Flying Blind

Assuming you are using Flash CS3, here’s one way to do it:
1. Compile your SWF with “Permit Debugging” on, and make sure “Omit Trace Actions” is unchecked.
2. Make sure you have the debug version of flash installed in one of your browsers (this installs automatically with CS3, but you can also download it from Adobe).
3. When you load the game, you’ll get a pop up asking where your debugger is. Make sure you have Flash CS3 up and running, go to the Debug menu and select “start remote debugging”, then click “localhost” on the pop up you got.

This should give you all trace() commands (as well as any errors) in the Flash CS3 output window.

Hth.

 
Flag Post

Topic: Game Programming / Aggressive caching makes updating games difficult

I just uploaded a new version where I renamed the XML file in question and it updated near instantly.

I guess that’s the solution, kinda tricky though.

 
Flag Post

Topic: Game Programming / Aggressive caching makes updating games difficult

This has been a problem for me every time I’ve attempted to update my game on Kongregate.

My game is a multifile game with several swfs and a couple XML files.

There are two problems which occur which I believe are both related to caching:
1. When I upload a preview version of my game, sometimes I notice a problem right away and want to upload a new preview. When I upload this second preview, it does not update. I’m still looking at the old preview. Several minutes/attempts later I usually get to the right one, but it really complicates the testing process since I’m never quite sure I’m looking at the latest update.

2. I just hit publish on my game and, unfortunately, it appears to have partially published. The SWFs updated, but it’s still holding on to the old XML file. Which means the game is broken. I’m not sure if I should attempt to republish here or just wait.

NOTE: this is not in either case a browser caching issue, I assume it’s got something to do with whatever caching mechanism Kongregate uses (reminds me of problems I’ve had in the past with Akamai).

Has anyone had similar issues? Any ideas how to avoid this?

 
Flag Post

Topic: Technical Support / Uploading Problem

I’ve been having no end of problems with game uploads. I’ve gotten this error you describe, I’ve had the 0 by 0 pixel size problem, I’ve had it simply fail to update my multi file game.

Any chance we can get a general status report on the game uploads? Are you guys working on it? Is there something I should be doing differently with the file prep?

 
Flag Post

Topic: Technical Support / Uploading multiple files?

I’m unsure if this related to other issues on the site, but aside from this issue, now I’m getting a 404 error most of the time when I try to view my game:
http://www.kongregate.com/games/thup/campaign-game

Keep in mind I haven’t published a new version in several days, I have tried to upload new previews tho (none of which have worked, it doesn’t seem to be able to overwrite old files). Could the previews be somehow effecting the live version?

 
Flag Post

Topic: Technical Support / Uploading multiple files?

Made another attempt to email this today. I didn’t email any files, just gave a link to them.

As of now, I can’t seem to update my game at all, so any help would be appreciated.

 
Flag Post

Topic: Technical Support / Game Re-Upload Issues

I’ve had some real issues when trying to update my game.

I previously mentioned the zip file approach wasn’t working for me, but this isn’t related to that.

My game is set up like this (not these exact names, but just to illustrate the idea):
wrapper.swf
game.swf

The wrapper is a simple loader which loads the game swf.

It worked fine on the first load. Then I did an update, and the game was broken, it hung on loading forever.

I made several attempts to reupload, but nothing worked.

Then I renamed the game file and changed the name in the code in the wrapper:
wrapper.swf
game_2.swf

Uploaded again and it worked. No code changes at all, just a file name change.

This makes me thing there is something wrong with the uploader, maybe it’s not clearing out the old game files and is having problems overwriting? In any case, I’m nearly positive there is something weird going on with the uploads completely unrelated to my game code.

Just reporting my experience in case anyone else has similar issues.

 
Flag Post

Topic: Technical Support / Uploading multiple files?

Sorry for the delay, just mailed those files in today. Made several more attempts with no luck. I’ve been loading half my game files from a separate server, but that’s not holding up too well.

 
Flag Post

Topic: Technical Support / Uploading multiple files?

I made a dozen or so attempts to upload a zip file. Maybe it failed because my zip file had subfolders (a sounds/ folder and an xml/ folder), maybe whatever unzip code they are using doesn’t preserve folders? I dunno, definitely didn’t work though.

 
Flag Post

Topic: Technical Support / Uploading multiple files?

Would love to know the answer to this question, seems to have been asked a couple times in these forums without any answer. Multiple swfs is the cleanest way to handle staged loading of a game, and it seems like kongregate supports it, but the “multiple files” feature doesn’t appear to work as expected.