Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (120)
games submitted by our members
Games in WIP (577)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  misc newb errors/questions  (Read 1502 times)
0 Members and 1 Guest are viewing this topic.
Offline weston

Junior Duke





« Posted 2005-05-16 08:23:52 »

I have to admit that I havn't actually seen much example code for using odejava, so much of what I've done has been guesswork. Although my program is (mostly) working as expected on my computer, it seems to behave differently on other people's computers. The first person I had test my program reported that the objects bounced again after they had lay at rest (doesn't do this at all on my computer). The second person I had test the program reported a crash in native code at this point: org.odejava.collision.JavaCollision.collide(Lorg/odejava/Space;)V+51
This happens before/as the window is displayed. I've never experienced a crash on my computer.

Both of these computers were running windows xp with around 2ghz intel processors. I don't really know what else to say about the crashes since I've given all the info I have...

I am running the latest official release although it seems commonly recommended to run the latest from cvs. I will download the latest from cvs if I have to, but its not really any small task as I've never used cvs or ant and don't have a java.net account Sad

I do have several other questions, but Its far too late to ask them correctly so I'll wait until morning.

edit: tpyos

for(int i = 1; i > 0; i++)
{
System.out.println(i+" cups of java downed");
}
Offline arne

Senior Duke




money is the worst drug- we should not let it rule


« Reply #1 - Posted 2005-05-16 13:31:26 »

I think the official release is very old and it's very useful to use the newest cvs, becuase then many bugs have been fixed, like this bouncing stuff. People are also not very interested in fixing bugs of old versions, that may have already been fixed to the new cvs.

:: JOODE :: Xith3d :: OdeJava ::
Offline weston

Junior Duke





« Reply #2 - Posted 2005-05-16 17:09:38 »

Ok, I was mostly just wondering if they did sound like bugs on the odejava end or not (before going through the trouble of downloading from cvs).

for(int i = 1; i > 0; i++)
{
System.out.println(i+" cups of java downed");
}
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Amos Wenger

Senior Duke




Everything's possible, but not everything's fun...


« Reply #3 - Posted 2005-05-17 14:45:02 »

The answer is YES.
There is ( a lot ) of bugs in the official release ( in fact, the one I've seen ) and so it's VERY VERY useful to grab the latest cvs.
And it's really not complicated to use cvs.
As an example, you can see the Xith Getting Started Guide : http://xith.org/tutes/GettingStarted/html/bleeding_edge_source.html#SECTION000132000000000000000

"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
Offline weston

Junior Duke





« Reply #4 - Posted 2005-05-17 20:51:49 »

ok, downloaded the latest and it seemed to fix all the problems I mentioned.

for(int i = 1; i > 0; i++)
{
System.out.println(i+" cups of java downed");
}
Offline Amos Wenger

Senior Duke




Everything's possible, but not everything's fun...


« Reply #5 - Posted 2005-05-18 14:12:18 »

Nice to hear that...

"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
Offline ewills

Junior Duke




Java skeletal animation systems rock!


« Reply #6 - Posted 2005-05-18 14:21:41 »

When will the next release be?  It seems like new users are much more likely to download an official version than the CVS.
Offline NewbTon

Junior Duke




Odejava games rock!


« Reply #7 - Posted 2005-05-20 10:25:29 »

Quote
I have to admit that I havn't actually seen much example code for using odejava, so much of what I've done has been guesswork. Although my program is (mostly) working as expected on my computer, it seems to behave differently on other people's computers. The first person I had test my program reported that the objects bounced again after they had lay at rest (doesn't do this at all on my computer). The second person I had test the program reported a crash in native code at this point: org.odejava.collision.JavaCollision.collide(Lorg/odejava/Space;)V+51
This happens before/as the window is displayed. I've never experienced a crash on my computer.

Both of these computers were running windows xp with around 2ghz intel processors. I don't really know what else to say about the crashes since I've given all the info I have...

I am running the latest official release although it seems commonly recommended to run the latest from cvs. I will download the latest from cvs if I have to, but its not really any small task as I've never used cvs or ant and don't have a java.net account Sad

I do have several other questions, but Its far too late to ask them correctly so I'll wait until morning.

edit: tpyos

Crashes on Windows is often because you need to increase the stacksize when you run ODE.
You do that by adding -xss10mb  as runtime parameter. Thats 10 mb in stacksize, I believe ODE has 128 kb as default so any  world with more than 9 boxes would  probably crash it.

I had the same problems but this fixed it. It's quite strange that this information is nowhere to be found since everyone will get this error sooner or later and will get many grey hair in the process.
Offline William Denniss

JGO Coder


Projects: 2


Fire at will


« Reply #8 - Posted 2005-05-20 22:50:10 »

Quote
When will the next release be?  It seems like new users are much more likely to download an official version than the CVS.


Give me 24 hours.

Will.

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Longarmx (52 views)
2014-10-17 03:59:02

Norakomi (44 views)
2014-10-16 15:22:06

Norakomi (34 views)
2014-10-16 15:20:20

lcass (38 views)
2014-10-15 16:18:58

TehJavaDev (68 views)
2014-10-14 00:39:48

TehJavaDev (68 views)
2014-10-14 00:35:47

TehJavaDev (60 views)
2014-10-14 00:32:37

BurntPizza (73 views)
2014-10-11 23:24:42

BurntPizza (45 views)
2014-10-11 23:10:45

BurntPizza (86 views)
2014-10-11 22:30:10
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!