Page 2 of 2

Re: Dino Dini wants to make a new football game

Posted: Sun Jan 10, 2010 11:36 pm
by jesper
I get a popup: "Application Error: Unable to launch the Application" on a hackintosh Leopard 10.5.8 :(

Since I'm paranoid :) I'm running Little Snitch - so I got about 10 popup about granting access and networks access before the error!

Can you post just the jar with included dependencies?

@Steve: The idea behind Java Webstart is that you don't need to know java. It's obviously no bullet proof :P

Re: Dino Dini wants to make a new football game

Posted: Mon Jan 11, 2010 8:33 am
by Abyss
It does run with no problems on my old Thinkpad T40.

I guess it's a proof of concept, because not much is happening right now. The original KO2 field and a player in practice mode playing around. I hope the idea that you need a button press to dribble won't apply in the final version. After shooting a long shot, the ball got stuck behind the goal and I couldn't retrieve it.

Re: Dino Dini wants to make a new football game

Posted: Tue Jan 12, 2010 8:31 am
by manicx
I have the same issue as Spyros. Ball stuck behind the goal. I restarted the practice and I couldn't not see the player! But it runs fine.

I was about to get the source from your SVN rep but I am currently on CVS software only. I may install a plugin in Eclipse and get it. Curious to do some debugging! :D

Re: Dino Dini wants to make a new football game

Posted: Mon Jan 18, 2010 1:21 pm
by Oss117
Sorry for no life sign last week, but I was sick :mrgreen:

@jesper, forgot to include natives mac libraries :roll:, hope it works now, please, try again and give me feedback ;)

@Abyss, yes it is an early version, of course collision and thousand other things are still missing, I have several things I will integrate soon that was already working on old version, as for example tatics moves.

But first I want to compute internal physics for ball and players exactly as the original, so I will ask for help from everyone here.

@manicx & @Abyss : Yes when the ball stuck behind the goal, you have to exit practice and enter again to relocate the ball at center. The player stay where it was. Press F6 to center camera on ball or player.

I will put the source code online soon.

Somebody else could test ? Steve it works for you now ?

Re: Dino Dini wants to make a new football game

Posted: Mon Jan 18, 2010 8:16 pm
by jesper
Oss117 wrote:@jesper, forgot to include natives mac libraries :roll:, hope it works now, please, try again and give me feedback ;)

Same error :( . Here are the details:

Image
Image
Image

Re: Dino Dini wants to make a new football game

Posted: Mon Jan 18, 2010 8:36 pm
by Steve Camber
I tried it at work today, no problems running it there for some reason!

The pitch graphics were regularly glitching though for some reason, and (just for information) it crashed when I dragged the window to my second monitor.

Re: Dino Dini wants to make a new football game

Posted: Tue Jan 19, 2010 1:39 pm
by Oss117
jesper wrote:Same error :(


Ok, here a zip file with jar and lib dependencies

I launch it with the following command :

Code: Select all

java -jar -Djava.library.path=lib:lib/natives:. OpenKickOff.jar

Re: Dino Dini wants to make a new football game

Posted: Wed Jan 20, 2010 9:01 pm
by jesper
Oss117 wrote:
jesper wrote:Same error :(


Ok, here a zip file with jar and lib dependencies

I launch it with the following command :

Code: Select all

java -jar -Djava.library.path=lib:lib/natives:. OpenKickOff.jar

Well, same error:

Code: Select all

slimbox:OpenKickOff jesper$ java -jar -Djava.library.path=lib:lib/natives:. OpenKickOff.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:676)
   at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
   at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
   at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:375)
slimbox:OpenKickOff jesper$

Here is my version info:

Code: Select all

limbox:OpenKickOff jesper$ java -version
java version "1.5.0_22"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03-333-9M3125)
Java HotSpot(TM) Client VM (build 1.5.0_22-147, mixed mode, sharing)

Seems your app depends on a later version If this is the case you could check the version, before the rtm loads too many class files, and give a human readable error. Possibly webstart can do the version check.

Re: Dino Dini wants to make a new football game

Posted: Thu Jan 21, 2010 12:23 pm
by Oss117
jesper wrote:Seems your app depends on a later version If this is the case you could check the version, before the rtm loads too many class files, and give a human readable error. Possibly webstart can do the version check.


True, java v1.6 is required for OpenKickOff. Webstart can do an early check, you are right.
Could you make a trial on a computer which runs a correct Java version ?

Sorry for the source code, I had no time to upload it on google code, I will make my best to put it during the weekend.