openzomboid / log-extender

Log Extender is a modification to Project Zomboid that helps administering the server
Apache License 2.0
19 stars 1 forks source link

Request: Log weapon equipped #3

Closed Lu5ck closed 1 year ago

Lu5ck commented 1 year ago

Would be nice if able to log specific type of weapons equipped. Currently Brita mod and some people using certain weapon to grief on my server.

outdead commented 1 year ago

Hi! Do you mean the fast equip panel?

Lu5ck commented 1 year ago

Active weapon

outdead commented 1 year ago

I don't understand your request. Can you write in more detail?

Lu5ck commented 1 year ago

Erm.

When the player equipped a weapon, on the hand, log the type of weapon equipped, including the time and location. Preferably able to specific the type of weapon to log.

outdead commented 1 year ago

I don't see why this is necessary.

Lu5ck commented 1 year ago

So we can see who is griefing with certain type of weapons. There are weapons like molotov that create big aoe damage.

outdead commented 1 year ago

But we already have this in *_map.txt logs:

[19-12-22 00:51:49.123] 76561198960000001 "Player1" added Base.Molotov at 12866,1519,0.
[26-12-22 11:58:48.961] 76561198960000002 "Player2" destroyed Door with Base.ClubHammer at 6142,9406,0.
Lu5ck commented 1 year ago

Yes, that is for vanilla. I am asking if possible for non-vanilla items.

darrensapalo commented 1 year ago

But we already have this in *_map.txt logs:

[19-12-22 00:51:49.123] 76561198960000001 "Player1" added Base.Molotov at 12866,1519,0.
[26-12-22 11:58:48.961] 76561198960000002 "Player2" destroyed Door with Base.ClubHammer at 6142,9406,0.

Hi @outdead , does this work as well with when weapons are used to break glass windows of vehicles?

outdead commented 1 year ago

No. It writes to *_cmd.txt logs. There are no information about weapon

[05-02-23 02:27:47.671] 76561198960000001 "Player1" vehicle.damageWindow @ 6490,9329,0.