GothicIII / DJMaxRespectV-Randomizer

Small program to provide a controled random song selection which neowiz patched away
MIT License
4 stars 1 forks source link

Difficulty Bug #1

Closed jenice11 closed 2 years ago

jenice11 commented 2 years ago

Sometimes the randomized song's difficulty is not within range selected. Also the range at the bottom will be incorrect as well

image

P.S: I tried with method 1, method 2 and method 3 as well

GothicIII commented 2 years ago

Does the error occur in that screenshot? I don't see any problems except the slider is a bit off.

Your selected range is 8 to 12 with all difficulties. Fly Away 4k HD 10* is inside that boundary, so it works in that case.

I have a fallback code for cases where you select e.g. 1* SC diffciculty. In that case the boundaries are expanded until a song matches that sc difficulty so no infinite loop occurs.

EDIT: I can replicate the problem now. That's a logic problem. I'll fix that.

GothicIII commented 2 years ago

Alright. I rewrote some parts and replaced the random logic. Now checkboxes will be disabled when invalid filter options are set. e.g. It won't be possible to select 1* sc difficulty mode.

Please check out the Beta.

jenice11 commented 2 years ago

Checked out the beta, ~~sometimes the music selected in game will be off by a song in the list, so i checked again for initial release, its also the same. But most of the time its fine. I did not pay attention to the song name in game previously~~ Nevermind I figured it must have been the dlc incorrectly ticked, works perfectly now