Mazer

Yes I’m sure of that, but I have no clue of what’s wrong :-[

I added a plethora of logging, so if one of you could check again and post the log that would be great.

Thanks,
Erik

Here you go:

[quote]Java Web Start 1.2 Console, started Thu Sep 04 13:32:36 EDT 2003
Java 2 Runtime Environment: Version 1.4.1_02 by Sun Microsystems Inc.
Logging to file: C:\Documents and Settings\Neo\Desktop\dump
Game starting.
Maybe selecting mode 800x600x32 @70
Mouse.destroy() …Ok.
Keyboard.destroy() …Ok.
gl.destroy() …Game terminated unexpectedly : java.lang.NullPointerException
java.lang.NullPointerException
at net.movegaga.mazegame.MazeGame.killGLWindow(MazeGame.java:260)
at net.movegaga.mazegame.MazeGame.start(MazeGame.java:243)
at net.movegaga.mazegame.MazeGame.main(MazeGame.java:198)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Game Ended.
[/quote]
-SG

It’s still a weird problem… :-/
Anyway, I added some fail safe mechanisms like when it barfs while trying to select a display mode, it will continue and when it keeps failing it will fall back to any supported mode.

I hope it works now.

Erik


Logging to file: C:\Documents and Settings\Neo\Desktop\dump 

Neo ?! Oh deary deary me… so have you worked it out yet? ;D

Kev

Watch it Kev…I’ll come right through the system and whomp you :slight_smile:

I can dodge bullets and everything.

-SG

Ahem, -cough-

  • erikd points 3 posts up *

hint, hint :slight_smile:

Mazer still not working (Cosmic trip not working as well). It’s due to the resolution and refresh check. My laptop screen only runs at 60Hz. Any way to fix this?

-sg

Get a new laptop? ;D

[quote]Mazer still not working (Cosmic trip not working as well). It’s due to the resolution and refresh check. My laptop screen only runs at 60Hz. Any way to fix this?

-sg
[/quote]
I could add a little startup menu to select a video mode (as a matter of fact I’d only have to uncomment it :)). I think that’s the only way to fix this, couse your video drivers are probably to blame (they report a mode of 70hz)…

Erik

[quote]Mazer still not working (Cosmic trip not working as well). It’s due to the resolution and refresh check. My laptop screen only runs at 60Hz. Any way to fix this?
[/quote]
I added a start up menu where you can choose the display mode.
If you could try again if it works now, that would be really great.

Erik

BTW, you have to enter something in the ‘name’ field too. It’s not used yet, though.