any abeille experts?

Discussion of your thoughts & requests, help for users and game specific configuration files for Character Tool

Moderators: dorpond, Azhrei

Post Reply
snex
Kobold
Posts: 17
Joined: Sat Dec 29, 2007 6:01 pm
Location: Chicago

any abeille experts?

Post by snex »

hey i hope you dont mind me asking here, since the abeille forums are pretty much non-existent. i am trying to take the 3.5 char sheet and insert it into a tab control.

the idea is to have the char sheet as it is on the first tab, the second tab for equipment, third for feats, fourth for spells, etc.

however i cant seem to get the form into a tab and still have it work. i tried copy-paste but all that does is create a link to the original form, which chartool doesnt seem to support. i ended up dragging everything manually, but now ive lost the pretty formatting.

does anybody know of a way to just get the stuff into a tab without changing formatting and not creating a linked form? thanks.

User avatar
jay
RPTools Team
Posts: 1767
Joined: Tue Feb 07, 2006 1:07 am
Location: Austin, Tx

Post by jay »

CT will allow internal forms to be references. But you have to set up Abeille correctly first. It requires you to unzip the game settings file and then adding the directory to the source. You do this by selecting Tools->Project Settings from the menu and then pressing the Add Path button. Add the directory where you unzipped the game settings file and then you will be able to reference any other forms (or images) in that zip file when you run CT.

snex
Kobold
Posts: 17
Joined: Sat Dec 29, 2007 6:01 pm
Location: Chicago

Post by snex »

not sure what im doing wrong here, but that does not seem to be working.

when i run CT, in the area where the original form should be, it just says "Error: D20Editable.jfrm"

and there is also a java exception:

FormManagerUtils.openPackgedForm failed: d20Editable.jfrm
java.io.IOException: Stream closed
at java.io.BufferedInputStream.getInIfOpen(BufferedInputStream.java:134)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
at java.io.FilterInputStream.read(FilterInputStream.java:90)
at com.jeta.forms.gui.formmgr.FormManagerUtils.loadForm(Unknown Source)
at com.jeta.forms.gui.formmgr.FormManagerUtils.openPackagedForm(Unknown Source)
at com.jeta.forms.gui.form.FormComponent.openLinkedForm(Unknown Source)
at com.jeta.forms.gui.form.FormComponent.setState(Unknown Source)
at com.jeta.forms.store.properties.TabbedPaneProperties.updateBean(Unknown Source)
at com.jeta.forms.gui.beans.DynamicPropertyDescriptor.setPropertyValue(Unknown Source)
at com.jeta.forms.store.bean.DefaultBeanDeserializer.initializeBean(Unknown Source)
at com.jeta.forms.gui.beans.JETABean.setState(Unknown Source)
at com.jeta.forms.gui.beans.JETABean.setState(Unknown Source)
at com.jeta.forms.gui.form.StandardComponent.setState(Unknown Source)
at com.jeta.forms.gui.form.FormComponent.setState(Unknown Source)
at com.jeta.forms.gui.formmgr.FormManagerUtils.openForm(Unknown Source)
at com.jeta.forms.components.panel.FormPanel.<init>(Unknown Source)
at net.rptools.chartool.ui.charsheet.CharSheetController.construct(CharSheetController.java:196)
at net.rptools.chartool.ui.charsheet.CharSheetController.<init>(CharSheetController.java:136)
at net.rptools.chartool.ui.CharacterTab.displayViewPane(CharacterTab.java:186)
at net.rptools.chartool.ui.CharacterTab.setCharacterSheet(CharacterTab.java:357)
at net.rptools.chartool.ui.CharToolFrame.stateChanged(CharToolFrame.java:447)
at javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:116)
at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:50)
at javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:599)
at javax.swing.JTabbedPane.setSelectedIndex(JTabbedPane.java:574)
at javax.swing.JTabbedPane.insertTab(JTabbedPane.java:708)
at javax.swing.JTabbedPane.addTab(JTabbedPane.java:775)
at net.rptools.chartool.ui.CharacterTab.createTab(CharacterTab.java:162)
at net.rptools.chartool.ui.CharToolFrame.newTab(CharToolFrame.java:301)
at net.rptools.chartool.ui.CharToolFrame$2.run(CharToolFrame.java:189)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Aug 14, 2008 7:41:27 PM com.jeta.forms.logger.FormsLogger severe
SEVERE: java.io.IOException: Stream closed
at java.io.BufferedInputStream.getInIfOpen(BufferedInputStream.java:134)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
at java.io.FilterInputStream.read(FilterInputStream.java:90)
at com.jeta.forms.gui.formmgr.FormManagerUtils.loadForm(Unknown Source)
at com.jeta.forms.gui.formmgr.FormManagerUtils.openPackagedForm(Unknown Source)
at com.jeta.forms.gui.form.FormComponent.openLinkedForm(Unknown Source)
at com.jeta.forms.gui.form.FormComponent.setState(Unknown Source)
at com.jeta.forms.store.properties.TabbedPaneProperties.updateBean(Unknown Source)
at com.jeta.forms.gui.beans.DynamicPropertyDescriptor.setPropertyValue(Unknown Source)
at com.jeta.forms.store.bean.DefaultBeanDeserializer.initializeBean(Unknown Source)
at com.jeta.forms.gui.beans.JETABean.setState(Unknown Source)
at com.jeta.forms.gui.beans.JETABean.setState(Unknown Source)
at com.jeta.forms.gui.form.StandardComponent.setState(Unknown Source)
at com.jeta.forms.gui.form.FormComponent.setState(Unknown Source)
at com.jeta.forms.gui.formmgr.FormManagerUtils.openForm(Unknown Source)
at com.jeta.forms.components.panel.FormPanel.<init>(Unknown Source)
at net.rptools.chartool.ui.charsheet.CharSheetController.construct(CharSheetController.java:196)
at net.rptools.chartool.ui.charsheet.CharSheetController.<init>(CharSheetController.java:136)
at net.rptools.chartool.ui.CharacterTab.displayViewPane(CharacterTab.java:186)
at net.rptools.chartool.ui.CharacterTab.setCharacterSheet(CharacterTab.java:357)
at net.rptools.chartool.ui.CharToolFrame.stateChanged(CharToolFrame.java:447)
at javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:116)
at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:50)
at javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:599)
at javax.swing.JTabbedPane.setSelectedIndex(JTabbedPane.java:574)
at javax.swing.JTabbedPane.insertTab(JTabbedPane.java:708)
at javax.swing.JTabbedPane.addTab(JTabbedPane.java:775)
at net.rptools.chartool.ui.CharacterTab.createTab(CharacterTab.java:162)
at net.rptools.chartool.ui.CharToolFrame.newTab(CharToolFrame.java:301)
at net.rptools.chartool.ui.CharToolFrame$2.run(CharToolFrame.java:189)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

User avatar
jay
RPTools Team
Posts: 1767
Joined: Tue Feb 07, 2006 1:07 am
Location: Austin, Tx

Post by jay »

When you add the path to Abeille you should add the directory where you unzipped the game settings file and not the forms directory. So when you reference the form it would show up as form/d20Editable.jfrm instead of d20Editable.jfrm. Or at least I think that is what the problem is.

snex
Kobold
Posts: 17
Joined: Sat Dec 29, 2007 6:01 pm
Location: Chicago

Post by snex »

yep, tried that. no matter what i put in there i get the same symptoms. do i have to modify any of the XML files?

User avatar
jay
RPTools Team
Posts: 1767
Joined: Tue Feb 07, 2006 1:07 am
Location: Austin, Tx

Post by jay »

Nope. I'm not sure what's wrong now. You can see how I did that same thing here: http://gallery.rptools.net/v/contrib/ja ... pgame.html The form that you want is forms/combined.jfrm. It references four other forms in that same zip file.

Post Reply

Return to “CharacterTool”