• TTT Damagelogs - MySQL Edition
    472 replies, posted
One of the greatest addon for garrys mod. Thx Tommy. But the old logs doesn't work since the last update.
Oh I have an idea. If someone is slain, the first lines of the damage log for that round could be _ was slain. Some people are telling me aslay isn't working properly if you leave and come back, but i don't know how many times it's slain them since i just got on. But i believe it is working correctly and they're just mad because they had a few pending slays. The incident just inspired the idea of printing slays in logs.
How do i " Configure the general settings on the damagelog_addon/lua/config/config.lua file?" [editline]23rd January 2015[/editline] How do i Configure the general settings on the damagelog_addon/lua/config/config.lua file?
[QUOTE=Merlinator123;46995722]How do i " Configure the general settings on the damagelog_addon/lua/config/config.lua file?" [editline]23rd January 2015[/editline] How do i Configure the general settings on the damagelog_addon/lua/config/config.lua file?[/QUOTE] You would open this file in your favorite text editor and make changes to make it act like you want it to.
I am a superadmin but when someone does !report it makes a buzz sound and then says no admin online.
[QUOTE=JackTheKnife22;47007684]I am a superadmin but when someone does !report it makes a buzz sound and then says no admin online.[/QUOTE] You do not have the ranks set up correctly in the config [url]https://github.com/Tommy228/TTTDamagelogs/blob/master/lua/damagelogs/config/config.lua[/url]
I have a problem naming several weapons in the dmglog. A martyrdom grenade is called "1024" when being purchased. If I assign "1024" to the name "a Martyr Grenade" it stays named "xyz bought 1024" in the log via F8. Is there a way to fix this? I'm running 2.2.1
[QUOTE=bonsaibaum;47023038]I have a problem naming several weapons in the dmglog. A martyrdom grenade is called "1024" when being purchased. If I assign "1024" to the name "a Martyr Grenade" it stays named "xyz bought 1024" in the log via F8. Is there a way to fix this? I'm running 2.2.1[/QUOTE] Is it called "1024" because it's an equipment on sh_equip_items.lua ? In this case you need to add it to [i]damagelog_events/weapons.lua[/i] [lua] event.Equips = { [EQUIP_RADAR] = "a radar", [EQUIP_ARMOR] = "a set of body armor", [EQUIP_DISGUISE] = "a disguiser", [1024] = "a Martyr Grenade" } [/lua] I'll make it so you can do it from the menu later.
Hey Tommy! I'm so glad to see this get updated still (even though I bought it haha) So I'm getting the issue of SpecDM deaths and damage coming up in the Damagelog. Any fix?
[QUOTE=sweetfoo;47026304]Hey Tommy! I'm so glad to see this get updated still (even though I bought it haha) So I'm getting the issue of SpecDM deaths and damage coming up in the Damagelog. Any fix?[/QUOTE] Well this should be fixed. What's your version number?
[QUOTE=tommy228;47026519]Well this should be fixed. What's your version number?[/QUOTE] Both of them are the latest releases on Github. [url]https://github.com/Tommy228/TTTDamagelogs[/url] [url]https://github.com/Tommy228/TTT_Spectator_Deathmatch[/url] I will try a clean install of them again and get back to you. EDIT: 2.2.1 btw [editline]28th January 2015[/editline] [QUOTE=tommy228;47026519]Well this should be fixed. What's your version number?[/QUOTE] [url]http://prntscr.com/5y38l0[/url] It's only when killed from fall damage/world
Where would I change the abuse mode to message admins instead of superadmins?
Something with updating my SpecDM started causing players to spawn under the map (only on the first round of the map) Any ideas?
[QUOTE=sweetfoo;47030026]Something with updating my SpecDM started causing players to spawn under the map (only on the first round of the map) Any ideas?[/QUOTE] 1)this is the wrong thread. This is for the Damage Logs 2)That JUST got updated today to fix it.
[QUOTE=tommy228;47026263]Is it called "1024" because it's an equipment on sh_equip_items.lua ? In this case you need to add it to [i]damagelog_events/weapons.lua[/i] [lua] event.Equips = { [EQUIP_RADAR] = "a radar", [EQUIP_ARMOR] = "a set of body armor", [EQUIP_DISGUISE] = "a disguiser", [1024] = "a Martyr Grenade" } [/lua] I'll make it so you can do it from the menu later.[/QUOTE] Awesome, thanks, it worked!
hey Tommy, i've got a server using both your damage logs (we haven't updated them yet though) and your spectator deathmatch. The specDM killings show up in the damage logs which makes moderating way too difficult, was wondering if you could help out? I think there should be a way to make the damage logs not register the ghost weapons or something? Idk that's one way i can think of solving it. If you do respond with a solution, thanks so much (also ama-ZING work on both add-ons, absolutely love them :D) I just saw some other guy posted with the same problem, although different damage log versions, we have the previous version to the latest, we'll try updating to the latest version and see if that works, but if not could you post a solution anyway? Thanks :D Also this happens when people are shot, i don't know about when they die from fall damage. Will try and get a screenshot of it asap.
[I]aslay 2[/I] You added 2 autoslays to Yourself with the reason : 'Lab Rat' [I]alsay 1[/I] You removed 1 slays to Yourself for the reason : 'Lab Rat'. He was previously autoslain 2 time(s). Still get slain [B][U]twice[/U][/B]. Old logs do not seem to work!
[QUOTE=Axle01;47061164]hey Tommy, i've got a server using both your damage logs (we haven't updated them yet though) and your spectator deathmatch. The specDM killings show up in the damage logs which makes moderating way too difficult, was wondering if you could help out? I think there should be a way to make the damage logs not register the ghost weapons or something? Idk that's one way i can think of solving it. If you do respond with a solution, thanks so much (also ama-ZING work on both add-ons, absolutely love them :D) I just saw some other guy posted with the same problem, although different damage log versions, we have the previous version to the latest, we'll try updating to the latest version and see if that works, but if not could you post a solution anyway? Thanks :D Also this happens when people are shot, i don't know about when they die from fall damage. Will try and get a screenshot of it asap.[/QUOTE] It shouldn't happen on updated versions at all.. unless you changed IsGhost() to something else on SpecDM. So update and try. [editline]4th February 2015[/editline] [QUOTE=Grinny;47072815][I]aslay 2[/I] You added 2 autoslays to Yourself with the reason : 'Lab Rat' [I]alsay 1[/I] You removed 1 slays to Yourself for the reason : 'Lab Rat'. He was previously autoslain 2 time(s). Still get slain [B][U]twice[/U][/B]. Old logs do not seem to work![/QUOTE] I don't see why they don't on some servers. Are you using MySQL or SQLite? I tried both and they seem to work fine here.
[QUOTE=tommy228;47074472] I don't see why they don't on some servers. Are you using MySQL or SQLite? I tried both and they seem to work fine here.[/QUOTE] Linux CentOS 6.5 SQLite Damagelog.Use_MySQL = false Damagelog.LogDays = 31 I'll delete it all, and re-download and see it it works, just in case I have made a mistake somewhere. [B]EDIT UPDATE:[/B] Fresh download doesn't change a thing. :( SQL setting doesn't write anything to the DB, I can see that a connection has been made though.
Hi, The Old Log issue was been fixed with your latest update! Still have issue with aslay as I reported above.
[QUOTE=Grinny;47101271]Hi, The Old Log issue was been fixed with your latest update! Still have issue with aslay as I reported above.[/QUOTE] What if you set aslay 0 then set it to aslay 1?
Yes, that works, setting to zero removes any slays on the target. However, being required to set slays 2>0>1 to set one slay from two, is poor, works, just not effective or designed to be that way.
[QUOTE=Grinny;47104583]Yes, that works, setting to zero removes any slays on the target. However, being required to set slays 2>0>1 to set one slay from two, is poor, works, just not effective or designed to be that way.[/QUOTE] Can you run this code on your server when the bug happens and show me the result? [lua]lua_run print(sql.LastError())[/lua]
Getting a weird error [CODE]Error in hook Think: addons/tttdamagelogs/lua/damagelogs/cl_tabs/damagetab.lua:317: attempt to index a nil value stack traceback: addons/tttdamagelogs/lua/damagelogs/cl_tabs/damagetab.lua:317: in function 'DrawDamageTab' addons/tttdamagelogs/lua/damagelogs/cl_damagelog.lua:116: in function 'OpenMenu' addons/tttdamagelogs/lua/damagelogs/cl_damagelog.lua:140: in function 'Think' addons/tttdamagelogs/lua/damagelogs/cl_damagelog.lua:155: in function 'fn' addons/ulib/lua/ulib/shared/hook.lua:183: in function <addons/ulib/lua/ulib/shared/hook.lua:161> [C]: in function '•&#8236;&#8301;&#8300;••&#8303;&#8299;&#8302;' [ERROR] 1. unknown - [C]:-1 [/CODE] Can't see proper shotlogs and rdm reports. This only started happening like 6 rounds into the game.
+1 people on my server have been wanting this Thanks!
Having trouble with aslay. When ever anyone apart from people with the rank owner or founder attempt to use the command, it says that they can't be targeted, no matter what the other players rank is
[QUOTE=tommy228;46974782] SQLite or MySQL? [/QUOTE] sorry tommy what do you mean?
[code] [ERROR] lua/damagelogs/cl_tabs/rdm_manager.lua:303: attempt to index local 'selected' (a nil value) 1. UpdateReport - lua/damagelogs/cl_tabs/rdm_manager.lua:303 2. func - lua/damagelogs/cl_tabs/rdm_manager.lua:395 3. unknown - lua/includes/modules/net.lua:32 [/code]
I'm having trouble with the addon,I put it successfully in my addons folder of my server,and once I restart and press f8 nothing pops up.Do you think you can help me?
[QUOTE=Anispider22;47160038]I'm having trouble with the addon,I put it successfully in my addons folder of my server,and once I restart and press f8 nothing pops up.Do you think you can help me?[/QUOTE] Have you set up the config file with your ulx ranks?
Sorry, you need to Log In to post a reply to this thread.