Garry's Mod
[TTT2] Yandere & Senpai [ROLE]
19 件のコメント
ali 2月8日 22時37分 
what
Dughoo 2022年2月17日 20時06分 
enjoy your dota
Tweek, The Goblin  [作成者] 2022年2月9日 15時52分 
Interesting. Maybe it's drying before the call and then there's no entity. I'll check that out thank you :)
The1337Gh0st 2022年2月9日 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  [作成者] 2022年2月9日 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  [作成者] 2022年2月9日 14時44分 
Weird i thought I fixed that knife bug. I'll look into it again, thank you @The1337Gh0st
The1337Gh0st 2022年2月9日 13時48分 
Yandere also cannot see the role of Senpai whenever it turns crazy.
The1337Gh0st 2022年2月9日 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  [作成者] 2022年2月8日 19時13分 
My bad. Fixed it now XD
Hannes 2022年2月8日 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  [作成者] 2022年2月8日 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 2022年2月8日 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 2022年2月8日 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  [作成者] 2022年2月8日 6時31分 
Yes I just updated the Senpai translations, apparently I had missed the whole senpai section XD
Hannes 2022年2月8日 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  [作成者] 2022年2月8日 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 2022年2月8日 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  [作成者] 2022年2月8日 5時53分 
@Hannes good catches and good idea. I'll mess around with it :)
Hannes 2022年2月8日 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...