Page 1 of 1

[Fixed] TheXTech Music Glitch

Posted: 7 Feb 2022, 2:53
by Chanceux2
So uhm, I made a new Episode due to SMBX2 not really working for me anymore and I was trying to test stuff and then the wrong music started playing? It was the music that was set in Section 1. For some weird reason it started playing in Section 0.

Here is what I did:
Spoiler
Edited Footage:
phpBB [youtube]

Original link: https://www.youtube.com/watch?v=NT37YXmnbmc


Raw Footage:
phpBB [youtube]

Original link: https://www.youtube.com/watch?v=RUehA4tBXH4




I guess it frame perfect or something because in order for me to do it I had to button mash.

So it's not that big of a deal, no normal person who doesn't button mash as often would get it but I don't know exactly why this happens?

Posted: 7 Feb 2022, 11:33
by Wohlstand
Huh, looks weird, will try to verify why this happens...

Added after 2 minutes 53 seconds:
P.S. I want to ask you next:
- Could you send the link to the episode that you played on this video?
- Which version of the game do you have to use? (version appears at the window title)

Posted: 7 Feb 2022, 15:36
by Chanceux2
Wohlstand wrote:Huh, looks weird, will try to verify why this happens...


P.S. I want to ask you next:
- Could you send the link to the episode that you played on this video?
- Which version of the game do you have to use? (version appears at the window title)

Not sure if it's the lastest version but the version is 1.3.5.3

The epsiode i was playing was a episode I'm working on so once I get to my Computer I can send the Episode

Posted: 7 Feb 2022, 18:15
by Wohlstand
Chanceux2 wrote:Not sure if it's the lastest version but the version is 1.3.5.3
It's latest stable, right

Chanceux2 wrote:The epsiode i was playing was a episode I'm working on so once I get to my Computer I can send the Episode
No hurry. Also, you may send it to me by PM (if you won't publish it yet until complete)

Posted: 8 Feb 2022, 1:32
by Chanceux2
K i posted it

Added after 1 minute 48 seconds:
Spoiler
btw i didn't even get to finish level 1 :cool:

Posted: 8 Feb 2022, 7:46
by Wohlstand
Okay, I checked out the thing, and the bug comes from another reason: probably because the "delayed music play" feature from the world map, caused an unexpected behavior at the level because you had to hold the "jump" button and entered level immediately. Will try some on my end...

Added after 1 hour 14 minutes:
Fixed just now:

https://github.com/Wohlstand/TheXTech/commit/a39792e062c5b86d9cb9a51a97bc371186330ead

After ~20 minutes, you may try to download the latest dev version of the game and try the fix in action:
https://github.com/Wohlstand/TheXTech/wiki/Fresh-devel-builds

Please confirm, was it solved or not.

Again, how to reproduce this bug: when a player dies (no matter reason and no matter the state), hold the JUMP button and wait when the level enters again. The reason for the bug that the wrong music source gets resumed was because the level got entered too quick. I added the explicit reset of the saved music request to avoid this issue, and on my end, it has gone.

Posted: 8 Feb 2022, 15:16
by Chanceux2
Once again, gonna have to wait until i get to my computer since i still have school :P

Posted: 8 Feb 2022, 17:52
by Wohlstand
Chanceux2 wrote:Once again, gonna have to wait until i get to my computer since i still have school :P
Good luck ;-)

Posted: 9 Feb 2022, 0:10
by Chanceux2
But yeah, the bug is fixed. No longer plays the music in section 1. :dance1: