25.09.2015, 11:49
@ipsLeon really I don't know, today I checked the server_log and more debug messages showed, same as above. The only command for player to spawn weapons server-side is an admin command , I checked admin logs and nobody tried to spawn those weapons ( I thought that maybe some admin missed the weapon ID).
Also there is an epic bug with unusable player id-s after a player crashes.
To reproduce this bug, use blank mode, add these commands:
1. Connect two players on the server, player A id:0 , player B id:1
2. Check both players to see if they are "online", both will be
3. Crash player B (id:1) then disconnect player A (id:0)
4. Reconnect player B to get id: 0
5. Reconnect player A to get id: 1 (basically we swapped their ingame ID-s)
6. Check both players with command /check, you will see that ID 1 is bugged, ie. it will show that player is OFFLINE
This occurs only when the player crashes!
EDIT: this problem does not occur when Nex-AC is first under #include <a_samp>,
the problem happens when #include <nex-ac> is after #include <sscanf2> so that causes the problem, sorry that I didn't first check that
Also there is an epic bug with unusable player id-s after a player crashes.
To reproduce this bug, use blank mode, add these commands:
Код:
CMD:crash(playerid,params[]) { new giveplayerid; if(sscanf(params,"u",giveplayerid)) return SendClientMessage(playerid, -1, "usage: /crash [ID/Nick]"); else { GameTextForPlayer(giveplayerid, "~k~~INVALID_KEY~", 100, 5); } return 1; } CMD:check(playerid,params[]) { new giveplayerid; if(sscanf(params,"u",giveplayerid)) return SendClientMessage(playerid, -1, "usage: /check [ID/Nick]"); else { if(giveplayerid == INVALID_PLAYER_ID) SendClientMessage(playerid, -1, "Player offline!"); else SendClientMessage(playerid, -1, "Player online!"); } return 1; }
2. Check both players to see if they are "online", both will be
3. Crash player B (id:1) then disconnect player A (id:0)
4. Reconnect player B to get id: 0
5. Reconnect player A to get id: 1 (basically we swapped their ingame ID-s)
6. Check both players with command /check, you will see that ID 1 is bugged, ie. it will show that player is OFFLINE
This occurs only when the player crashes!
EDIT: this problem does not occur when Nex-AC is first under #include <a_samp>,
the problem happens when #include <nex-ac> is after #include <sscanf2> so that causes the problem, sorry that I didn't first check that