5E Product Walkthrough Playlist
  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
    Location
    Colorado, USA
    Posts
    33,402
    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.
    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.

    Regards,
    JPG

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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