Injections treated as illegal upon /search
Posted: June 30, 2020, 9:19 pm
Where does the bug appear: server
When did the bug appear: Probably a long time now
Describe the bug:
Medics spawn with 20 injections. Cops can /search medics, and upon doing so the 20 injections will be treated as 20 grams of drugs found. The medic will become wanted and can be arrested.
Frequency: always
Severity: major
Steps to reproduce:
- Player A spawns medic (legal one, not civilian medic skill)
- Player B spawns cop
- Player B /cuffs A
- Player B /searches A
- Player B can now /ar A.
Note that cops/swat/army are likely immune to this (TODO: verify this), and that implementation-wise injections are most likely treated as "LEO drugs". For that reason, the simplest fix may be to disallow /cuff'ing a legal medic with no wanted level. Also keep in mind cases where a LEO (not just a medic) may become wanted and should be able to be /cuffed and so on.
When did the bug appear: Probably a long time now
Describe the bug:
Medics spawn with 20 injections. Cops can /search medics, and upon doing so the 20 injections will be treated as 20 grams of drugs found. The medic will become wanted and can be arrested.
Frequency: always
Severity: major
Steps to reproduce:
- Player A spawns medic (legal one, not civilian medic skill)
- Player B spawns cop
- Player B /cuffs A
- Player B /searches A
- Player B can now /ar A.
Note that cops/swat/army are likely immune to this (TODO: verify this), and that implementation-wise injections are most likely treated as "LEO drugs". For that reason, the simplest fix may be to disallow /cuff'ing a legal medic with no wanted level. Also keep in mind cases where a LEO (not just a medic) may become wanted and should be able to be /cuffed and so on.
Spoiler: show
