Garry's Mod

Garry's Mod

[TTT2] Yandere & Senpai [ROLE]
19 Comments
ali 8 Feb @ 10:37pm 
what
Dughoo 17 Feb, 2022 @ 8:06pm 
enjoy your dota
Tweek, The Goblin  [author] 9 Feb, 2022 @ 3:52pm 
Interesting. Maybe it's drying before the call and then there's no entity. I'll check that out thank you :)
The1337Gh0st 9 Feb, 2022 @ 3:50pm 
I was using the Yandere role, and I killed Senpai with the primary attack which caused the lua error. The Yandere still died as a result of killing Senpai, but it caused a lua error. The bug appears in both the calm and crazy versions of Yandere.
Tweek, The Goblin  [author] 9 Feb, 2022 @ 3:13pm 
That is definitely a new error. that line of code is to get the health of the owner of the knife. Not sure why you're SWEP owner is null. Did you throw the knife or were you playing a role that didn't have HP? I might need more details to replicate this bug.
Tweek, The Goblin  [author] 9 Feb, 2022 @ 2:44pm 
Weird i thought I fixed that knife bug. I'll look into it again, thank you @The1337Gh0st
The1337Gh0st 9 Feb, 2022 @ 1:48pm 
Yandere also cannot see the role of Senpai whenever it turns crazy.
The1337Gh0st 9 Feb, 2022 @ 1:46pm 
Since the source code for the role is not available yet, I'll post a bug report here:

Killing Senpai with the "For Senpai" knife will cause the following lua error:

[[TTT2] Yandere & Senpai [ROLE]] gamemodes/terrortown/entities/weapons/weapon_ttt_yandere_knife.lua:284: Tried to use a NULL entity!
1. Health - [C]:-1
2. StabKill - gamemodes/terrortown/entities/weapons/weapon_ttt_yandere_knife.lua:284
3. unknown - gamemodes/terrortown/entities/weapons/weapon_ttt_yandere_knife.lua:179
Tweek, The Goblin  [author] 8 Feb, 2022 @ 7:13pm 
My bad. Fixed it now XD
Hannes 8 Feb, 2022 @ 3:27pm 
Ok, i have no idea what you did with that latest update, but something seems to destroy everything xD. It constantly says, there is an error with TTT2 Base, the round doesn't start, TAB does nothing and when pressing F1, everything is white.
Tweek, The Goblin  [author] 8 Feb, 2022 @ 8:01am 
Yea thats a good point didn't even think of the teamkill to go yangire. Yea i noticed that during testing too even with the cap filter in. I gotta figure out why the max flag is being ignored.
Hannes 8 Feb, 2022 @ 6:57am 
Ok, two more things then I'll shut up:
1.: What is the movement speed multiplier supposed to do, because as of now, it doesn't seem to change anything (not even after a map change). The max movement speed multiplier is always 3 as soon as the Yandere converts.
2.: Just realised this: It would be greatly advised if you made the implementation that the Yandere dies if she kills her Senpai, otherwise, she would just exploit this and kill Senpai in order for her to go crazy instantly. This would ruin the whole purpose of the role.
Hannes 8 Feb, 2022 @ 6:33am 
Ohh, that's how the Floods are picked, yeah, it would definitely be better if you added a few more flags ^^
Tweek, The Goblin  [author] 8 Feb, 2022 @ 6:31am 
Yes I just updated the Senpai translations, apparently I had missed the whole senpai section XD
Hannes 8 Feb, 2022 @ 6:28am 
Okay, for the Translation of the Senpai: It's not just when the body is confirmed, the name of the Senpai is literally: Error: Translation of Senpai not found
Tweek, The Goblin  [author] 8 Feb, 2022 @ 6:14am 
It's probably on the flood. It try's to grab a non-traitor, non-detective role since a lot of servers have a lot of roles on them XD I'll have to add more flags for some of these maybe. Maybe some convars.
Hannes 8 Feb, 2022 @ 6:11am 
Also, the same happened to me with the Loot Goblin as well. I just got forced into the Flood-Role. Maybe this is some general problem...
Tweek, The Goblin  [author] 8 Feb, 2022 @ 5:53am 
@Hannes good catches and good idea. I'll mess around with it :)
Hannes 8 Feb, 2022 @ 5:36am 
Okay, here we go, instant bug report.^^
Minor: If the body of Senpai is confirmed, it says that translation not found. Also the same thing happens with the notification of the Yandere converting.
Major: If the Yandere spawns, there is a possibility that she gets converted into a Flood (percentage very little, but happened to me in my first round xD) and thus keeps the Radar as a Flood.
Also, this seems quite OP and I see no real reason why the Yandere should not try to convert into a Yangire...
Would it be possible to add a downside of becoming a Yangire, maybe your vision gets darker over time because you get crazy or you get damage over time...not sure what would be good here...