Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  Need some response to Memory Applet  (Read 1794 times)
0 Members and 2 Guests are viewing this topic.
Offline Serethos

Sr. Member
**

Posts: 302


Java games rock!


« on: 2004-03-12 03:56:56 »

after many, many problems im now able to give my applet free for testing.
it isnt finished yet (highscore, winning sequence etc) and im expecting some bugs. very important to me is to know if it runs on several browsers. ive tested it with netscape, mozilla firebird and ie. but apple seemed to load till the apocalypse.

[link]http://zeus.fh-brandenburg.de/~huellein/memory/Memory.htm[/link]


dont expect a firework, i know memory isnt the most exciting game on earth, but its a project for a local police station and a game for kids.
Offline DrBizzar0

Full Member
**

Posts: 175


Raj raj!


« Reply #1 on: 2004-03-12 04:15:22 »

No problem with winXP Mozilla 1.6 Jre 1.4.2_03
Offline tom

JGO Neuromancer
****

Posts: 1113
Medals: 5



« Reply #2 on: 2004-03-12 04:44:27 »

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
35  
36  
37  
38  
39  
40  
41  
42  
43  
44  
45  
46  
47  
48  
49  
50  
java.util.zip.ZipException: invalid stored block lengths

      at java.util.zip.InflaterInputStream.read(Unknown Source)

      at java.io.BufferedInputStream.fill(Unknown Source)

      at java.io.BufferedInputStream.read1(Unknown Source)

      at java.io.BufferedInputStream.read(Unknown Source)

      at java.io.DataInputStream.readFully(Unknown Source)

      at com.sun.imageio.plugins.png.PNGImageReader.decodePass(Unknown Source)

      at com.sun.imageio.plugins.png.PNGImageReader.decodeImage(Unknown Source)

      at com.sun.imageio.plugins.png.PNGImageReader.readImage(Unknown Source)

      at com.sun.imageio.plugins.png.PNGImageReader.read(Unknown Source)

      at javax.imageio.ImageIO.read(Unknown Source)

      at javax.imageio.ImageIO.read(Unknown Source)

      at ImageLoader.<init>(ImageLoader.java:69)

      at Memory.init(Memory.java:45)

      at sun.applet.AppletPanel.run(Unknown Source)

      at java.lang.Thread.run(Unknown Source)

An image file could not be read:
javax.imageio.IIOException: Error reading PNG image data

java.lang.IndexOutOfBoundsException: Index: 39, Size: 37

      at java.util.ArrayList.RangeCheck(Unknown Source)

      at java.util.ArrayList.get(Unknown Source)

      at ImageLoader.getStrip(ImageLoader.java:217)

      at HighScoreMenu.<init>(HighScoreMenu.java:20)

      at Memory.init(Memory.java:46)

      at sun.applet.AppletPanel.run(Unknown Source)

      at java.lang.Thread.run(Unknown Source)


WinXP, Internet Explorer, JRE 1.4.2_03

Games published by our own members! Go get 'em!
Offline Serethos

Sr. Member
**

Posts: 302


Java games rock!


« Reply #3 on: 2004-03-12 05:14:16 »

jepp, thats the error that gave me a headache yesterday. it seems that some editions of the 1.4 series have problems with png support. i had no further problems using 1.5
Offline vrm

Full Member
**

Posts: 211


where I should sign ?


« Reply #4 on: 2004-03-12 05:41:00 »

ava.lang.ArrayIndexOutOfBoundsException: -1
     at java.util.ArrayList.get(ArrayList.java:326)
     at com.sun.imageio.plugins.jpeg.JPEGImageReader.checkTablesOnly(JPEGImageReader.java:329)
     at com.sun.imageio.plugins.jpeg.JPEGImageReader.gotoImage(JPEGImageReader.java:420)
     at com.sun.imageio.plugins.jpeg.JPEGImageReader.readHeader(JPEGImageReader.java:536)
     at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(JPEGImageReader.java:869)
     at com.sun.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:853)
     at javax.imageio.ImageIO.read(ImageIO.java:1384)
     at javax.imageio.ImageIO.read(ImageIO.java:1348)
     at ImageLoader.<init>(ImageLoader.java:61)
     at Memory.init(Memory.java:45)
     at sun.applet.AppletPanel.run(AppletPanel.java:353)
     at java.lang.Thread.run(Thread.java:534)


Linux Mandrake 9.2, Xfree 3.3, JDK 1.4.2
Offline tom

JGO Neuromancer
****

Posts: 1113
Medals: 5



« Reply #5 on: 2004-03-12 05:44:13 »

As I mentioned in the other thread, it's only a couple of extra lines of code to make it work on all 1.4 versions. And wouldnt it be nice if it could run on the latest non beta runtime Wink

Offline blahblahblahh

JGO Kernel
*****

Posts: 4575


http://t-machine.org


« Reply #6 on: 2004-03-12 06:01:02 »

Quote
jepp, thats the error that gave me a headache yesterday. it seems that some editions of the 1.4 series have problems with png support. i had no further problems using 1.5


Sadly 1.5 is not available at the moment, so perhaps you should try to make your system work with 1.4. A beta 1.5 is available, and sun beta's are so bad (note: nothing wrong with this! Sun themselves make it clear that no-one should use them as production systems) that no-one in their right mind uses them EXCEPT those who want to help Sun with debugging and/or are desperate to try out new features before the major release usually for the SOLE purpose of having a 1.5-ready version of their software ready for release earlier than they would otherwise (e.g. a version which uses new features, or a version which has already been compatability tested with the new JVM).

So. When releasing software, it's the gold JVM's that really matter. 1.5-beta is not an upgrade for 1.4.2, but 1.5 gold will be.

malloc will be first against the wall when the revolution comes...
Offline swpalmer

JGO Kernel
*****

Posts: 3438
Medals: 4


Where's the Kaboom?


« Reply #7 on: 2004-03-12 06:21:44 »

I haven't had a single significant problem with 1.5 beta 1.

Offline TheBohemian

Full Member
**

Posts: 236


Java will rule them all!


« Reply #8 on: 2004-03-12 14:15:00 »

@swpalmer:

This depends on what you're doing with it and of course which OS you use ....

- In Linux there is a nice bug that let it fail to load the native motif library (already known and fixed in beta2)

- In WinXP I had recently a wonderful NotYetImplementedException or such ... nice! Smiley

and yes i'm bug-reporting.

before going completely of topic something different: Doing a Java 1.4 compatible build is very difficult these times as soon you got used to generics and all that nice stuff (foreach, autoboxing). Ever tried to invoke the compiler with that: javac -source 1.5 -target 1.4
Sad

Btw I can't live without System.nanoTime() Cheesy

cya

TheBohemian

---------------------------------------
my favorite OS: http://jnode.sf.net
Java 1.5 -> 1.4 converter: http://retroweaver.sf.net
Offline oNyx

JGO Kernel
*****

Posts: 2943
Medals: 5


pixels! :x


« Reply #9 on: 2004-03-12 14:43:27 »

java.util.zip.ZipException: invalid stored block lengths

Huh

That's the error we solved yesterday. The images need to be inside the jar otherwise you need to create a proper url.

弾幕 ☆ @mahonnaiseblog
Games published by our own members! Go get 'em!
Offline tom

JGO Neuromancer
****

Posts: 1113
Medals: 5



« Reply #10 on: 2004-03-12 16:07:37 »

Quote
The images need to be inside the jar

Can still cause a bug in ImageIO:
http://developer.java.sun.com/developer/bugParade/bugs/4764639.html

Nokromants bug seems to be similar.

Offline Serethos

Sr. Member
**

Posts: 302


Java games rock!


« Reply #11 on: 2004-03-16 13:18:11 »

after days of horror and bug hunting, i have thrown the image.io methods over board... now the applet should run fine and !! tada !! its made for 1.4.2 ...

[link]http://zeus.fh-brandenburg.de/~huellein/memory/Memory.htm[/link]

please note that it isnt final yet, but i need to know if it runs on serveral machines and browsers ...
Offline Seekely

JGO n00b
*

Posts: 49


I am java


« Reply #12 on: 2004-03-16 13:46:26 »

Worked well and looks nice.....
Windows 2k
Mozilla Firefox
1.5.0 plug-in

http://www.untoldevils.com  
An RPG like every other, except this one is made by me
Offline digitprop

Full Member
**

Posts: 108



« Reply #13 on: 2004-03-30 00:11:37 »

Works well under 1.4.2 / Windows XP. Looks good!

One minor suggestion regarding 'game play': The extra fun in computer memory (as opposed to conventional, 'bricks-and-mortar' memory) is the potentially fast pace. Therefore, I would make the animation of tile turning optional.

Also, when two non-matching tiles are visible, the next mouse click should hide them and in the same turn display the next clicked-on tile.

M. Fischer . www.digitprop.com
Pages: [1]
  Print  
 
 
Jump to:  


Add your game by posting it in the showcase section.

The first screenshot will be displayed as a thumbnail.

obsidian_golem 2012-05-23 10:14:50

Danny02 2012-05-21 17:10:34

Danny02 2012-05-21 17:07:10

Danny02 2012-05-21 16:56:12

davedes 2012-05-21 13:59:23

obsidian_golem 2012-05-20 20:28:41

darkjava55 2012-05-12 16:14:40

Ultroman 2012-05-12 09:36:05

Ultroman 2012-05-11 22:49:53

Ultroman 2012-05-11 22:20:01
Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.125 seconds with 19 queries.