[QUOTE=rampagethemad;46380252]It doesn't work for me, I put it in addons, and restarted my server, it foes nothing any ideas?[/QUOTE] Make sure you put the addon name in lower case, your server is probably running linux.
Update your sv_statistics.lua file to fix the pre-round error : [url]https://github.com/Tommy228/TTTDamagelogs/blob/experimental/lua/damagelogs/sv_statistics.lua[/url]
Can you tell me how I add groups for the reporting system please thanks
[QUOTE=oliviergou;46391262]Can you tell me how I add groups for the reporting system please thanks[/QUOTE]
You can do that on the config file.
[QUOTE=tommy228;46392049]You can do that on the config file.[/QUOTE]
I know but I dunno where in
--[[ User rights.
NOTE : After the 2.0 update, everyone can open the logs to view the logs of the previous rounds.
The default level is 1 if your rank isn't here.
1 and 2 : Can't view logs of the active rounds
3 : Can view the logs of the active rounds as a spectator
4 : Can always view the logs of the active ranks
The third argument is the RDM Manager access. Set it to true or false.
]]--
Damagelog:AddUser("superadmin", 4, true)
Damagelog:AddUser("admin", 4, true)
Damagelog:AddUser("operator", 1, false)
Damagelog:AddUser("user", 1, false)
Damagelog:AddUser("guest", 1, false)
-- The F-key
Damagelog.Key = KEY_F8
--[[ 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
-- true to enable the RDM Manager, false to disable it
Damagelog.RDM_Manager_Enabled = true
-- Commands to open the report and response menu. Don't forget the quotation marks
Damagelog.RDM_Manager_Command = "!report"
--[[ Set to true if you want to enable MySQL (it needs to be configured on config/mysqloo.lua)
Setting it to false will make the logs use SQLite (garrysmod/sv.db)
]]--
Damagelog.Use_MySQL = false
-- Enable advanced autoslay (WIP). MySQL and ULX users only! The command is !autoslay
Damagelog.Enable_Autoslay = false
-- The number of days the logs last on the database (to avoid lags when opening the menu)
Damagelog.LogDays = 31
in that
where I can add thoses to see the report: moderator - admin- superadmin- headadmin- senioradmin and owner
[QUOTE=oliviergou;46392910]I know but I dunno where in
--[[ User rights.
NOTE : After the 2.0 update, everyone can open the logs to view the logs of the previous rounds.
The default level is 1 if your rank isn't here.
1 and 2 : Can't view logs of the active rounds
3 : Can view the logs of the active rounds as a spectator
4 : Can always view the logs of the active ranks
The third argument is the RDM Manager access. Set it to true or false.
]]--
Damagelog:AddUser("superadmin", 4, true)
Damagelog:AddUser("admin", 4, true)
Damagelog:AddUser("operator", 1, false)
Damagelog:AddUser("user", 1, false)
Damagelog:AddUser("guest", 1, false)
-- The F-key
Damagelog.Key = KEY_F8
--[[ 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
-- true to enable the RDM Manager, false to disable it
Damagelog.RDM_Manager_Enabled = true
-- Commands to open the report and response menu. Don't forget the quotation marks
Damagelog.RDM_Manager_Command = "!report"
--[[ Set to true if you want to enable MySQL (it needs to be configured on config/mysqloo.lua)
Setting it to false will make the logs use SQLite (garrysmod/sv.db)
]]--
Damagelog.Use_MySQL = false
-- Enable advanced autoslay (WIP). MySQL and ULX users only! The command is !autoslay
Damagelog.Enable_Autoslay = false
-- The number of days the logs last on the database (to avoid lags when opening the menu)
Damagelog.LogDays = 31
in that
where I can add thoses to see the report: moderator - admin- superadmin- headadmin- senioradmin and owner[/QUOTE]
You have to set permissions using ULX
[QUOTE=V-Rico;46392930]You have to set permissions using ULX[/QUOTE]
how sorry I know Im noob but... yaeh
[QUOTE=oliviergou;46392952]how sorry I know Im noob but... yaeh[/QUOTE]
It's the third argument of Damagelog:AddUser (just read the damn config)
[lua]Damagelog:AddUser("moderator", 4, true)[/lua]
If you want to allow them
[lua]Damagelog:AddUser("moderator", 4, false)[/lua]
If not
[QUOTE=tommy228;46390549]Update your sv_statistics.lua file to fix the pre-round error : [url]https://github.com/Tommy228/TTTDamagelogs/blob/experimental/lua/damagelogs/sv_statistics.lua[/url][/QUOTE]
Thanks so much! You da bess
Hey tommy, I have one [B]problem [/B] with your addon, its happens this
[ERROR] addons/tttdamagelogs/lua/damagelogs/cl_recording.lua:209: attempt to index a nil value 1. unknown - addons/tttdamagelogs/lua/damagelogs/cl_recording.lua:209
[QUOTE=killing!;46395086]Hey tommy, I have one [B]problem [/B] with your addon, its happens this
[ERROR] addons/tttdamagelogs/lua/damagelogs/cl_recording.lua:209: attempt to index a nil value 1. unknown - addons/tttdamagelogs/lua/damagelogs/cl_recording.lua:209[/QUOTE]
Already fixed on the experimental version.
Updated! I hope this version will be super stable, because I worked a lot on bug fixes. Changelog :
[quote]
- Fresh RDM Manager backend code, and general improvements
- Lots of bug fixes (all the known issues atm)
- Death Scene improvements (no props yet, that's for later)
- ULX Autoslay command (you need to enable it on the config). It's designed to replace the popular slaynr command and to be integrated with the RDM Manager. Use it this way : !autoslay target number_of_slays reason
[/quote]
Please give some feedback, I want to make sure everything is fixed.
[QUOTE=tommy228;46415275]Updated! I hope this version will be super stable, because I worked a lot on bug fixes. Changelog :
Please give some feedback, I want to make sure everything is fixed.[/QUOTE]
Thanks Tommy!
My only question would be, what if someone wants to remove the autoslay?
Also can ulx permissions be set on the autoslay or do they use same permissions as rdm manager?
[QUOTE=raymond4000;46415940]Thanks Tommy!
My only question would be, what if someone wants to remove the autoslay?
Also can ulx permissions be set on the autoslay or do they use same permissions as rdm manager?[/QUOTE]
Remove it if you want it won't do anyting. It's a ULX command so you can edit the permissiosn from xgui.
[QUOTE=tommy228;46418912]Remove it if you want it won't do anyting. It's a ULX command so you can edit the permissiosn from xgui.[/QUOTE]
No what I meant tommy was what if someone added a person to be autoslayed but then changed there mind and decided not to autoslay them. Is there a function to remove the autoslay before they get slayed? lol
[QUOTE=raymond4000;46419201]No what I meant tommy was what if someone added a person to be autoslayed but then changed there mind and decided not to autoslay them. Is there a function to remove the autoslay before they get slayed? lol[/QUOTE]
!autoslay target 0
Any reason why reports from previous rounds don't work if we use mysql connection?
[QUOTE=CyberAP;46432784]Any reason why reports from previous rounds don't work if we use mysql connection?[/QUOTE]
Works fine here and it has nothing to do with mysql
[QUOTE=tommy228;46433519]Works fine here and it has nothing to do with mysql[/QUOTE]
So how does it get previous reports? I thought they were stored in mysql db.
which use? master or experimental ?
Use master.
Problem with experimental logs. Screenshot: [url]http://gyazo.com/091accf7c5e220cc62edb746fbc6a17e[/url] They were working fine this morning, and it didn't change anything, but later in the day, these errors happened.
[ERROR] addons/tttdamagelogs-experimental/lua/damagelogs/cl_damagelog.lua:108: attempt to index local 'info' (a nil value)
1. OpenMenu - addons/tttdamagelogs-experimental/lua/damagelogs/cl_damagelog.lua:108
2. Think - addons/tttdamagelogs-experimental/lua/damagelogs/cl_damagelog.lua:140
3. fn - addons/tttdamagelogs-experimental/lua/damagelogs/cl_damagelog.lua:155
4. unknown - addons/ulib/lua/ulib/shared/hook.lua:183
[QUOTE=aFullmetalTac;46434160]Problem with experimental logs. Screenshot: [url]http://gyazo.com/091accf7c5e220cc62edb746fbc6a17e[/url] They were working fine this morning, and it didn't change anything, but later in the day, these errors happened.
[ERROR] addons/tttdamagelogs-experimental/lua/damagelogs/cl_damagelog.lua:108: attempt to index local 'info' (a nil value)
1. OpenMenu - addons/tttdamagelogs-experimental/lua/damagelogs/cl_damagelog.lua:108
2. Think - addons/tttdamagelogs-experimental/lua/damagelogs/cl_damagelog.lua:140
3. fn - addons/tttdamagelogs-experimental/lua/damagelogs/cl_damagelog.lua:155
4. unknown - addons/ulib/lua/ulib/shared/hook.lua:183[/QUOTE]
> Update if you get this error.
If you view a death scene and you buy a radar the round after, the radar doesn't work right.
[QUOTE=aFullmetalTac;46434352]If you view a death scene and you buy a radar the round after, the radar doesn't work right.[/QUOTE]
Does it still happen on master?
[QUOTE=tommy228;46434462]Does it still happen on master?[/QUOTE]
Yeah, I'm currently running master. The radar glitched out, but i closed and re-opened Garry's Mod and it fixed, I think it was client side, so plx ignore that report.
[editline]7th November 2014[/editline]
Other people have had the problem on my server. Sometimes the radar breaks. When i closed and re-opened Garry's Mod, it fixed it. But it still happens sometimes.
I am getting one flashing error sign in alot of maps since this new version which is really weird. Usually its somewhere in the floor on the maps. I reverted back to original version and no issues. I have no idea why its doing that. LOL
[QUOTE=raymond4000;46435302]I am getting one flashing error sign in alot of maps since this new version which is really weird. Usually its somewhere in the floor on the maps. I reverted back to original version and no issues. I have no idea why its doing that. LOL[/QUOTE]
When did you update last time before getting the error sign? It has been fixed yesterday.
[editline]8th November 2014[/editline]
[QUOTE=aFullmetalTac;46434547]Yeah, I'm currently running master. The radar glitched out, but i closed and re-opened Garry's Mod and it fixed, I think it was client side, so plx ignore that report.
[editline]7th November 2014[/editline]
Other people have had the problem on my server. Sometimes the radar breaks. When i closed and re-opened Garry's Mod, it fixed it. But it still happens sometimes.[/QUOTE]
Mmmhh this is weird
[QUOTE][ERROR] addons/tttdamagelogs-master/lua/damagelogs/damagelog_events/damages.lua:33: attempt to perform arithmetic on field 'TeamDamages' (a nil value)
1. unknown - addons/tttdamagelogs-master/lua/damagelogs/damagelog_events/damages.lua:33
2. fn - addons/tttdamagelogs-master/lua/damagelogs/sh_events.lua:55
3. unknown - addons/ulib/lua/ulib/shared/hook.lua:183
4. FireBullets - [C]:-1
5. ShootBullet - gamemodes/terrortown/entities/weapons/weapon_tttbase.lua:318
6. PrimaryAttack - gamemodes/terrortown/entities/weapons/weapon_tttbase.lua:242
7. unknown - addons/tttdamagelogs-master/lua/damagelogs/sv_damageinfos.lua:45[/QUOTE]
[QUOTE][ERROR] addons/tttdamagelogs-master/lua/damagelogs/sv_damageinfos.lua:10: attempt to call method 'Nick' (a nil value)
1. shootCallback - addons/tttdamagelogs-master/lua/damagelogs/sv_damageinfos.lua:10
2. unknown - addons/tttdamagelogs-master/lua/damagelogs/sv_damageinfos.lua:54[/QUOTE]
My Problem :I
[QUOTE=Stofflappen;46440810]My Problem :I[/QUOTE]
update your logs
Sorry, you need to Log In to post a reply to this thread.