Skip to content

Crash #84

Description

@GASPP1

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;

}`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions