Garry's Mod

Garry's Mod

[TTT2] Fuse [ROLE]
12 Comments
milkwater  [author] 23 Feb @ 8:01am 
MooseGoneMad, I think I have fixed the issue. The error occurs when someone is killed by something that is neither a player or the world, I wonder what it was that caused the error in the first place.

Anyways I implemented some extra checks to make sure the attacker is both valid and a player in the first place so this should no longer cause errors. Sorry that it was glitching out.

Thank you for providing an error log, I really appreciate it! :steamthumbsup:
MooseGoneMad 22 Feb @ 6:58pm 
Lua error I'm getting:

[[TTT2] Fuse [ROLE]] lua/terrortown/entities/roles/fuse/shared.lua:100: attempt to call method 'GetSubRole' (a nil value)
1. fn - lua/terrortown/entities/roles/fuse/shared.lua:100
2. Run - lua/ulib/shared/hook.lua:109
3. unknown - gamemodes/terrortown/gamemode/server/sv_player.lua:906
MooseGoneMad 11 Feb @ 7:05pm 
Yup -- it's the old ttt hud! On the new HUD it appears as expected. I'll let players know that :steamthumbsup:
milkwater  [author] 9 Feb @ 12:23pm 
MooseGoneMad, I am sorry to hear the addon is not working properly on your server.

I have the timed status being added to the Fuse player as soon as the role is assigned, so I don't know how that could mess up. It's the same method as where the detective spawns with a DNA scanner.

The only thing I can think of is that other players are using a different HUD. I am pretty sure the old TTT HUD does not support timed status effects. Do you think you could get this information from them? I really would like to help fix this. :reheart:
MooseGoneMad 9 Feb @ 11:59am 
Yes, sorry, I meant the left side of the screen. Some of my players are seeing it, some are not -- maybe something to do with screen resolution? Just spitballing. Other "on-screen buffs" appear as they should, though, so it's something specific with this addon.
milkwater  [author] 27 Jan @ 4:28pm 
MooseGoneMad, Can you provide some more information? I just went in game to test it and the timer does infact show up on the left side of the screen. Could you try again and check the left side of the screen, instead of the right? Thank you!
MooseGoneMad 27 Jan @ 3:58pm 
Role (seems to) work, but I don't see the timer on the right side of the screen.
Kawasaki Ki-10 3 Sep, 2024 @ 4:40pm 
Oh wow, that might be the fastest fix anything has ever gotten, thank you so much!
milkwater  [author] 3 Sep, 2024 @ 4:37pm 
Kawasaki Ki-10, I went into a game to test it and to my surprise, killing someone actually did not refresh my timer!

I have fixed this issue now, I went into a game and shot a guy and boom, my timer reset! Hope you enjoy this role properly now. :steamthumbsup:
Kawasaki Ki-10 3 Sep, 2024 @ 4:19pm 
We used this in a small server with friends and kills didn't reset the timer. Everything else worked great though. Did I miss a config setting?
milkwater  [author] 26 Jul, 2024 @ 8:13am 
Gianni, Could you provide more information about what was happening during the round? I just went into a solo game and it worked perfectly fine.

I would like to help solve this problem together!
Gianni 25 Jul, 2024 @ 10:48pm 
this does not work, fuse doesn't trigger