Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

phantom being spawned randomly ended the game (0 crewmate issue?) #204

Open
VirusTLNR opened this issue Feb 16, 2022 · 2 comments
Open

phantom being spawned randomly ended the game (0 crewmate issue?) #204

VirusTLNR opened this issue Feb 16, 2022 · 2 comments

Comments

@VirusTLNR
Copy link

so weirdly, this happened before, and i thought i was being a dodo.. but it seems now its occuring again, and i can actually explain it with a picture that details what occured.
image

so
1:- shifted into the executioner
2:- shifted into the executioner again (swapped them back)
3:- killed the executioners target... (the investigator).. so the executioner turned into the jester.
4:- called a meeting and SKIPPED, no one was voted out.
5:- at this point the phantom should spawn.. but none of the logs mention the phantom spawning (it used to...?)
(line 40) "System.Console.WriteLine("Become Phantom - Phantom");".. pretty sure this writes to the log as well.. but dont quote me... something used to write this to the log
https://github.com/Anusien/Town-Of-Us/blob/mainline/source/Patches/NeutralRoles/PhantomMod/SetPhantom.cs

anyway, as soon as the meeting ended, the game ended, no one was a winner (the winning W is missing from my summary)

for comparison.. on the left its working fine, on the right i was trying to show all the changes.. when the phantom broke it.
image

I get the feeling the bug is due to all crewmates being dead when the phantom spawns... so this might be the bug with the phantom ending the game, but might be worth a check.

under normal circumstances, there will always be a crew alive... but... there could be a glitch, impostor, jester and arsonist.. and then the game may end for no reason due to this bug... (if im right about it being due to 0 crewmates).

@VirusTLNR
Copy link
Author

tried again, but without the shifting.. still ends in a bugged loss for everyone.
image

@VirusTLNR
Copy link
Author

at least 1 crew alive when phantom spawns... and no bugged ending.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant