Saturday, 23 February 2008

Skills under tuning

The screen for skill tuning of char creation is nearing its completion. Much hacking of UI elements and some tweaking of the underlying class hierarchy of skills, persons and professions were executed. Also I patched up my Eclipse IDE to prevent crashes, and decided to switch back to AMD64 bit JVM 1.5, using 1.6 resulted in often crashes with Eclipse. Otherwise I run the game with JVM 1.6 with no problems, so I recommend you to use 1.6 although game runs with Sun JVM 1.5 too.

One more important thing to mention is that I've begun to use the new language utility + language.properties more accentuated. Still many labels are hardcoded in Java, but I plan to support multilingual interface with the possibility to use localized language.properties later.

7 comments:

bri (dragonbait) said...

I finally got around to testing version 20080203 but it seems an error prevents me from starting the program. I've tried the different view/speed settings but to no avail.

Paul said...

Hello!
Could you be a bit more specific? What kind of error, what log etc.. Thanks! :)

bri (dragonbait) said...

Is there a way to pause the black startup screen that contains the text? It indicates that it is unable to find.....i think an image file, but I can't tell since the screen closes out before I'm able to read what it says.

bri (dragonbait) said...

nevermind. here's what it says.

Warning: Unable to locate: ./data/sky/day/top.jpg

bri (dragonbait) said...

!!!!!!!!!! VIEW POS: 40
Feb 24, 2008 8:17:21 AM com.jme.util.resource.ResourceLocatorTool locateResource

WARNING: Unable to locate: ./data/sky/day/top.jpg
Feb 24, 2008 8:17:22 AM com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNING: Attempted to apply texture with size that is not power of 2: 1600 x 147

Feb 24, 2008 8:18:42 AM com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNING: Rescaling image to 2048 x 128 !!!
Feb 24, 2008 8:18:42 AM com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNING: Attempted to apply texture with size that is not power of 2: 10 x 10
Feb 24, 2008 8:18:42 AM com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNING: Rescaling image to 8 x 8 !!!
Feb 24, 2008 8:18:42 AM com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNING: Attempted to apply texture with size that is not power of 2: 10 x 10
Feb 24, 2008 8:18:42 AM com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNING: Rescaling image to 8 x 8 !!!
Feb 24, 2008 8:18:42 AM com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNING: Attempted to apply texture with size that is not power of 2: 10 x 10
Feb 24, 2008 8:18:42 AM com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNING: Rescaling image to 8 x 8 !!!
Feb 24, 2008 8:18:42 AM com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNING: Attempted to apply texture with size that is not power of 2: 200 x 200
Feb 24, 2008 8:18:42 AM com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNING: Rescaling image to 256 x 256 !!!
Feb 24, 2008 8:18:42 AM com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNING: Attempted to apply texture with size that is not power of 2: 200 x 200
Feb 24, 2008 8:18:42 AM com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNING: Rescaling image to 256 x 256 !!!
Feb 24, 2008 8:18:42 AM com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNING: Attempted to apply texture with size that is not power of 2: 200 x 200
Feb 24, 2008 8:18:42 AM com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNING: Rescaling image to 256 x 256 !!!
Feb 24, 2008 8:18:42 AM com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNING: Attempted to apply texture with size that is not power of 2: 108 x 112
Feb 24, 2008 8:18:42 AM com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNING: Rescaling image to 128 x 128 !!!

bri (dragonbait) said...

here's the full readout


C:\jcrpg\jcrpg-20080203>java -Xmx150m -Djava.library.path=./lib -cp ./lib/lwjgl.
jar;./lib/jogg-0.0.5.jar;./lib/jorbis-0.0.12.jar;./jme/jme.jar;./jme/jme-awt.jar
;./jme/jme-effects.jar;./jme/jme-model.jar;./jme/jme-sound.jar;./jme/jme-terrain
.jar;./lib/md5r2.jar;./bin org.jcrpg.apps.Jcrpg
ENGINE STARTED
WZ = 10 CLIZ = 0
DIFF = 10
CLIMATE: Arctic
CLIMATE: Continental
CLIMATE: Desert
CLIMATE: Tropical
CLIMATE: Tropical
CLIMATE: Desert
CLIMATE: Continental
CLIMATE: Arctic
MOUNTAIN SIZE = 0 --- 1 - 0
--- 10 - 10 = 100
MOUNTAIN SIZE = 2 --- 1 - 0
(gWX*gWY*gWZ)/8=25
MOUNTAIN SIZE = 0 --- 1 - 0
(gWX*gWY*gWZ)/8=25
MOUNTAIN SIZE = 3 --- 1 - 0
(gWX*gWY*gWZ)/8=25
MOUNTAIN SIZE = 0 --- 1 - 0
(gWX*gWY*gWZ)/8=25
(gWX*gWY*gWZ*4)/8=100
MOUNTAIN SIZE = 2 --- 1 - 1
(gWX*gWY*gWZ)/8=25
ADDITIONAL GEO:Cave Add
AlgoAdd: ADDING GEO...0 5
AlgoAdd: ADDING GEO...2 0
AlgoAdd: ADDING GEO...2 5
AlgoAdd: ADDING GEO...3 0
AlgoAdd: ADDING GEO...3 3
AlgoAdd: ADDING GEO...3 5
AlgoAdd: ADDING GEO...3 6
AlgoAdd: ADDING GEO...3 9
AlgoAdd: ADDING GEO...4 0
AlgoAdd: ADDING GEO...4 3
AlgoAdd: ADDING GEO...4 8
AlgoAdd: ADDING GEO...4 9
AlgoAdd: ADDING GEO...6 9
AlgoAdd: ADDING GEO...7 3
AlgoAdd: ADDING GEO...7 7
AlgoAdd: ADDING GEO...8 2
AlgoAdd: ADDING GEO...8 9
ADDITIONAL GEO:River Flow
STARTING A FLOW...2 5
STARTING A FLOW...3 0
STARTING A FLOW...3 6
FLOWING : 0 cx, cz: 4 6
FLOWING : 0 cx, cz: 5 6
FLOWING : 0 cx, cz: 6 6
FLOWING : 0 cx, cz: 7 6
FLOWING : 0 cx, cz: 8 6
STARTING A FLOW...4 8
FLOWING : 0 cx, cz: 5 8
.....W..W.
.WW.......
WW...WWW.W
WWW...W.W.
W.W..WWWW.
.....W.WW.
W...!!!!!W
.....W..W.
W....!..WW
.......W.W
!!!!!!!!!! VIEW POS: 40
Feb 24, 2008 8:23:28 AM com.jme.util.resource.ResourceLocatorTool locateResource

WARNING: Unable to locate: ./data/sky/day/top.jpg
Feb 24, 2008 8:23:29 AM com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNING: Attempted to apply texture with size that is not power of 2: 1600 x 147

Feb 24, 2008 8:23:29 AM com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNING: Rescaling image to 2048 x 128 !!!
Feb 24, 2008 8:23:29 AM com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNING: Attempted to apply texture with size that is not power of 2: 10 x 10
Feb 24, 2008 8:23:29 AM com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNING: Rescaling image to 8 x 8 !!!
Feb 24, 2008 8:23:29 AM com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNING: Attempted to apply texture with size that is not power of 2: 10 x 10
Feb 24, 2008 8:23:29 AM com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNING: Rescaling image to 8 x 8 !!!
Feb 24, 2008 8:23:29 AM com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNING: Attempted to apply texture with size that is not power of 2: 10 x 10
Feb 24, 2008 8:23:29 AM com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNING: Rescaling image to 8 x 8 !!!
Feb 24, 2008 8:23:29 AM com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNING: Attempted to apply texture with size that is not power of 2: 200 x 200
Feb 24, 2008 8:23:29 AM com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNING: Rescaling image to 256 x 256 !!!
Feb 24, 2008 8:23:29 AM com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNING: Attempted to apply texture with size that is not power of 2: 200 x 200
Feb 24, 2008 8:23:29 AM com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNING: Rescaling image to 256 x 256 !!!
Feb 24, 2008 8:23:29 AM com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNING: Attempted to apply texture with size that is not power of 2: 200 x 200
Feb 24, 2008 8:23:29 AM com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNING: Rescaling image to 256 x 256 !!!
Feb 24, 2008 8:23:29 AM com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNING: Attempted to apply texture with size that is not power of 2: 108 x 112
Feb 24, 2008 8:23:29 AM com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNING: Rescaling image to 128 x 128 !!!
**** RENDER ****
- org.jcrpg.world.climate.impl.tropical.Tropical@115126e
- org.jcrpg.world.climate.impl.continental.Summer@6d2380
org.jcrpg.world.climate.impl.generic.Day@135b1f3
1-RSTAT = N0 A0 R0 -- time: 0
!!!! REMOVABLE CUBES = 0
1-RSTAT = N0 A0 R0 -- time: 16
getRenderedSpace size=3997
hmCurrentCubes: 0
hmCurrentCubes: 0
RSTAT = N3997 A0 R0 -- time: 94
1-RSTAT = N0 A0 R0 -- time: 0
!!!! REMOVABLE CUBES = 0
1-RSTAT = N0 A0 R0 -- time: 0
getRenderedSpace size=417
hmCurrentCubes: 0
hmCurrentCubes: 0
RSTAT = N417 A0 R0 -- time: 31
######################## LIVE NODES = 8823 --- LIVE HM QUADS 0
ModelLoader.loadTextureStates - New Texture jungle_foliage1.png
Feb 24, 2008 8:23:31 AM class org.jcrpg.threed.J3DCore start()
SEVERE: Exception in game loop
java.lang.NoClassDefFoundError: org/jcrpg/threed/jme/geometryinstancing/instance
/GeometryInstanceAttributes
at org.jcrpg.threed.jme.TrimeshGeometryBatch.addItem(TrimeshGeometryBatc
h.java:209)
at org.jcrpg.threed.jme.GeometryBatchHelper.addItem(GeometryBatchHelper.
java:191)
at org.jcrpg.threed.standing.J3DStandingEngine.renderToViewPort(J3DStand
ingEngine.java:585)
at org.jcrpg.threed.standing.J3DStandingEngine.renderToViewPort(J3DStand
ingEngine.java:367)
at org.jcrpg.threed.standing.J3DStandingEngine.renderToViewPort(J3DStand
ingEngine.java:359)
at org.jcrpg.threed.J3DCore.simpleInitGame(J3DCore.java:1808)
at com.jme.app.BaseSimpleGame.initGame(Unknown Source)
at org.jcrpg.threed.J3DCore.initGame(J3DCore.java:778)
at com.jme.app.BaseGame.start(Unknown Source)
at org.jcrpg.threed.J3DCore.initCore(J3DCore.java:583)
at org.jcrpg.apps.Jcrpg.start(Jcrpg.java:106)
at org.jcrpg.apps.Jcrpg.main(Jcrpg.java:50)
ENGINE TERMINATING

Paul said...

Something went wrong while you decompressed it I think. it says it cannot find a class, that is in the archive for sure. :S ./bin/org/jcrpg/threed/jme/geometryinstancing/instance

this is where it should be (GeometryInstanceAttributes.class GeometryInstance.class)

Twitter