There are several reasons it might not work. The obvious one is not restarting your server for the addon to take effect. The other possible reason is you don't have permission to open it.
Also Users can report by typing in !report when they die to submit a RDM Report.
What did you extract to your addons ? [I]Damagelog-master/[/I] or [I]Damagelog-master/damagelog/[/I] ?
its damagelog master from the git
so damagelog-master/damagelog/lua
and i restarted it twice
also if i set a users access to 1 they can still report ?
[editline]9th September 2013[/editline]
fixed it :) just put in damagelog, thanks tommy :)
[QUOTE=Eccid;42119489]You can't really be RDMed on prop hunt and deathrun....[/QUOTE]
The primary function of this addon is that it logs events.
[QUOTE=DooBiiE;42129773]also if i set a users access to 1 they can still report ?[/QUOTE]
Yes.
thanks tommy :)
[CODE]
function meta:CanUseDamagelog()
for k,v in pairs(Damagelog.User_rights) do
if self:IsUserGroup(k) then
return checkSettings(self, v)
end
end
return checkSettings(self, 1)
end[/CODE]
is that correct to set the default to 1 ?
Yes it's correct, I should think about adding it to the config file.
i put the zip into the addons folder and changed the ranks to the ones on my server
[QUOTE=mrcheesycake;42130155]its in the addons folder[/QUOTE]
[QUOTE=tommy228;42129670]What did you extract to your addons ? [I]Damagelog-master/[/I] or [I]Damagelog-master/damagelog/[/I] ?[/QUOTE]
[QUOTE=tommy228;42130108]Yes it's correct, I should think about adding it to the config file.[/QUOTE]
its your addon, its up to you :) id think it should be 1 default though :)
and thanks again for such a great addon
[QUOTE=incognitocob;42129877]The primary function of this addon is that it logs events.[/QUOTE]
I understand that, maybe I just don't get why you'd need to know who killed who in either game mode. As for death run, it'd be mostly players killed by world except for every once in a while when the runners kill the deaths.
This rarely happens but sometimes it does.
Sometimes when the round starts and a staff try to open the damage log, it spits out a SetText error message just like before. Would be nice if it gets fixed.
Only problem I can see so far is that my administrators can open up the F8 menu during the round, but I as an owner cannot. Haven't tried using superadmin to do it, but I created an Owner rank based off of superadmin in ULX -- is there a way to where I can open up the F8 menu in round, and if so what part of the code do I need to change to allow me to do so?
[QUOTE=Splittykitty;42133921]Only problem I can see so far is that my administrators can open up the F8 menu during the round, but I as an owner cannot. Haven't tried using superadmin to do it, but I created an Owner rank based off of superadmin in ULX -- is there a way to where I can open up the F8 menu in round, and if so what part of the code do I need to change to allow me to do so?[/QUOTE]
Edit the config (add a new line to the rank owner) - damagelog/lua/config/config.lua
I keep pressing F8 but nothing happens?
I am so free and give out my config file for users:
[code]
--[[ User rights. Missing ranks can't open the menu
1 : Can't open the menu
2 : Can only use the damagelog when the round isn't active
3 : Can use the damagelog when spectating and when the round isn't active
4 : Can always use the damagelog
]]--
Damagelog:AddUser("superadmin", 4)
Damagelog:AddUser("coder", 4)
Damagelog:AddUser("superadmine", 4)
Damagelog:AddUser("superadminp", 4)
Damagelog:AddUser("adminvip", 4)
Damagelog:AddUser("admin", 4)
Damagelog:AddUser("trialadminvip", 3)
Damagelog:AddUser("trialadmin", 3)
Damagelog:AddUser("adminp", 3)
Damagelog:AddUser("designervip", 3)
Damagelog:AddUser("designer", 3)
Damagelog:AddUser("moderatorvip", 3)
Damagelog:AddUser("moderator", 3)
Damagelog:AddUser("trialmoderatorvip", 2)
Damagelog:AddUser("trialmoderator", 2)
Damagelog:AddUser("vip", 2)
Damagelog:AddUser("member", 2)
[/code]
Just replace the names of the ranks if you have others or add more the same way I did, this is the config.lua file btw
And if your F8 menu does not open up, try to shut down your server and start it up, map changing wont fix it.
[QUOTE=Eccid;42130235]I understand that, maybe I just don't get why you'd need to know who killed who in either game mode. As for death run, it'd be mostly players killed by world except for every once in a while when the runners kill the deaths.[/QUOTE]
My use for it would be more to track everything else such as bans, kicks and chat with a time and map linked to it. The other option is to go through the server logs saved in the logs folder which is always a pain as there are hundreds of text files a day (varying on how often the map changes).
I think the issue is that people are putting the damagelog-master folder into the addons folder, and not the damagelog folder.
[QUOTE=incognitocob;42150824]My use for it would be more to track everything else such as bans, kicks and chat with a time and map linked to it. The other option is to go through the server logs saved in the logs folder which is always a pain as there are hundreds of text files a day (varying on how often the map changes).[/QUOTE]
You're looking at the wrong addon then.
Is there any way to fix this?
[CODE][ERROR] addons/damagelog/lua/cl_damagelog.lua:70: attempt to call method 'Think' (a nil value)
1. fn - addons/damagelog/lua/cl_damagelog.lua:70
2. unknown - addons/ulib/lua/ulib/shared/hook.lua:183
[ERROR] addons/damagelog/lua/cl_damagelog.lua:70: attempt to call method 'Think' (a nil value)
1. fn - addons/damagelog/lua/cl_damagelog.lua:70
2. unknown - addons/ulib/lua/ulib/shared/hook.lua:183
[ERROR] addons/damagelog/lua/cl_damagelog.lua:70: attempt to call method 'Think' (a nil value)
1. fn - addons/damagelog/lua/cl_damagelog.lua:70
2. unknown - addons/ulib/lua/ulib/shared/hook.lua:183
[ERROR] addons/damagelog/lua/cl_damagelog.lua:70: attempt to call method 'Think' (a nil value)
1. fn - addons/damagelog/lua/cl_damagelog.lua:70
2. unknown - addons/ulib/lua/ulib/shared/hook.lua:183
[ERROR] addons/damagelog/lua/cl_damagelog.lua:70: attempt to call method 'Think' (a nil value)
1. fn - addons/damagelog/lua/cl_damagelog.lua:70
2. unknown - addons/ulib/lua/ulib/shared/hook.lua:183
[ERROR] addons/damagelog/lua/cl_damagelog.lua:70: attempt to call method 'Think' (a nil value)
1. fn - addons/damagelog/lua/cl_damagelog.lua:70
2. unknown - addons/ulib/lua/ulib/shared/hook.lua:183
[ERROR] addons/damagelog/lua/config/config.lua:10: attempt to call method 'AddUser' (a nil value)
1. unknown - addons/damagelog/lua/config/config.lua:10
2. include - [C]:-1
3. unknown - addons/damagelog/lua/cl_damagelog.lua:1[/CODE]
You were probably using my old version and didn't remove it.
Tommy, i really cant see when one of my other admins updates a report.. it doesn't update?
Am I just totaly incorrect on this? because... I can provide with some pic, but I dont think it would help?
Its only the guyz that that marked a report as exsampel "finished" that can see it?
I just installed the version from the download today, any other idea on why it won't work?
[QUOTE=Smileytopin;42154344]I just installed the version from the download today, any other idea on why it won't work?[/QUOTE]
If you read the above posts several things can happen.
1. You copied the whole damage log master folder in the addons folder
2. You forgot to restart the server
3. You didn't set up perms for ranks in the config file
What should the folder that I drag over look like, I'm confused now ;/
Hi I would love to use this addon but everyone on the server is getting the script error. (I saw others are getting this. But I can't see a fix posted that works. I just now downloaded the current copy on page 1).
[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:278
4. OpenMenu - addons/damagelog/lua/cl_damagelog.lua:31
5. Think - addons/damagelog/lua/cl_damagelog.lua:60
6. fn - addons/damagelog/lua/cl_damagelog.lua:71
7. unknown - addons/ulib/lua/ulib/shared/hook.lua:183
Sometimes just one player or admin gets it, sometimes everyone gets it. I do have admin and superadmin perms at 4. Please advise!
This is probably because you're playing a single map without changing, I'm going to get this fixed the week end, you can reload your map every 10 rounds if you can't wait.
It happen 3 rounds into a new map. I see Morten7000 on page 3 had this problem but I am not sure if there is a solution?
Sorry, you need to Log In to post a reply to this thread.