• TTT Damagelogs - MySQL Edition
    472 replies, posted
With Pointshop 2 installed, and after adding this damagelog addon, console spits out this error: [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 Anyone have any ideas as to why?
Can you tell me how to add rdm manager option to ulx groups cuz i have trouble with it. yhx
[ERROR] addons/tttdamagelogs-master/lua/damagelogs/cl_damagelog.lua:138: bad argument #1 to 'IsKeyDown' (number expected, got nil) 1. IsKeyDown - [C]:-1 2. Think - addons/tttdamagelogs-master/lua/damagelogs/cl_damagelog.lua:138 3. fn - addons/tttdamagelogs-master/lua/damagelogs/cl_damagelog.lua:156 4. unknown - addons/ulib/lua/ulib/shared/hook.lua:110 I got this error when I added more groups to see the RDM manager. What happened?
How would I go about adding a custom line to the logs for another external script I am making?
So I downloaded this addon.. extracted it into my garrysmod/addons folder , restarted my server.. but nothing shows up.. No f8 .. No !rdm or !report command.. its as if i never extracted it in the first place but i did it EXACTLY how the installation was said to do... please anyone know what the problem is?
[QUOTE=Supernic212;50329702]So I downloaded this addon.. extracted it into my garrysmod/addons folder , restarted my server.. but nothing shows up.. No f8 .. No !rdm or !report command.. its as if i never extracted it in the first place but i did it EXACTLY how the installation was said to do... please anyone know what the problem is?[/QUOTE] If you're using Linux, make all letters lowercase
[QUOTE=tommy228;45660240]A highly respected and useful damagelog for Trouble in Terrorist Town, a combination of an RDM Manager, old logs (which allows admins to view RDM from previous days/weeks) along with a sleek and well detailed damagelog, fully customizable colors to help those cheeky RDMs stand out from normal gameplay. [URL="https://github.com/Tommy228/TTTDamagelogs"]Github link[/URL] [URL="https://github.com/Tommy228/TTTDamagelogs/archive/master.zip"]Download (zip)[/URL] [b] About the RDM Manager [/b] The RDM manager is a passive system built into the damage logs that allows admins to deal with RDM in a timely fashion. When a report is filed, each party involved will be able to write what happened and the victim will have access to the portion of the damage logs involving their death. The accused will not be able to write his side of the story until they die, or the round ends. The victim can view the accused's message and decide to forgive him or not. You will be able to veiw the report, along with any pertinent logs. As an admin, you can then take action against the participants. It is recommended that you discuss how the manager will work with your admins carefully, so that it isn't abused, or used incorrectly. [b] Media [/b] [URL=http://image.noelshack.com/fichiers/2014/36/1410005854-2014-09-06-00007.jpg]Colored damagelogs[/URL] [URL=http://www.youtube.com/watch?v=6zAK6NRBSpw]The Death scene feature (video)[/URL] [URL=http://image.noelshack.com/fichiers/2014/36/1410005842-2014-09-06-00006.jpg]Shots tab[/URL] [URL=http://image.noelshack.com/fichiers/2014/36/1410005953-2014-09-06-00002.jpg]Settings[/URL] [URL=http://image.noelshack.com/fichiers/2014/36/1410005955-2014-09-06-00001.jpg]The RDM Manager tab (for admins)[/URL] [URL=http://image.noelshack.com/fichiers/2013/36/1378223568-2013-09-03-00012.jpg]Reporting[/URL] [URL=http://image.noelshack.com/fichiers/2013/36/1378223559-2013-09-03-00011.jpg]Respond to player(s) reporting you[/URL] [URL=http://image.noelshack.com/fichiers/2014/36/1410005963-2014-09-06-00005.jpg]Damage informations[/URL] [URL=http://cloud-4.steampowered.com/ugc/74625700029673724/33262631E2BAECB5C5158F9DC07BA1C54CAD464C]Old logs[/URL] [B]Instructions :[/B] Make sure the old version ([I]Damagelog-master[/I] or [I]damagelog_addon[/I]) is not installed. Install [URL="http://facepunch.com/showthread.php?t=1220537"]mysqloo[/URL] if you want to use it with MySQL (mysql settings are on [I]config/mysqloo.lua[/I]) Extract the [I]TTTDamagelogs-master[/I] folder to garrysmod/addons/ (rename it to [I]tttdamagelogs[/I] if you are using Linux). Configure the general settings on the [I]damagelog_addon/lua/config/config.lua[/I] file. Restart your server and press F8 (or bind a key to damagelog) to use it on your server. If you have a web server, everything you need is on the [I]website_code/[/I] folder. [URL=https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=ghali%2eouazzany%40icloud%2ecom&lc=GB&item_name=Tommy228&no_note=0¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHostedGuest][img]https://www.paypalobjects.com/en_GB/i/btn/btn_donate_LG.gif[/img][/url][/QUOTE] Our ranks OWNER, and moderator are not being recognised as "staff" "no staff are online" any idea where i can add these ranks?
So I have this addon installed and for some reaosn, even though the "owner" inherits from superadmin, it still isnt able to use the RDM manager. I have th settings configured and I MADE SURE that it was the right case, because I know it is case-sensitive. Here is the settings file: [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("owner", 4, true) Damagelog:AddUser("superadmin", 4, true) Damagelog:AddUser("admin", 4, true) Damagelog:AddUser("operator", 1, false) 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] Any help?
Thx dude !! ^3^
So, my config file has the superadmin set to true and 4, however, whenever I try to slay someone through rdm manager it says "you don't have permission to use that command." What am I doing wrong? I am set as superadmin
One of my friends is currently have issue with the Damage Manager on a TTT server but it's client side. Apparently whenever he dies, it only shows a blurred screen (assuming its: "Derma_DrawBackgroundBlur") but no prompt and he's using a Mac to play Gmod. I'm wondering if this is an issue that occurs with just Mac users and also if someone could recommend a fix via console/editing a file or does the fix have to occur on server side?
Is it possible to add users by Steam ID rather than ULX group?
[QUOTE=tommy228;45660240]A highly respected and useful damagelog for Trouble in Terrorist Town, a combination of an RDM Manager, old logs (which allows admins to view RDM from previous days/weeks) along with a sleek and well detailed damagelog, fully customizable colors to help those cheeky RDMs stand out from normal gameplay. [URL="https://github.com/Tommy228/TTTDamagelogs"]Github link[/URL] [URL="https://github.com/Tommy228/TTTDamagelogs/archive/master.zip"]Download (zip)[/URL] [b] About the RDM Manager [/b] The RDM manager is a passive system built into the damage logs that allows admins to deal with RDM in a timely fashion. When a report is filed, each party involved will be able to write what happened and the victim will have access to the portion of the damage logs involving their death. The accused will not be able to write his side of the story until they die, or the round ends. The victim can view the accused's message and decide to forgive him or not. You will be able to veiw the report, along with any pertinent logs. As an admin, you can then take action against the participants. It is recommended that you discuss how the manager will work with your admins carefully, so that it isn't abused, or used incorrectly. [b] Media [/b] [URL=http://image.noelshack.com/fichiers/2014/36/1410005854-2014-09-06-00007.jpg]Colored damagelogs[/URL] [URL=http://www.youtube.com/watch?v=6zAK6NRBSpw]The Death scene feature (video)[/URL] [URL=http://image.noelshack.com/fichiers/2014/36/1410005842-2014-09-06-00006.jpg]Shots tab[/URL] [URL=http://image.noelshack.com/fichiers/2014/36/1410005953-2014-09-06-00002.jpg]Settings[/URL] [URL=http://image.noelshack.com/fichiers/2014/36/1410005955-2014-09-06-00001.jpg]The RDM Manager tab (for admins)[/URL] [URL=http://image.noelshack.com/fichiers/2013/36/1378223568-2013-09-03-00012.jpg]Reporting[/URL] [URL=http://image.noelshack.com/fichiers/2013/36/1378223559-2013-09-03-00011.jpg]Respond to player(s) reporting you[/URL] [URL=http://image.noelshack.com/fichiers/2014/36/1410005963-2014-09-06-00005.jpg]Damage informations[/URL] [URL=http://cloud-4.steampowered.com/ugc/74625700029673724/33262631E2BAECB5C5158F9DC07BA1C54CAD464C]Old logs[/URL] [B]Instructions :[/B] Make sure the old version ([I]Damagelog-master[/I] or [I]damagelog_addon[/I]) is not installed. Install [URL="http://facepunch.com/showthread.php?t=1220537"]mysqloo[/URL] if you want to use it with MySQL (mysql settings are on [I]config/mysqloo.lua[/I]) Extract the [I]TTTDamagelogs-master[/I] folder to garrysmod/addons/ (rename it to [I]tttdamagelogs[/I] if you are using Linux). Configure the general settings on the [I]damagelog_addon/lua/config/config.lua[/I] file. Restart your server and press F8 (or bind a key to damagelog) to use it on your server. If you have a web server, everything you need is on the [I]website_code/[/I] folder. [URL=https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=ghali%2eouazzany%40icloud%2ecom&lc=GB&item_name=Tommy228&no_note=0¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHostedGuest][img]https://www.paypalobjects.com/en_GB/i/btn/btn_donate_LG.gif[/img][/url][/QUOTE] Hello, great addon first of all! Just wondering, i have made a new group on my server however i dont have access to the RDM manager, ive looked through it all but cant figure out where you input the line to make that specific group have access. Im using ulx & also ulx custom commands. The new group name is "owner" and by default the only people allowed access to rdm manager is Superadmin and admin, so i can i add more groups to have access? Thanks
[QUOTE=WoodsGaming;51208845]Hello, great addon first of all! Just wondering, i have made a new group on my server however i dont have access to the RDM manager, ive looked through it all but cant figure out where you input the line to make that specific group have access. Im using ulx & also ulx custom commands. The new group name is "owner" and by default the only people allowed access to rdm manager is Superadmin and admin, so i can i add more groups to have access? Thanks[/QUOTE] [url]https://github.com/Tommy228/TTTDamagelogs/blob/master/lua/damagelogs/config/config.lua#L16[/url]
[QUOTE=WoodsGaming;51208845]Hello, great addon first of all! Just wondering, i have made a new group on my server however i dont have access to the RDM manager, ive looked through it all but cant figure out where you input the line to make that specific group have access. Im using ulx & also ulx custom commands. The new group name is "owner" and by default the only people allowed access to rdm manager is Superadmin and admin, so i can i add more groups to have access? Thanks[/QUOTE] This just makes me so sad
ignore this
Hey, On my Server is a Problem with the Damagelog. The Damagelog always says no available logs for the current map, What can i do?
I love the logs. They're so useful and I'm glad you ended up making this. It changed a lot over the years. I re made a TTT server and it's completely different from what I remember it to be. I however, have a minor bug. When I watch the death scene, I don't jump right on the player sometimes, I'll just be in free mode. Clicking on "Spectacte victim/attacker" doesn't do anything when I'm in that free mode. Am I an idiot or?
Hi tommy, since Garrysmod Updated on the 19/12/16 it seems to have bugged out my server a bit and the huge main issue is because of your RDM Manager, showing this error which breaks pretty much everything including pointshop 2 and just general spawning, models etc. this is the error that shows up please help me fix this asap!: [ERROR] addons/tttdamagelogs-master/lua/damagelogs/cl_tabs/settings.lua:107: bad argument #1 to 'pairs' (table expected, got nil) 1. pairs - [C]:-1 2. Update - addons/tttdamagelogs-master/lua/damagelogs/cl_tabs/settings.lua:107 3. DrawSettings - addons/tttdamagelogs-master/lua/damagelogs/cl_tabs/settings.lua:117 4. OpenMenu - addons/tttdamagelogs-master/lua/damagelogs/cl_damagelog.lua:121 5. Think - addons/tttdamagelogs-master/lua/damagelogs/cl_damagelog.lua:141 6. fn - addons/tttdamagelogs-master/lua/damagelogs/cl_damagelog.lua:156 7. unknown - addons/ulib-v2_61/lua/ulib/shared/hook.lua:110
i know its maybe a dumb question, but well i'm superadmin and can work the recieved reports, i can slay in the current round but i cannot slay in the next round, i always get the error message that i dont have access to this command ? but in the ulx menu i can do that ?:/
[QUOTE=Thore;51400497]Hey, On my Server is a Problem with the Damagelog. The Damagelog always says no available logs for the current map, What can i do?[/QUOTE] Got the same problem. Have not found a fix yet :( Edit: NVM. A other plugin caused the problem.
Hey there! The server I play on has used this plugin forever now and we love it. We recently started moving everything over to mySQL and have updated this accordingly. We've set Damagelog.Use_MySQL = true and created what we believe to be all the correct tables (damagelog_oldlogs, damagelog_weapons, damagelog_autoslay, and damagelog_names). Damage logs are stored successfully, however it doesn't store slays there. The slays carry over in between maps, though. Are we doing something wrong, or are slays not stored via mySQL? Cheers!
Sorry if this has already been answered, it's quite difficult to search for it on here. But I was wondering if it is possible to increase the length of Death Scene, perhaps even a few seconds after the death of the victim? Or perhaps a recorded death scene that covers the entire round.
SQL Error: near "LIMIT": syntax error This appears on my console from time to time
Small update about the development status of the addon. I'm sorry for being inactive for the last 2 years and leaving a lot of issues behind even though the addon is still used by most TTT servers. These 2 years have been difficult to me and I couldn't get myself to work on my addons. Meanwhile, Min and My Dime Is Up have started working on a new version. Min also has fixed and supported TTT Spectator Deathmatch which was very nice of him. I have now started working on the next version of the addon since I have some free time now. This version will fix the current bugs and add some very requested features. More importantly, I'll do my best to keep it updated and fix important issues in the future. I have created an [URL="https://github.com/Tommy228/TTTDamagelogs/tree/experimental"]experimental branch[/URL] for it on github. Server owners should receive a notification on their servers when it's ready (in a few days or weeks).
[QUOTE=tommy228;52644021]Small update about the development status of the addon. I'm sorry for being inactive for the last 2 years and leaving a lot of issues behind even though the addon is still used by most TTT servers. These 2 years have been difficult to me and I couldn't get myself to work on my addons. Meanwhile, Min and My Dime Is Up have started working on a new version. Min also has fixed and supported TTT Spectator Deathmatch which was very nice of him. I have now started working on the next version of the addon since I have some free time now. This version will fix the current bugs and add some very requested features. More importantly, I'll do my best to keep it updated and fix important issues in the future. I have created an [URL="https://github.com/Tommy228/TTTDamagelogs/tree/experimental"]experimental branch[/URL] for it on github. Server owners should receive a notification on their servers when it's ready (in a few days or weeks).[/QUOTE] W e w l a d this excites me tbh. What prompted you to "come back" and/or recreate the addon? Why create a new one, and not just update the old one? I'm gonna guess that it's easier / more refreshing to work on something new.
[QUOTE=Caaiin;52644969]What prompted you to "come back" and/or recreate the addon? Why create a new one, and not just update the old one? I'm gonna guess that it's easier / more refreshing to work on something new.[/QUOTE] Nothing really prompted me to work again on this, I just recently got some time on my hands and thought I could work on my personal projects including the damagelogs. Also, the addon is not getting rewritten (that would take too much time). We are just updating the existing code with optimizations, improvements and bug fixes. I'm currently working on adding some very requested features, for example : - Forcing players to stay on a chat. - Creating admin-reports. These can be used by the admins to interrogate players even if they have not been reported. It can also be used to directly open a chat with the reported player. - Changing the status of a report all the time. Admins will not have to wait for the victim/attacker to interact before setting a report to "In progress" or "Finished".
[QUOTE=tommy228;52646369]-snip-[/QUOTE] Thats a neat list of updates, I look forward to it. What do you think about the possibility of implementing a round setting to shot logs? As an active staff member for a TTT server, the shot logs disappearing after each round is pretty punishing as often reports can only be done after the round has occured. If it acted like the logs, where each rounds data is stored for immediate access when reviewing events. Just a request, love your work.
[QUOTE=Caaiin;52651524]What do you think about the possibility of implementing a round setting to shot logs? As an active staff member for a TTT server, the shot logs disappearing after each round is pretty punishing as often reports can only be done after the round has occured. If it acted like the logs, where each rounds data is stored for immediate access when reviewing events. [/QUOTE] That is already implemented, not very clearly though. The shots tab loads the logs of the round you are currently viewing on the damagelog tab. The current round is now displayed on the shots tab to make it clearer [URL="https://steamuserimages-a.akamaihd.net/ugc/844844451308471352/3FED8BABDE5851274FC8F00FF75B206CDC76B64B/"]as you can see here[/URL]. I'm currently testing this new version before sending an update notifications to all TTT servers using the current version, you can add me on steam if you want to help testing (or anyone else).
[QUOTE=tommy228;52652018]That is already implemented, not very clearly though. The shots tab loads the logs of the round you are currently viewing on the damagelog tab. The current round is now displayed on the shots tab to make it clearer [URL="https://steamuserimages-a.akamaihd.net/ugc/844844451308471352/3FED8BABDE5851274FC8F00FF75B206CDC76B64B/"]as you can see here[/URL]. I'm currently testing this new version before sending an update notifications to all TTT servers using the current version, you can add me on steam if you want to help testing (or anyone else).[/QUOTE] Huh, I never knew that. Thank you ^-^ Yeah, added, I'd love to help you test.
Sorry, you need to Log In to post a reply to this thread.