• TTT Damagelogs - MySQL Edition
    472 replies, posted
[QUOTE=Hollistupid;45781667]Seems to be having a problem with deaths not being updated. Players who are confirmed dead are still shown alive on the scoreboard.[/QUOTE] Do you have MySQL setup correctly? I had this issue when I didn't have it correctly set up.
There is a glitch where if a report is filled on an admin and is already solved, it keeps appearing to the admin every round on the current map.
[QUOTE=YourStalker;45781719]Do you have MySQL setup correctly? I had this issue when I didn't have it correctly set up.[/QUOTE] It seemingly was setup correctly, then after my restart/mysqLITE deletion it started happening.
This seems amazing for forum integration.
I can't be 100% sure but ever since I installed this addon, my server will constantly crash and restart for no reason. I have several .mdmp files but I'm not sure how to read them in order to tell what it is. EDIT: Ignore the above statement.
Question, does the updated version store RDM reports? for instance, if someone reports and the map changes on the old verson, the report disappears with no way to retrieve it. Maybe just an archive for the previous maps reports would solve that?
[QUOTE=Mycaelis;45836208]Question, does the updated version store RDM reports? for instance, if someone reports and the map changes on the old verson, the report disappears with no way to retrieve it. Maybe just an archive for the previous maps reports would solve that?[/QUOTE] That's exactly what I did. I'll update them tomorrow and move to github.
Update soon? eh
I love you.
[QUOTE=tommy228;45836219]That's exactly what I did. I'll update them tomorrow and move to github.[/QUOTE] Have an issue where when I right click in the logs and click "Show Death Scene", it will play the scene (can hear gunshots) and I can see the player names and what weps they had, but, their player models are invisible.
I know the old version, there was an annoying thing in chat "[RDM Manager] You died! Use !report!" and I was looking but couldn't find a way to turn that off. Also, it gave the popup option to report even when you died from a TRAITOR, lol. It should not have a popup if an inno dies by a traitor. Overall, might transition to this MySQL version as your addon is easily one of my all time favorites and best ones out there!
Is this already uploaded to github?
Is there a version without MySQL?
[QUOTE=deinemudda32;45882596]Is there a version without MySQL?[/QUOTE] [url]http://facepunch.com/showthread.php?t=1301766[/url] That's his old version, as he says in this thread it's a bit buggy. I've ran it for like a month or two, today switched over to the mysql version, and must say this works smooth! Thanks for making this
[QUOTE=deinemudda32;45882596]Is there a version without MySQL?[/QUOTE] You can change provider from mysql to pdata in config
[QUOTE=V-Rico;45886401]You can change provider from mysql to pdata in config[/QUOTE] No you can't, I'm working on the SQLite version right now (I was supposed to do it a few days ago but I was lazy :<). It should be up this week, with github and fixes.
I wish I could use this, but unfortunately can't because somehow the MySQL won't connect to my GoDaddy MySQL (and I have no clue what the IP is, nor how to find it after several google searches), and this is the only version where my staff can see the RDM Manager. With the old version they are unable to, regardless of permissions. And I'm using ULX. But I can't keep using this either, because it's MySQL only and without it, it broke my server, so I will have to revert to the old one, unless someone can point me out how to get this to work with GoDaddy. o.o
[QUOTE=Franceska;45900536]I wish I could use this, but unfortunately can't because somehow the MySQL won't connect to my GoDaddy MySQL (and I have no clue what the IP is, nor how to find it after several google searches), and this is the only version where my staff can see the RDM Manager. With the old version they are unable to, regardless of permissions. And I'm using ULX. But I can't keep using this either, because it's MySQL only and without it, it broke my server, so I will have to revert to the old one, unless someone can point me out how to get this to work with GoDaddy. o.o[/QUOTE] [url]https://support.godaddy.com/help/article/4978/connecting-remotely-to-shared-hosting-databases[/url]
It's now updated. Changelog : [quote] - Fixed minor bugs - Added SQLite support - Weapons table now use MySQL and SQLite instead of .txt files - Removed von (now using json because von is lua-only) - Fixed Death Scene not working with specdm (who coded that shit) - The logs will not break the gamemode anymore when mysql doesn't connect [/quote] I'll start using Github from now.
[ERROR] addons/rdm/lua/sv_weapontable.lua:43: attempt to call local 'callback' (a nil value) 1. SaveWeaponTable - addons/rdm/lua/sv_weapontable.lua:43 2. GetWepTable - addons/rdm/lua/sv_weapontable.lua:73 3. unknown - addons/rdm/lua/sv_oldlogs.lua:151 4. include - [C]:-1 5. unknown - addons/rdm/lua/sv_damagelog.lua:31 6. include - [C]:-1 7. unknown - addons/rdm/lua/autorun/damagelog_autorun.lua:16 [ERROR] addons/rdm/lua/sv_damagelog.lua:223: attempt to index field 'database' (a nil value) 1. unknown - addons/rdm/lua/sv_damagelog.lua:223 2. include - [C]:-1 3. unknown - addons/rdm/lua/autorun/damagelog_autorun.lua:16 Now i get these errors :O
[ERROR] lua/includes/modules/net.lua:172: net.ReadType: Couldn't read type 192 1. error - [C]:-1 2. ReadType - lua/includes/modules/net.lua:172 3. ReadType - lua/includes/modules/net.lua:112 4. ReadType - lua/includes/modules/net.lua:116 5. ReadTable - lua/includes/modules/net.lua:116 6. func - addons/ttt_damagelog/lua/cl_tabs/old_logs.lua:229 7. unknown - lua/includes/modules/net.lua:32 when you first open it.
[QUOTE=deinemudda32;45907429][ERROR] addons/rdm/lua/sv_weapontable.lua:43: attempt to call local 'callback' (a nil value) 1. SaveWeaponTable - addons/rdm/lua/sv_weapontable.lua:43 2. GetWepTable - addons/rdm/lua/sv_weapontable.lua:73 3. unknown - addons/rdm/lua/sv_oldlogs.lua:151 4. include - [C]:-1 5. unknown - addons/rdm/lua/sv_damagelog.lua:31 6. include - [C]:-1 7. unknown - addons/rdm/lua/autorun/damagelog_autorun.lua:16 [ERROR] addons/rdm/lua/sv_damagelog.lua:223: attempt to index field 'database' (a nil value) 1. unknown - addons/rdm/lua/sv_damagelog.lua:223 2. include - [C]:-1 3. unknown - addons/rdm/lua/autorun/damagelog_autorun.lua:16 Now i get these errors :O[/QUOTE] Fixed, thanks. [editline]6th September 2014[/editline] [QUOTE=DannyCore;45907669][ERROR] lua/includes/modules/net.lua:172: net.ReadType: Couldn't read type 192 1. error - [C]:-1 2. ReadType - lua/includes/modules/net.lua:172 3. ReadType - lua/includes/modules/net.lua:112 4. ReadType - lua/includes/modules/net.lua:116 5. ReadTable - lua/includes/modules/net.lua:116 6. func - addons/ttt_damagelog/lua/cl_tabs/old_logs.lua:229 7. unknown - lua/includes/modules/net.lua:32 when you first open it.[/QUOTE] I have no idea why it happens, does it break the logs? Add me on steam.
[QUOTE=tommy228;45908165]Fixed, thanks. [editline]6th September 2014[/editline] I have no idea why it happens, does it break the logs? Add me on steam.[/QUOTE] Latest version as of this post, and, I get this error when a player suicides: Lua Error: [ERROR] addons/tttdamagelogs/lua/damagelog_events/suicide.lua:15: attempt to call method 'IsGhost' (a nil value) 1. unknown - addons/tttdamagelogs/lua/damagelog_events/suicide.lua:15 2. fn - addons/tttdamagelogs/lua/sh_events.lua:55 3. unknown - addons/ulib/lua/ulib/shared/hook.lua:183 4. DispatchTraceAttack - [C]:-1 5. oldprimary - gamemodes/terrortown/entities/weapons/weapon_zm_improvised.lua:193 6. unknown - addons/tttdamagelogs/lua/sv_damageinfos.lua:43
Hey Tommy what about for spectator deathmatch? Is there something new for that too or do we still use the code you had on coderhire for it? Was wondering because I prefer to not have the damagelogs show for spectator deathmatch. Thanks Again for all the great stuff you have provided to the community!
[QUOTE=serfma;45913396]Latest version as of this post, and, I get this error when a player suicides: Lua Error: [ERROR] addons/tttdamagelogs/lua/damagelog_events/suicide.lua:15: attempt to call method 'IsGhost' (a nil value) 1. unknown - addons/tttdamagelogs/lua/damagelog_events/suicide.lua:15 2. fn - addons/tttdamagelogs/lua/sh_events.lua:55 3. unknown - addons/ulib/lua/ulib/shared/hook.lua:183 4. DispatchTraceAttack - [C]:-1 5. oldprimary - gamemodes/terrortown/entities/weapons/weapon_zm_improvised.lua:193 6. unknown - addons/tttdamagelogs/lua/sv_damageinfos.lua:43[/QUOTE] Fixed. [editline]7th September 2014[/editline] [QUOTE=raymond4000;45913405]Hey Tommy what about for spectator deathmatch? Is there something new for that too or do we still use the code you had on coderhire for it? Was wondering because I prefer to not have the damagelogs show for spectator deathmatch. Thanks Again for all the great stuff you have provided to the community![/QUOTE] You don't need to install anything, it supports spectator deathmatch.
well this is strange. I installed new version and I have no rdm manager tab and when someone trys to report it says no admins online even though im a superadmin. I doubled checked the config and I have it set properly like I did in old version. Very strange. [editline]7th September 2014[/editline] i see what I did now..... lol I copied my old user settings and it did not have the true or false statement... nvm lol [editline]7th September 2014[/editline] oh dang and you just updated after I installed it too... LOL [editline]7th September 2014[/editline] [editline]7th September 2014[/editline] For some reason I just installed this new version but in the window of rdm manager it says its outdated. I don't get it. I just now got it from the git.
[QUOTE=raymond4000;45913832]For some reason I just installed this new version but in the window of rdm manager it says its outdated. I don't get it. I just now got it from the git.[/QUOTE] Show me your current autorun/damagelog_autorun.lua file?
[QUOTE=tommy228;45914112]Show me your current autorun/damagelog_autorun.lua file?[/QUOTE] [CODE]Damagelog = Damagelog or {} Damagelog.VERSION = "1.1.2" if not file.IsDir("damagelog", "DATA") then file.CreateDir("damagelog") end Damagelog.User_rights = Damagelog.User_rights or {} Damagelog.RDM_Manager_Rights = Damagelog.RDM_Manager_Rights or {} function Damagelog:AddUser(user, rights, rdm_manager) self.User_rights[user] = rights self.RDM_Manager_Rights[user] = rdm_manager end if SERVER then AddCSLuaFile() include("sv_damagelog.lua") else include("cl_damagelog.lua") end[/CODE]
Try now? It should be fixed.
[QUOTE=tommy228;45914232]Try now? It should be fixed.[/QUOTE] do I need to redownload it or just look in menu? [editline]7th September 2014[/editline] Still says this version outdated. not sure if I need to download it again though.
Sorry, you need to Log In to post a reply to this thread.