Robbing a cop marks me as a threat (both above my name and in /i too)

Locked

In-game Name:x4x
Date and time (UTC) of incident:2024-09-25T14:47
Script version and build:2.1.4 a0b8190
What exactly were you doing, with who, where etc.:I robbed a cop and it marked me as a threat.
What did you expect to happen, and what actually happened? What is the bug?Explained above...
Have others experienced the issue?Yes
Have you experienced the issue multiple times?Yes
Can you replicate the issue? If so, please provide steps to do so.> Rob a cop> Check /crimes, you will see the robbing part that the crime itself is colored "white" and not "red"
Can you think of any special circumstances that might have caused the issue?-


Supporting Media:
https://youtu.be/0bQol824Ho4
/logs 0:01
/crimes 0:26
I'm trying to replicate the problem, but It is not working as how you are describing tried to robbed multiple of times cops and medics and players it doesn't give me threat in /i
Yoshi wrote:
I'm trying to replicate the problem, but It is not working as how you are describing tried to robbed multiple of times cops and medics and players it doesn't give me threat in /i


Yeah I found how to replicate this:
https://youtu.be/LNJ9FcDivyo

> 0:07 /crimes
> 0:12 I am innocent
> 0:14 robbed Cris. and it shows I am threat for 1m and 45s...

I know why, it will take the last "threat" crime from the last 5 minutes. So, if you have a threat crime in the last 5 minutes and you are innocent, whatever you are doing as a crime next will mark you as a threat BUT with the cooldown from that threat crime.

Cris. JessicaBw also helped out with this, Yoshi

Bug report by x4x (forum topic #22726)
Issue #4031
IssueThreat status bug
DescriptionPlayers is getting on themselves THREAT status, Meanwhile the player didn't do any threat crime; Example such as robbing a cop makes you threat
Script area2.1.4
PriorityMedium
Logged byYoshi
Assigned toMike
StatusNew
CommentsTests are needed for this issue since I didn't get the same results as what the player reported here.

Yoshi wrote:
Tests are needed for this issue since I didn't get the same results as what the player reported here.


Yoshi check this out:

x4x wrote:
Yeah I found how to replicate this:

I know why, it will take the last "threat" crime from the last 5 minutes. So, if you have a threat crime in the last 5 minutes and you are innocent, whatever you are doing as a crime next will mark you as a threat BUT with the cooldown from that threat crime.


Test it like this and it will work 100%
Fixed in next update
I will look into it again, thank you…