Pawn.RakNet icon indicating copy to clipboard operation
Pawn.RakNet copied to clipboard

Crash

Open GASPP1 opened this issue 1 year ago • 0 comments

Hello, there was an attack on my server, server crashed, how to fix it help me please.

#0 0001b44c in public pr_ip_WC_VEHICLE_SYNC (playerid=20774276, BitStream:bs=5882012) at C:\Users\User\Desktop\amx\pawno\include\weapon-config.inc:4152

`IPacket:WC_VEHICLE_SYNC(playerid, BitStream:bs) { new inCarData[PR_InCarSync];

BS_IgnoreBits(bs, 8);
BS_ReadInCarSync(bs, inCarData);

if (s_FakeHealth{playerid} != 255) {
	inCarData[PR_playerHealth] = s_FakeHealth{playerid};
}

if (s_FakeArmour{playerid} != 255) {
	inCarData[PR_armour] = s_FakeArmour{playerid};
}

BS_SetWriteOffset(bs, 8);
BS_WriteInCarSync(bs, inCarData); // rewrite

return 1;

}`

GASPP1 avatar Aug 03 '23 22:08 GASPP1