I have
coded a system for my server that integrates with Discord!
What can the Error Sentry System do?
When a player logs in and their client crashes or an error is written into the
Syserr.txt, the system automatically sends this error message to your Discord webhook – including the player's name. This allows you to check for errors simply by asking for the player's name.
Setup
In the file
DiscordErrorLogger.cpp,
you'll find at the beginning:
Code:
g_DiscordWebhook.Initialize("WEBHOOK HIER");
And at the end:
Code:
g_DiscordWebhook.Initialize("WEBHOOK HERE");
Insert your
Webhook URL, compile your executable – done!
Important
There are four new files included:
- DiscordErrorLogger.cpp
- DiscordErrorLogger.h
- DiscordWebhook.cpp
- DiscordWebhook.h
You need to add these to your project (
Client Source)!
DOWNLOAD
[Hidden content]
Preview
View attachment 2742