Skip to content

Commit

Permalink
fix: sentry upload & /crash to test
Browse files Browse the repository at this point in the history
  • Loading branch information
Yamashi committed Apr 22, 2022
1 parent 798c232 commit 87b2362
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Code/server/GameServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Console::Command<bool> TogglePremium("TogglePremium", "Toggle the premium mode",

Console::Command<> ShowVersion("version", "Show the version the server was compiled with",
[](Console::ArgStack&) { spdlog::get("ConOut")->info("Server " BUILD_COMMIT); });
Console::Command<> CrashServer("crash", "Crashes the server, don't use!", [](Console::ArgStack&) { int* i = 0; *i = 42; });
Console::Command<> ShowMoPoStatus("isMoPoActive", "Shows if the ModPolicy is active", [](Console::ArgStack&) {
spdlog::get("ConOut")->info("ModPolicy status: {}", bBypassMoPo ? "not active" : "active");
});
Expand Down
3 changes: 2 additions & 1 deletion MakeLinux.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ docker build . -t skyrim_build
docker run --rm --entrypoint /bin/sh skyrim_build -c "cat /home/server/SkyrimTogetherServer.debug" > ./build/linux/x64/SkyrimTogetherServer.debug
docker run --rm --entrypoint /bin/sh skyrim_build -c "cat /home/server/SkyrimTogetherServer" > ./build/linux/x64/SkyrimTogetherServer
docker run --rm --entrypoint /bin/sh skyrim_build -c "cat /home/server/libSTServer.so" > ./build/linux/x64/libSTServer.so
timeout /t 30 /nobreak
docker run --rm --entrypoint /bin/sh skyrim_build -c "cat /home/server/libSTServer.debug" > ./build/linux/x64/libSTServer.debug
timeout /t 30 /nobreak

0 comments on commit 87b2362

Please sign in to comment.