", "", 1, "2005-02-08 04:38:55.584") GE-SQL: withSQLtext = INSERTINTOgames(name, description_sentence, description_paragraphs, webpage, requiresallpermissions, created) VALUES ("Mighty Bubbles demo", "Fight the water ennemies and save the drops with your powerful bubbles!", "Mighty Bubbles is the story of a little girl who wants to save her world of the water ennemies invasion. Their goal is to take control of any source of water. There are multiple water trees. Each of them produces water drops and the ennemies want to consume all of them. You, as the little girl (or boy) have to capture all the water ennemies by throwing them bubbles. When an ennemy is captured, you must pop the bubble to eliminate him.

Your second objective is to retreive the water drops taken by the ennemies and bring them back to the water trees. A water tree can't hold more than 6 drops so when one is full, you must fill up another one.

I got a different error with IE:[code]Throwable:java.sql.SQLException: Not a valid escape sequence:

So...looks like the image file is attempting to get into the DB. Rest assured that at no point is any binary data ever placed in the DB, so this means there's something wrong with parsing the form-data - apparently some form-data where MSIE is sending a file is being received and interpreted as a form-field.

Thanks. I've put in error handling for the duplicate name case, and I've added a lot more detail to the other exception (it should give you the root cause exception now) AND ... I just successfully uploaded JAR files in both MSIE (6) and Mozilla (1.7).

Hey blah3, keep up the great work! :-) JGF is improving in the good way I think. I can't wait to see it with the new logo!

The last time I tried to upload Mighty Bubbles, I got an error trying to upload the jars. One question: will you support having jars in seperate folders? My dist uses different folders for the different OSs.

The last time I tried to upload Mighty Bubbles, I got an error trying to upload the jars. One question: will you support having jars in seperate folders? My dist uses different folders for the different OSs.

There's still no way to choose different OS/arch's (I have an update that I will upload soon, but I am too ill at the moment).

However, everything else should work fine since my last post?

re: separate folders - sort-of; it's possible, but when you upload everything is placed in one directory and there's no option for you to override that. So long as you have no duplicate *filenames* it's fine - the JNLP is built automatically, so it will correctly pick up the files wherever they are uploaded to.

In future, if there's a lot of requests for it, I might add an option for you to arrange your game into sub-folders (it only needs changes to the HTML form, but it would need some effort to make it easy to use), but not right now.

I successfully uploaded survivor - including all the OS-specific nativelibs - but ... webstart hangs "checking for latest version".

I *hate* Sun's webstart client, and recall once again Cas's statement about how the coders responsible ought to be hung by their toenails.

Can anyone see what is wrong with this JNLP? I'd be extremely grateful, since I've got flu and can't concentrate enough for anything this complex myself. But if someone can spot it, and I can fix it easily, then it looks like you'll be able to upload any game.

NB: this was at around 02:20 am GMT, but sun's date code in the linux JVM is still f*cking broken after 7+ years and doesn't handle timezones and can't count to 7 either. It makes me weep that no-one can (be bothered to) fix such major bugs . Does this have anything to do with webstart breaking?

Turns out the problem was a bit of code that used to be a workaround for a problem with HTTP HEAD, but for some reason now instead of fixing the bug created a new one. Webstart, being crap, crashes if you return a HEAD response with an explicit content-length of 0, despite the fact that that is legal.

Anyway, now I'm getting lots of weird and wonderful webstart crashes and haven't started the game successfully; game starts, runs through most of the logging and then hangs before displaying menu screen, or crashes in other weird ways whilst loading the JARs. Hopefully this is just my copy of webstart being crap; does it work for anyone else?

Turns out the problem was a bit of code that used to be a workaround for a problem with HTTP HEAD, but for some reason now instead of fixing the bug created a new one. Webstart, being crap, crashes if you return a HEAD response with an explicit content-length of 0, despite the fact that that is legal.

Anyway, now I'm getting lots of weird and wonderful webstart crashes and haven't started the game successfully; game starts, runs through most of the logging and then hangs before displaying menu screen, or crashes in other weird ways whilst loading the JARs. Hopefully this is just my copy of webstart being crap; does it work for anyone else?

I wanted to see the logs written by JWS but I'm not able to find the log file. I'm using java5 01 and I've enable tracing in the advanced params. Where is the log file suppose to be?

In java 1.4.x it was possible to specify the location of the log file and now in version 5 it's no more possible

Thanks. It seems webstart crashes bizarrely on a trailing slash on the codebase (arrggggh!), but with that fixed, I'm getting the same jogl error.

This almost makes me happy, because for the jogl error to happen, everything else in the JNLP is fine . But...obviously something is still wrong with the nativelib sections, and I can't see yet what it might be.

Any clues?

PS: there's nothing wrong with having an absolute href; thanks for the suggestion, but I'd alreayd tested that long ago - if that were broken in sun's webstart, then the whole JGF JNLP wouldn't work properly at all .

then I tried with IE, an entry was created but no graphics were uploaded. On the page where (I guess) to choose extra libs etc I couldn't identify any buttons cause the gui was cluttered. Then I tried again with Firefox (slightly different name for the game) but same error as above.So I couldn't upload the jar, great work anyway!

Firefox is clearly a more-buggy version of Mozilla, and to my surprise I've discovered a couple of fairly major bugs with Moz and CSS layouts with forms and scripts over the past few weeks, which MSIE doesn't have.

But > 40% of our traffic is moz browsers, so I'm definitely trying to workaround this.

Quote

then I tried with IE, an entry was created but no graphics were uploaded.

Sorry about that - the same problem that plagued Mighty Bubbles, but which I've just fixed! The problem was "any game with a space in the title" and was because I wasn't URL-decoding the title before looking it up in the DB. Oops!

Quote

On the page where (I guess) to choose extra libs etc I couldn't identify any buttons cause the gui was cluttered. Then I tried again with Firefox (slightly different name for the game) but same error as above.So I couldn't upload the jar, great work anyway!

Please have another go now. Although I'm trying to fix some other stuff so the server may go down for a few minutes every now and then.

If you go to the front page, you'll see your icon showing up properly now .

So long as you are logged-in, all you have to do is go to the page with your game on it. Go to the GAMES section, and either find the screenshot in the middle of the page, or go to "all games list" and find it there; the screenshot links directly to your game page.

Halfway down on the right is a link to create a new "alpha" release...

ok.Firefox: I accidently pressed the "add a normal jar file" twice, my jar was uploaded twice. Then tried to delete ONE of it, that resulted in total 0 bytes. Uploaded again, the byte count was twice of the jar. Marked both to delete, deleted them(?) and uploaded once again-> twice the file size.

IE: uploaded, but the jar filename was recognized as "c:\...\qfp.jar" I will try again with a fresh account.

btw, how do you detect which "public static void main()" to start if there are more than one? (I have only one)

edit: should be the manifest

Yes, and the manifest has to be the FIRST file in the list in the JNLP (which is currently just taken as the order in which you uploaded the files to the DB). This is not my requirement, but webstarts!

No, there is no reason why it should be that way, other than that the people who wrote the client / spec were being a bit lazy.

At some point in the future, I'll have to add a button for you to explicitly mark the "main" JAR so that it is always output first in the list. For now, though, you need to include your manifest in every jar (which, actually, is not a bad idea anyway)

EDIT: what I meant was that the only way to be absolutely sure and not have to worry about order ... is to include your manifest in every jar.

Please could some more people try this? Just one or two more. From the efforts of Hansdampf, AnalogKid, kevglass etc I think we've pretty much got all the bugs ironed out (bar a possible one still lurking in MSIE? Works for me, in IE6, so I'm not sure about that).

I'll try and get an easier to use system setup for native libraries but that could take many days. In the meantime, I'd like to know if we can put out announcements encouraging everyone to upload games now...or if we've still got some teething problems here.

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org