PDA

View Full Version : new .png; .xml s modified



badphantom
May 31st, 2006, 00:05
Hi there,

Maybe somone could tell me, what went wrong.

First of all i created the charsheet_main.png.
I changed the link from d20_graphics.xml to the new image as background.
As well i've set up some boxes with the new coordinates in charsheet.xml.

These 3 files i've put into a folder ( full path: /rulesets/SR/ and /frames/x.png).
When i start FG now to test it, it crashes ( seems to try to use NULL pointer ).

Are there some files missing or what?

in the directory /rulesets/SR/ : base.xml ; charsheet.xml ; d20_graphics.xml
rulesets/SR/frames : charsheet_main.png

Thanks for any suggestions

joeru
May 31st, 2006, 08:34
Did you change the windowclass name? And if you did, did you remove the old windowclass? And if so, did you remember to also change all references to the old windowclass name?

In particular, pay attention to the <subwindow> and <windowchangecontrol> tags at the end of the charsheet.xml file, if I recall correctly they kept crashing one of my sheets before I figured it out.

If you only have one page, leave one <subwindow> tag, change the class to your <windowclass> name and remove the rest, including <windowchangecontrol> tags.

Just one idea of what might be wrong ...

badphantom
May 31st, 2006, 14:29
well, i tried to leave as much as possible as it was, to avoid conflicts; well, didn't work
Anyhow, i left the windowclass name

As i only got one page, i removed all of these tags, as you said.

But it didn't work, FG still crashes at startup..

Thank you anyway

badphantom
May 31st, 2006, 15:42
alright, didn't figure out was wrong, but i made it work though