Garry's Mod

Garry's Mod

评价数不足
[TTT2] Statistics-Addon
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 快乐, 角色扮演
文件大小
发表于
更新日期
48.073 KB
2020 年 4 月 19 日 上午 9:18
2021 年 5 月 8 日 上午 10:16
15 项改动说明 ( 查看 )

订阅以下载
[TTT2] Statistics-Addon

描述
Welcome to the TTT2 Statistics-Addon!

Open the addon using the consolecommand "stat_DrawGui" or by using the keybindings menu in TTT2

Currently the Addon tracks:

• Kills and Deaths
• Damage dealt/received
• TTT Round-stats
• TTT Item-stats
• ...

This Addon is intended for the TTT2 gamemode, but I think it could also be used for the normal TTT gamemode and/or other gamemodes. (It should still track your kills/deaths)

All of the tracked data is stored on the client-side, yet the server is still needed to send certain events to the player.

Add your own statistics to the addon! Find out more here[github.com]

Note for serverowners:
If you want to stop the announcement of milestones in the chat, set the ConVar "stat_ShowMilestones" as false

If you have any problems or bugs with this addon, feel free to contact me.
6 条留言
Malcry 2024 年 3 月 16 日 上午 11:29 
is there a way to view the stats of the server? like how many times a player died from another, and not only mine
Zumoari 2021 年 7 月 20 日 上午 7:29 
ok thanks :)
Henotu  [作者] 2021 年 7 月 20 日 上午 5:55 
@Zumoari The statistics are saved in the client-database of gmod (cl.db). If you export your data in the settings menu of the addon, you can find the export in the /garrysmod/data/ttt_statistics_addon folder.
Zumoari 2021 年 7 月 19 日 上午 3:02 
Hi, I wanted to ask if the satistics are saved in a txt file and where is it located? Thanks :)
Henotu  [作者] 2020 年 6 月 10 日 上午 11:06 
@ThePlatynumGhost, thanks for the Bug report. I fixed the bug, the update should come in the next days
PlatynumGhost 2020 年 6 月 8 日 下午 2:48 
[ERROR] lua/autorun/client/cl_stat_record.lua:246: attempt to perform arithmetic on upvalue 'TimeAlive' (a nil value)
1. fn - lua/autorun/client/cl_stat_record.lua:246
2. Call - addons/ulib-v2_63/lua/ulib/shared/hook.lua:109
3. RoundStateChange - addons/ttt2-master/gamemodes/terrortown/gamemode/client/cl_main.lua:320
4. func - addons/ttt2-master/gamemodes/terrortown/gamemode/client/cl_main.lua:430