Garry's Mod
[TTT/2] Clairvoyancy [ITEM]
25 comentarii
dhkatz  [autor] 5 nov. 2023 la 1:14 
No, this is not compatible with DarkRP. I don't ever plan to add compatibility with non-TTT gamemodes. Too much work for this one.
Zealot Xenon Zero 54 "zxz54" 5 mai 2022 la 12:10 
А есть такой же для DarkRP ?
Malivil 8 nov. 2020 la 10:31 
Great, thanks =)
dhkatz  [autor] 8 nov. 2020 la 10:24 
The github link has also been updated.
dhkatz  [autor] 8 nov. 2020 la 10:18 
The bug should be fixed now, thank you
Malivil 8 nov. 2020 la 5:24 
This is erroring on non-TTT2 since the last update.

Also the GitHub link in the description is broken.

[[TTT/2] Clairvoyancy [ITEM]] gamemodes/terrortown/entities/entities/ttt_clairvoyancy_perk.lua:37: attempt to index a nil value
1. unknown - gamemodes/terrortown/entities/entities/ttt_clairvoyancy_perk.lua:37
dhkatz  [autor] 7 nov. 2020 la 17:28 
Add a helpful timer to the TTT2 HUD icon to let you know how long you will see the outline of a corpse.

Added convars to allow the enabling/disabling of overwhelming and setting the overwhelm threshold. (Overwhelming is the feature where you take damage if too many people die within a short span.)
dhkatz  [autor] 7 nov. 2020 la 16:37 
Added support for TTT2, including ULX menu support for easily configuring the addon.

Fixed a very longstanding bug regarding the outline timer.

If you encounter any new bugs let me know.
Marid 25 aug. 2020 la 7:43 
This would be amazing as a Detective variant role
Yobbel 24 febr. 2020 la 10:31 
works for me really well. thanks a lot!
Tim | Mineotopia 5 mart. 2019 la 0:20 
Hello! I'm from the TTT2 team and would like to ask if you'd like to update your addon to be comatible with the new TTT2 interface. You can check Gamefreaks addons to tee what has to be changed.
Basically we've a new Perk-Sidebar which needs an icon with a transparent background and you have to set the material to TTT2 instead of drawing the icon by yourself. You can check if TTT2 is installed to ensure compatibilty with TTT and TTT2

TTT2: https://sp.zhabite.com/sharedfiles/filedetails/?id=1357204556
Kirbycake 2 iun. 2018 la 8:30 
This Addon is amazing, I love it:luv:!
dhkatz  [autor] 8 mart. 2018 la 14:50 
If you notice any other bugs let me know
Vick [Never AFK] Don't Kick :P 8 mart. 2018 la 14:48 
Thank you
dhkatz  [autor] 8 mart. 2018 la 13:49 
Alright, after being away from Garry's Mod for many months I have come back for now. Found the cause of the bug (was calling GetDetective() on attacker but didn't actually make sure that attacker was a player).

This should fix the error @Vick, also @アヴァロン this should also fix the fall damage issue.
dhkatz  [autor] 8 mart. 2018 la 12:55 
Will take a look into that error
Vick [Never AFK] Don't Kick :P 3 dec. 2017 la 12:16 
Lua Error: [ERROR] addons/****/gamemodes/terrortown/entities/entities/ttt_clairvoyancy_perk/init.lua:19: attempt to call method 'GetDetective' (a nil value)
dhkatz  [autor] 27 iun. 2017 la 15:22 
Thank you, will look at it when I get home in a bit.
Avalon 27 iun. 2017 la 9:05 
Just a heads-up, there is a problem with fall damage. When someone dies of fall damage you can't confirm the corpse properly. Also because of that when they use the chat as "dead" they actually use the chat for the players still alive.
dhkatz  [autor] 8 iun. 2017 la 23:34 
Update went out: Fixed multi-hightlight issue and cleaned up some variable names. See the GitHub changelog [github.com] for more information.

Hope I didn't screw stuff too much. Please leave any issues below or in a bug report.
dhkatz  [autor] 5 iun. 2017 la 20:55 
Thank you :)
Nosrac24 5 iun. 2017 la 18:22 
+You're pretty awesome, and yet you keep doing great work, nice job!
dhkatz  [autor] 5 iun. 2017 la 16:32 
I haven't run into any issues (and I've tested with a lot of addons), but I'll change it anyways. Thanks.
Hagen 5 iun. 2017 la 12:18 
Since the last update there is a new function to create Equipment IDs without conflicts. Your function wont work, because there could be perks that initialize after your Perk. https://github.com/Facepunch/garrysmod/blob/master/garrysmod/gamemodes/terrortown/gamemode/equip_items_shd.lua#L120
dhkatz  [autor] 5 iun. 2017 la 0:28 
I consider this addon to be in beta as it has not had as much play testing as I'd like. Please report any bugs you may discover (see discussions).