tommy228 / tttdamagelogs Goto Github PK
View Code? Open in Web Editor NEWDamagelogs and RDM Manager for Trouble in Terrorist Town (a Garry's Mod gamemode)
License: GNU General Public License v3.0
Damagelogs and RDM Manager for Trouble in Terrorist Town (a Garry's Mod gamemode)
License: GNU General Public License v3.0
Looking at the client side logs some of my users are receiving
SetFontInternal: font doesn't exist (RDMResponse)
[ERROR] addons/tttdamagelogs-master/lua/damagelogs/cl_tabs/statistics.lua:101: attempt to get length of field 'MonthCategories' (a nil value)
If someone responds and leaves before you are able to click on canel or keep the report the window doesn't want to close.
[ERROR] addons/damagelog_master_new/lua/damagelogs/rdm_manager/cl_rdm_manager.lua:163: Tried to use a NULL entity!
In game it shows up as red so its a slight inconsistency.
When you try to slay/slaynr someone with the rdm manager because of a previous map report it says invalid player.
Also round says everytime -1, but pretty sure I already read somewhere here but can't find it
[ERROR] addons/tttdamagelogs/lua/damagelogs/damagelog_events/damages.lua:33: attempt to perform arithmetic on field 'TeamDamages' (a nil value)
It is possible to create a report which doesn't contain any message
Create please localization for your script. In simple directory.
[ERROR] addons/damagelogmysql/lua/cl_tabs/damagetab.lua:354: attempt to call method 'UpdatePlayers' (a nil value)
I'm not sure if this has already been reported but randomly reports will stop showing up half way through the map.
For example after the third rounds no reports would show in the admin section of the RDM manager, so admins can't respond.
After every kill that error showed up:
[ERROR] addons/damagelog_master_new/lua/damagelogs/sv_damagelog.lua:217: attempt to compare number with nil
This was fixed after next mapchange but then everything was gone. The weapons names, the old logs and the statistics. Also before that happened it didn't save the old logs for the this month, no errors (except the preround errors in first round of course).
Using SQLLite
Well i will try to explain the bug i found few updates ago and it's still here.
I was playing as a traitor and in the middle of the round i checked the reports... I watched the death scene of a person. After closing it I bought radar and yea. The radar was bugged... the scans were moving with my mouse movements. I recorded it : https://www.youtube.com/watch?v=VgNrybkrzFg.
Please fix it because it's really hard to play with that. You have to rejoin to temporary fix it.
my fix:
function Damagelog:AddRoleLine(listview, nick, role)
local item = listview:AddLine(nick, self:StrRole(role), "")
function item:PaintOver()
for k,v in pairs(item.Columns) do
v:SetTextColor(role_colors[role])
end
end
item.Nick = nick
item.Round = self.SelectedRound
local sync_ent = self:GetSyncEnt()
item.Think = function(panel)
local ent = self.RoleNicks and self.RoleNicks[panel.Nick]
if GetRoundState() == ROUND_ACTIVE and sync_ent:GetPlayedRounds() == panel.Round then
if IsValid(ent) then
panel:SetColumnText(3, ent:Alive() and not (ent.IsGhost and ent:IsGhost()) and not ent:IsSpec() and "Yes" or "No")
else
panel:SetColumnText(3, "")
end
else
panel:SetColumnText(3, "Round ended")
end
end
end
Getting this error at random times
[ERROR] addons/tttdamagelogs/lua/sv_damagelog.lua:212: attempt to perform arithmetic on field 'Time' (a nil value)
Abuse message is still a config settings but doesn't seem to be working
I've had a bug for a while now that I am pretty sure started since I started using this version.
L 10/18/2014 - 09:26:59: Lua Error:
[ERROR] gamemodes/terrortown/gamemode/ent_replace.lua:178: attempt to call method 'GetParent' (a nil value)
I'm running vanilla server that only has a couple of addons none modifying core files. This error happens probably once every two or three days and requires a map change.
I have a feeling it might have something to do with
local CleanUpMap = game.CleanUpMap
function game.CleanUpMap(send_to_clients, filters)
filters = filters or {}
table.insert(filters, "dmglog_sync_ent")
return CleanUpMap(send_to_clients, filters)
end
in sh_sync_ent, but I am not entirely sure.
There is multiple times the case that I want to move the menu to see for example scores by pressing tab or similar
[ERROR] addons/tttdamagelogs-master/lua/cl_recording.lua:187: attempt to call method 'SetSequence' (a nil value)
Using download image and closing RDM Manager crashes game
If needed I can upload a memory dump.
This is showing up a lot in my server logs and occasionally breaking the RDM manager
[ERROR] addons/damagelogmysql/lua/rdm_manager/sv_rdm_manager.lua:250: attempt to index local 'respond' (a nil value)
Think the title says everything^^
[ERROR] addons/damagelogs/lua/sv_damageinfos.lua:15: attempt to call method 'Nick' (a nil value)
Hai,
just tested it out and found two bugs:
1st: If you get reported more than once at the same time, you can't respond to both reports, it only takes the answer to the first one you respond to but not the other(s). Also you're not able to close the window.
If you wait until you die again, the report you already respond to disappears but if you respond to the other(s) it doesn't take the respond even though it says the response has been submitted.
2nd: Not sure if it's supposed to be like that but you can edit the reported text in the respond box thingy.
Hope I wrote it more or less understandable oO
Edit: Not sure if I should put that in a new thing here, but I hope it's OK if I just edit this one, tell me if you prefer them seperated.
If map changes, you can't slay/slaynr over the "Take Action" Button the reported player nor the victim.
[ERROR] addons/damagelog_master_new/lua/damagelogs/cl_recording.lua:435: Tried to use invalid object (type Panel) (Object was NULL or not of the right type)
Sometimes players have issue that report is popping up on start of each round even when they reply and report is marked as finished.
i've been told first reports are not going through and in order for them to go through they have to do !report
On smaller screens the menu is cut off. Just happens with the new menu, he had no problems before.
Resolution: 1366 x 768
Screen:
http://cloud-4.steampowered.com/ugc/48738344533651432/07901C13660167467C0E03207849845BCFC20FE6/
Sometimes the answer on a report does not get transmitted or saved on the server side, so that the report window pops up every round until the next map start. Can't really reproduce this yet, but maybe it has something to do with disconnected users.
If the bugged report is from the map before, the round number is (sometimes?) -1.
(oh, and sometimes the report window won't close after trying to send an answer)
I'm using mysql to the web
Each day is showing, but ingame I can only see up to the 21st.
http://cloud-4.steampowered.com/ugc/547509212056534925/087ED6AA171C00ADC7C67CEC2F464A8EE1D90A78/
Ever since the last update and this one, my players have had to report twice in order for the staff to get it. Is there any way to fix this?
My portable tester is not working anymore since I updated to the last experimental build
Floating error over the killer's head instead of a name. No name over everyone else's head. Error stays for a bit and vanishs after maybe 2 rounds?!
Also after watching death scene everyone(!) had a random floating error in the middle of the map, sometimes you were able to see random arms with random weapons and things like that oO
If someone gets slain it should identify the corpse and remove it.
is there any way of making it so that i can change the button to open it?
[ERROR] lua/includes/modules/net.lua:172: net.ReadType: Couldn't read type 128
Empty rounds, no rounds showed, one round with right information showed, can't view old logs in damagelog ingame, can't view previous round reports etc.
Are just some problems that I'm experiencing after a while with the damagelog. I think it might be because the logs are growing so big, but I don't really know.
[ERROR] lua/includes/modules/net.lua:172: net.ReadType: Couldn't read type 46
Sometimes there occurs a lua error for some clients:
[name|188|STEAM_0:0:XXX98919] Lua Error:
[ERROR] addons/tttdamagelogs/lua/damagelogs/cl_damagelog.lua:25: attempt to index local 'content' (a nil value)
1. onsuccess - addons/tttdamagelogs/lua/damagelogs/cl_damagelog.lua:25
2. unknown - lua/includes/modules/http.lua:34
At the moment I need to search the position where both players are shooting and it is on a full server not very easy.
I would like to have a feature which focus the camera on the right position
[ERROR] addons/rdm/lua/sv_damagelog.lua:223: attempt to index field 'database' (a nil value)
On startup on my server (not mysql)
i have this error, every first round
http://i.imgur.com/wz31CWz.jpg
I dunno, it's just trying
[ERROR] lua/includes/modules/net.lua:172: net.ReadType: Couldn't read type 12
Please use the ulx fancy log function for the command chat text output instead of chat.AddText(), just looks better I think.
Please tell.
Using MySQL as storage backend
I think something like the following functionality would improve the replay a lot:
Sometimes I receive in one round about 10 reports.
It would be good to hide finished reports by default and add a toggle button to view them if neccessary
There are several situations when the status of a report should be updated automatically:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.