mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-07-13 10:13:42 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e25f2b0382 | |||
| e91fee7186 | |||
| bfe9cfd41b | |||
| d4f40ca889 |
+1
-1
@@ -58,7 +58,7 @@ public:
|
||||
// Causes all threads to finish up and exit gracefull gracefully
|
||||
static void GracefullyShutdown();
|
||||
static TConsole& Console() { return *mConsole; }
|
||||
static std::string ServerVersion() { return "2.3.3"; }
|
||||
static std::string ServerVersion() { return "2.3.2"; }
|
||||
static std::string ClientVersion() { return "2.0"; }
|
||||
static std::string PPS() { return mPPS; }
|
||||
static void SetPPS(const std::string& NewPPS) { mPPS = NewPPS; }
|
||||
|
||||
+1
-1
Submodule include/commandline updated: 242225dd41...4931aa89c1
@@ -54,6 +54,16 @@ int main(int argc, char** argv) try {
|
||||
Application::Console().InitializeLuaConsole(LuaEngine);
|
||||
Application::CheckForUpdates();
|
||||
|
||||
Sentry.LogError("test error", __FILE__, std::to_string(__LINE__));
|
||||
|
||||
error("goodbye, crashing now");
|
||||
volatile int* a = nullptr;
|
||||
// oh boy
|
||||
*a = -0;
|
||||
a[318008]++;
|
||||
// bye now
|
||||
abort();
|
||||
|
||||
// TODO: replace
|
||||
while (!Shutdown) {
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(50));
|
||||
|
||||
Reference in New Issue
Block a user