Garry's Mod

Garry's Mod

TTT Damage Logs & RDM Manager
57 Comments
VladiMatt 21 Jun @ 5:29pm 
Oh excellent I dont know how I managed to miss that tab in the F1 menu, thanks lol
Badger  [author] 21 Jun @ 2:44pm 
Hello!

I believe there is a setting that each player can turn off in the damage logs settings menu.
"Enable RDM Manager popups upon RDM"

I don't think the addon supports disabling it fully for all players though.
If this is a feature you'd want, you can raise a GitHub issue for it
https://github.com/BadgerCode/tttdamagelogs/issues
VladiMatt 20 Jun @ 9:55pm 
Is there any way to disable the report prompt popping up every time you're killed, and just have people submit reports with !report ?
Badger  [author] 6 Apr @ 4:57am 
Oh thank you I'll take a look.
For quite a few years Discord blocked Garry's Mod requests due to the very large number of requests from compromised clients.
Maffin 3 Apr @ 6:19am 
Welp, answered this myself done it and made a pull request xd
Maffin 2 Apr @ 6:25pm 
Discord blocks requests from Garry's Mod clients/servers using the built-in HTTP capabilities.
You must the CHTTP Lua module (recommended) or use a proxy HTTP server (hard).

I dont know when this was written but this is not the case anymore. Was this changed so no external dll is needed? Are there plans on changing it?
Badger  [author] 17 Mar @ 3:37pm 
Strange.
I know another server using this with spectator deathmatch and I've not heard of any problems from them.
Brotkruemel 17 Mar @ 12:49pm 
Might have been connected to the Spectator Deathmatch. Since we removed that the issues were gone.
JOJO 7 Mar @ 10:50am 
which team
Badger  [author] 17 Jan @ 4:11pm 
Heyo!
I haven't had reports of this on other servers.

Have you recently installed other addons?
Brotkruemel 17 Jan @ 3:59am 
We're currently experiencing an issue with our damage logs where we can't see any actual damage numbers dealt by weapons. Like the whole lines just don't exist anymore. Any fixes?
4GClaroARG 10 Jan @ 9:21am 
I don't know if I explained myself well, but if someone makes a report, the logs of the TFA weapons appear. But if you want to see the logs of a specific round, no log that has to do with TFA weapons appears.
4GClaroARG 10 Jan @ 9:20am 
One question, is there any way to make TFA weapons appear in the logs? Because they do appear in the report, but when you try to view the logs manually, nothing related to TFA appears.
Badger  [author] 7 Jan @ 10:43am 
Hi!
Do you have a link to the Prop Blaster Grenade addon?

What problems are you experiencing?
Are there errors in the console?
AngryWild_Mango 5 Jan @ 5:47pm 
this broke the Prop Blaster grenade add on. i wonder why? any ideas?
4GClaroARG 29 Nov, 2024 @ 4:35pm 
MYSQL works fine, but when changing maps you can't see the records from the previous round. It only has that problem, but you can manually see them in old records.
Badger  [author] 29 Nov, 2024 @ 1:38pm 
Ah sorry I didn't get notifications for this.
I haven't tried out the MySQL integration for quite some time.

Is it just the issue around the round numbers being off by one?
4GClaroARG 24 Nov, 2024 @ 5:52am 
Using local SQLITE works fine, but what about MYSQL?
4GClaroARG 24 Oct, 2024 @ 3:50pm 
And that could explain why the records from the last round are not showing up.
4GClaroARG 24 Oct, 2024 @ 3:49pm 
It seems to be a problem with MYSQL, because I noticed that the round logs are also wrong. If you want to see the logs for round 7, you have to look at the ones for round 6. It's like they are one round behind.
Badger  [author] 24 Oct, 2024 @ 1:50pm 
Ah you're using the MySQL option for the damage logs?
Maybe there's a problem with using MySQL and the "Last round of the previous map" option.

Locally, I don't use MySQL (it uses Garry's Mod's built-in SQLite).
So that might be why I don't get the problem
4GClaroARG 23 Oct, 2024 @ 3:57pm 
I also turned off the server, deleted the mysql database, recreated a clean table and it's the same.
4GClaroARG 23 Oct, 2024 @ 3:56pm 
It exists, but it does not contain anything other than these numbers 1729724156
Badger  [author] 23 Oct, 2024 @ 12:43pm 
At the end of every round, the damage log creates a file to store the logs from the last round of the current map.
This can be found within your garrysmod server files here
garrysmod/data/damagelog/damagelog_lastroundmap.txt


Maybe the addon is unable to write to this folder in your case for some reason?
You could try playing a round & then checking if this file exists at the end.
4GClaroARG 21 Oct, 2024 @ 4:14pm 
I'm not complaining because it works fine, but it doesn't give any Lua errors or anything.
4GClaroARG 21 Oct, 2024 @ 4:12pm 
This happens to me all the time, even though I reinstalled the server from scratch. I honestly don't know if it ever worked and then stopped working.
Badger  [author] 21 Oct, 2024 @ 2:36pm 
Heyo!
I've just tested the logs for the last round of the previous map and it seems to be working fine for me.

Does this always happen for you?
4GClaroARG 21 Oct, 2024 @ 2:34am 
It works fine, but for some reason you can't see the logs from the last round of the previous map. You can see it if you manually check the old logs though.
Bazinga 6 Jun, 2024 @ 7:39pm 
I love u thanks :]
Badger  [author] 1 Jun, 2024 @ 11:05am 
Heyo! There are some instructions on how to configure the damage logs here
https://github.com/BadgerCode/tttdamagelogs/wiki/Configuring-the-damage-logs

You will need to add the role to the JSON config file
gmod_server/garrysmod/data/damagelog/config.json

Under the Permissions block
Bazinga 18 May, 2024 @ 8:39am 
I'm trying to put another rank to use the rdm manager but it doesn't work
at first, i tried to put the role: "helper" as 3 (see damage logs in spectator mode). Didn't work, and then i put 4, didn't work too. What do I do? I need to put my helpers on the admin rank just for them to use the rdm manager, could you help me how to solve this (Yes I've put the roles the correct way on the config.lua folder )
Badger  [author] 4 Mar, 2024 @ 2:44pm 
Heyo!
Sorry I didn't see this message before.

I replied to your issue on the github page about bots not spawning as traitors/detectives with a potential fix for the addon.
https://github.com/BadgerCode/tttdamagelogs/issues/102

I've tried it with some bots myself and it seems to work fine.
But some more testing should probably be done before it can be approved.
Mach2Infinity 12 Feb, 2024 @ 7:44am 
Hi. It's a fantastic addon and a great tool for server admins.

However, I've ran into a bizarre issue. If I have TTT Damage Logs & RDM Manager loaded into my Workshop collection, when I play with bots (10 players in total including me) I'm always chosen as a traitor with no detective. I've not tried it with other players yet. If I remove the addon from the collection, the issue's resolved.

I even deleted the server and started from scratch but it still happens. I'm sure the server.cfg has default values.

Maybe unrelated but when I ran the addon for the first time on the server. First time I pressed F8 the RDM Manager etc would appear. However, after that it would load me into a single player sandbox mode with a random map. I had to type "unbind f8" in the console to restore the F8 functionality again.

Has anyone had this issue?
Badger  [author] 15 Nov, 2023 @ 9:37am 
I was able to reproduce the reports problem on the previous version of the damage logs (3.7.0).
The latest version (3.8.0) contains a fix for that specific problem.

Regarding your config issues, are you modifying the config.json file?
https://github.com/BadgerCode/tttdamagelogs/wiki/Configuring-the-damage-logs

The other issue you've mentioned I've not seen before.
Does it happen often?
[★SG★] Guushi 14 Nov, 2023 @ 11:16am 
Don't think it's fixed. I'm trying to modify the config and it keeps resetting to default. Also having this error now.
[ttt_damagelogs] addons/ttt_damagelogs/lua/damagelogs/shared/events.lua:74: attempt to index local 'tbl' (a nil value)
1. InfoFromID - addons/ttt_damagelogs/lua/damagelogs/shared/events.lua:74
2. ToString - addons/ttt_damagelogs/lua/damagelogs/shared/events/damages.lua:90
3. AddLogsLine - addons/ttt_damagelogs/lua/damagelogs/client/listview.lua:134
4. func - addons/ttt_damagelogs/lua/damagelogs/client/tabs/damagetab.lua:520
5. unknown - lua/includes/extensions/net.lua:38
Badger  [author] 5 Nov, 2023 @ 9:53am 
Looks like a recent update has broken some aspects of the damage logs.
Tracking the issue here:
https://github.com/BadgerCode/tttdamagelogs/issues/96
[★SG★] Guushi 4 Nov, 2023 @ 12:37pm 
Reports are broken on x64 branch after latest gmod update. Happens randomly
ZeRelic 24 Sep, 2023 @ 9:39pm 
thanks!
Badger  [author] 24 Sep, 2023 @ 12:52pm 
Ah yeah. I can see the same issue @ZeRelic
I have created a Github issue to track this problem
https://github.com/BadgerCode/tttdamagelogs/issues/95
ZeRelic 24 Sep, 2023 @ 5:27am 
i have a little promble with RDM manager..
when you type non-English characters(like korean or japanse..) in RDM Manager and send them, they come out broken. (looks like this: ������)

i dont have any problem in previous versione at least 3.1.0.
Badger  [author] 3 Jul, 2023 @ 11:39am 
Sorry, someone left a comment and I accidentally deleted it.
The workshop website could really do with modernising...
Badger  [author] 3 Jul, 2023 @ 11:38am 
Heyo!
There's an configuration example [github.com] and more information about the permissions block [github.com] of the config.

If these links don't help, feel free to raise an issue on the code repository, with a copy of your config.json and I can take a look
https://github.com/BadgerCode/tttdamagelogs/issues
hashbrown pussy 16 May, 2023 @ 11:37am 
Much appreciated! Awesome addon, btw.
Badger  [author] 16 May, 2023 @ 11:32am 
Hey Dill

You have two options:
- Bind a key to the command damagelog
- Change the key used to open the damage log in the server config [github.com]
hashbrown pussy 15 May, 2023 @ 7:41pm 
How do I bind a key to open the log? I'm sorry if the answer is clear somewhere lol, I just couldn't find it
Badger  [author] 1 May, 2023 @ 9:19am 
Hey Der_Orientierungslose!
While the addon does support TTT2, there are a few areas that could do with improvement.

I don't think there is any configuration relating to the report prompt and TTT2 roles.

I think this is related to an open issue that someone else raised:
https://github.com/BadgerCode/tttdamagelogs/issues/67
Der_Orientierungslose 30 Apr, 2023 @ 9:06am 
Hey Badger,

thanks for the answer. Can I ask you something regarding TTT2.
If one of the new TTT2 roles (like jackal or necromancer) kill someone they get a prompt to report the person but killing ppl is what these roles are supposed to do. Is there any way to configure the mod so you don't get a report pop-up if your killer is such a role?
Badger  [author] 22 Apr, 2023 @ 6:14am 
The addon has been updated now to support configuration for workshop users
See
https://github.com/BadgerCode/tttdamagelogs/releases/tag/v3.6.0
Badger  [author] 23 Mar, 2023 @ 1:01pm 
Hey Der_Orientierungslose
Managing which roles have access to the RDM manager is done through the addon's configuration.

I am hoping to release a change in the next week or two, made by a community member, which will make this much easier.
Der_Orientierungslose 21 Mar, 2023 @ 3:07am 
If i may ask. How do i grant different roles from ulx access to the RDM Manager?