Skip to content

PracticeMedicine/sentry-source-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sentry-source-engine

This repository contains the files needed to implement Sentry to the Source engine. This code was published in hope that this could help developers trace player's session when crashing.

Note

As of 04/03/2025, The code for the Sentry Native implementation in the Source engine is no longer an "Aridity Team" project and is now a personal project of mine.

Warning

This has been tested on Linux using the latest Source SDK 2013 but there are some "could not library client" errors for some reason.

EDIT
Follow-up message: The game/mod's bin (bin/linux64) folder isn't included in the LD_LIBRARY_PATH variable, the only way to get the Sentry implementation working on Linux is to place libsentry.so on the Source SDK Base 2013 Multiplayer/bin/linux64 folder.

This will contain both x64 and x86 binaries of Sentry Native.

How do I add this into my sourcemod?

Here's the list of things you require before you continue on this tutorial:

First, you need to add this at the top of both of your client and server VPC scripts:

...
$Include "$SRCDIR\game\shared\sentry.vpc"
...

Recreate the client and server projects by running createallprojects.bat and open "everything.sln" with Visual Studio 2022.

Before you build the project, open the sentry_mgr.cpp code and go to line 22. Replace the <your-dsn-link-here> string with your Sentry project's DSN link (you can get it from Project Settings -> Client Keys (DSN)).

Right-click the solution and then "Build Solution" or press CTRL+SHIFT+B.

After everything was built with no errors, put everything on the bin directory to your mod's "bin" directory.

About

Sentry implementation for Source SDK 2013 mods

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages