Skip to content

Yogpod/gm_crash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crash

It adds a function to crash the server

Usage

require("crash")

game.KillServer()

linux windows

Building

Dependencies

  1. Rust (https://www.rust-lang.org/tools/install)
    1. Note: Rust may depend on a separate compiler on your platform, such as Visual Studio, GCC, etc:
      1. Windows: Install Visual Studio 2019
      2. Linux: Install gcc-multilib
  2. (Optional) Additional Rust toolchains for compiling 32-bit binaries:
rustup target add i686-pc-windows-msvc # Windows
rustup target add i686-unknown-linux-gnu # Linux

Windows

git clone https://github.com/Yogpod/gm_crash
cd gm_crash
cargo build --release --target=i686-pc-windows-msvc # 32-bit
cargo build --release --target=x86_64-pc-windows-msvc # 64-bit

You can then find crash.dll in ./target/<target>/release. Rename it to gmsv_crash_win32.dll or gmsv_crash_win64.dll and you are done.

Linux

git clone https://github.com/Yogpod/gm_crash
cd gm_crash
cargo build --release --target=i686-unknown-linux-gnu # 32-bit
cargo build --release --target=x86_64-unknown-linux-gnu # 64-bit

You can then find libcrash.so in ./target/<target>/release. Rename it to gmsv_crash_linux.dll or gmsv_crash_linux64.dll and you are done.

About

Crash your gmod server with a single function

Resources

Stars

Watchers

Forks

Languages