Skip to content

PracticeMedicine/sentry-source-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 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.

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