|
From: JIRA (f. D. R. B. ) <ji...@pc...> - 2011-07-13 18:41:05
|
Biosettings do not allow decimal values
---------------------------------------
Key: CODE-879
URL: http://jira.pcgen.org/browse/CODE-879
Project: Code
Issue Type: New Feature
Components: Needs Verification Review
Reporter: David R. Bender
SF - ID: 1721289
Last Update: Settings changed ( thpr )
Details:
> > Hi,
> >
> > First, I thought I'd let you know that I love the program. I am
> starting to
> > get my feet wet in LST file creation.
> >
> > I have encountered a problem in the BIOSETTINGS file.
> >
> > It handles whole numbers without any problems, but if you are using the
> > Metric system everything is in metres and uses decimals.
> >
> > As a related problem, the HTDIEROLL and WTDIEROLL are a bit limited
> when you
> > are trying to cater for a metric system.
> >
> > Am I missing something or is this really an issue.
> >
> > Thanks
> >
> > <java.lang.NumberFormatException: For input string: "1.2"
> > at java.lang.NumberFormatException.forInputString(Unknown Source)
> > at java.lang.Integer.parseInt(Unknown Source)
> > at java.lang.Integer.parseInt(Unknown Source)
> > at pcgen.core.BioSet.generateHeightWeight(BioSet.java:818)
> > at pcgen.core.BioSet.randomize(BioSet.java:404)
> > at pcgen.core.PlayerCharacter.setRace(PlayerCharacter.java:5729)
> > at pcgen.gui.tabs.InfoRaces.selButton(InfoRaces.java:780)
> > at pcgen.gui.tabs.InfoRaces.access$200(InfoRaces.java:115)
> > at pcgen.gui.tabs.InfoRaces$5.actionPerformed(InfoRaces.java:550)
> > at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
> > at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
> > at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
> > at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
> > at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
> Source)
> > at java.awt.Component.processMouseEvent(Unknown Source)
> > at javax.swing.JComponent.processMouseEvent(Unknown Source)
> > at java.awt.Component.processEvent(Unknown Source)
> > at java.awt.Container.processEvent(Unknown Source)
> > at java.awt.Component.dispatchEventImpl(Unknown Source)
> > at java.awt.Container.dispatchEventImpl(Unknown Source)
> > at java.awt.Component.dispatchEvent(Unknown Source)
> > at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
> > at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
> > at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
> > at java.awt.Container.dispatchEventImpl(Unknown Source)
> > at java.awt.Window.dispatchEventImpl(Unknown Source)
> > at java.awt.Component.dispatchEvent(Unknown Source)
> > at java.awt.EventQueue.dispatchEvent(Unknown Source)
> > at pcgen.gui.PCGen_Frame1$WaitCursorEventQueue.dispatchEvent
> > (PCGen_Frame1.java:3153)
> > at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
> Source)
> > at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
> > at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> > at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> > at java.awt.EventDispatchThread.run(Unknown Source)
> >
> java.awt.event.MouseEvent[MOUSE_RELEASED,(809,691),button=1,modifiers=Button1,clickCount=1]
> > on frame0
> > >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
Submitted:
Martijn Verburg ( karianna ) - 2007-05-18 08:56:45 EDT
Priority:
Status:
Resolution:
Tracker:
Assigned:
(admin)
Category:
(admin)
Group:
(admin)
Visibility:
Private
Response:
(admin)
Comment:
Comment ( 1 )
Add a comment
Date: 2007-05-23 06:46:10 EDT
Sender: jdempseyProject Admin & Donor
Hide
Biosets have not been coded to cope with decimals. This is a new feature
request that is, unfortunately, beyond the scope of 5.12.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.pcgen.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|