Engine invalid player
What's the problem? I check if the player is connected and alive, but i have the error. This happens sometimes when a player crash with some kind of error keeps on timeout un the server anda then disconnects
PHP Code:
PHP Code:
|
Re: Engine invalid player
PHP Code:
PHP Code:
|
Re: Engine invalid player
Are you sure you don't have error in log about client_disconnected? Normal log. If you don't have the gamedatas or for some reason some signatures/symbols could not be found, it will say it in log.
|
Re: Engine invalid player
Your #define is_user_valid_alive(%1) doesn't do anything special, it just checks if the user is a player, alive and connected.
1. You can't be alive if you're not connected. 2. It doesn't really matter because you then go on and loop through all the players. A better solution is to use http://www.amxmodx.org/api/amxmodx/get_players You should check out the other semiclip plugins as yours might be glitchy with that 0.1 sec check. There is also a semiclip module or two around. |
Re: Engine invalid player
Quote:
PHP Code:
Metamod v1.21p37 AMX Mod X 1.8.3-dev+4968 |
Re: Engine invalid player
Do you have only that in the log? Nothing more complete? What happens after client_disconnected?
How is registered thinkSemiclip? Can you show more code, please, if you don't want to post, feel free to PM me. Is your server a 32 slot? If so, does it happen always with the 31th player or something? Since you're using client_disconnected, you can have 2 params you can output as well (https://github.com/alliedmodders/amx...xmodx.inc#L180) You could also type "meta_debug 3" in your server console (or server.cfg, but make sure it's applied) to get some debug log for knowing which engine functions are called. It would likely help if you could put some temporary debug for others forards like client_connect/authorized/putinserver/disconnect. There is something weird happening. Like error happens because AMXX considers internally you are no more "in-game", but AMXX updated such state only when a player disconnects. Though here, disconnected seems to happen after, so it's quite confusing. |
Re: Engine invalid player
No news?
|
| All times are GMT -4. The time now is 17:51. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.