Yet Another ORPG Project

So are you saying GLSL runs in software mode on your mac? I guess that means your driver exposes the extension. Either way it doesn't work any better on my PC…

Yes, it exposes GLSL but it's really useless with the performance achieved. But this is a threab about hevee's game so I'll keep from talking about this subject…:slight_smile:

I am in a AMD_64 (with a Java VM x86 though) My chipset is GeForce (nVidia), and the sound card is detected as CK804 AC'97 Audio Controller using snd-intel8x0 kernel driver… I am using both, OSS and ALSA for sound system. The sound tests of jME seem to work just fine.

can't seem to download the zip :frowning:

There seem to be problems with my webspace account. I'll try and have that fixed ASAP, sorry for the inconvenience!

Works fine here…34 fps.

Totally forgot about this post… Where can I download it? url in the startpost doesnt work :frowning:

Darklord said:
Totally forgot about this post... Where can I download it? url in the startpost doesnt work :(


Same here. The link is broken.

I'll have that fixed some time this week, didn't have the time to take care of that earlier. Sorry! But I had plenty of time to work on the game, so once the link's up again be sure to check it out :slight_smile:

New version up, and link fixed. Tell me what you think!





Oh, and btw, known bugs:

More than you could possibly imagine :smiley:

But here’s a list of the most obvious ones that I haven’t bothered to fix yet:


  • weapons still fly around a lot on low framerates
  • sound does not play on low framerates
  • weapons don't have textures
  • player can cast spells when out of mana
  • speed buff stacks unlimited times
  • GUI flickers after repaints
  • no floating health numbers when bloom is on
hevee said:

Requirements:
Java 5 [...]

(Java scripting api is also required, so if you don't have java 6, you might have to wait until I have a version with proper scripting support for 2.5 in place. Thanks to duenez for pointing that out!)


So, should I have Java 6 or Java 5?

Ehm! This demo is making me fear that jME is not good for Mac.



Mac Pro 4 Core * 2 CPU Intel, 4 GB RAM,  ATI Radeon X1900 XT with 512 MB VRAM, SATA HD 500 GB * 2… Mac OS X Tiger 10.4.11, Java 1.5… and it was unplayable, 7 FPS windowed mode and 5 FPS fullscreen mode. Moreover there was no input reaction, neither the keyboard or the mouse… sorry the mouse cursor was moving but I was unable to move the character.

I post the log, I hope that can be usefull…



Some warning are in Italian… AVVERTENZA means WARNING… "Tabella non trovata" means "Table not found"



Oh! And I have tested only the "single user" mode.



Windowed Mode

[TopLink Warning]: 2007.12.23 02:39:29.060--ServerSession(10898066)--Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build b58g-fcs (09/07/2007))): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Tabella non trovata: INVENTORY in statement [DROP TABLE INVENTORY]
Error Code: -22
Call: DROP TABLE INVENTORY
Query: DataModifyQuery()
[TopLink Warning]: 2007.12.23 02:39:29.072--ServerSession(10898066)--Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build b58g-fcs (09/07/2007))): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Tabella non trovata: AFFECTABLEOBJECT_SKILL in statement [DROP TABLE AFFECTABLEOBJECT_SKILL]
Error Code: -22
Call: DROP TABLE AFFECTABLEOBJECT_SKILL
Query: DataModifyQuery()
[TopLink Warning]: 2007.12.23 02:39:29.073--ServerSession(10898066)--Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build b58g-fcs (09/07/2007))): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Tabella non trovata: EFFECT in statement [DROP TABLE EFFECT]
Error Code: -22
Call: DROP TABLE EFFECT
Query: DataModifyQuery()
[TopLink Warning]: 2007.12.23 02:39:29.073--ServerSession(10898066)--Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build b58g-fcs (09/07/2007))): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Tabella non trovata: SKILL in statement [DROP TABLE SKILL]
Error Code: -22
Call: DROP TABLE SKILL
Query: DataModifyQuery()
[TopLink Warning]: 2007.12.23 02:39:29.074--ServerSession(10898066)--Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build b58g-fcs (09/07/2007))): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Tabella non trovata: PLAYERCOOLDOWNS in statement [DROP TABLE PLAYERCOOLDOWNS]
Error Code: -22
Call: DROP TABLE PLAYERCOOLDOWNS
Query: DataModifyQuery()
[TopLink Warning]: 2007.12.23 02:39:29.074--ServerSession(10898066)--Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build b58g-fcs (09/07/2007))): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Tabella non trovata: AFFECTABLEOBJECT_EFFECTINSTANCE in statement [DROP TABLE AFFECTABLEOBJECT_EFFECTINSTANCE]
Error Code: -22
Call: DROP TABLE AFFECTABLEOBJECT_EFFECTINSTANCE
Query: DataModifyQuery()
[TopLink Warning]: 2007.12.23 02:39:29.075--ServerSession(10898066)--Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build b58g-fcs (09/07/2007))): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Tabella non trovata: INVENTORY_INVENTORYOBJECT in statement [DROP TABLE INVENTORY_INVENTORYOBJECT]
Error Code: -22
Call: DROP TABLE INVENTORY_INVENTORYOBJECT
Query: DataModifyQuery()
[TopLink Warning]: 2007.12.23 02:39:29.076--ServerSession(10898066)--Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build b58g-fcs (09/07/2007))): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Tabella non trovata: INVENTORYOBJECT in statement [DROP TABLE INVENTORYOBJECT]
Error Code: -22
Call: DROP TABLE INVENTORYOBJECT
Query: DataModifyQuery()
[TopLink Warning]: 2007.12.23 02:39:29.080--ServerSession(10898066)--Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build b58g-fcs (09/07/2007))): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Tabella non trovata: INVENTORYOBJECT_MACTION in statement [DROP TABLE INVENTORYOBJECT_MACTION]
Error Code: -22
Call: DROP TABLE INVENTORYOBJECT_MACTION
Query: DataModifyQuery()
[TopLink Warning]: 2007.12.23 02:39:29.082--ServerSession(10898066)--Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build b58g-fcs (09/07/2007))): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Tabella non trovata: EFFECTINSTANCE in statement [DROP TABLE EFFECTINSTANCE]
Error Code: -22
Call: DROP TABLE EFFECTINSTANCE
Query: DataModifyQuery()
[TopLink Warning]: 2007.12.23 02:39:29.084--ServerSession(10898066)--Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build b58g-fcs (09/07/2007))): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Tabella non trovata: PARTY in statement [DROP TABLE PARTY]
Error Code: -22
Call: DROP TABLE PARTY
Query: DataModifyQuery()
[TopLink Warning]: 2007.12.23 02:39:29.085--ServerSession(10898066)--Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build b58g-fcs (09/07/2007))): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Tabella non trovata: EQUIPMENT in statement [DROP TABLE EQUIPMENT]
Error Code: -22
Call: DROP TABLE EQUIPMENT
Query: DataModifyQuery()
[TopLink Warning]: 2007.12.23 02:39:29.086--ServerSession(10898066)--Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build b58g-fcs (09/07/2007))): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Tabella non trovata: MACTION_EFFECT in statement [DROP TABLE MACTION_EFFECT]
Error Code: -22
Call: DROP TABLE MACTION_EFFECT
Query: DataModifyQuery()
[TopLink Warning]: 2007.12.23 02:39:29.086--ServerSession(10898066)--Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build b58g-fcs (09/07/2007))): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Tabella non trovata: AFFECTABLEOBJECT in statement [DROP TABLE AFFECTABLEOBJECT]
Error Code: -22
Call: DROP TABLE AFFECTABLEOBJECT
Query: DataModifyQuery()
[TopLink Warning]: 2007.12.23 02:39:29.087--ServerSession(10898066)--Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build b58g-fcs (09/07/2007))): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Tabella non trovata: MACTION in statement [DROP TABLE MACTION]
Error Code: -22
Call: DROP TABLE MACTION
Query: DataModifyQuery()
[TopLink Warning]: 2007.12.23 02:39:29.088--ServerSession(10898066)--Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build b58g-fcs (09/07/2007))): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Tabella non trovata: INVENTORYOBJECT_EFFECT in statement [DROP TABLE INVENTORYOBJECT_EFFECT]
Error Code: -22
Call: DROP TABLE INVENTORYOBJECT_EFFECT
Query: DataModifyQuery()
WARNING: can't read any configuration for JGN-logging
2007-12-23 14:39:29.174::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
2007-12-23 14:39:29.202::INFO:  jetty-6.0.1
2007-12-23 14:39:29.228::INFO:  Started SocketConnector @ 0.0.0.0:8080
23-dic-2007 14.39.29 common.Logging info
INFO: Server admin http frontend started
23-dic-2007 14.39.29 common.Logging info
INFO: Found Ports 3300 and 3301
23-dic-2007 14.39.29 com.jme.system.PropertiesIO load
AVVERTENZA: Could not load properties. Creating a new one.
compressed! 166 166 147456
23-dic-2007 14.39.34 common.Logging info
INFO: Found Ports 3300 and 3301
23-dic-2007 14.39.34 common.Logging debug
INFO: connecting client
23-dic-2007 14.39.35 common.Logging info
INFO: Player Player not found, creating new!
23-dic-2007 14.39.35 common.Logging debug
INFO: connected!
23-dic-2007 14.39.35 common.Logging debug
INFO: setupClient returned, setting up player + desktop
23-dic-2007 14.39.35 common.Logging info
INFO: Player Mob12899254 not found, creating new!
23-dic-2007 14.39.35 common.Logging info
INFO: Player Mob11790512 not found, creating new!
23-dic-2007 14.39.36 com.jme.util.resource.ResourceLocatorTool locateResource
AVVERTENZA: Unable to locate: weapon.dagger.dds
23-dic-2007 14.39.36 com.jme.util.TextureManager loadTexture
AVVERTENZA: Could not load image...  URL was null. defaultTexture used.
23-dic-2007 14.39.36 com.jme.util.resource.ResourceLocatorTool locateResource
AVVERTENZA: Unable to locate: weapon.dagger.dds
23-dic-2007 14.39.36 com.jme.util.TextureManager loadTexture
AVVERTENZA: Could not load image...  URL was null. defaultTexture used.
23-dic-2007 14.39.36 common.Logging debug
INFO: setupPlayer returned
23-dic-2007 14.39.36 common.Logging debug
INFO: setupJDesktop returned
23-dic-2007 14.39.37 common.Logging debug
INFO: jmeDesktop inited
23-dic-2007 14.39.37 common.Logging debug
INFO: setting up passes
23-dic-2007 14.39.37 common.Logging debug
INFO: passes set up
23-dic-2007 14.39.37 common.Logging debug
INFO: effects set up
23-dic-2007 14.39.37 com.jme.util.resource.ResourceLocatorTool locateResource
AVVERTENZA: Unable to locate: weapon.dagger.dds
23-dic-2007 14.39.37 com.jme.util.TextureManager loadTexture
AVVERTENZA: Could not load image...  URL was null. defaultTexture used.



Fullscreen Mode

[TopLink Warning]: 2007.12.23 02:42:17.514--ServerSession(8223745)--Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build b58g-fcs (09/07/2007))): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Tabella gi? esistente: SEQUENCE in statement [CREATE TABLE SEQUENCE]
Error Code: -21
Call: CREATE TABLE SEQUENCE (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT NUMERIC(38), PRIMARY KEY (SEQ_NAME))
Query: DataModifyQuery()
WARNING: can't read any configuration for JGN-logging
2007-12-23 14:42:17.603::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
2007-12-23 14:42:17.631::INFO:  jetty-6.0.1
2007-12-23 14:42:17.656::INFO:  Started SocketConnector @ 0.0.0.0:8080
23-dic-2007 14.42.17 common.Logging info
INFO: Server admin http frontend started
23-dic-2007 14.42.17 common.Logging info
INFO: Found Ports 3300 and 3301
compressed! 166 166 147456
23-dic-2007 14.42.18 common.Logging info
INFO: Found Ports 3300 and 3301
23-dic-2007 14.42.18 common.Logging debug
INFO: connecting client
23-dic-2007 14.42.19 common.Logging info
INFO: Player Player not found, creating new!
23-dic-2007 14.42.19 common.Logging debug
INFO: connected!
23-dic-2007 14.42.19 common.Logging debug
INFO: setupClient returned, setting up player + desktop
23-dic-2007 14.42.19 common.Logging info
INFO: Player Mob9761512 not found, creating new!
23-dic-2007 14.42.19 common.Logging info
INFO: Player Mob13488173 not found, creating new!
23-dic-2007 14.42.20 com.jme.util.resource.ResourceLocatorTool locateResource
AVVERTENZA: Unable to locate: weapon.dagger.dds
23-dic-2007 14.42.20 com.jme.util.TextureManager loadTexture
AVVERTENZA: Could not load image...  URL was null. defaultTexture used.
23-dic-2007 14.42.20 com.jme.util.resource.ResourceLocatorTool locateResource
AVVERTENZA: Unable to locate: weapon.dagger.dds
23-dic-2007 14.42.20 com.jme.util.TextureManager loadTexture
AVVERTENZA: Could not load image...  URL was null. defaultTexture used.
23-dic-2007 14.42.20 common.Logging debug
INFO: setupPlayer returned
23-dic-2007 14.42.20 common.Logging debug
INFO: setupJDesktop returned
23-dic-2007 14.42.20 common.Logging debug
INFO: jmeDesktop inited
23-dic-2007 14.42.20 common.Logging debug
INFO: setting up passes
23-dic-2007 14.42.20 common.Logging debug
INFO: passes set up
23-dic-2007 14.42.20 common.Logging debug
INFO: effects set up
23-dic-2007 14.42.21 com.jme.util.resource.ResourceLocatorTool locateResource
AVVERTENZA: Unable to locate: weapon.dagger.dds
23-dic-2007 14.42.21 com.jme.util.TextureManager loadTexture
AVVERTENZA: Could not load image...  URL was null. defaultTexture used.
23-dic-2007 14.42.51 common.Logging exception
AVVERTENZA: null
java.lang.NullPointerException
        at com.captiveimagination.jgn.clientserver.JGNClient.sendToServer(JGNClient.java:418)
        at networking.hnl.impl.JGN_Client.sendReliableImpl(JGN_Client.java:52)
        at networking.hnl.AbstractClient.sendReliable(AbstractClient.java:207)
        at networking.hnl.AbstractClient.requestSync(AbstractClient.java:148)
        at _main.JMEApp$1.run(JMEApp.java:327)

Hm. Apart from the NPE in JGN, the logs only display expected behavior. The JGN NPE might be due to some silent timeout caused by the bad performance.

I assume you tried it on different quality settings? For comparision, I am getting at the very least 80 fps (after the world is fully loaded), but much more often 100 to 130, on default settings. On a 1.6GHz Centrino Duo, 1G RAM, and a GeForce GO 7400 with 512M RAM, with no big difference between WinXP and Linux (nvidia's linux drivers).



Have you tried waiting until the world is fully loaded? (object/triangle count doesn't increase any more when not moving the camera) There is a hefty bunch of mutex multithreading going on during load time, I can see how that could cause problems on different OSs.



Of course the swing gui might also be the problem, tbh I was rather surprised that the game does run on mac at all, after what I've read about JMEDesktop on mac.

Maybe it could be SWING. But I don't know.



I don't know how much I should wait. How much do you need to load full world?



I tryed to sobstitute native libraries and LWJGL jars with copies of the files I have in my disk, but it does not change situation.



I also tryed to start a server and a client, but I was unable to connect… client remain black and a timeout error compare in the Terminal output. But I admit that I don't know how to configure server. I just tried an attempt.



Vertices on the scene were about 123000 and triangles were more then 50000. Meshes were about 45.



I wonder what's happening. When I usually test marine model with MD5 Reader 2 I always get about 888 FPS in windowed mode.

Ender said:

I also tryed to start a server and a client, but I was unable to connect... client remain black and a timeout error compare in the Terminal output. But I admit that I don't know how to configure server. I just tried an attempt.

Sorry, the server/client mode is not public atm.
Ender said:

Vertices on the scene were about 123000 and triangles were more then 50000. Meshes were about 45.

With the initial view you should have a mesh count of 120, so the world is definitely not fully loaded at that time. Maybe a clue to where the problem is... thank you for all your help!

Hi havee,



Finally a PC that I can test on, not mine though :).



I get this exception right after I click on Single player.



Returned null to createEntityManagerFactory.



        at javax.persistence.Persistence.createEntityManagerFactory(Persistence

java:154)

        at javax.persistence.Persistence.createEntityManagerFactory(Persistence

java:83)

        at management.EM.initEM(EM.java:46)

        at management.EM.<init>(EM.java:24)

        at management.EM.init(EM.java:33)

        at management.ClientEMTool.initClientEM(ClientEMTool.java:26)

        at _main.Singleplayer.<init>(Singleplayer.java:28)

        at _main.Singleplayer.main(Singleplayer.java:94)

        at _main.Starter.main(Starter.java:35)

WARNING: can't read any configuration for JGN-logging

2007-12-22 21:37:18.703::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog

2007-12-22 21:37:18.812::INFO:  jetty-6.0.1

2007-12-22 21:37:18.921::INFO:  Started SocketConnector @ 0.0.0.0:8080

22/12/2007 09:37:18 common.Logging info

INFO: Server admin http frontend started

22/12/2007 09:37:18 common.Logging exception

WARNING: null

java.lang.NullPointerException

        at management.PlayerManager.createEffect(PlayerManager.java:76)

        at management.PlayerManager.setupShared(PlayerManager.java:109)

        at networking.hnl.AbstractServer.start(AbstractServer.java:69)

        at _main.Singleplayer.<init>(Singleplayer.java:38)

        at _main.Singleplayer.main(Singleplayer.java:94)

        at _main.Starter.main(Starter.java:35)



The editor mode just works like charm, and can do most of the OPs, deforming terrain, painting, placing objects on it, ( It takes some time to open open file dialogs ) and seems that the PC is killed, may be just here, don't know. Also you might want to work on the models stuff, like making a simple tree model that shows all the models that have been choosen, and don't have to go and change the texture right after changing the model, just a thought. Surrounding boxes appears on the objects ( cool ), but moving them is a pain.



Great job.

About Mac, it is definitively a JMEDesktop problem. To be more precise it is something with AWT. I don't know if it is resolvable, though HelloJMEDesktop runs at 10 FPS. Clicking on the button works but in a very unpredictable way (sometimes responds immediately, sometimes it needs to be clicked once or more): this is, probably, a effect of the really slow frame rate.



I think that the same happens in your game. The high number of vertices and triangles makes the game unresponsive because of the poor frame rate.

New version available, with improved VBO usage. This helps the framerate a lot on some, but not all ATI/Windows machines.

Also new: webstartable online updater. No need to unpack zip files any more :slight_smile:



http://krabien.googlepages.com/gamepreview

Very nice!



I found a cheat: You can attack yourself and each time your hp is 0 you get 100 xp. I will be imba soon!!  }:-@