How to crash the server?
I'm trying to setup the auto-restart setting of my server service. How do I write a plugin that can crash the server when I give the command?
It should be a regular crash like "hlds.exe - Application Error" "The exception unknown exception ....." etc. |
Re: How to crash the server?
PHP Code:
|
Re: How to crash the server?
Quote:
|
Re: How to crash the server?
Anytime.
It would display the "Model not found" error, and the server shut down. If you want another method to crash it, I know more. |
Re: How to crash the server?
I don't want a "handled" crash. I want an unhandled exception like a genuine crash. The kind that would trigger the OS's error/debug with Visual Studio routine.
|
Re: How to crash the server?
What about this.
PHP Code:
PHP Code:
|
Re: How to crash the server?
It doesn't crash. Doesn't even say anything.
|
Re: How to crash the server?
Simlpe, register a command like "say /test" then make engfunc(EngFunc_RemoveEntity, id); id, the index of player that called the func.
|
Re: How to crash the server?
engfunc(EngFunc_RemoveEntity, a player's index(1~32))or create a func_breakable and then remove it
|
Re: How to crash the server?
I want to call it from server console without any players. I'll try func_breakable
|
| All times are GMT -4. The time now is 18:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.