Starfinder Playlist
  1. #1
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,684
    Blog Entries
    1

    Issue with Merge Delete

    Im getting one error on opening each character sheet once per session in a MoreCore extension
    Ruleset Error: windowlist: Could not find windowclass () for control (spell_list) in windowclass (charsheet_more)
    the original ruleset code is:
    Code:
                <list_text name="spell_list">
                    <anchored to="spellsframe">
                        <left offset="10" />
                        <top offset="30" />
                        <right offset="-4" />
                        <bottom offset="-10" />
                    </anchored>
                    <newfocus>name</newfocus>
                    <datasource>.spelllist1</datasource>
                    <class>spell_rolls</class>
                    <acceptdrop>
                        <class>spells</class>
                        <class>referencetext</class>
                        <class>referencetextwide</class>
                        <field>*</field>
                    </acceptdrop>
                </list_text>
    and the code in the extension to remove is:
    Code:
    <list_text name="spell_list" merge="delete" />
    Any thoughts?

  2. #2
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,406
    What merge rule do you have set <windowclass> entry that control is in within your extension?
    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!

  3. #3
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,684
    Blog Entries
    1
    Quote Originally Posted by Trenloe View Post
    What merge rule do you have set <windowclass> entry that control is in within your extension?
    Windowclass and sheetdata are both merge=join

  4. #4
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,406
    In the example I can see in 5E, I don't see a join parameter for <sheetdata>. In fact, searching through the 5E and 3.5E ruleset I don't see a merge parameter in <sheetdata> anywhere.
    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!

  5. #5
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,684
    Blog Entries
    1
    Quote Originally Posted by Trenloe View Post
    In the example I can see in 5E, I don't see a join parameter for <sheetdata>. In fact, searching through the 5E and 3.5E ruleset I don't see a merge parameter in <sheetdata> anywhere.
    Ive always done it on both but in hindsight it is not do anything because it is not named. Because it's not named it also isn't causing an issue.

  6. #6
    Ikael's Avatar
    Join Date
    Jan 2008
    Location
    Finland/Joensuu
    Posts
    2,384
    Maybe some lua onInit is referencing spell_list control and tries to iterate its children through. Have you merge=deleted spell_rolls as well? If you have, you could try not to delete it and see if the issue occurs.

    Ps: you don't need to give merge rules to sheetdata, and probably should not. I don't know the soul life of FG engine but unless it's special case there might be "hidden" default merge rule defined for it and you don't want to alter it.
    "Alright, you primitive screwheads, listen up: THIS... is my BOOMSTICK!" -- Ash Williams, Army of Darkness

    Post your SavageWorlds ruleset feature requests and issue reports here!

  7. #7

  8. #8
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,684
    Blog Entries
    1
    Im not sure but a close and restart of FG seems to have resolved the error?
    I had moved on to other areas of the code and as far as I can see the code is still as above but is working.

  9. #9
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,406
    Quote Originally Posted by damned View Post
    Im not sure but a close and restart of FG seems to have resolved the error?
    I had moved on to other areas of the code and as far as I can see the code is still as above but is working.
    Where was your <list_text name="spell_list" merge="delete" /> code? If it was in extension.xml then that file is usually only fully read/activated when you restart FG completely.
    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!

  10. #10
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,684
    Blog Entries
    1
    Quote Originally Posted by Trenloe View Post
    Where was your <list_text name="spell_list" merge="delete" /> code? If it was in extension.xml then that file is usually only fully read/activated when you restart FG completely.
    Ahhh... then this was the cause of my issue. Thanks!
    Yesterday took a long time to achieve a little....!

Thread Information

Users Browsing this Thread

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

Bookmarks

Posting Permissions

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

Log in

Log in