STAR TREK 2d20
Page 1 of 2 12 Last
  1. #1

    Missing resources

    Found the following while learning how to write extensions.

    I did a /console, then /reload ruleset

    Runtime Notice: Reloading ruleset
    Ruleset Warning: Could not load framedef resource (frames/bonus_mod.png)
    Ruleset Warning: Could not load icon resource (icons/button_tracker.png)
    Ruleset Warning: Could not load icon resource (icons/button_tracker_down.png)
    Ruleset Warning: Could not load icon resource (icons/button_cct.png)
    Ruleset Warning: Could not load icon resource (icons/button_cct_down.png)

    There's a button_ct_down.png
    There's a button_ct.png
    There's a bonus.png

    The other two I couldn't find anything similar.


    Hmm, maybe I should have done a search to see if this had already been reported, my apologies.

    Did a search:
    https://www.fantasygrounds.com/forum...ight=bonus_mod


    BoomerET
    Last edited by dberkompas; July 28th, 2013 at 04:50.

  2. #2
    dr_venture's Avatar
    Join Date
    Apr 2009
    Location
    Yosemite, CA
    Posts
    1,125
    Are you using the latest ruleset extension update? It's in the first thread in this group, and patches the ruleset to be version 2.8. I know there are a number of bug fixes in it.
    "A ship in harbor is safe, but that is not what ships are built for." - John Shedd
    "Why is it every time we need to get somewhere, I get waylaid by jackassery?" - Dr. Thaddeus Venture
    -- CA (Pacific time zone) --

  3. #3
    Odd:

    I downloaded the 2.081 extension, clicked to add it in my game.

    Now when I do the same steps, it got worse:
    Runtime Notice: Reloading ruleset
    Ruleset Warning: Could not load framedef resource (frames/bonus_mod.png)
    Ruleset Warning: Could not load icon resource (icons/button_tracker.png)
    Ruleset Warning: Could not load icon resource (icons/button_tracker_down.png)
    Ruleset Warning: Could not load icon resource (icons/button_cct.png)
    Ruleset Warning: Could not load icon resource (icons/button_cct_down.png)
    Ruleset Warning: Could not load framedef resource (frames/borderlesssheetgroup.png)
    Ruleset Warning: Could not load icon resource (icons/indicator_checkon2.png)
    Ruleset Warning: Could not load icon resource (icons/indicator_thrown.png)
    Ruleset Warning: Could not load icon resource (icons/indicator_casterbonusspell_hide.png)
    Ruleset Warning: Could not load icon resource (icons/indicator_casterbonusspell_show.png)
    Ruleset Warning: Could not load icon resource (icons/tab_horizontal.png)
    Ruleset Warning: Could not load framedef resource (frames/borderlesssheetgroup.png)


    Now I'm really confused.

  4. #4
    I guess that's not a good gauge of testing.

    Something can be fixed in an extension, but if you reload the ruleset, you're still going to get the original messages, because the extension probably hasn't been parsed yet?

    Just guessing.

  5. #5
    dr_venture's Avatar
    Join Date
    Apr 2009
    Location
    Yosemite, CA
    Posts
    1,125
    Hmmm... not sure what to suggest. It's a relatively old ruleset at this point. The replacement ruleset is being actively developed, and should have no errors like that. It's possible that those graphic files are being called but actually aren't used by the ruleset anywhere. Does it play and look OK? Also, I assume that you're not using any skin with the game, just the default graphics, correct?
    "A ship in harbor is safe, but that is not what ships are built for." - John Shedd
    "Why is it every time we need to get somewhere, I get waylaid by jackassery?" - Dr. Thaddeus Venture
    -- CA (Pacific time zone) --

  6. #6
    That's what I was thinking, they're defined, but not used, so nothing is noticed during gameplay. Not that I'd know, I've never played a game in FGII. Sad, I know.

    I hope to soon, I'm keeping my fingers crossed.


    BoomerET

  7. #7
    dr_venture's Avatar
    Join Date
    Apr 2009
    Location
    Yosemite, CA
    Posts
    1,125
    Well, I've got an opening in my game if you're interested - the deets are in the Guild House forum.
    "A ship in harbor is safe, but that is not what ships are built for." - John Shedd
    "Why is it every time we need to get somewhere, I get waylaid by jackassery?" - Dr. Thaddeus Venture
    -- CA (Pacific time zone) --

  8. #8
    Those warnings mean that it couldn't find the files to load them. It usually means that the if the graphic is specified that it won't show anything there so you likely wouldn't even realize it was missing.

  9. #9
    When writing extensions that call graphics, they must be included in the extension. That's where it will look for them first, and it's good practice to maintain the directory structure. If you include frames, for example, you should put a frames directory in the extension that calls them.
    Aliens.... Go fig?

  10. #10
    dr_venture, re the game, thanks, I'll check it out. Don't have time for campaigns, but one-shots are in my future.

    S Ferguson: Real life Ain't this Way (Sorry, that was meant for Jay Ferguson, not S)
    Thanks for the tip, I'll make sure if I ever get off the ground w/ Lua coding that I'll pay strict attention to established norms.


    BoomerET

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