• TTT Damagelogs - MySQL Edition
    472 replies, posted
Yeah you need to redownload it.
Hm after 2 reports it begins to bug. So if you gain 2 reports you cant close the window anymore :/ oh and here 2 lua errors: [ERROR] addons/rdm/lua/damagelog_events/nades.lua:33: attempt to call local 'weapon' (a string value) 1. ToString - addons/rdm/lua/damagelog_events/nades.lua:33 2. AddLogsLine - addons/rdm/lua/cl_listview.lua:87 3. SetListViewTable - addons/rdm/lua/cl_listview.lua:112 4. Update - addons/rdm/lua/rdm_manager/dermas/cl_repportpanel.lua:315 5. func - addons/rdm/lua/rdm_manager/cl_rdm_manager.lua:63 6. unknown - lua/includes/modules/net.lua:30 [ERROR] addons/rdm/lua/damagelog_events/nades.lua:33: attempt to call local 'weapon' (a string value) 1. ToString - addons/rdm/lua/damagelog_events/nades.lua:33 2. AddLogsLine - addons/rdm/lua/cl_listview.lua:87 3. SetListViewTable - addons/rdm/lua/cl_listview.lua:112 4. Update - addons/rdm/lua/rdm_manager/dermas/cl_repportpanel.lua:315 5. func - addons/rdm/lua/rdm_manager/cl_rdm_manager.lua:63 6. unknown - lua/includes/modules/net.lua:30 and also the respone feature of the rdm manager is buggy. Wow didnt knew this has so many bugs :P
It doesn't have any of the bugs for me you are stating. You probably have an addon conflicting with it. Also Thanks Tommy for the update and it did fix the version error.
If I use the older version then it works. So it shouldnt be one of my addons.
I'm still running one of tommy's first versions of the MYSQL damage logs, and I have no lua errors at all. The only thing i came for is: the Operator's/moderators, can't see the reports? They can open the damage log's but their's no such RDM manager tab for them. Do i have to add the operator to the permissions in some file? thanks.
[QUOTE=NoFearzz;45932002]I'm still running one of tommy's first versions of the MYSQL damage logs, and I have no lua errors at all. The only thing i came for is: the Operator's/moderators, can't see the reports? They can open the damage log's but their's no such RDM manager tab for them. Do i have to add the operator to the permissions in some file? thanks.[/QUOTE] Yeah, it has to be done on the config file. It's the third parameter of Damagelog:AddUser. [editline]9th September 2014[/editline] [QUOTE=deinemudda32;45916763][ERROR] addons/rdm/lua/damagelog_events/nades.lua:33: attempt to call local 'weapon' (a string value) 1. ToString - addons/rdm/lua/damagelog_events/nades.lua:33 2. AddLogsLine - addons/rdm/lua/cl_listview.lua:87 3. SetListViewTable - addons/rdm/lua/cl_listview.lua:112 4. Update - addons/rdm/lua/rdm_manager/dermas/cl_repportpanel.lua:315 5. func - addons/rdm/lua/rdm_manager/cl_rdm_manager.lua:63 6. unknown - lua/includes/modules/net.lua:30[/QUOTE] Line 33 : [lua]return string.format("%s [%s] threw %s", v[1], Damagelog:StrRole(v[2]), weapon) [/lua] Did you change the code?
[QUOTE=tommy228;45932272]Yeah, it has to be done on the config file. It's the third parameter of Damagelog:AddUser. [editline]9th September 2014[/editline] Line 33 : [lua]return string.format("%s [%s] threw %s", v[1], Damagelog:StrRole(v[2]), weapon) [/lua] Did you change the code?[/QUOTE] Ohhhh. than the response is the only error im sorry :D
The latest version works just fine, using MYSQL great addon!
Here's a new error. [ERROR] addons/rdm/lua/rdm_manager/sv_rdm_manager.lua:472: attempt to index field 'database' (a nil value) 1. unknown - addons/rdm/lua/rdm_manager/sv_rdm_manager.lua:472 2. unknown - lua/includes/modules/concommand.lua:69 [ERROR] addons/rdm/lua/sv_oldlogs.lua:46: attempt to index field 'rdmReporter' (a nil value) 1. HandlePreviousReports - addons/rdm/lua/sv_oldlogs.lua:46 2. unknown - addons/rdm/lua/sv_oldlogs.lua:146 3. include - [C]:-1 4. unknown - addons/rdm/lua/sv_damagelog.lua:29 5. include - [C]:-1 6. unknown - addons/rdm/lua/autorun/damagelog_autorun.lua:20
Is it possible i can get a guide on how to install this? No matter what i do the page on my website displays this: Fatal error: Call to a member function fetch_assoc() on a non-object in /home/darkhori/public_html/user/dlog/index.php on line 69 Nothing works, I'm sure its something stupid but please help!
Would it be too much to ask to add support for Spectator Deathmatch (Spec DM kills are showing up in RDM Manager/logs) EDIT: All you'd have to do is add an option to ignore damage from weapon_specdm_<weapon> (I can get you a list)
Small issue: Lua Error: SetFontInternal: font doesn't exist (RDMResponse)
[QUOTE=Sayshal;46015101]Would it be too much to ask to add support for Spectator Deathmatch (Spec DM kills are showing up in RDM Manager/logs) EDIT: All you'd have to do is add an option to ignore damage from weapon_specdm_<weapon> (I can get you a list)[/QUOTE] There's already a fix for it? Check the CoderHire page for the addon and find the link near the bottom. Though I'm not having any issues with SpecDM and the MySQL damage logs.
Well this version natively supports my SpecDM, don't use the fix on the coderhire page. I'm going to update it this week end with bug fixes and custom slaynr/jailnr by the way.
[QUOTE=tommy228;46022746]Well this version natively supports my SpecDM, don't use the fix on the coderhire page. I'm going to update it this week end with bug fixes and custom slaynr/jailnr by the way.[/QUOTE] That's what I thought. Thanks for clarifying.
[QUOTE=tommy228;46022746]Well this version natively supports my SpecDM, don't use the fix on the coderhire page. I'm going to update it this week end with bug fixes and custom slaynr/jailnr by the way.[/QUOTE] Not sure where this error is coming from: [CODE][ERROR] addons/tttdamagelogs-master/lua/sv_oldlogs.lua:10: attempt to perform arithmetic on field 'LogDays' (a nil value) 1. unknown - addons/tttdamagelogs-master/lua/sv_oldlogs.lua:10 2. include - [C]:-1 3. unknown - addons/tttdamagelogs-master/lua/sv_damagelog.lua:30 4. include - [C]:-1 5. unknown - addons/tttdamagelogs-master/lua/autorun/damagelog_autorun.lua:20[/CODE]
[QUOTE=Bonana;46029633]Not sure where this error is coming from: [CODE][ERROR] addons/tttdamagelogs-master/lua/sv_oldlogs.lua:10: attempt to perform arithmetic on field 'LogDays' (a nil value) 1. unknown - addons/tttdamagelogs-master/lua/sv_oldlogs.lua:10 2. include - [C]:-1 3. unknown - addons/tttdamagelogs-master/lua/sv_damagelog.lua:30 4. include - [C]:-1 5. unknown - addons/tttdamagelogs-master/lua/autorun/damagelog_autorun.lua:20[/CODE][/QUOTE] Is your config.lua file from the old version? You need to update it.
-snip-
-removed-
Try [URL="https://github.com/Tommy228/TTTDamagelogs/tree/experimental-shit"]this version[/URL] and tell me if it worked.
[QUOTE=tommy228;46063633]Try [URL="https://github.com/Tommy228/TTTDamagelogs/tree/experimental-shit"]this version[/URL] and tell me if it worked.[/QUOTE] Fixed it, just so you know what happened: I have an addon with a config in: addons/plugin1/config/config.lua & addons/tttdamagelogs/config/config.lua It was reading only the first config.lua, so what I did was renamed the other plugin to swepconfig.lua, it's fine now. Very weird bug.
Nice, worked fine for me (without MySQL) but for some reason now it does that: [CODE] [ERROR] addons/damagelog_master_new/lua/rdm_manager/sv_rdm_manager.lua:472: attempt to index field 'database' (a nil value) 1. unknown - addons/damagelog_master_new/lua/rdm_manager/sv_rdm_manager.lua:472 2. unknown - lua/includes/modules/concommand.lua:69[/CODE] Can't tell you when that happens, seems to be random but I'll keep an eye on it. Also the whole weapon table got deleted once, I think that error above showed up when that happened, but not sure anymore. Edit: Looks like you still have debug enabled somewhere, think it just printed [CODE] nil nil table: 0x42575670 2 [/CODE] when I reported someone. When the guy I reported answered and left, I wasn't able to close the window: [CODE][ERROR] addons/damagelog_master_new/lua/rdm_manager/cl_rdm_manager.lua:158: Tried to use a NULL entity! 1. SteamID - [C]:-1 2. DoClick - addons/damagelog_master_new/lua/rdm_manager/cl_rdm_manager.lua:158 3. unknown - lua/vgui/dlabel.lua:206[/CODE]
[QUOTE=l2anking;46113879]Nice, worked fine for me (without MySQL) but for some reason now it does that: [CODE] [ERROR] addons/damagelog_master_new/lua/rdm_manager/sv_rdm_manager.lua:472: attempt to index field 'database' (a nil value) 1. unknown - addons/damagelog_master_new/lua/rdm_manager/sv_rdm_manager.lua:472 2. unknown - lua/includes/modules/concommand.lua:69[/CODE] Can't tell you when that happens, seems to be random but I'll keep an eye on it. Also the whole weapon table got deleted once, I think that error above showed up when that happened, but not sure anymore. Edit: Looks like you still have debug enabled somewhere, think it just printed [CODE] nil nil table: 0x42575670 2 [/CODE] when I reported someone. When the guy I reported answered and left, I wasn't able to close the window: [CODE][ERROR] addons/damagelog_master_new/lua/rdm_manager/cl_rdm_manager.lua:158: Tried to use a NULL entity! 1. SteamID - [C]:-1 2. DoClick - addons/damagelog_master_new/lua/rdm_manager/cl_rdm_manager.lua:158 3. unknown - lua/vgui/dlabel.lua:206[/CODE][/QUOTE] Thanks for the report, I also have other reported issues on github and I'll fix them asap
[QUOTE=tommy228;46114590]Thanks for the report, I also have other reported issues on github and I'll fix them asap[/QUOTE] I need to thank for the awesome work you're doing :) How stable would you say is the "experimental shit"? I like testing out experimental builds but sometimes experimental means like "this is only for coders, do not use it on server" and sometimes it means like "it's quiet stable but some bugs might appear" :(
[QUOTE=l2anking;46115883]I need to thank for the awesome work you're doing :) How stable would you say is the "experimental shit"? I like testing out experimental builds but sometimes experimental means like "this is only for coders, do not use it on server" and sometimes it means like "it's quiet stable but some bugs might appear" :([/QUOTE] Pretty stable, all I did for now is fixing a few bugs and moving all the lua files to the damagelog/ folder to avoid conflicts. But soon I'll fix more bugs there and add new stuff like a very unique slaynr system, so when it's done I'll ask some people to use this branch to see if everything works fine before merging it to the master branch.
Ok, my weapon table keeps getting deleted, really every weapon. Doesn't even keep the default weapons. Also, not a bug but a bit annoying: If you change the order of the reports and you update one, they're getting re-sorted (last report at the top, oldest on the bottom).
when you get 2 or more reports can not close the window, Try changing mysql to sqlite and is the same
Error that i got [ERROR] lua/includes/modules/net.lua:172: net.ReadType: Couldn't read type 29 1. error - [C]:-1 2. ReadType - lua/includes/modules/net.lua:172 3. ReadType - lua/includes/modules/net.lua:112 4. ReadTable - lua/includes/modules/net.lua:116 5. func - addons/damagelogs/lua/cl_tabs/old_logs.lua:229 6. unknown - lua/includes/modules/net.lua:32
[QUOTE=GreenGold;46143355]Error that i got [ERROR] lua/includes/modules/net.lua:172: net.ReadType: Couldn't read type 29 1. error - [C]:-1 2. ReadType - lua/includes/modules/net.lua:172 3. ReadType - lua/includes/modules/net.lua:112 4. ReadTable - lua/includes/modules/net.lua:116 5. func - addons/damagelogs/lua/cl_tabs/old_logs.lua:229 6. unknown - lua/includes/modules/net.lua:32[/QUOTE] getting the same error now and then. it runs smooth for a while and then it starts making scripts error. server restart will fix the issue for abit.
and this is error in console [ERROR] addons/damagelogs/lua/rdm_manager/sv_rdm_manager.lua:250: attempt to index local 'respond' (a nil value) 1. func - addons/damagelogs/lua/rdm_manager/sv_rdm_manager.lua:250 2. unknown - lua/includes/modules/net.lua:32
Sorry, you need to Log In to post a reply to this thread.