Skip to content

v1.2.0 - Fixing 1.1.0 crash, enforcing use of discord channel, preventing discord echo, adding optional footer#3

Open
iuriguilherme wants to merge 5 commits into
Steveplays28:mainfrom
iuriguilherme:main
Open

v1.2.0 - Fixing 1.1.0 crash, enforcing use of discord channel, preventing discord echo, adding optional footer#3
iuriguilherme wants to merge 5 commits into
Steveplays28:mainfrom
iuriguilherme:main

Conversation

@iuriguilherme

Copy link
Copy Markdown
Contributor

v1.1.0 was causing a crash when sending game message in some circumstances because the mod was not checking whether some objects were properly initialized.

Bot was getting messages from other discord channels and replicating them in the configured discord channel as well as the game chat. A check has been placed to ensure the bot only parses messages from the intended channel, ignoring all other discord messages. This change is already part of the v1.2.0 upcoming pull request

Copilot AI review requested due to automatic review settings January 6, 2026 17:47

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request bumps the version from 1.0.0 to 1.1.1 to address critical issues from v1.1.0: a crash when sending game messages and unwanted message replication from other Discord channels.

  • Crash Fix: Added null pointer checks for worldModule and bot before attempting to send messages to Discord
  • Channel Validation: Implemented channel ID verification to ignore messages from unintended Discord channels
  • Library Cleanup: Removed unused DPP library header files from the repository

Reviewed changes

Copilot reviewed 68 out of 79 changed files in this pull request and generated no comments.

Show a summary per file
File Description
FicsitChat.uplugin Version bumped from 1.0.0 to 1.1.1
Source/FicsitChat/FicsitChat.Build.cs Added C++20 standard requirement
Source/FicsitChat/Private/FicsitChatModule.cpp Added null pointer checks for bot and worldModule (lines 36-39) to prevent crashes
Source/FicsitChat/Private/FicsitChatWorldModule.cpp Added channel ID validation (lines 46-48) to filter messages from other Discord channels
Source/ThirdParty/DPPLibrary/include/dpp/* Removed 50+ unused header files for library cleanup
Binaries/Win64/*.dll Updated DLL binaries (no diff available)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@iuriguilherme iuriguilherme changed the title Bump v1.1.1 - Fixing 1.1.0 crash and enforcing use of discord channel v1.2.0 - Fixing 1.1.0 crash, enforcing use of discord channel, preventing discord echo, adding optional footer Jan 7, 2026
@iuriguilherme

Copy link
Copy Markdown
Contributor Author

v1.2.0 adds:

  • Discord echo doesn't happen anymore (discord messages getting resent to the discord channel)
  • Footer text can be changed on configuration or disabled
  • Added configuration option to show debug messages on UE console
  • Changed game message distribution for better compatibility with dedicated server
  • Improved join/leave messages on Discord
  • Prevent bot from handling messages from other channels / servers apart from the one channel on configuration

@Steveplays28 Steveplays28 added the enhancement New feature or request label Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants