Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
You are just cloaking the player, not cloaking the PS Items.
https://steamhost.cn/steamcommunity_com/dmca/create/372779406
i do not have any clue^^ but thanks :)
However, this was quite some time ago, and if your problem came with the new update, I have honestly no idea what could cause it, so if you could do some testing yourself with your item, maybe that could help.
local MaxAmmo = CreateConVar("cd_ammo", "60", {FCVAR_PROTECTED}, "Max ammo for cloaking device") and SWEP.Primary.ClipSize = GetConVarNumber("cd_ammo")
[ERROR] gamemodes/terrortown/entities/weapons/weapon_ttt_cloak/shared.lua:100: attempt to index global 'SWEP' (a nil value)
1. PreDrop - gamemodes/terrortown/entities/weapons/weapon_ttt_cloak/shared.lua:100
2. DropNotifiedWeapon - gamemodes/terrortown/gamemode/weaponry.lua:201
3. unknown - gamemodes/terrortown/gamemode/player.lua:599
4. FireBullets - [C]:-1
5. ShootBullet - gamemodes/terrortown/entities/weapons/weapon_tttbase.lua:318
6. PrimaryAttack - gamemodes/terrortown/entities/weapons/weapon_tttbase.lua:242
7. oldprimary - gamemodes/terrortown/entities/weapons/weapon_zm_rifle.lua:59
8. unknown - addons/tttdamagelogs-master/lua/damagelogs/sv_damageinfos.lua:54
I hope this fixes the issue, or at least no longer displays any error.
10. DrawWorldModel - addons/ttt_spectator_deathmatch-master/lua/cl_spectator_deathmatch.lua:343
11. old_DrawWorldModel - gamemodes/terrortown/entities/weapons/weapon_ttt_cloak.lua:55
12. DrawWorldModel - addons/ttt_spectator_deathmatch-master/lua/cl_spectator_deathmatch.lua:343
13. old_DrawWorldModel - gamemodes/terrortown/entities/weapons/weapon_ttt_cloak.lua:55
14. DrawWorldModel - addons/ttt_spectator_deathmatch-master/lua/cl_spectator_deathmatch.lua:343
15. old_DrawWorldModel - gamemodes/terrortown/entities/weapons/weapon_ttt_cloak.lua:55
16. DrawWorldModel - addons/ttt_spectator_deathmatch-master/lua/cl_spectator_deathmatch.lua:343
[ERROR] stack overflow
1. GetTable - [C]:-1
2. __index - lua/includes/extensions/weapon.lua:30
3. old_DrawWorldModel - gamemodes/terrortown/entities/weapons/weapon_ttt_cloak.lua:54
4. DrawWorldModel - addons/ttt_spectator_deathmatch-master/lua/cl_spectator_deathmatch.lua:343
5. old_DrawWorldModel - gamemodes/terrortown/entities/weapons/weapon_ttt_cloak.lua:55
6. DrawWorldModel - addons/ttt_spectator_deathmatch-master/lua/cl_spectator_deathmatch.lua:343
7. old_DrawWorldModel - gamemodes/terrortown/entities/weapons/weapon_ttt_cloak.lua:55
8. DrawWorldModel - addons/ttt_spectator_deathmatch-master/lua/cl_spectator_deathmatch.lua:343
It can also be easy to see a cloaked player if you are careful enough, most reliable way is to watch for a shadow without a corpse.
-Optional outline for cloaked players (still hard to see, but seeable)
-Using weapons disables the cloak
-A timer on the cloak, you can only use it so long before having to uncloak