• TTT Damagelogs - MySQL Edition
    472 replies, posted
[QUOTE=tommy228;46470556]I'll add an option to disable the death scene anyway, so wait for the next update and try.[/QUOTE] Was this option ever added? I cannot find anything in the config file for it.
Hey i love this addon you've made! Our server uses it and its really handy, although i would like to report a bug we've experienced, if a user reports another user on the last round of a map or before the map changes and the victim hasnt forgave or kept the report, next round we cant set it in progress or finished and the player doesnt get the box on their screen, would you mind looking into this? Thank you :)
So, i use the damagelogs, but on my server, the damagelogs look different than the images in media. There is no about page, but there is a drop down box on the right that says about. There are other parts that look different as well. I followed the download but i dont know why it looks different.
pls make it darkrp
[QUOTE=Brianso;48639030]pls make it darkrp[/QUOTE] Get one of these: [url]https://scriptfodder.com/scripts/search/log/[/url]
Hey! Our server ran into some troubles with this, and I'm hoping you can help. First off, our Jailbreak server currently uses a dlog system meant for Darkrp (lots of useless tabs), and a separate reporting system with problems of its own. Our TTT server has your reporting system, and we love it (especially the death replay feature). However, we tried to transfer it over to our Jailbreak server, and the server broke. We cannot use chat (through the game or console), use mic, and our consoles are being spammed with: [ERROR] addons/pointshop2/lua/ps2/client/notifications/cl_dpointfeed.lua:59: attempt to index field 'scoreAnim' (a nil value) 1. unknown - addons/pointshop2/lua/ps2/client/notifications/cl_dpointfeed.lua:59 [ERROR] addons/pointshop2/lua/ps2/client/notifications/cl_dpointfeed.lua:59: attempt to index field 'scoreAnim' Can this even be used in Jailbreak? If not, is there a good alternative you would recommend? Thanks!
[QUOTE=ThisIsMe:3;48707268]Hey! Our server ran into some troubles with this, and I'm hoping you can help. First off, our Jailbreak server currently uses a dlog system meant for Darkrp (lots of useless tabs), and a separate reporting system with problems of its own. Our TTT server has your reporting system, and we love it (especially the death replay feature). However, we tried to transfer it over to our Jailbreak server, and the server broke. We cannot use chat (through the game or console), use mic, and our consoles are being spammed with: [ERROR] addons/pointshop2/lua/ps2/client/notifications/cl_dpointfeed.lua:59: attempt to index field 'scoreAnim' (a nil value) 1. unknown - addons/pointshop2/lua/ps2/client/notifications/cl_dpointfeed.lua:59 [ERROR] addons/pointshop2/lua/ps2/client/notifications/cl_dpointfeed.lua:59: attempt to index field 'scoreAnim' Can this even be used in Jailbreak? If not, is there a good alternative you would recommend? Thanks![/QUOTE] Uh, the name is TTT Damagelogs, I think that's pretty self explanatory.
[QUOTE=xthenarwhalx;48712035]Uh, the name is TTT Damagelogs, I think that's pretty self explanatory.[/QUOTE] Like I said, the one we are currently using is meant for Darkrp. It still functions, but has a whole bunch of useless tabs. Is there something in this system that would prevent it's functioning in other game modes?
[QUOTE=ThisIsMe:3;48712190]Like I said, the one we are currently using is meant for Darkrp. It still functions, but has a whole bunch of useless tabs. Is there something in this system that would prevent it's functioning in other game modes?[/QUOTE] Basically the whole thing. It has detection when a TTT round is over, which uses different end round codes than Jailbreak, and RDM Manager, detects only TTT specific roles, has a replay which should only work with TTT. Basically unless you want to recode 95% of this, you're better off using something else.
[QUOTE=xthenarwhalx;48712785]Basically the whole thing. It has detection when a TTT round is over, which uses different end round codes than Jailbreak, and RDM Manager, detects only TTT specific roles, has a replay which should only work with TTT. Basically unless you want to recode 95% of this, you're better off using something else.[/QUOTE] Are there any like this that you would recommend?
[QUOTE=ThisIsMe:3;48719096]Are there any like this that you would recommend?[/QUOTE] There's none as good as this that work for other gamemodes + I only run TTT and Deathrun(which doesn't need logs), so I wouldn't know.
-snip-
I love this but I have an error " [ERROR] lua/cl_menu.lua:18: attempt to call field 'chatPrint' (a nil value) 1. damagelogMenu - lua/cl_menu.lua:18 2. unknown - lua/cl_menu.lua:32 3. unknown - lua/includes/modules/concommand.lua:54 " & I use hatschat2. I think it might be an issue with the chatbox? I don't know
[QUOTE=Angel+;48837161]I love this but I have an error " [ERROR] lua/cl_menu.lua:18: attempt to call field 'chatPrint' (a nil value) 1. damagelogMenu - lua/cl_menu.lua:18 2. unknown - lua/cl_menu.lua:32 3. unknown - lua/includes/modules/concommand.lua:54 " & I use hatschat2. I think it might be an issue with the chatbox? I don't know[/QUOTE] Shouldn't be unless it's an issue with the most up to date version. Mine doesn't do this and I use HatChat 2.
How do I add a group to be able to access the RDM Manager tab and be able to take care of reports?
[QUOTE=Aerosoft;48928698]How do I add a group to be able to access the RDM Manager tab and be able to take care of reports?[/QUOTE] in the settings....
I've got an issue with the MySQL settings. Fatal error: Call to a member function fetch_assoc() on a non-object in public_html/logs/index.php on line 53. I've tried many combinations.
I get this error when I start my server: [ERROR] addons/dmglogs/lua/damagelogs/sv_weapontable.lua:71: attempt to compare nil with number 1. GetWepTable - addons/dmglogs/lua/damagelogs/sv_weapontable.lua:71 2. unknown - addons/dmglogs/lua/damagelogs/sv_oldlogs.lua:77 3. include - [C]:-1 4. unknown - addons/dmglogs/lua/damagelogs/sv_damagelog.lua:38 5. include - [C]:-1 6. unknown - addons/dmglogs/lua/autorun/damagelog_autorun.lua:20
I have a server that runs this addon, but I'm having an error on trying to get a group to be to use the menu and use autoslay next round when taking action. The group is Centuris,I made it with ulx and it derives from operator. This is the config lua there are no errors in console or anything, I just can't get the group access for some reason [CODE] --[[ User rights. NOTE : After the 2.0 update, everyone can open the logs to view the logs of the previous rounds. The default level is 1 if your rank isn't here. 1 and 2 : Can't view logs of the active rounds 3 : Can view the logs of the active rounds as a spectator 4 : Can always view the logs of the active ranks The third argument is the RDM Manager access. Set it to true or false. ]]-- Damagelog:AddUser("superadmin", 4, true) Damagelog:AddUser("admin", 4, true) Damagelog:AddUser("Imperos", 4, true) Damagelog:AddUser("Zero", 4, true) Damagelog:AddUser("Centuris", 4, true) Damagelog:AddUser("Operator", 4, true) Damagelog:AddUser("Drift", 4, true) Damagelog:AddUser("user", 1, false) Damagelog:AddUser("guest", 1, false) -- The F-key Damagelog.Key = KEY_F8 --[[ A message is shown when an alive player opens the menu 1 : if you want to only show it to superadmins 2 : to let others see that you have abusive admins ]]-- Damagelog.AbuseMessageMode = 1 -- true to enable the RDM Manager, false to disable it Damagelog.RDM_Manager_Enabled = true -- Command to open the report menu. Don't forget the quotation marks Damagelog.RDM_Manager_Command = "!report" -- Command to open the respond menu while you're alive Damagelog.Respond_Command = "!respond" --[[ Set to true if you want to enable MySQL (it needs to be configured on config/mysqloo.lua) Setting it to false will make the logs use SQLite (garrysmod/sv.db) ]]-- Damagelog.Use_MySQL = false --[[ Enables the !aslay and !aslayid command for ULX, designed to work with the logs. Works like that : !aslay target number_of_slays reason Example : !aslay tommy228 2 RDMing a traitor Example : !aslayid STEAM_0:0:1234567 2 RDMing a traitor ]]-- Damagelog.Enable_Autoslay = true -- Force autoslain players to be innocents (overrides SelectRoles) Damagelog.Autoslay_ForceRole = false -- Default autoslay reason Damagelog.Autoslay_DefaultReason = "No reason specified" -- The number of days the logs last on the database (to avoid lags when opening the menu) Damagelog.LogDays = 31[/CODE]
I don't think Tommy is keeping this updated anymore sadly.
[QUOTE=Aerosoft;49186611]I have a server that runs this addon, but I'm having an error on trying to get a group to be to use the menu and use autoslay next round when taking action. The group is Centuris,I made it with ulx and it derives from operator. This is the config lua there are no errors in console or anything, I just can't get the group access for some reason [CODE] --[[ User rights. NOTE : After the 2.0 update, everyone can open the logs to view the logs of the previous rounds. The default level is 1 if your rank isn't here. 1 and 2 : Can't view logs of the active rounds 3 : Can view the logs of the active rounds as a spectator 4 : Can always view the logs of the active ranks The third argument is the RDM Manager access. Set it to true or false. ]]-- Damagelog:AddUser("superadmin", 4, true) Damagelog:AddUser("admin", 4, true) Damagelog:AddUser("Imperos", 4, true) Damagelog:AddUser("Zero", 4, true) Damagelog:AddUser("Centuris", 4, true) Damagelog:AddUser("Operator", 4, true) Damagelog:AddUser("Drift", 4, true) Damagelog:AddUser("user", 1, false) Damagelog:AddUser("guest", 1, false) -- The F-key Damagelog.Key = KEY_F8 --[[ A message is shown when an alive player opens the menu 1 : if you want to only show it to superadmins 2 : to let others see that you have abusive admins ]]-- Damagelog.AbuseMessageMode = 1 -- true to enable the RDM Manager, false to disable it Damagelog.RDM_Manager_Enabled = true -- Command to open the report menu. Don't forget the quotation marks Damagelog.RDM_Manager_Command = "!report" -- Command to open the respond menu while you're alive Damagelog.Respond_Command = "!respond" --[[ Set to true if you want to enable MySQL (it needs to be configured on config/mysqloo.lua) Setting it to false will make the logs use SQLite (garrysmod/sv.db) ]]-- Damagelog.Use_MySQL = false --[[ Enables the !aslay and !aslayid command for ULX, designed to work with the logs. Works like that : !aslay target number_of_slays reason Example : !aslay tommy228 2 RDMing a traitor Example : !aslayid STEAM_0:0:1234567 2 RDMing a traitor ]]-- Damagelog.Enable_Autoslay = true -- Force autoslain players to be innocents (overrides SelectRoles) Damagelog.Autoslay_ForceRole = false -- Default autoslay reason Damagelog.Autoslay_DefaultReason = "No reason specified" -- The number of days the logs last on the database (to avoid lags when opening the menu) Damagelog.LogDays = 31[/CODE][/QUOTE] Remember that's it case-sensitive.
For some reason I cannot get this to work at all. I put it in my addons and restarted and it just will not work.
Is it possible to still get the old version?
The flaw/loophole i noticed is that there is no point in setting a usergroup to 3 in the config. Even though you are disabling the group from viewing the current rounds dmg logs, you can still view current round reports or roles. I could have swore there was a feature/option to disable a usergroup from opening the F8 menu period while alive.
Okay, so.... I have the addon installed and anytime someone kills you. There are two windows that come up. The first window is an option to send the admins a message. The second is the real reporting menu. But the first window is deceptive and appears every time. How do I get rid of the first window?
[QUOTE=B50 - Legacy;49555380]Okay, so.... I have the addon installed and anytime someone kills you. There are two windows that come up. The first window is an option to send the admins a message. The second is the real reporting menu. But the first window is deceptive and appears every time. How do I get rid of the first window?[/QUOTE] ? Photos please. I don't understand.
Some weird bug after the most recent gmod update, [url]https://github.com/Tommy228/TTTDamagelogs/issues/242[/url] Web is broken, seems fine ingame though.
How can i add groups that he edit reports
ddd
A fix has been added for damagelog website issues in case anyone is still looking [url]https://github.com/Tommy228/TTTDamagelogs/commit/6fc3ab624ed4e2590f82427159b16cb071f33a0e[/url]
Sorry, you need to Log In to post a reply to this thread.