uhyo / jinrou

Are you a werewolf?
Other
79 stars 31 forks source link

Shadow & Hierarch & Satori will make the game stuck in chemical mode #760

Open YagamiMirai opened 2 years ago

YagamiMirai commented 2 years ago

Uhyoさん,Hello!

My friend and I found a serious bug in chemical mode.

This bug will cause the game to get stuck , the timer stops at night 0:00 after dawn, and the game cannot continue normally. It will also cause some skills that take effect on the next day (such as Poet) to incorrectly take effect at night. In addition, some effects (such as idols and Cultleader) will be repeated incorrectly multiple times. After the game gets stuck, gamemaster can not add time, will be prompted “TypeError: Cannot read property 'dead' of undefined”. But he can kill character. If all characters are killed, gamemaster can add time and game will end normally.

But we have not fully figured out how to reproduce this bug.

The known situation is as follows:

these conditions must exist: ①Shadow + Cultleader (or hierarchy)+ Satori ②Cultleader use skill on the werewolf who affected by the shadow (←From now on referred to as humanwolf ) ③On the same night, satori also used skills to humanwolf

The conditions that has not been determined: ①The known issues all occur in chemical mode, but we don't know if this is a necessary condition ②Can satori be replaced by diviner ?

We may conduct more tests on this issue...

image:

image

(The cultleader converts a character into a cultmember multiple times )

image

(A player received the poet’s poem on the same night and replied, and the cultmember that have been effective multiple times )

image

(3 times fans and 2 times cultmember )

link: https://github.com/Sunev/jinrou/issues/171 (chinese ver)

uhyo commented 2 years ago

Thank you for the detailed report, and sorry for late response 😔 I'd need to investigate more, but these information will definitely help.

YagamiMirai commented 2 years ago

We conducted some tests during the National Day holiday, but there were no particularly good results.

I speculate that the game may be wrongly stuck at the time when the character died at dawn.

This problem does not seem to occur when set to "Scapegoat does not exist and no one will die" and replaced hierarchy with duelist, replaced satori with diviner.

I don’t know how I can help with this. If you need me to do anything more, you can tell me...