Git Product home page Git Product logo

tttdamagelogs's People

Contributors

alf21 avatar butanal avatar bytewavemlp avatar comedinha avatar cschulz avatar darksider- avatar doctorluk avatar end360 avatar felixpsch avatar ggg-killer avatar goigle avatar hbturpin avatar heyter avatar iagrib avatar iviscosity avatar jakbu avatar joshh20 avatar leystryku avatar minismin avatar mr-gash avatar mydimeisup avatar pandaman09 avatar rrlend avatar satton2 avatar tommy228 avatar zachpl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tttdamagelogs's Issues

Font error

Looking at the client side logs some of my users are receiving

SetFontInternal: font doesn't exist (RDMResponse)

Error

[ERROR] addons/tttdamagelogs-master/lua/damagelogs/cl_tabs/statistics.lua:101: attempt to get length of field 'MonthCategories' (a nil value)

  1. Statistics - addons/tttdamagelogs-master/lua/damagelogs/cl_tabs/statistics.lua:101
    1. OpenMenu - addons/tttdamagelogs-master/lua/damagelogs/cl_damagelog.lua:111
    2. Think - addons/tttdamagelogs-master/lua/damagelogs/cl_damagelog.lua:144
      1. fn - addons/tttdamagelogs-master/lua/damagelogs/cl_damagelog.lua:160
      2. unknown - addons/ulib/lua/ulib/shared/hook.lua:184

Cancel / Keep report when player left

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!

  1. SteamID - [C]:-1
  2. DoClick - addons/damagelog_master_new/lua/damagelogs/rdm_manager/cl_rdm_manager.lua:163
    1. unknown - lua/vgui/dlabel.lua:206

Previous map's repots: invalid player / round -1

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

Attempt to perform arithmetic on field 'TeamDamages' (a nil value)

[ERROR] addons/tttdamagelogs/lua/damagelogs/damagelog_events/damages.lua:33: attempt to perform arithmetic on field 'TeamDamages' (a nil value)

  1. unknown - addons/tttdamagelogs/lua/damagelogs/damagelog_events/damages.lua:33
  2. fn - addons/tttdamagelogs/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/lua/damagelogs/sv_damageinfos.lua:45

Localization

Create please localization for your script. In simple directory.

error updating players

[ERROR] addons/damagelogmysql/lua/cl_tabs/damagetab.lua:354: attempt to call method 'UpdatePlayers' (a nil value)

  1. func - addons/damagelogmysql/lua/cl_tabs/damagetab.lua:354
    1. unknown - lua/includes/modules/net.lua:32

attempt to compare number with nil; everything gone

After every kill that error showed up:
[ERROR] addons/damagelog_master_new/lua/damagelogs/sv_damagelog.lua:217: attempt to compare number with nil

  1. fn - addons/damagelog_master_new/lua/damagelogs/sv_damagelog.lua:217
  2. unknown - addons/ulib/lua/ulib/shared/hook.lua:183
  3. FireBullets - [C]:-1
  4. ShootBullet - gamemodes/terrortown/entities/weapons/weapon_tttbase.lua:318
  5. PrimaryAttack - gamemodes/terrortown/entities/weapons/weapon_tttbase.lua:242
  6. unknown - addons/damagelog_master_new/lua/damagelogs/sv_damageinfos.lua:45

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

Radar bug

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.

Damagelog roles show that player is alive wenn he is dead

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

sv_damagelog.lua error

Getting this error at random times

[ERROR] addons/tttdamagelogs/lua/sv_damagelog.lua:212: attempt to perform arithmetic on field 'Time' (a nil value)

  1. fn - addons/tttdamagelogs/lua/sv_damagelog.lua:212
  2. unknown - addons/ulib/lua/ulib/shared/hook.lua:183
  3. Kill - [C]:-1
  4. fn - addons/tttadmin/lua/ulx/modules/sh/ttt_admin.lua:168
  5. Call - addons/ulib/lua/ulib/shared/hook.lua:183
  6. old_BeginRound - gamemodes/terrortown/gamemode/init.lua:693
  7. unknown - addons/ttt_spectator_deathmatch/lua/sv_specdm_overrides.lua:21

Abuse message

Abuse message is still a config settings but doesn't seem to be working

Bug breaking server

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)

  1. FixParentedPreCleanup - gamemodes/terrortown/gamemode/ent_replace.lua:178
    1. CleanUp - gamemodes/terrortown/gamemode/init.lua:381
    2. unknown - gamemodes/terrortown/gamemode/init.lua:466

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.

Allow move of damagelogs menu

There is multiple times the case that I want to move the menu to see for example scores by pressing tab or similar

SetSequence() error

[ERROR] addons/tttdamagelogs-master/lua/cl_recording.lua:187: attempt to call method 'SetSequence' (a nil value)

  1. fn - addons/tttdamagelogs-master/lua/cl_recording.lua:187
    1. unknown - addons/ulib/lua/ulib/shared/hook.lua:183

Respond Error

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)

  1. func - addons/damagelogmysql/lua/rdm_manager/sv_rdm_manager.lua:250
    1. unknown - lua/includes/modules/net.lua:32

Small Error

[ERROR] addons/damagelogs/lua/sv_damageinfos.lua:15: attempt to call method 'Nick' (a nil value)

  1. shootCallback - addons/damagelogs/lua/sv_damageinfos.lua:15
    1. unknown - addons/damagelogs/lua/sv_damageinfos.lua:44

(Multiple) report responding

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.

death scene lau error when closing menu at bottom

[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)

  1. SetVisible - [C]:-1
  2. StopRecording - addons/damagelog_master_new/lua/damagelogs/cl_recording.lua:435
  3. DoClick - addons/damagelog_master_new/lua/damagelogs/cl_recording.lua:150
  4. unknown - lua/vgui/dlabel.lua:206

RDM report keeps popping up

Sometimes players have issue that report is popping up on start of each round even when they reply and report is marked as finished.

Report answer doesn't get saved

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)

Have to report twice to recieve it

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?

death scene floating error

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

Lua Error

[ERROR] lua/includes/modules/net.lua:172: net.ReadType: Couldn't read type 128

  1. error - [C]:-1
    1. ReadType - lua/includes/modules/net.lua:172
    2. ReadType - lua/includes/modules/net.lua:112
      1. ReadType - lua/includes/modules/net.lua:116
      2. ReadTable - lua/includes/modules/net.lua:116
      3. func - addons/damagelogs/lua/cl_tabs/old_logs.lua:229
      4. unknown - lua/includes/modules/net.lua:32

Damagelog doesn't update the webserver with information

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

  1. error - [C]:-1
    1. ReadType - lua/includes/modules/net.lua:172
    2. ReadType - lua/includes/modules/net.lua:116
      1. ReadType - lua/includes/modules/net.lua:116
      2. ReadType - lua/includes/modules/net.lua:116
      3. ReadTable - lua/includes/modules/net.lua:116
      4. func - addons/tttdamagelogs/lua/cl_tabs/old_logs.lua:229
        1. unknown - lua/includes/modules/net.lua:32
          I get this error when I open up the damagelog.

cl_damagelog.lua:25: attempt to index local 'content' (a nil value)

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

Focus cam when playing death scene

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

On starting my server

[ERROR] addons/rdm/lua/sv_damagelog.lua:223: attempt to index field 'database' (a nil value)

  1. unknown - addons/rdm/lua/sv_damagelog.lua:223
  2. include - [C]:-1
  3. unknown - addons/rdm/lua/autorun/damagelog_autorun.lua:16

On startup on my server (not mysql)

net somehow trying to send a function

I dunno, it's just trying

[ERROR] lua/includes/modules/net.lua:172: net.ReadType: Couldn't read type 12

  1. error - [C]:-1
    1. ReadType - lua/includes/modules/net.lua:172
    2. ReadTable - lua/includes/modules/net.lua:112
      1. func - addons/ttt_damagelog/lua/cl_tabs/old_logs.lua:229
      2. unknown - lua/includes/modules/net.lua:32

[enh] autoslay command output

Please use the ulx fancy log function for the command chat text output instead of chat.AddText(), just looks better I think.

Hide finished reports by default

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

Update status automatically

There are several situations when the status of a report should be updated automatically:

  • Action was selected (slain or whatever; it is possible to slain another player of the report later)
  • Player disconnected (perhaps add a new status like invalid or similar)
  • Report was cancelled

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.