Starfinder Playlist
  1. #1
    Xarxus's Avatar
    Join Date
    Mar 2019
    Location
    Rome (Italy)
    Posts
    253

    Data wrongly saved and then not loaded

    I have created two buttons for the right bar. Each has its own associated structure. In the modules (there are 3) there are the data that are loaded correctly. Both structures are declared static, so existing data cannot be edited, but occurrences can be added.
    In one of the two structures the data are saved without problems, while for the other the data are saved, but there is no structure tag, which prevents it from being loaded again when FGU is restarted.

    I tried to compare the various classes and there seems to be no problem to me. Can you give me an indication of what to watch?
    FGU ULTIMATE License
    Click here for RPG Music or here for Dwarves songs on Spotify

  2. #2
    Xarxus's Avatar
    Join Date
    Mar 2019
    Location
    Rome (Italy)
    Posts
    253
    Ok, now is rightly written in db.xml, but is not loaded again...
    I forced a save (/save) to see the db. It is in the list when i create it, but if I reload it disappears. Auf!
    FGU ULTIMATE License
    Click here for RPG Music or here for Dwarves songs on Spotify

  3. #3
    Xarxus's Avatar
    Join Date
    Mar 2019
    Location
    Rome (Italy)
    Posts
    253
    Ok, found... I'm a dumb!
    To define the button on the right I used a reserved word.

    The lesson is: do not use reserved words!
    FGU ULTIMATE License
    Click here for RPG Music or here for Dwarves songs on Spotify

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
  •  
FG Spreadshirt Swag

Log in

Log in