Dino Dini wants to make a new football game

Talk about EVERYTHING related to Kick Off 1 + 2.

Moderators: Rodolfo, Moderators, Rodolfo, Moderators

User avatar
jesper
1000+ Poster!
1000+ Poster!
Posts: 1815
Joined: Tue Dec 16, 2003 12:19 pm
Location: Copenhagen, Denmark
Contact:

Re: Dino Dini wants to make a new football game

Postby jesper » Sun Jan 10, 2010 11:36 pm

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
You cannot avoid the Google [Bot]
User avatar
Abyss
Moderator
Moderator
Posts: 5914
Joined: Wed Sep 18, 2002 12:00 am
Location: Athens, Greece
Contact:

Re: Dino Dini wants to make a new football game

Postby Abyss » Mon Jan 11, 2010 8:33 am

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.
User avatar
manicx
Site Admin
Site Admin
Posts: 8801
Joined: Mon Mar 11, 2002 12:00 am
Location: Athens, Hellas
Contact:

Re: Dino Dini wants to make a new football game

Postby manicx » Tue Jan 12, 2010 8:31 am

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
User avatar
Oss117
Posting is free!!!
Posting is free!!!
Posts: 117
Joined: Wed May 11, 2005 12:10 pm
Location: France
Contact:

Re: Dino Dini wants to make a new football game

Postby Oss117 » Mon Jan 18, 2010 1:21 pm

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 ?
User avatar
jesper
1000+ Poster!
1000+ Poster!
Posts: 1815
Joined: Tue Dec 16, 2003 12:19 pm
Location: Copenhagen, Denmark
Contact:

Re: Dino Dini wants to make a new football game

Postby jesper » Mon Jan 18, 2010 8:16 pm

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
You cannot avoid the Google [Bot]
User avatar
Steve Camber
Mad! 7000+ poster!
Mad! 7000+ poster!
Posts: 7806
Joined: Sat Jun 16, 2001 12:00 am
Location: Sheffield, England
Contact:

Re: Dino Dini wants to make a new football game

Postby Steve Camber » Mon Jan 18, 2010 8:36 pm

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.
--
SteveC - Kick Off engineer
18 Dec 2003 - "One day I'm going to disassemble the 68000 code, and find out exactly what's going on in there!! "

Ask me about online KO2 :) https://kickoff2.net
User avatar
Oss117
Posting is free!!!
Posting is free!!!
Posts: 117
Joined: Wed May 11, 2005 12:10 pm
Location: France
Contact:

Re: Dino Dini wants to make a new football game

Postby Oss117 » Tue Jan 19, 2010 1:39 pm

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
User avatar
jesper
1000+ Poster!
1000+ Poster!
Posts: 1815
Joined: Tue Dec 16, 2003 12:19 pm
Location: Copenhagen, Denmark
Contact:

Re: Dino Dini wants to make a new football game

Postby jesper » Wed Jan 20, 2010 9:01 pm

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.
You cannot avoid the Google [Bot]
User avatar
Oss117
Posting is free!!!
Posting is free!!!
Posts: 117
Joined: Wed May 11, 2005 12:10 pm
Location: France
Contact:

Re: Dino Dini wants to make a new football game

Postby Oss117 » Thu Jan 21, 2010 12:23 pm

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.

Who is online

Users browsing this forum: No registered users and 5 guests