Garry's Mod

Garry's Mod

TTT Identification Bomb + Defuser V2.0 [ID Bomb]
81 Comments
Jenssons Jun 11, 2019 @ 11:08am 
or maybe make it compatible with town of terror
Molagsan  [author] Nov 16, 2018 @ 1:17am 
@Alf21:
I haven't played TTT for a long time and haven't heard of or played TTT2 either.
It looks like the amount of changes needed to make a compatible version shouldn't be too high.
However, as it stands right now im pretty busy with work/university, so please don't expect anything in the near future.

I'll keep it in mind, though. Thank you for letting me know!
Cheers! :)
Alf21 Nov 15, 2018 @ 11:05am 
Could you make it compatible with TTT2 ?
[ERROR] gamemodes/terrortown/entities/weapons/weapon_ttt_id_bomb.lua:88: attempt to call method 'GetTraitor' (a nil value)
1. fn - gamemodes/terrortown/entities/weapons/weapon_ttt_id_bomb.lua:88
2. unknown - addons/ulib/lua/ulib/shared/hook.lua:109
Molagsan  [author] Mar 6, 2016 @ 11:58am 
@Luk:
Changed the script a little bit, to make it more secure, does the problem still occur?
Luk Mar 6, 2016 @ 11:15am 
I'm getting flooded by script errors. They occured when a round started and the RDM Manager slayed a person.
This is the error:

[ERROR] workshop/gamemodes/terrortown/entities/weapons/weapon_ttt_id_bomb.lua:95: Tried to use a NULL entity!
1. GetPos - [C]:-1
2. fn - workshop/gamemodes/terrortown/entities/weapons/weapon_ttt_id_bomb.lua:95
3. unknown - addons/ulib/lua/ulib/shared/hook.lua:110

The addon has been on my server since yesterday, so I can't tell you whether this error is new or not.
Molagsan  [author] Mar 6, 2016 @ 10:13am 
@Luk:
Thanks for the response, great to know that it works!
Luk Mar 5, 2016 @ 4:49pm 
Seems to be working perfectly now, thanks! :)
Luk Mar 5, 2016 @ 11:30am 
Will do soon then :)
Molagsan  [author] Mar 5, 2016 @ 11:23am 
Ownership should work now!
@Luk:
If you could try it out in a real game scenario and report back if it works it would be great help!
Molagsan  [author] Mar 5, 2016 @ 9:28am 
@Luk:
Will look forward to do that, no problem. :)
I haven't played an actual round in a while, so that part of the game never occured to me xD
Luk Mar 5, 2016 @ 9:18am 
Could you maybe assign the explosion damage to the traitor who placed the bomb? Currently it just says 'something killed you' when dying from such a bomb. Also for the TTT score, the traitor who placed it should be rewarded (this is done by assigning said damage to him):
Drainder 先輩 Mar 4, 2016 @ 11:50am 
@Molag we got a error:
[TTT Identification Bomb + Defuser V2] gamemodes/terrortown/entities/weapons/weapon_ttt_id_bomb.lua:95: Tried to use a NULL entity!
1. GetPos - [C]:-1
2. fn - gamemodes/terrortown/entities/weapons/weapon_ttt_id_bomb.lua:95
3. unknown - addons/ulib/lua/ulib/shared/hook.lua:110
Min Feb 13, 2016 @ 12:36am 
@Molag: Now everything is working great. Thanks!
Molagsan  [author] Feb 12, 2016 @ 10:34pm 
Now everything should work stable; also, you can theoretically bomb multiple corpses between different players in one round, and everything works just fine! :)
Molagsan  [author] Feb 12, 2016 @ 9:12am 
@Min:
Will check that!
Min Feb 12, 2016 @ 5:17am 
@Molag Thanks, but it throws an error, when I place the bomb:
[TTT Identification Bomb + Defuser] gamemodes/terrortown/entities/weapons/weapon_ttt_id_bomb.lua:96: attempt to index a boolean value
1. unknown - gamemodes/terrortown/entities/weapons/weapon_ttt_id_bomb.lua:96
Molagsan  [author] Feb 11, 2016 @ 6:30pm 
@Min:
Included a new feature, which tells all traitors via ingame message, which players corpse has been flagged. So you can tell who is going to blow up, via the Player Name from silent identify.
Min Feb 11, 2016 @ 8:15am 
@Molag You're right! I do not know why it did not work before ... Very good addon!
It would be nice to have a possibility or switch so you can choose if the bomb should kill (or not) a fellow Traitor if he identify the corpse (I don't mean silent identify, the other traitors don't know if there is a bomb in it).
Molagsan  [author] Feb 11, 2016 @ 5:36am 
@Min:
Have you tried it? Because it worked for me! :)
Molagsan  [author] Feb 11, 2016 @ 5:28am 
@Min:
I will give it a try! :)
Min Feb 11, 2016 @ 5:16am 
Can you please add support for fake corpses? (Eg. 'TTT DeathFaker')
DH1806 Feb 8, 2016 @ 9:08am 
gonna try it out this weekend, not su much time this week, thanks for fixing
Molagsan  [author] Feb 8, 2016 @ 8:09am 
@DH1806:
Works for me, now! :)
Molagsan  [author] Feb 8, 2016 @ 7:13am 
@DH1806:
Hey, thanks for the Information! I'm looking forward to fixing it ASAP. :)
DH1806 Feb 8, 2016 @ 5:52am 
Hey Mate, im sorry to say but after the new update the addon crashes the call detective function.

[DH1806|98|STEAM_0:1:41686167] Lua Error:
[ERROR] gamemodes/terrortown/gamemode/corpse.lua:151: attempt to call global 'GetDetectiveFilter' (a nil value)
1. unknown - gamemodes/terrortown/gamemode/corpse.lua:151
2. unknown - lua/includes/modules/concommand.lua:54

After removing the ID Bomb it worked again. Would be great if you could take a look in it.
Molagsan  [author] Jan 26, 2016 @ 6:17am 
@DH1806:
No Problem it was fun after all :)

The Map is called 'ttt_nuclear_power_b2', one of my favorites. :)
DH1806 Jan 26, 2016 @ 5:38am 
could you tell me on which map you made the screens? :)
btw, thanks for fixing this :)
Cr4zyPi3t Jan 26, 2016 @ 12:44am 
Dammit this coincidence :D
Im not writing addons for gmod but you can check out my "Gamelink for teamspeak" which automutes players who dies in gmod
bonna97 Jan 25, 2016 @ 2:15pm 
Bad timing Cr4zyPi3t, hopefully we'll see any other workshop submissions from you in the future! ;)
Molagsan  [author] Jan 25, 2016 @ 2:10pm 
Thanks for all your Comments and fixed-Versions. I was inactive for a long time, as many of you may have guessed. The one version I commited a few seconds ago, should work without any problems, I reworked the code entirely. Have a nice Day!
bonna97 Jan 21, 2016 @ 3:38am 
Please fix this addon! :(
Lazurium Dec 19, 2015 @ 2:52pm 
Will this get updated?
Predator Oct 11, 2015 @ 8:28am 
[ERROR] gamemodes/terrortown/entities/weapons/weapon_ttt_id_bomb.lua:68: attempt to call field 'SetIDBomb' (a nil value)
1. unknown - gamemodes/terrortown/entities/weapons/weapon_ttt_id_bomb.lua:68


Can you fix it ? PLEASE!
Grester Sep 1, 2015 @ 11:03pm 
Still doesn't work :(
Rusins Jul 1, 2015 @ 10:45am 
Doesn't work currently :( Can't place bomb on a body
☭Gopnik Витёк☭ May 16, 2015 @ 12:45pm 
it doesn't work on my Server!
Sigma "One of a Kind" Apr 29, 2015 @ 10:29am 
it works fine to me
DH1806 Apr 26, 2015 @ 5:01am 
Yes its broken since the last Update :( Can you fix it?
Xardas Dark Mar 23, 2015 @ 6:01pm 
Broken since last Gmod update
Đante Jan 24, 2015 @ 2:30pm 
All, I get is a knife. That won't do anything
Loganero Jan 18, 2015 @ 9:09am 
I have a Error code and cant place it on a death Body
This is the Error code: [TTT Identification Bomb + Defuser] gamemodes/terrortown/entities/weapons/weapon_ttt_id_bomb.lua:68: attempt to call field 'SetIDBomb' (a nil value)
1. unknown - gamemodes/terrortown/entities/weapons/weapon_ttt_id_bomb.lua:68
Sigma "One of a Kind" Jan 7, 2015 @ 9:05am 
Just replace the corpse.lua and corpse_shd.lua files in gamemodes/terrortown/gamemode for the ones in this addon
Gregor Dec 16, 2014 @ 5:35am 
Using this item does nothing, seems to be broken
Retalak Nov 7, 2014 @ 7:14pm 
Can you push that fix?
SiX Oct 26, 2014 @ 3:26pm 
Yes, just an update, Uber: I added it and it wasn't working.
Molagsan  [author] Oct 25, 2014 @ 2:48pm 
@Puma: At first I have to setup a problem-matching lan-server, because it's working for me at the moment. After that i will debug the whole thing.
Puma Oct 25, 2014 @ 11:55am 
Uhm, was there one more after I wrote my message? It still does nothing after pressing the Left Mouse Button :( Is there anything I could do to help pinpoint the problem?
Molagsan  [author] Oct 25, 2014 @ 11:42am 
@Six:I know that feeling! In the worst case scenario the SWEP does nothing while pressing LMB. I fixed the major bugs already, so maybe you should just give it a shot. Since the last few patches nobody has reported an error regarding dedicated servers.
SiX Oct 25, 2014 @ 11:16am 
I haven't added it to my server, I was just asking if there were any known errors by you, Uber. I'd prefer not to download addons if there are errors presented. I'd love this, though! Maybe I'll give it a try anyway!