Skip to content

Code 004 #325

@Bt6K

Description

@Bt6K

Hello,

OpenMP 1.2.0.2670 server
SA-MP 0.3.7 R5 client

I've observed code 004 (1) on my server quite a lot, in what in the cases I've observed are false-positives:

Here are some example logs from two different players:

[2024-08-07T12:31:02+0100] [Info] Player 2 has entered a vehicle!
[2024-08-07T12:31:06+0100] [Info] Player 2 has died!
[2024-08-07T12:31:08+0100] [Info] [Nex-AC debug] Entered veh: 0, veh: 30, entered seat: -1, seat: 0, veh model: 523, enter time: 6876
[2024-08-07T12:31:08+0100] [Info] [Nex-AC] Suspicion on the ID 2. Reason code: 004 (1)
[2024-08-07T12:31:08+0100] [Info] Player 2 has entered a vehicle!
[2024-08-07T12:31:08+0100] [Info] OnPlayerDisconnect(2)
[2024-08-07T12:31:08+0100] [Info] [part] hamood983234 has left the server (2:2)
[2024-08-07T12:38:51+0100] [Info] Player 3 has entered a vehicle!
[2024-08-07T12:40:46+0100] [Info] Player 3 has died!
[2024-08-07T12:40:47+0100] [Info] [Nex-AC debug] Entered veh: 0, veh: 1849, entered seat: -1, seat: 0, veh model: 522, enter time: 118067
[2024-08-07T12:40:47+0100] [Info] [Nex-AC] Suspicion on the ID 3. Reason code: 004 (1)
[2024-08-07T12:40:47+0100] [Info] Player 3 has entered a vehicle!
[2024-08-07T12:40:48+0100] [Info] OnPlayerDisconnect(3)
[2024-08-07T12:40:48+0100] [Info] [part] love1376 has left the server (3:2)

It's important to note it doesn't happen every time, I have not been able to work out exactly what causes it.

I was able to replicate the issue on a blank gamemode using the following:

https://github.com/openmultiplayer/qawno/blob/8f9f619531dc0c354bdcd889fe9975edb53f7b5d/gamemode.new
https://github.com/katursis/Pawn.RakNet/releases/tag/1.6.0-omp
https://github.com/oscar-broman/samp-weapon-config/blob/master/weapon-config.inc

What I find interesting is that in each case, moments after the death is recorded and Nex-AC triggers the kick, some debug code I added to OnPlayerStateChange triggers (i.e. the "has entered a vehicle!").

Any thoughts would be appreciated.

Many thanks

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