Automated webstart-maker: need game authors

[quote]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?
[/quote]
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 :(.

in Firefox I got this:

Please contact the admin / dev-team

Copy and paste everything below this line when contacting them

Referer URL:/controllers/create-game

Throwable:java.lang.IllegalArgumentException: Value must be non-null
Line      Source File
47      In SQLColumnValue.java
94      ...called from SQLInsertRequest.java
48      ...called from CreateGameController.java
142      ...called from CMSControllersService.java
117      ...called from bExpeditionGeos.java
38      ...called from Geos.java
62      ...called from HttpPostControllerService.java
251      ...called from bAsynchronousService.java
330      ...called from bModule.java
534      ...called from Thread.java

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! :slight_smile:

[quote]in Firefox I got this:
[/quote]
Firefox is clearly a more-buggy version of Mozilla, :frowning: 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.

Sorry about that - the same problem that plagued Mighty Bubbles, but which I’ve just fixed! :slight_smile: 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!

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 :).

the cluttered page looks better now :wink:

…but I don’t know where I can upload my jar.
(using IE)

[quote]the cluttered page looks better now :wink:

…but I don’t know where I can upload my jar.
(using IE)
[/quote]
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.

didn’t work again because of the wrong filename for the jar.
(everything with IE)

hey, I have my game 3 time now on your site :wink:
or even better :5 times (1 normal and 2 doubles)

Ack. I hadn’t got around to adding an idiot-proof method for preventing dupe uploads! :P. Thanks for testing it ;).

I’ll have a look at the DB and try and clean up the mess

Tell me which ones you want deleted; just the names is enough.

Delete all 3, I want to try with a fresh start.

Your delete function doesn’t work -

“No files in current release! (or you do not have access to view the current release”

but when I upload again, I see the same file three times with different creation times.

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 :stuck_out_tongue:

[quote]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 :stuck_out_tongue:
[/quote]
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.

[quote]Delete all 3, I want to try with a fresh start.
[/quote]
Done.

Firefox: (tried 2 times)

Please contact the admin / dev-team

Copy and paste everything below this line when contacting them

Referer URL:/controllers/create-game

Throwable:java.lang.IllegalArgumentException: Value must be non-null
Line      Source File
47      In SQLColumnValue.java
94      ...called from SQLInsertRequest.java
50      ...called from CreateGameController.java
142      ...called from CMSControllersService.java
117      ...called from bExpeditionGeos.java
38      ...called from Geos.java
62      ...called from HttpPostControllerService.java
251      ...called from bAsynchronousService.java
330      ...called from bModule.java
534      ...called from Thread.java

IE (two times, too)


Please contact the admin / dev-team
Copy and paste everything below this line when contacting them

Referer URL:/controllers/create-game
Throwable:java.sql.SQLException: Column not found message from server: "Unknown column 'requiresallpermissions' in 'field list'" GE-SQL: with SQL text = INSERT INTO games(name, description_sentence, description_paragraphs, webpage, requiresallpermissions, created) VALUES ("Quest_for_Peace", "Kill 'em all !", " 
if there is one man standing - then shall be peace 
", "http://www.gutenachtkopf.de", 1, "2005-02-20 18:07:48.594") 
 
Line      Source File         
318      In SQLService.java         
117      ...called from bExpeditionGeos.java         
38      ...called from Geos.java         
54      ...called from CreateGameController.java         
142      ...called from CMSControllersService.java         
117      ...called from bExpeditionGeos.java         
38      ...called from Geos.java         
62      ...called from HttpPostControllerService.java         
251      ...called from bAsynchronousService.java         
330      ...called from bModule.java         
534      ...called from Thread.java       


[quote]Firefox: (tried 2 times)
[/quote]
…because it doesn’t submit empty form elements, as per the spec.

This is a famous bug with MSIE that the lazy ****-****ers @ MS have never bothered fixing.

This was a mistake of mine - I removed an SQL table column from the schema, but because there’s no compile-time checking of SQL, I forgot to check the source everywhere and remove references!

Anyway, both fixed. Thanks for the report :).

HOOOORAY!

IE: old problem with jar file name
Firefox: uploaded (shitty unsigned) version, deleted it again, uploaded signed one AND IT WORKS! :smiley:

but shows wrong size (I couldn’t delete the unsigned one)

:smiley: :smiley: :smiley:

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.

I’d like to give another try but the hood of Mighty Bubbles is open and the engine is disasembled for LWJGL migration. I’ll try to find time this evening with the Java2D version.

When I find the time, I’ll fix Cosmic Trip for java 1.5 and give it a try.