Garry's Mod

Garry's Mod

[TTT2] Weapon Statistics [FEATURE]
25 kommentarer
dhkatz 12. apr. 2022 kl. 0:58 
I submitted a PR to fix the issue with ArcCW weapons :)
dhkatz 11. apr. 2022 kl. 23:18 
There is indeed a bug with ArcCW weapons:

[[TTT2] Weapon Statistics [FEATURE]] lua/terrortown/autorun/client/cl_weaponstats_tid.lua:11: attempt to compare nil with number
1. GetAccuracyLangString - lua/terrortown/autorun/client/cl_weaponstats_tid.lua:11
2. fn - lua/terrortown/autorun/client/cl_weaponstats_tid.lua:83
3. Run - lua/ulib/shared/hook.lua:109
4. Run - gamemodes/terrortown/gamemode/client/cl_targetid.lua:285
5. unknown - gamemodes/terrortown/gamemode/client/cl_hud_manager.lua:39 (x87)
Tim | Mineotopia  [ophavsmand] 16. nov. 2021 kl. 0:28 
I have an idea, could you open an issue on GitHub so I don't forget about it?
★ Nighty 15. nov. 2021 kl. 20:10 
not sure if its a known issue, but it doesn't show stats if the weapons are spawned later in a round for example on ttt_lttp_kakariko_a5 only after picking up the weapon and dropping it
Tim | Mineotopia  [ophavsmand] 3. juni 2021 kl. 1:00 
i breakts the names? any idea how? Because this addons does nothing with weapon names at all
hawky_ 3. juni 2021 kl. 0:03 
well, this breaks arccw weapon names. that's a rip-
★ Nighty 14. dec. 2020 kl. 11:28 
what data does your addon need to work? i guess i could just add it
Tim | Mineotopia  [ophavsmand] 14. dec. 2020 kl. 0:54 
Your addon is not for TTT, this is probably the problem. You might want to use a TTT version of TFA, like this one maybe: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1551226871
Tim | Mineotopia  [ophavsmand] 14. dec. 2020 kl. 0:53 
If it doesn't work with TFA then they don't use the default weapon data system. I might take a look at it, but no promises
★ Nighty 13. dec. 2020 kl. 18:53 
this does not work with tfa weapons. i got this error:
[ulib-master] lua/autorun/client/cl_weaponstats_tid.lua:11: attempt to compare nil with number
1. GetAccuracyLangString - lua/autorun/client/cl_weaponstats_tid.lua:11
2. fn - lua/autorun/client/cl_weaponstats_tid.lua:72
3. Run - addons/ulib-master/lua/ulib/shared/hook.lua:109
4. Call - gamemodes/terrortown/gamemode/client/cl_targetid.lua:331
5. unknown - gamemodes/terrortown/gamemode/client/cl_hud_manager.lua:93
the ui will hide when looking at a weapon (only happens after dropping a tfa weapon somehow)

i was using those weapons https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=533104097
Rainer Wahnsinn 30. juni 2020 kl. 8:35 
@Tim, Thank you, Ill Try
Tim | Mineotopia  [ophavsmand] 29. juni 2020 kl. 23:18 
@Rainer: Then you have an addon that overwrites targetID. Advaced disguiser or identity swapper are two that I know of
Rainer Wahnsinn 29. juni 2020 kl. 17:44 
Doesnt Work at all on my Server. I cant even see the Weapon Names
Tim | Mineotopia  [ophavsmand] 2. mar. 2020 kl. 15:12 
it was basically one added line :)
mexikoedi 2. mar. 2020 kl. 14:58 
Already seen it ;), you are really fast. Thanks for your work.
Tim | Mineotopia  [ophavsmand] 2. mar. 2020 kl. 14:50 
done.
mexikoedi 27. feb. 2020 kl. 10:07 
Okay, that would be nice, but yeah no big deal, only something i noticed.
Tim | Mineotopia  [ophavsmand] 27. feb. 2020 kl. 10:00 
garrysmod has no scaling for high resolution displays. Therefore we added such a feature for TTT2 itself. We might use this for menues etc as well
mexikoedi 27. feb. 2020 kl. 9:46 
Oh okay, yeah it's not a serious issue. Sometimes it's hard to read. I'm playing on 2k.
Tim | Mineotopia  [ophavsmand] 27. feb. 2020 kl. 9:44 
Since it just uses the TTT2 system, no, sadly not. Maybe we'll add a scale factor in TTT2 for the targetID stuff.
Are you playing on 2k or 4k?
mexikoedi 27. feb. 2020 kl. 9:41 
I have another thing to ask. Is it possible to make it look bigger?
Tim | Mineotopia  [ophavsmand] 25. feb. 2020 kl. 23:32 
No. It uses a feature of TTT2, called targetID. It does nothing without it
Yoda 25. feb. 2020 kl. 11:32 
does it work in sandbox?
Tim | Mineotopia  [ophavsmand] 21. feb. 2020 kl. 15:48 
Good idea. I can add this tomorrow.
mexikoedi 21. feb. 2020 kl. 12:40 
Nice addon, looks good in ttt2 but is there a Damage Indicator like in this addon: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=300375321 ?