See new thread - [url]http://facepunch.com/showthread.php?t=1416843[/url]
This is a fantastic update to an already fantastic addon. Everyone who runs a TTT server should download it, it makes my job 20x easier.
Meow
Used it on my server. Now I find it necessary to check logs
Awesome addition to my server, great work!
tommy228 Keep it up man really appreciate the work you are putting in to this, btw im loving the [rdm manager] and storing of log's, Damagelog Menu is so user friendly and make's managing sever's easy, Thanks :dance:
Thank-you for continuing your work and updating this. I have been using some version of it from your post on Zombie Master. Can't wait to see the RDM manager.
Glad you guys like it! I just updated it.
[QUOTE=angelbill5914;41957255]Got this error sometimes.
[ERROR] lua/vgui/dcombobox.lua:99: bad argument #1 to 'SetText' (string expected, got nil)
1. SetText - [C]:-1
2. ChooseOptionID - lua/vgui/dcombobox.lua:99
3. DrawDamageTab - addons/damagelog/lua/cl_tabs/damagetab.lua:263
4. OpenMenu - addons/damagelog/lua/cl_damagelog.lua:23
5. Think - addons/damagelog/lua/cl_damagelog.lua:48
6. fn - addons/damagelog/lua/cl_damagelog.lua:59
7. unknown - addons/ulib/lua/ulib/shared/hook.lua:183[/QUOTE]
I don't know why it happens but I added something to prevent this error.
Would just like to congratulate on the release, and thank you for updating it. My server admins have always preferred using your damagelog menu.
I've worked quite a bit with this guy. Friggin genius and the addon is great!
Thanks for the update. I didn't have any problems with your english mistake(s).
I only found one and it didn't bother me b/c the addon is so useful.
Currently working on the rdm manager with a cool friend (guigui). Well for now he did pretty much everything :v:
You can submit a report by typing a chat command after dying, it will report your killer.
[img]http://image.noelshack.com/fichiers/2013/34/1377465842-capture.png[/img]
Then the admins get a small notification with a sound
[img]http://image.noelshack.com/fichiers/2013/34/1377465885-capture.png[/img]
The killer will be notified, and will have to explain his kill after dying. And then the admins can handle all the reports from the menu.
Is the "False reports will get you banned" set in stone or is it editable? Also can you edit who will receive the reports by specifying different ranks like:
[LUA]
if(ply:IsUserGroup("trial mod") or ply:IsUserGroup("moderator") or ply:IsUserGroup("admin")) then
[/LUA]
[QUOTE=tommy228;41965492]Currently working on the rdm manager with a cool friend (guigui). Well for now he did pretty much everything :v:
You can submit a report by typing a chat command after dying, it will report your killer.
[img]http://image.noelshack.com/fichiers/2013/34/1377465842-capture.png[/img]
Then the admins get a small notification with a sound
[img]http://image.noelshack.com/fichiers/2013/34/1377465885-capture.png[/img]
The killer will be notified, and will have to explain his kill after dying. And then the admins can handle all the reports from the menu.[/QUOTE]
Are those information bars at the top from Clockwork?
Is it possible to make it so admin and lower can view damage logs of previous rounds during round but not see the current round? If it isn't could that be added later on?
Waow tommy...... just waow.... its... really great work you have going on here... im so excited to see tje dmglog when it done.... im already amazed what it can do now :3
Good work :)
[QUOTE=delagious;41966439]Is the "False reports will get you banned" set in stone or is it editable? Also can you edit who will receive the reports by specifying different ranks like:
[LUA]
if(ply:IsUserGroup("trial mod") or ply:IsUserGroup("moderator") or ply:IsUserGroup("admin")) then
[/LUA][/QUOTE]
By default all admins will receive it. But yeah you should be able to edit the ranks and the gui text.
[QUOTE=delagious;41967657]Is it possible to make it so admin and lower can view damage logs of previous rounds during round but not see the current round? If it isn't could that be added later on?[/QUOTE]
Not possible yet, but it's on my list.
[QUOTE=Chessnut;41966501]Are those information bars at the top from Clockwork?[/QUOTE]
I think so, yes
[QUOTE=tommy228;41970300]By default all admins will receive it. But yeah you should be able to edit the ranks and the gui text.
Not possible yet, but it's on my list.
I think so, yes[/QUOTE]
hello tommy i have this installed on my server i asked my admin to open up the f8 menu and he got this error
[ERROR] addons/damagelog/lua/cl_tabs/settings.lua:107: bad argument #1 to 'pairs' (table expected, got nil)
1. pairs - [C]:-1
2. Update - addons/damagelog/lua/cl_tabs/settings.lua:107
3. DrawSettings - addons/damagelog/lua/cl_tabs/settings.lua:117
4. OpenMenu - addons/damagelog/lua/cl_damagelog.lua:24
5. Think - addons/damagelog/lua/cl_damagelog.lua:48
6. fn - addons/damagelog/lua/cl_damagelog.lua:59
7. unknown - addons/ulib/lua/ulib/shared/hook.lua:183
also where are the weapons i added saved to
[QUOTE=attacker1983;41971082]hello tommy i have this installed on my server i asked my admin to open up the f8 menu and he got this error
[ERROR] addons/damagelog/lua/cl_tabs/settings.lua:107: bad argument #1 to 'pairs' (table expected, got nil)
1. pairs - [C]:-1
2. Update - addons/damagelog/lua/cl_tabs/settings.lua:107
3. DrawSettings - addons/damagelog/lua/cl_tabs/settings.lua:117
4. OpenMenu - addons/damagelog/lua/cl_damagelog.lua:24
5. Think - addons/damagelog/lua/cl_damagelog.lua:48
6. fn - addons/damagelog/lua/cl_damagelog.lua:59
7. unknown - addons/ulib/lua/ulib/shared/hook.lua:183
also where are the weapons i added saved to[/QUOTE]
The weapons are saved to [I]data/damagelog/weapon_table.txt[/I]. The old version was saving it to same place using a different encoding method, maybe you were using it before installing this one? Try deleting the folder data/damagelog to fix the error.
If it still doesn't work check your server logs to find the real (serverside) error. You can also use HLSW, it has a "Receive logs" feature.
[QUOTE=tommy228;41971114]The weapons are saved to [I]data/damagelog/weapon_table.txt[/I]. The old version was saving it to same place using a different encoding method, maybe you were using it before installing this one? Try deleting the folder data/damagelog to fix the error.
If it still doesn't work check your server logs to find the real (serverside) error. You can also use HLSW, it has a "Receive logs" feature.[/QUOTE]
i installed it today about half an hour before i posted and will i still have all the weapons if i deleate that file
[QUOTE=NotSoSuper;41974153]Dont trust this addon! It has a backdoor and bans you! Sometimes when you click F8 it lags and then bans me! This is what I get in console [CODE]Banning (My Ip address was here but I removed it) for rcon hacking attempts
Dropped ☢NG☢NotSoSuper from server (Added to banned list)
Disconnect: Added to banned list.
Disconnect: Added to banned list[/CODE][/QUOTE]
You type "unbind f8" in console and guess what! The backdoor will be removed.
[lua][ERROR] addons/damagelog/lua/cl_tabs/settings.lua:107: bad argument #1 to 'pairs' (table expected, got nil)
1. pairs - [C]:-1
2. Update - addons/damagelog/lua/cl_tabs/settings.lua:107
3. DrawSettings - addons/damagelog/lua/cl_tabs/settings.lua:117
4. OpenMenu - addons/damagelog/lua/cl_damagelog.lua:24
5. unknown - addons/damagelog/lua/cl_damagelog.lua:38
6. unknown - lua/includes/modules/concommand.lua:69
[/lua]
I am getting this error when I try to open the damagelogs, but no one else on my server gets this. I have had this error since your old damagelog was out. I still can't figure it out. It also makes a small box in the top left corner with two headers. (We... | Text) .
EDIT: If I take a screenshot and press f8 or open console and press f8 the damagelog will open, but it will not show actual weapon damage. It prints this error.
[lua]
[ERROR] addons/damagelog/lua/damagelog_events/damages.lua:61: attempt to index field 'weapon_table' (a nil value)
1. ToString - addons/damagelog/lua/damagelog_events/damages.lua:61
2. AddLogsLine - addons/damagelog/lua/cl_listview.lua:53
3. SetListViewTable - addons/damagelog/lua/cl_listview.lua:78
4. FinishedLoading - addons/damagelog/lua/cl_tabs/damagetab.lua:313
5. ReceiveLogs - addons/damagelog/lua/cl_tabs/damagetab.lua:296
6. func - addons/damagelog/lua/cl_tabs/damagetab.lua:307
7. unknown - lua/includes/modules/net.lua:31
[/lua]
[QUOTE=SaintSin6;41976192][lua][ERROR] addons/damagelog/lua/cl_tabs/settings.lua:107: bad argument #1 to 'pairs' (table expected, got nil)
1. pairs - [C]:-1
2. Update - addons/damagelog/lua/cl_tabs/settings.lua:107
3. DrawSettings - addons/damagelog/lua/cl_tabs/settings.lua:117
4. OpenMenu - addons/damagelog/lua/cl_damagelog.lua:24
5. unknown - addons/damagelog/lua/cl_damagelog.lua:38
6. unknown - lua/includes/modules/concommand.lua:69
[/lua]
I am getting this error when I try to open the damagelogs, but no one else on my server gets this. I have had this error since your old damagelog was out. I still can't figure it out. It also makes a small box in the top left corner with two headers. (We... | Text) .
EDIT: If I take a screenshot and press f8 or open console and press f8 the damagelog will open, but it will not show actual weapon damage. It prints this error.
[lua]
[ERROR] addons/damagelog/lua/damagelog_events/damages.lua:61: attempt to index field 'weapon_table' (a nil value)
1. ToString - addons/damagelog/lua/damagelog_events/damages.lua:61
2. AddLogsLine - addons/damagelog/lua/cl_listview.lua:53
3. SetListViewTable - addons/damagelog/lua/cl_listview.lua:78
4. FinishedLoading - addons/damagelog/lua/cl_tabs/damagetab.lua:313
5. ReceiveLogs - addons/damagelog/lua/cl_tabs/damagetab.lua:296
6. func - addons/damagelog/lua/cl_tabs/damagetab.lua:307
7. unknown - lua/includes/modules/net.lua:31
[/lua][/QUOTE]
Is sv_allowcslua on on your server?
I unbound f8 and rejoined and it is working now, but I still am getting this error.
Not sure. What does sv_allowsclua do?
NOTE: It works for everyone else on the server, but me. It even works for the other superadmins.
[lua]
[ERROR] addons/damagelog/lua/cl_tabs/settings.lua:107: bad argument #1 to 'pairs' (table expected, got nil)
1. pairs - [C]:-1
2. Update - addons/damagelog/lua/cl_tabs/settings.lua:107
3. DrawSettings - addons/damagelog/lua/cl_tabs/settings.lua:117
4. OpenMenu - addons/damagelog/lua/cl_damagelog.lua:24
5. Think - addons/damagelog/lua/cl_damagelog.lua:48
6. fn - addons/damagelog/lua/cl_damagelog.lua:59
7. unknown - addons/ulib/lua/ulib/shared/hook.lua:183
[ERROR] addons/damagelog/lua/damagelog_events/nades.lua:32: attempt to index field 'weapon_table' (a nil value)
1. ToString - addons/damagelog/lua/damagelog_events/nades.lua:32
2. AddLogsLine - addons/damagelog/lua/cl_listview.lua:53
3. SetListViewTable - addons/damagelog/lua/cl_listview.lua:78
4. FinishedLoading - addons/damagelog/lua/cl_tabs/damagetab.lua:313
5. ReceiveLogs - addons/damagelog/lua/cl_tabs/damagetab.lua:296
6. func - addons/damagelog/lua/cl_tabs/damagetab.lua:307
7. unknown - lua/includes/modules/net.lua:31
[/lua]
This is what I meant by a white box at the top left corner.
[img]http://gyazo.com/c6e591a6d6d82c4d03183399a2228582.png[/img]
Add me to steam. I really don't get it.
The issue was not with the addon. Thank you Tommy for helping me out! Works fine now.
[img]http://puu.sh/4bLNe.png[/img]
When you sort by player, fall damage is not excluded.
Also could you add a Dead/Alive section on this part so that it is easy to compare.
[img]http://puu.sh/4bLAv.png[/img]
[editline]27th August 2013[/editline]
[QUOTE=SaintSin6;41977736]The issue was not with the addon. Thank you Tommy for helping me out! Works fine now.
When you sort by player, fall damage is not excluded.
Also could you add a Dead/Alive section on this part so that it is easy to compare.
[/QUOTE]
Wait.. what?...ehmm..
Can you say how you fixed this problem, because i think i have the same issue maybe?
Because sometimes it causes errors for my admins aswell but its only one admin that get the problem.?
Ty :D
Updated! See the changelog.
[QUOTE=morten7000;41982344][editline]27th August 2013[/editline]
Wait.. what?...ehmm..
Can you say how you fixed this problem, because i think i have the same issue maybe?
Because sometimes it causes errors for my admins aswell but its only one admin that get the problem.?
Ty :D[/QUOTE]
Fix it by adding this to your sv_weapontable.lua file (change the steamid to your admin's steamid)
[lua]
hook.Add("PlayerInitialSpawn", "Damagelog_PlayerInitialSpawnSettings", function(ply)
if ply:SteamID() == "STEAM_0:0:0000000" then
timer.Simple(4, function()
net.Start("DL_SendWeaponTable")
net.WriteUInt(1,1)
net.WriteTable(Damagelog.weapon_table)
net.Send(ply)
end)
end
end)
[/lua]
Question: I'm a staff member on a TTT server and I'm currently trying to get them to implement this, but they're on edge because apparently the old version caused alot of lag, they think was due to recording every shot.
What's your take on this?
Sorry, you need to Log In to post a reply to this thread.