For anyone interested, I have been developing an RPG Toolset for creating 3D role-playing games. At this point there’s really not much to it, but I went ahead and released an initial beta version. The main interface is mostly finished, and includes a map editor with a few resources for creating a map. You can check out the release notes on the website below for more detailed information. Also, I am considering switching from Xith3D over to the jMonkey Engine, as I think it will make certain things easier to implement and will improve the overall performance. Feel free to play around with it and let me know your thoughts and any bugs you come across… Thanks!
I get errors when trying to run it. The startup screen freezes on “Initializing UI” and there is an error in error log:
net.zeromatrix.rpg.toolset.mapeditor.TileSelectionPanel.(TileSelectionPanel.java:51)
net.zeromatrix.rpg.toolset.MapEditor.createPanels(MapEditor.java:911)
net.zeromatrix.rpg.toolset.MapEditor.(MapEditor.java:261)
net.zeromatrix.rpg.toolset.GUI.(GUI.java:766)
net.zeromatrix.rpg.toolset.RPGToolset.main(RPGToolset.java:26)
I’ll take a look into this and see what I can find… Which version of JRE are you running?
java version “1.5.0_07”
Java™ 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
Java HotSpot™ Client VM (build 1.5.0_07-b03, mixed mode, sharing)
The error seems to be happening when it’s setting up a combo box for the Tile Selection panel, not sure why it’s happening for you, though. I added a couple of null checks, download the JAR file below and replace it with the one in your installation folder and see if that helps:
same error
Strange… Try getting the “rpgtoolset.jar” file again (same link, I made a few changes and replaced it). I think it’s happening where I’m actually modifying the arrow button for the combo box. I’m running jre1.5.0_06, don’t think there would be a difference between 06 and 07. I also changed the log method so it should put the type of Exception in there too. Let me know if it works…
thank you it works now.
for your debugging the error log now contains:
java.lang.ClassCastException
net.zeromatrix.rpg.toolset.GUI.showNewMapDialog(GUI.java:2022)
net.zeromatrix.rpg.toolset.GUI.actionPerformed(GUI.java:1598)
javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
javax.swing.DefaultButtonModel.setPressed(Unknown Source)
javax.swing.AbstractButton.doClick(Unknown Source)
javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
java.awt.Component.processMouseEvent(Unknown Source)
javax.swing.JComponent.processMouseEvent(Unknown Source)
java.awt.Component.processEvent(Unknown Source)
java.awt.Container.processEvent(Unknown Source)
java.awt.Component.dispatchEventImpl(Unknown Source)
java.awt.Container.dispatchEventImpl(Unknown Source)
java.awt.Component.dispatchEvent(Unknown Source)
java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
java.awt.Container.dispatchEventImpl(Unknown Source)
java.awt.Component.dispatchEvent(Unknown Source)
java.awt.EventQueue.dispatchEvent(Unknown Source)
java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
java.awt.EventDispatchThread.pumpEvents(Unknown Source)
java.awt.EventDispatchThread.pumpEvents(Unknown Source)
java.awt.EventDispatchThread.run(Unknown Source)