FG Spreadshirt Swag
  1. #1

    DB.export() function displaying text in chat

    Hi. After the last update to FG Classic, the DB.export() function is now displaying "Exported record(s)" in the chat window now where before it would only display in the console. One of the extensions I created relies on this function heavily and is now flooding the chat with the message. In Unity, it still works great by only showing that message in the console window. Is there any way to get this behaviour back to how it was or a known way to prevent it from displaying in the chat on my end?

  2. #2
    Trenloe's Avatar
    Join Date
    May 2011
    Newcastle, UK (for a bit)
    You can override the performExport function in CoreRPG utility\scripts\export.lua - the end of that function outputs a success (or failure) message to chat. The issue would be that you'd need to keep this override function updated with future CoreRPG updates. Maybe the devs will add an option to not export to chat. But in the meantime you can look at overriding the base code in your extension.

    FG Con 16 FG Online RPG Convention - Friday April 16th Sunday 18th, 2021.
    FG Con 17: October 15th 17th, 2021.

    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

  4. #4
    Ok, so I found the place the exact string links to for this message in manager_campaigndata.lua but it does appear that this was accidentally implemented on the wrong export function so I do think this may need to be addressed in an update by the devs.

  5. #5
    I looked at all the changes to that file that were implemented since April (as part of v3.3.12 changes). From all I can tell, the export message was already part of the core code back in April.

    Also, the export message only posts a local notification; it is not shared to players.


Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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

Log in

Log in