I've downloaded the Latest version with a few updates 19 hours ago from now and I'm still getting the same weapon disappearance problem. I narrowed it down to the damagelogs. Has it been fixed or have I done something wrong?
[QUOTE=LordofDuck;47339549]I've downloaded the Latest version with a few updates 19 hours ago from now and I'm still getting the same weapon disappearance problem. I narrowed it down to the damagelogs. Has it been fixed or have I done something wrong?[/QUOTE]
Any updates? because I'm nervous to put this on my second server right now. It works fine on my first server tho.
[QUOTE=allofmywut;47342865]Any updates? because I'm nervous to put this on my second server right now. It works fine on my first server tho.[/QUOTE]
It's conflicting with something but I don't know what. -snip-
[B]Edit : [/B] Some people told me NWVars are causing this. I'll replace them and we'll see.
[B]Edit 2 : [/B] Delete [i]damagelog_events/misc.lua[/i] and tell me if it still happens.
[QUOTE=tommy228;47346495]
[B]Edit 2 : [/B] Delete [i]damagelog_events/misc.lua[/i] and tell me if it still happens.[/QUOTE]
Doesn't fix the problem.
[QUOTE=LordofDuck;47346777]Doesn't fix the problem.[/QUOTE]
Can confirm, does not fix.
-snip-
not repaired on my side. Anyone else?
[QUOTE=xthenarwhalx;47356801]not repaired on my side. Anyone else?[/QUOTE]
It worked here. I'm 100% sure it's related to NW* functions.
The weapon disappearance problem is related to SetNWString and will be fixed in the hotfix. You can read more in the "Next Update v2" thread in Developer Discussion.
[QUOTE=zerf;47357264]The weapon disappearance problem is related to SetNWString and will be fixed in the hotfix. You can read more in the "Next Update v2" thread in Developer Discussion.[/QUOTE]
They did a hotfix 3 days ago. Is there another one coming?
[QUOTE=xthenarwhalx;47356801]not repaired on my side. Anyone else?[/QUOTE]
Can confirm, still breaks.
I kept the misc file deleted, also
[editline]19th March 2015[/editline]
Also, opened dmg logs, and got this error
[IMG]http://puu.sh/gHrYi/49a9fe0436.png[/IMG]
Working on fixing bugs/errors atm. Is it me or DComboBox colors are just fucked up? I wonder why it happens.
Updated. Changelog :
[quote]
- Not using NWVars anymore
- Added a "Remove slays of..." button on the RDM Manager
- Fixed the autoslay button sometimes autoslaying the wrong person
- Fixed some lua errors
- Added a !respond command (allows you the answer to a report while you're alive)
- Added the default aslay reason to the config file
- Added option to force slain players to be innocents
- Removed the close button from the "Forgive" popup
- Fixed DComboBox sorting
- Fixed DComboBox colors
[/quote]
You need to update the config file.
Can I ask if its possible for me to add code give a specific steamid access 1 to view logs at any time?
[QUOTE=tommy228;47367276]Updated. Changelog :
You need to update the config file.[/QUOTE]
I don't want to try spawning bots in fear of the gun glitch, but at least I got my colors back which is great.
What file would I find the color config for these two buttons?
[IMG]http://puu.sh/gJKRl/6b53e83b9e.png[/IMG]
[QUOTE=Polonius;47368869]Can I ask if its possible for me to add code give a specific steamid access 1 to view logs at any time?[/QUOTE]
You can edit the code of sh_privileges.lua
[lua]
function meta:CanUseDamagelog()
if self:SteamID() == "STEAMID_" then return true end
-- ...
end
[/lua]
[QUOTE=allofmywut;47369162]I don't want to try spawning bots in fear of the gun glitch, but at least I got my colors back which is great.
What file would I find the color config for these two buttons?
[IMG]http://puu.sh/gJKRl/6b53e83b9e.png[/IMG][/QUOTE]
Nowhere. It seems to happen on all buttons (and also DComboBox because its parent is DButton). SetTextColor() doesn't seem to work for some reason.
[lua]
local function drawStupid(self, x, y)
local selected, data = self:GetSelected()
if selected then
surface.SetFont("DermaDefault")
surface.SetTextColor(color_black)
surface.SetTextPos(x, y)
surface.DrawText(selected)
end
end
self.Round.PaintOver = function(self)
drawStupid(self, 8, 4)
end
self.PlayersCombo.PaintOver = function(self)
drawStupid(self, 8, 3)
end
[/lua]
I'm forced to do stupid shit like that
Thanks tommy. Your addon is fantastic. Can I ask if the mysql database part of this is just to store the logs or can you actually view them there? I may have done something wrong.
[QUOTE=tommy228;47369928]You can edit the code of sh_privileges.lua
[lua]
function meta:CanUseDamagelog()
if self:SteamID() == "STEAMID_" then return true end
-- ...
end
[/lua]
Nowhere. It seems to happen on all buttons (and also DComboBox because its parent is DButton). SetTextColor() doesn't seem to work for some reason.
[lua]
local function drawStupid(self, x, y)
local selected, data = self:GetSelected()
if selected then
surface.SetFont("DermaDefault")
surface.SetTextColor(color_black)
surface.SetTextPos(x, y)
surface.DrawText(selected)
end
end
self.Round.PaintOver = function(self)
drawStupid(self, 8, 4)
end
self.PlayersCombo.PaintOver = function(self)
drawStupid(self, 8, 3)
end
[/lua]
I'm forced to do stupid shit like that[/QUOTE]
Oh well. no biggie.
one last thing right now, is it currently possible to grant a group rank access to the logs via console (ulx), and have it written in the config.lua file?
For instance:
ulx addgroup "test" "user"; ulx allowgroup "test" "dmg_log_4"
Which would hypothetically add a group called "test" which inherits from "user" and will also be granted the "4" permission's setting permitted in the config.lua.
[QUOTE=allofmywut;47372078]Oh well. no biggie.
one last thing right now, is it currently possible to grant a group rank access to the logs via console (ulx), and have it written in the config.lua file?
For instance:
ulx addgroup "test" "user"; ulx allowgroup "test" "dmg_log_4"
Which would hypothetically add a group called "test" which inherits from "user" and will also be granted the "4" permission's setting permitted in the config.lua.[/QUOTE]
No, you must edit the config file. The privileges system doesn't use ULX, only aslay does. This is why something like [URL="http://facepunch.com/showthread.php?t=1454164"]CAMI[/URL] would be very interesting but probably not doable.
[editline]22nd March 2015[/editline]
[QUOTE=Polonius;47370624]Can I ask if the mysql database part of this is just to store the logs or can you actually view them there? I may have done something wrong.[/QUOTE]
Currently it's just to store the logs. There's a code for website integration but it's outdated (I'll ask my friend to update it later).
Just a heads up, console slays come through as "error's" instead of "Console"
[IMG]http://puu.sh/gMW3i/8b6b44c104.png[/IMG]
How are the Permission to slay with RDM Manager?
not with my !menu
Hey :)
I updated to the last github version and got this error after I open the menu with F8:
Damagelog:
[CODE]
[ERROR] addons/tttdamagelog/lua/damagelogs/cl_tabs/damagetab.lua:361: attempt to call method 'GetSelected' (a nil value)
1. drawStupid - addons/tttdamagelog/lua/damagelogs/cl_tabs/damagetab.lua:361
2. unknown - addons/tttdamagelog/lua/damagelogs/cl_tabs/damagetab.lua:332
[ERROR] addons/tttdamagelog/lua/damagelogs/cl_tabs/damagetab.lua:361: attempt to call method 'GetSelected' (a nil value)
1. drawStupid - addons/tttdamagelog/lua/damagelogs/cl_tabs/damagetab.lua:361
2. unknown - addons/tttdamagelog/lua/damagelogs/cl_tabs/damagetab.lua:335[/CODE]
Old logs:
[CODE]
[ERROR] addons/tttdamagelog/lua/damagelogs/cl_tabs/old_logs.lua:245: attempt to call field 'OldThink' (a nil value)
1. unknown - addons/tttdamagelog/lua/damagelogs/cl_tabs/old_logs.lua:245
[/CODE]
RDM Manager:
[CODE]
[ERROR] addons/tttdamagelog/lua/damagelogs/cl_tabs/rdm_manager.lua:479: attempt to call field 'OldThink' (a nil value)
1. unknown - addons/tttdamagelog/lua/damagelogs/cl_tabs/rdm_manager.lua:479
[ERROR] addons/tttdamagelog/lua/damagelogs/cl_tabs/rdm_manager.lua:492: attempt to call field 'OldThink' (a nil value)
1. unknown - addons/tttdamagelog/lua/damagelogs/cl_tabs/rdm_manager.lua:492
[/CODE]
Settings:
[CODE]
[ERROR] addons/tttdamagelog/lua/damagelogs/cl_tabs/damagetab.lua:361: attempt to call method 'GetSelected' (a nil value)
1. drawStupid - addons/tttdamagelog/lua/damagelogs/cl_tabs/damagetab.lua:361
2. unknown - addons/tttdamagelog/lua/damagelogs/cl_tabs/settings.lua:25
[/CODE]
Should I report bugs on github next time?
Greetings,
GrillGuth
[QUOTE=Coseri;47386091]How are the Permission to slay with RDM Manager?
not with my !menu[/QUOTE]
Not quite sure if this is the answer you're looking for, but if you don't want to use !menu you can:
1. (in chat) !aslay name number_of_slays reason ; !aslayid steam_id number_of_slays reason
2. (in console) ulx aslay name number_of_slays reason ; ulx aslayid steam_id number_of_slays reason
I just lost all functionality to the RDM manager. I have the option enabled for myself (and a few other ranks), we can logs fine, but the manager disappeared. I don't see an update on the changelogs.
[url]http://puu.sh/gOlyK/f045158694.png[/url]
I just re-installed the latest copy from github. Any ideas?
Tommy, when you're online, hit me up please
-The General [TYBG]
[url]http://steamcommunity.com/id/allofmywutsteam/[/url]
EDIT: aslay commands work fine. I just can't see the manager.
[url]http://puu.sh/gOm3D/fd44051949.png[/url]
EDIT2: I also noticed my scoreboard quick commands have diminished as if ulx doesn't recognize my rank, despite being able to use all commands
addon:[url]https://scriptfodder.com/scripts/view/377[/url]
commands: [url]http://puu.sh/gOmen/8bcc179425.png[/url]
[QUOTE=GrillGuth;47386506]-snip-[/QUOTE]
Update now and try.
[QUOTE=allofmywut;47389294]I just lost all functionality to the RDM manager. I have the option enabled for myself (and a few other ranks), we can logs fine, but the manager disappeared. I don't see an update on the changelogs.
[/QUOTE]
Well this isn't caused by my damagelogs, I don't know why it would happen. Something related to usergroups.
[URL="http://image.noelshack.com/fichiers/2015/13/1427285673-2015-03-25-00002.jpg"]By the way, I'm currently working on a chat system[/URL]
[QUOTE=tommy228;47391880]Update now and try.
Well this isn't caused by my damagelogs, I don't know why it would happen. Something related to usergroups.
[URL="http://image.noelshack.com/fichiers/2015/13/1427285673-2015-03-25-00002.jpg"]By the way, I'm currently working on a chat system[/URL][/QUOTE]
1. I'll search the Ulysses threads then. Thanks bruh.
2. I've been waiting for a chat system for a minute. This way kids don't fucking spam about responses. The only problem this creates is extending the work for moderators. But I already know how ill be using this chat system. Great work.
Tried chat system with bots, didn't have a reply button. :D
[QUOTE=CyberAP;47393476]Tried chat system with bots, didn't have a reply button. :D[/QUOTE]
I'll put it on the dev branch once it's fully working (the current one has nothing)
[QUOTE=tommy228;47391880]Update now and try.
[/QUOTE]
Hi,
thanks for the Update, but I still get this error at "Damegelog":
[CODE]
[ERROR] addons/tttdamagelog/lua/damagelogs/cl_tabs/damagetab.lua:361: attempt to call method 'GetSelected' (a nil value)
1. drawStupid - addons/tttdamagelog/lua/damagelogs/cl_tabs/damagetab.lua:361
2. unknown - addons/tttdamagelog/lua/damagelogs/cl_tabs/damagetab.lua:332
[ERROR] addons/tttdamagelog/lua/damagelogs/cl_tabs/damagetab.lua:361: attempt to call method 'GetSelected' (a nil value)
1. drawStupid - addons/tttdamagelog/lua/damagelogs/cl_tabs/damagetab.lua:361
2. unknown - addons/tttdamagelog/lua/damagelogs/cl_tabs/damagetab.lua:335[/CODE]
as well as at "Settings":
[CODE]
[ERROR] addons/tttdamagelog/lua/damagelogs/cl_tabs/damagetab.lua:361: attempt to call method 'GetSelected' (a nil value)
1. drawStupid - addons/tttdamagelog/lua/damagelogs/cl_tabs/damagetab.lua:361
2. unknown - addons/tttdamagelog/lua/damagelogs/cl_tabs/settings.lua:25
[/CODE]
"Old Log" and "RDM Manager" seems fixed :)
Greetings,
GrillGuth
[QUOTE=GrillGuth;47394131]-snip-[/QUOTE]
I don't know why it errors, but just comment or remove this line. I was just a (stupid) fix and it's no longer needed now.
Sorry, you need to Log In to post a reply to this thread.