Puzzle

Games in project or under development. The posts and games in this section can not ask for money.

Re: Puzzle

Postby Greebo » Tue, 10Jan26 05:44

Weird! Having shut down and restarted Firefox I still get a failed app but the

java.lang.NoClassDefFoundError: Could not initialize class org.secretpaste.jigsaw.JigsawNoseFactory
at org.secretpaste.jigsaw.PuzzleMatrix.(Unknown Source)
at org.secretpaste.jigsaw.PuzzlePanel.(Unknown Source)
at org.secretpaste.jigsaw.PuzzleApplet.init(Unknown Source)
at sun.applet.AppletPanel.run(AppletPanel.java:424)
at java.lang.Thread.run(Thread.java:619)

part of the info no longer appears!
“Anyone who believes what a cat tells him deserves all he gets.”
― Neil Gaiman
User avatar
Greebo
Great Master of corals
 
Posts: 2096
Joined: Mon, 08Jan21 00:00
Location: England
sex: Masculine

Re: Puzzle

Postby LRM » Thu, 10Jan28 03:24

The java symbol appears, it rotates about 3/4 of round load meter then locks.
Firefox no java (blank screen) symbol, never activates.
Got Wood?
User avatar
LRM
Moderator
 
Posts: 3061
Joined: Wed, 09Apr22 23:00
Location: Citizen of the world, residing in the USA
sex: Masculine

Re: Puzzle

Postby Craban » Thu, 10Jan28 23:12

Meanwhile I could successfully try the following systems (all with an up-to-date Java6): Windows 7 64 Chrome, Windows XP Pro 32 Firefox, openSuSE 10 64 Konqueror, OpenSuSE 10 64 Firefox
I don't know what the problem could be if even the load freezes.

There is an alternative though: I added a webstart version and posted the link at the bottom of the test page. A java webstart depends only on the local JRE not on the browser (in theory that is).
User avatar
Craban
star of the reef
 
Posts: 269
Joined: Thu, 08Dec25 00:00
Location: in a virtual world
sex: Masculine

Re: Puzzle

Postby Slipstone » Thu, 10Jan28 23:43

Newly loaded Java. Windows XP. Firefox.

Same as LRM...rotating Java symbol stops at about 2 0'clock ... ...
have you tried
User avatar
Slipstone
star of the reef
 
Posts: 265
Joined: Thu, 08Jun19 23:00
Location: UK

Re: Puzzle

Postby Craban » Thu, 10Jan28 23:57

I uploaded a debugging version. Could you please check the Java console when the load freezes? You should have an option to bring up the console either in firefox or in the taskbar panel of windows XP.

Thanks for testing.
User avatar
Craban
star of the reef
 
Posts: 269
Joined: Thu, 08Dec25 00:00
Location: in a virtual world
sex: Masculine

Re: Puzzle

Postby Slipstone » Fri, 10Jan29 00:24

Java Plug-in 1.6.0_18
Using JRE version 1.6.0_18-b07 Java HotSpot(TM) Client VM
User home directory = C:Documents and SettingsAdmin
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to
----------------------------------------------------


Exception in thread "thread applet-org.secretpaste.jigsaw.PuzzleApplet.class-1" java.lang.ExceptionInInitializerError
at org.secretpaste.jigsaw.PuzzleMatrix.(PuzzleMatrix.java:20)
at org.secretpaste.jigsaw.PuzzlePanel.(PuzzlePanel.java:59)
at org.secretpaste.jigsaw.PuzzleApplet.init(PuzzleApplet.java:48)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.util.InputMismatchException
at java.util.Scanner.throwFor(Unknown Source)
at java.util.Scanner.next(Unknown Source)
at java.util.Scanner.nextDouble(Unknown Source)
at org.secretpaste.jigsaw.JigsawNoseFactory.(JigsawNoseFactory.java:39)
... 5 more
Exception in thread "thread applet-org.secretpaste.jigsaw.PuzzleApplet.class-2" java.lang.NoClassDefFoundError: Could not initialize class org.secretpaste.jigsaw.JigsawNoseFactory
at org.secretpaste.jigsaw.PuzzleMatrix.(PuzzleMatrix.java:20)
at org.secretpaste.jigsaw.PuzzlePanel.(PuzzlePanel.java:59)
at org.secretpaste.jigsaw.PuzzleApplet.init(PuzzleApplet.java:48)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

... ... ...any use??
have you tried
User avatar
Slipstone
star of the reef
 
Posts: 265
Joined: Thu, 08Jun19 23:00
Location: UK

Re: Puzzle

Postby Craban » Fri, 10Jan29 00:49

I found the problem ... quite embarrassing: the problem was for all languages that don't use a decimal comma (in other words lots out there) :-(
This version should work now for everybody as I don't use a text representation for the engine initialization.
User avatar
Craban
star of the reef
 
Posts: 269
Joined: Thu, 08Dec25 00:00
Location: in a virtual world
sex: Masculine

Re: Puzzle

Postby Slipstone » Fri, 10Jan29 01:55

SUCCESS

Completed.

Rather a dark picture but entertaining...
have you tried
User avatar
Slipstone
star of the reef
 
Posts: 265
Joined: Thu, 08Jun19 23:00
Location: UK

Re: Puzzle

Postby spindle » Fri, 10Jan29 02:17

very amusing-it loaded first time for me no problem-twenty minutes fun especially when you build it upside down as i did Dito looked fantastic on the organ upside down-who cares which way up she is-thanks Craban-thanks Dito
spindlestallion
User avatar
spindle
Pilot fish
 
Posts: 9
Joined: Sat, 09Dec26 00:00
Location: uk

Re: Puzzle

Postby DiTo » Fri, 10Jan29 02:35

@ Spindle: Hey You I am not Amadeus. Do you even know how hard it is to play such an organ? Let alone upside down!

Image

DiTo @ The EXIT organ_06 by DiTo Delgado, on Flickr
User avatar
DiTo
legend of the South Seas
 
Posts: 587
Joined: Mon, 09Apr06 23:00
sex: Female

Re: Puzzle

Postby Craban » Fri, 10Jan29 02:43

As promised here is the source code and example HTML code to use puzzle.jar: http://secretpaste.org/puzzle/puzzle-src.zip
The puzzle.jar can be downloaded from: http://secretpaste.org/puzzle/puzzle.jar and can be used either as an applet or using java webstart. As stated in the applet information the license is GPL v3 or later.

Many thanks for all the feedback and testing.
User avatar
Craban
star of the reef
 
Posts: 269
Joined: Thu, 08Dec25 00:00
Location: in a virtual world
sex: Masculine

Re: Puzzle

Postby LRM » Fri, 10Jan29 16:18

I did not complete it but it loads now. I can rotate pieces. I think you nailed it.
Thanks
L
Got Wood?
User avatar
LRM
Moderator
 
Posts: 3061
Joined: Wed, 09Apr22 23:00
Location: Citizen of the world, residing in the USA
sex: Masculine

Re: Puzzle

Postby Greebo » Fri, 10Jan29 19:26

Like wot LRM said!

Cheers, Gerry [img]images/icones/icon10.gif[/img]
“Anyone who believes what a cat tells him deserves all he gets.”
― Neil Gaiman
User avatar
Greebo
Great Master of corals
 
Posts: 2096
Joined: Mon, 08Jan21 00:00
Location: England
sex: Masculine

Re: Puzzle

Postby Freddy » Fri, 10Jan29 19:52

n1 little game :) thx !
User avatar
Freddy
great white shark
 
Posts: 88
Joined: Sat, 09Nov07 00:00
Location: germany

Re: Puzzle

Postby styler » Tue, 10Feb23 15:08

Loaded and worked fine. One thing that I found. Some pieces, when rotated, are clipped (i.e., parts of the outside disappear), usually the tabs and usually on pieces that are rectangular. Could be a frame size problem.
styler
sirens hunter
 
Posts: 14
Joined: Sat, 10Jan09 00:00

PreviousNext

Return to Projects

Who is online

Users browsing this forum: No registered users and 9 guests

eXTReMe Tracker