is this loop right-coded?
well i dont know if it is right coded, because sometimes it dont work -.-
i use this to save players exp by nvault, when the server crashes. PHP Code:
|
Re: is this loop right-coded?
If the server crashes unexpectedly, plugin_end() isn't called.
|
Re: is this loop right-coded?
If this is for players it should be:
Code:
for (new id=1;... |
Re: is this loop right-coded?
Quote:
thanks, exist any way to catch when sv crash unexpectedly ? |
Re: is this loop right-coded?
Try this (it's a guess. I never used it):
PHP Code:
|
Re: is this loop right-coded?
If the server stops, it stops. Period. Can't do much when everything ceases to run (including all plugins and dlls and the like).
|
Re: is this loop right-coded?
There are crashes when the engine shutdown because it can't continue in a consistent way but that can be handled since it is still in control. Like when you create to much entities, or you don't precache a model or a sound and then use it.
|
Re: is this loop right-coded?
Quote:
|
Re: is this loop right-coded?
Quote:
|
Re: is this loop right-coded?
Quote:
Quote:
|
| All times are GMT -4. The time now is 01:31. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.