Closed BytewaveMLP closed 9 years ago
If need be I can provide configs, environment details, etc.
Did you update your config file?
got the same error, before i updated our config file. You have to provide, which key should open the DamageLog. see https://github.com/Tommy228/TTTDamagelogs/blob/master/lua/damagelogs/config/config.lua#L24
@Tommy228 Thought I did, I spliced them together.
Here's what it looks like, you tell me...
--[[ 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
The third argument is the RDM Manager access. Set it to true or false.
]]--
Damagelog:AddUser("owner", 4, true)
Damagelog:AddUser("superadmin", 4, true)
Damagelog:AddUser("admin", 4, true)
Damagelog:AddUser("operator", 3, false)
Damagelog:AddUser("dj", 2, false)
Damagelog:AddUser("user", 2, false)
Damagelog:AddUser("guest", 2, 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 = 2
-- 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 = true
--[[ Enables the !autoslay command for ULX, designed to work with the logs.
I recommend disabling the old slaynr script (if you are currently using it) and using this command instead.
Works like that : !autoslay target number_of_slays reason
Example : !autoslay tommy228 2 RDMing a traitor
]]--
Damagelog.Enable_Autoslay = false
-- The number of days the logs last on the database (to avoid lags when opening the menu)
Damagelog.LogDays = 31
[REDACTED]|10|[REDACTED]
Couldn't include file 'damagelogs\config\config.lua' (File not found) (@addons/damagelogs/lua/damagelogs/cl_damagelog.lua (line 1))
Hmmm...
I don't even know anymore...
Should look like this: garrysmod/addons/TTTDamagelogs-master/lua/damagelogs/config/ - did you miss an update or maybe didnt delete the old files first? paths got updated some patches ago
@Joschasa ... facepalm
In my defense moving where the configs are located isn't ever a good idea, but that's probably just my issue.
I moved the /lua to lua/damagelog/ to avoid conflicts.
Meh...
Could be my environment, or just this. Not sure.