Garry's Mod
Недостаточно оценок
[TTT2] Statistics-Addon
   
Наградить
В избранное
В избранном
Удалить
Тип контента: Дополнение
Тип дополнения: Инструмент
Метки дополнений: Развлечение, Ролевая игра
Размер файла
Добавлен
Изменён
48.073 KB
19 апр. 2020 г. в 9:18
8 мая. 2021 г. в 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 16 мар. 2024 г. в 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 20 июл. 2021 г. в 7:29 
ok thanks :)
Henotu  [создатель] 20 июл. 2021 г. в 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 19 июл. 2021 г. в 3:02 
Hi, I wanted to ask if the satistics are saved in a txt file and where is it located? Thanks :)
Henotu  [создатель] 10 июн. 2020 г. в 11:06 
@ThePlatynumGhost, thanks for the Bug report. I fixed the bug, the update should come in the next days
PlatynumGhost 8 июн. 2020 г. в 14: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