Garry's Mod

Garry's Mod

[TTT2] Weapon Statistics [FEATURE]
Počet komentářů: 25
dhkatz 12. dub. 2022 v 0.58 
I submitted a PR to fix the issue with ArcCW weapons :)
dhkatz 11. dub. 2022 v 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  [autor] 16. lis. 2021 v 0.28 
I have an idea, could you open an issue on GitHub so I don't forget about it?
★ Nighty 15. lis. 2021 v 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  [autor] 3. čvn. 2021 v 1.00 
i breakts the names? any idea how? Because this addons does nothing with weapon names at all
hawky_ 3. čvn. 2021 v 0.03 
well, this breaks arccw weapon names. that's a rip-
★ Nighty 14. pro. 2020 v 11.28 
what data does your addon need to work? i guess i could just add it
Tim | Mineotopia  [autor] 14. pro. 2020 v 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  [autor] 14. pro. 2020 v 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. pro. 2020 v 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. čvn. 2020 v 8.35 
@Tim, Thank you, Ill Try
Tim | Mineotopia  [autor] 29. čvn. 2020 v 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. čvn. 2020 v 17.44 
Doesnt Work at all on my Server. I cant even see the Weapon Names
Tim | Mineotopia  [autor] 2. bře. 2020 v 15.12 
it was basically one added line :)
mexikoedi 2. bře. 2020 v 14.58 
Already seen it ;), you are really fast. Thanks for your work.
Tim | Mineotopia  [autor] 2. bře. 2020 v 14.50 
done.
mexikoedi 27. úno. 2020 v 10.07 
Okay, that would be nice, but yeah no big deal, only something i noticed.
Tim | Mineotopia  [autor] 27. úno. 2020 v 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. úno. 2020 v 9.46 
Oh okay, yeah it's not a serious issue. Sometimes it's hard to read. I'm playing on 2k.
Tim | Mineotopia  [autor] 27. úno. 2020 v 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. úno. 2020 v 9.41 
I have another thing to ask. Is it possible to make it look bigger?
Tim | Mineotopia  [autor] 25. úno. 2020 v 23.32 
No. It uses a feature of TTT2, called targetID. It does nothing without it
Yoda 25. úno. 2020 v 11.32 
does it work in sandbox?
Tim | Mineotopia  [autor] 21. úno. 2020 v 15.48 
Good idea. I can add this tomorrow.
mexikoedi 21. úno. 2020 v 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 ?