Garry's Mod

Garry's Mod

[TTT2] Yandere & Senpai [ROLE]
19 kommentarer
skewz 8. feb. kl. 22:37 
what
Dughoo 17. feb. 2022 kl. 20:06 
enjoy your dota
Tweek, The Goblin  [ophavsmand] 9. feb. 2022 kl. 15:52 
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 kl. 15:50 
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  [ophavsmand] 9. feb. 2022 kl. 15:13 
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  [ophavsmand] 9. feb. 2022 kl. 14:44 
Weird i thought I fixed that knife bug. I'll look into it again, thank you @The1337Gh0st
The1337Gh0st 9. feb. 2022 kl. 13:48 
Yandere also cannot see the role of Senpai whenever it turns crazy.
The1337Gh0st 9. feb. 2022 kl. 13:46 
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  [ophavsmand] 8. feb. 2022 kl. 19:13 
My bad. Fixed it now XD
Hannes 8. feb. 2022 kl. 15:27 
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  [ophavsmand] 8. feb. 2022 kl. 8:01 
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 kl. 6:57 
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 kl. 6:33 
Ohh, that's how the Floods are picked, yeah, it would definitely be better if you added a few more flags ^^
Tweek, The Goblin  [ophavsmand] 8. feb. 2022 kl. 6:31 
Yes I just updated the Senpai translations, apparently I had missed the whole senpai section XD
Hannes 8. feb. 2022 kl. 6:28 
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  [ophavsmand] 8. feb. 2022 kl. 6:14 
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 kl. 6:11 
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  [ophavsmand] 8. feb. 2022 kl. 5:53 
@Hannes good catches and good idea. I'll mess around with it :)
Hannes 8. feb. 2022 kl. 5:36 
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...