Could you try and make a version for DarkRP? As in without all the TTT stuff.
[QUOTE=JDeaverBeaver;41986315]Could you try and make a version for DarkRP? As in without all the TTT stuff.[/QUOTE]
Why not, after this version becomes stable.
[QUOTE=Zikeji;41986288]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?[/QUOTE]
There are tons of server using it (including mine) and I'd know it if it was causing lags. In fact it shouldn't because all I do is inserting stuff on a table without syncing it with the client.
[editline]27th August 2013[/editline]
Test it. This code will insert 100 lines on the table tbl every 0.5 seconds, like people are shooting 200 times every second.
[code]lua_run tbl = {} timer.Create('test', 0.5, 0, function() for i=1, 100 do table.insert(tbl, { 'test', 'test2' }) end end)[/code]
Tell me if it lags. And you can do this
[code]lua_run PrintTable(tbl)[/code]
to see how big the table is.
Yeah I did that with no lag.
Question: On rooftops any kills with the axe don't even show up as something/world killed etc., seems like an issue.
Also, it should show health station damage. That should be an easy addition though.
[QUOTE=Zikeji;42010015]Question: On rooftops any kills with the axe don't even show up as something/world killed etc., seems like an issue.[/QUOTE]
What axe? Sorry, I don't know it, even if it's one of the most played maps :v:
[QUOTE=tommy228;42010085]What axe? Sorry, I don't know it, even if it's one of the most played maps :v:[/QUOTE]
There's an axe that you can get electrified. It's in a room in the middlemost building. You electrify it then you can kill people with it, 50 damage each hit.
Making it so it actually points out who killed with it may be hard, but it's weird that even the deaths don't show up.
If you're having trouble finding it feel free to add me on Steam and I can show it to you on my test server(steam name is my username, or I can add you).
[QUOTE=Zikeji;42010452]There's an axe that you can get electrified. It's in a room in the middlemost building. You electrify it then you can kill people with it, 50 damage each hit.
Making it so it actually points out who killed with it may be hard, but it's weird that even the deaths don't show up.
If you're having trouble finding it feel free to add me on Steam and I can show it to you on my test server(steam name is my username, or I can add you).[/QUOTE]
Oh okay, I'll find it and fix the bug. Also, of course I'm planning to add new events, including C4 stuff (arming, disarming, destroying, picking), corpses, health station.. this is why I made it easy for me to do it (see the damagelog_events folder).
One of our staff is coming across this issue:
[url]http://i.imgur.com/wLwxpnn.jpg[/url]
[url]http://i.imgur.com/2bQ7R6b.jpg[/url]
Looks like the issue SaintSin6 was having.
Mind quickly explaining what you did in SaintSin's case?
I already explained. See the post #31. I'm going to do something to definetly avoid this problem.
[QUOTE=tommy228;41986888]Why not, after this version becomes stable.
[/QUOTE]
Could ya PM meh when you're done with it? :D
Are you planning on adding a simple way of including additional ranks? Because right now it's godawful hard.
Also, sorry I didn't notice your info on fixing the bug.
Very useful good job :)
[QUOTE=thekiller123;42013276]Could ya PM meh when you're done with it? :D[/QUOTE]
You will see it I will create a new thread but okay..
[QUOTE=Zikeji;42013381]Are you planning on adding a simple way of including additional ranks? Because right now it's godawful hard.[/QUOTE]
Yes, I'm planning to do it.
[QUOTE=tommy228;42013816]You will see it I will create a new thread but okay..
Yes, I'm planning to do it.[/QUOTE]
Any suggestions? So far I've modified sh_sync_entity.lua, sh_privileges.lua, and settings.lua(under cl_tabs). But I can't figure out how the sync_ent works.
[QUOTE=Zikeji;42013946]Any suggestions? So far I've modified sh_sync_entity.lua, sh_privileges.lua, and settings.lua(under cl_tabs). But I can't figure out how the sync_ent works.[/QUOTE]
For now, simply edit CanUseDamagelog on sh_privileges.lua (line 30), here is an example (you need to add the canUseLogs code)
[lua]
function canUseLogs(self, value)
if value == 1 then
return false
elseif value == 2 then
return GetRoundState() != ROUND_ACTIVE
elseif value == 3 then
return GetRoundState() != ROUND_ACTIVE or self:IsSpec()
elseif value == 4 then
return true
end
end
function meta:CanUseDamagelog()
if self:IsUserGroup("vip") then
return canUseLogs(self, 3)
elseif self:IsUserGroup("moderator") then
return canUseLogs(self, 4)
elseif self:IsSuperAdmin() then
return checkSettings(self, "SuperAdmin")
elseif self:IsAdmin() then
return checkSettings(self, "Admin")
else
return checkSettings(self, "Regular")
end
end
[/lua]
1 = Can't use the damagelog
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
[b]Edited :[/b] Oh sorry, the code was dumb. Updated.
It's beginning to look pretty sweet tommy :D
ohw and btw now when i remembed, i have a suggestion to it:
you have already added a "msg when alive check logs" but could you also add if an alive click on the "list roles" tab? because im most afraid if my new recruited admins will abuse their power to open dmglog doing the round and check roles :D.
But anyway :D really great work so far. Im so exited to see how the rdm report thing of a dohiggy will be like :3
Just added a donate button for those who like charity.
BTW, the RDM Manager and log storing will be available tomorrow or after tomorrow, with some new features (more events, recreating a death, custom ranks support..) and fixes.
Did you remove the tab that records every shot?
[QUOTE=NiandraLades;42031333]Did you remove the tab that records every shot?[/QUOTE]
I didn't, it's on the latest version. The screenshots are outdated.
[editline]31st August 2013[/editline]
Logs storing selection :
[img]http://image.noelshack.com/fichiers/2013/35/1377967835-2013-08-31-00001.jpg[/img]
cant download for whatever reason atm
try dropbox [url]https://www.dropbox.com/[/url]
[QUOTE=Zikeji;42010452]There's an axe that you can get electrified. It's in a room in the middlemost building. You electrify it then you can kill people with it, 50 damage each hit.
Making it so it actually points out who killed with it may be hard, but it's weird that even the deaths don't show up.
If you're having trouble finding it feel free to add me on Steam and I can show it to you on my test server(steam name is my username, or I can add you).[/QUOTE]
It's world damage and the prop doesn't have an owner so it counts as suicide, I don't think its possible to track who killed with the axe.
[QUOTE=Rocketsurgery;42032562]cant download for whatever reason atm
try dropbox [url]https://www.dropbox.com/[/url][/QUOTE]
Why isn't it working for you exactly? The download link is perfect here.
[QUOTE=morten7000;42020271]you have already added a "msg when alive check logs" but could you also add if an alive click on the "list roles" tab? because im most afraid if my new recruited admins will abuse their power to open dmglog doing the round and check roles :D. [/QUOTE]
Add me to steam if you really want this I'm not doing it on the real code.
Hey, thanks for the addon.
I have an issue when after you press "F8", it would lower your framerate by a lot. It would constantly lag after closing the menu. However, when you open the menu AGAIN, the lag issues are gone. I tested this with 2 computers along with a player on my server.
Any idea what's wrong?
[QUOTE=Inelegant;42046097]Hey, thanks for the addon.
I have an issue when after you press "F8", it would lower your framerate by a lot. It would constantly lag after closing the menu. However, when you open the menu AGAIN, the lag issues are gone. I tested this with 2 computers along with a player on my server.
Any idea what's wrong?[/QUOTE]
I don't know. Add me on steam and we'll see, so I fix it for the next update if it's related to the menu's code.
(By the way, I finished the RDM Manager but I need to test it and fix bugs, see my last steam screenshots)
Ah Tommy you were the one who posted a RDM Manager on zombie master a while ago. It looks perfect.
Released the RDM Manager and logs storing. Read the op
Wooo!!!
I am on one of the pictures (sabo)
I am so famous.
I love this addon, kudos to you for making this public!
I appear to be having a bit of trouble with the logs.
I am using ULX, and have my ranks set up so that the rank I'm in is above superadmin. The problem is, whenever I try to open the logs, it says:
[QUOTE]You are currently not allowed to open the Damagelog Menu.[/QUOTE]
I don't know why this is happening-- it hasn't happened before. Just updated the logs today.
If you could help me, that'd be great.
By the way, hello FacePunch! :D
[QUOTE=T. Sparkle;42070088]I appear to be having a bit of trouble with the logs.
I am using ULX, and have my ranks set up so that the rank I'm in is above superadmin. The problem is, whenever I try to open the logs, it says:
I don't know why this is happening-- it hasn't happened before. Just updated the logs today.
If you could help me, that'd be great.
By the way, hello FacePunch! :D[/QUOTE]
Make sure you edit the config file (mentioned in OP).
Also Tommy, do you have a setting to enable the RDM Manager for a certain rank planned?
[QUOTE=Zikeji;42070269]Make sure you edit the config file (mentioned in OP).
Also Tommy, do you have a setting to enable the RDM Manager for a certain rank planned?[/QUOTE]
So I'd assume I'd add my custom user groups into this file?
Here's the current contents:
[CODE]
--[[ User rights. The default level is 2 if your rank isn't here
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("admin", 3)
Damagelog:AddUser("operator", 2)
Damagelog:AddUser("user", 2)
Damagelog:AddUser("guest", 2)
--[[ A message is shown when an alive player opens the menu
1 : if you want to only show it to superadmins
2 : to let others see that you have abusive admins
]]--
Damagelog.AbuseMessageMode = 1
-- 1 to enable the RDM Manager, 0 to disable it
Damagelog.RDM_Manager_Enabled = 1
-- Open a small window when you get teamkilled asking you if you want to report the killer or not?
-- 1 for yes, 0 for no
Damagelog.RDM_Manager_Window = 1
-- Commands to open the report and response menu. Never forget the quotation marks or the whole menu will break
Damagelog.RDM_Manager_Command = "!report"
-- If you don't answer to your rdms after the round you can use this command to re-open the menu
Damagelog.RDM_Manager_Respond = "!respond"[/CODE]
[QUOTE=T. Sparkle;42070310]So I'd assume I'd add my custom user groups into this file?
Here's the current contents:
[CODE]
--[[ User rights. The default level is 2 if your rank isn't here
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("admin", 3)
Damagelog:AddUser("operator", 2)
Damagelog:AddUser("user", 2)
Damagelog:AddUser("guest", 2)
--[[ A message is shown when an alive player opens the menu
1 : if you want to only show it to superadmins
2 : to let others see that you have abusive admins
]]--
Damagelog.AbuseMessageMode = 1
-- 1 to enable the RDM Manager, 0 to disable it
Damagelog.RDM_Manager_Enabled = 1
-- Open a small window when you get teamkilled asking you if you want to report the killer or not?
-- 1 for yes, 0 for no
Damagelog.RDM_Manager_Window = 1
-- Commands to open the report and response menu. Never forget the quotation marks or the whole menu will break
Damagelog.RDM_Manager_Command = "!report"
-- If you don't answer to your rdms after the round you can use this command to re-open the menu
Damagelog.RDM_Manager_Respond = "!respond"[/CODE][/QUOTE]
Yes, so copy this line:
Damagelog:AddUser("superadmin", 4)
And paste it again but change "superadmin" to the name of your group above superadmins.
Sorry, you need to Log In to post a reply to this thread.