You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If (Not ChannelPlaying(event\SoundCHN)) Then event\SoundCHN = PlaySound_Strict(ElevatorMoveSFX)
Specifically the If (Not ChannelPlaying(event\SoundCHN)) part causes a memory access violation if the Previous If check (If event\SoundCHN = 0 Then) fails.
The text was updated successfully, but these errors were encountered:
Could you provide more info? What was happening in the game to cause this to crash it? What room were you in? Was your game modded?
Under normal circumstances, event\SoundCHN should only be non-zero if it corresponds to an active sound channel, in which case ChannelPlaying(event\SoundCHN) wouldn't crash the game.
I've modified the game so there are elevators in SCP-079's chamber. Apon starting the elevator while 079's speech is playing, the game will throw a memory access violation pointing to the stated If statement. The same issue also occurs while you can hear scp-096's triggered sound.
After the 079 speech, using the elevator will result in the elevator moving sound playing 50 times over with slightly different timing, causing earrape. This probably has something to do with the unknown stream console spam though.
In the function UpdateElevators, the line:
If (Not ChannelPlaying(event\SoundCHN)) Then event\SoundCHN = PlaySound_Strict(ElevatorMoveSFX)
Specifically the
If (Not ChannelPlaying(event\SoundCHN))
part causes a memory access violation if the Previous If check (If event\SoundCHN = 0 Then
) fails.The text was updated successfully, but these errors were encountered: