1. #1

    Join Date
    Jul 2010
    Location
    Vendsyssel (Denmark)
    Posts
    603

    Skinning M&M bug

    Right... so I have an issue with making a graphical scheme and the bug is elusive and driving me crazy.

    https://www.fantasygrounds.com/forum...1&d=1435727925

    The corners of the sheetgroup.png looks ... well... broken. But ONLY for people connecting to the master (that includes localhost).

    I use the same "graphics_frames.xml" file, as the ruleset does, but that doesn't seem to matter.
    This bug only happens when I use the theme I've made. This is the only ruleset in which I've seen this issue.


    The code for the sheetgroup.png, as far as I can tell:

    <framedef name="sheetgroup">
    <bitmap file="graphics/frames/sheetgroup.png" />
    <topleft rect="0,0,18,18" />
    <top rect="18,0,512,18" />
    <topright rect="530,0,17,17" />
    <left rect="0,18,18,512" />
    <middle rect="18,18,512,512" />
    <right rect="530,0,17,512" />
    <bottomleft rect="0,530,18,17" />
    <bottom rect="18,530,512,17" />
    <bottomright rect="530,530,17,17" />
    </framedef>


    Is there something here I am missing?


    Vires Animi
    Attached Images Attached Images

  2. #2
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    18,878
    Blog Entries
    1
    i dont hae the M&M ruleset but take teh Combat Tracker as an example there is a host and a client version of the files. You may find there is the same for this ruleset?

    bleurgh. what am i talking about? this is a character sheet - there is not going to be a different view for the GM and Player.

    there is some issue with your code but not enough i think to cause this.
    <topright rect="530,0,17,17" />
    should be
    <topright rect="530,0,17,18" />
    and
    <right rect="530,0,17,512" />
    shoudl be
    <right rect="530,0,18,512" />
    and
    <bottomright rect="530,530,17,17" />

    MoreCore - Generic Ruleset
    --- Projects ---
    Extensions | Tutorials | MoreCore | MoreCore Themes | Call of Cthulhu | Maelstrom | FG Con

  3. #3
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Denver, Colorado, USA (for a bit)
    Posts
    23,620
    What base application version flag is the XML indicating? Look in base.xml for the ruleset, the "version" property in the <root> tag. There was a compatibility update in version 3.0 for an issue like this - see the top entry of the 3.0 row here: http://www.fantasygrounds.com/refdoc/

    You might try changing the version to 3.0 - but this could cause other compatibility issues.

    Or, look at the framedef and try to make it so that the parameters in the bug match. The fix with 3.0 compatibility is as follows: "For frame resources, the "right" section will correctly use the top Y offset specified in the right tag, instead of the left tag." So if you don't run 3.0 compatibility, you'd need to have the top Y offset in the left tag to be the same as what you want in the right tag - but this could screw up your frames anyway...

    FG Con 15 Fantasy Grounds Online RPG Convention - Nov. 8-10, 2019
    Register at www.fg-con.com for all the latest info.

    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Log in

Log in