Project Escobar

Java Web Start 1.5.0_02
Using JRE version 1.5.0_02 Java HotSpot(TM) Client VM
User home directory = /home/username
----------------------------------------------------
c:   clear console window
f:   finalize objects on finalization queue
g:   garbage collect
h:   display this help message
m:   print memory usage
o:   trigger logging
p:   reload proxy configuration
q:   hide console
r:   reload policy configuration
s:   dump system and deployment properties
t:   dump thread list
0-5: set trace level to <n>
----------------------------------------------------
1.5 NanoTimer selected.
loading data ...
converting to PCM_SIGNED data ...
reading audio stream ...
mixer.getLine()
converting to PCM_SIGNED data ...
reading audio stream ...
mixer.getLine()
converting to PCM_SIGNED data ...
reading audio stream ...
mixer.getLine()
converting to PCM_SIGNED data ...
reading audio stream ...
mixer.getLine()
converting to PCM_SIGNED data ...
reading audio stream ...
mixer.getLine()
converting to PCM_SIGNED data ...
reading audio stream ...
mixer.getLine()
converting to PCM_SIGNED data ...
reading audio stream ...
mixer.getLine()
converting to PCM_SIGNED data ...
reading audio stream ...
mixer.getLine()
converting to PCM_SIGNED data ...
reading audio stream ...
mixer.getLine()
converting to PCM_SIGNED data ...
reading audio stream ...
mixer.getLine()
converting to PCM_SIGNED data ...
reading audio stream ...
mixer.getLine()
converting to PCM_SIGNED data ...
reading audio stream ...
mixer.getLine()
converting to PCM_SIGNED data ...
reading audio stream ...
mixer.getLine()
converting to PCM_SIGNED data ...
reading audio stream ...
mixer.getLine()
converting to PCM_SIGNED data ...
reading audio stream ...
mixer.getLine()
converting to PCM_SIGNED data ...
reading audio stream ...
mixer.getLine()
converting to PCM_SIGNED data ...
reading audio stream ...
mixer.getLine()
converting to PCM_SIGNED data ...
reading audio stream ...
mixer.getLine()
converting to PCM_SIGNED data ...
reading audio stream ...
mixer.getLine()
converting to PCM_SIGNED data ...
reading audio stream ...
mixer.getLine()
converting to PCM_SIGNED data ...
reading audio stream ...
mixer.getLine()
converting to PCM_SIGNED data ...
reading audio stream ...
mixer.getLine()
converting to PCM_SIGNED data ...
reading audio stream ...
mixer.getLine()
converting to PCM_SIGNED data ...
reading audio stream ...
mixer.getLine()
initializing background with 41x41 tiles ...
java.lang.ArithmeticException: / by zero
      at EscalationChopper.new(Unknown Source)
      at EscalationChopper.main(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at com.sun.javaws.Launcher.executeApplication(Launcher.java:1098)
      at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1045)
      at com.sun.javaws.Launcher.continueLaunch(Launcher.java:896)
      at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:468)
      at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:218)
      at com.sun.javaws.Launcher.run(Launcher.java:165)
      at java.lang.Thread.run(Thread.java:595)

heres a dump of the console!

very strange, you get a division by zero somewhere. maybe this is related to a failed loading of an image.
did you get any errors show below the loading bar?

i’ll try and find the reason for the division by zero meanwhile …

i’m pretty sure i found the error. there was no check if your display refresh rate could be read or not. if not, it was zero and that led to the exception.

i have now built in a default of 60Hz if the refresh rate is unknown. please let me know if you encounter any further problems.

oh it almost worked, but shuts down quickly, from what i can pick up from the console, it says full screen not supported, followed by another line which i can’t quiet catch i think it says “bye”.

ah ok, this is something that is missing yet. i have to switch to windowed mode if fullscreen is not supported.
i think i will build in a display mode selection screen at the beginning.

i just published an updated version. the game switches to windowed mode if fullscreen is not supported. could you please give it another try?

question: what would you prefer, a game that lets you choose a resolution and refresh rate or a game that tries to detect the optimal settings automatically?

[quote]i just published an updated version. the game switches to windowed mode if fullscreen is not supported. could you please give it another try?

question: what would you prefer, a game that lets you choose a resolution and refresh rate or a game that tries to detect the optimal settings automatically?
[/quote]
yup game works fine now in windowed mode! i’m sure my hardware supports fullscreen mode thought but its not detected, any way i think the game should automatically select the res and refresh rate, however a option should be there to also select it manually!