Shun wrote:re: Drum Bugs (issues 338, 339, and 340)
It looks like 339 is fixed for me but I need to play more to be sure, but 338 and 340 are still issues for me with the latest alpha. I even reverted to the revision that fixed the problem and its still doing it to me.
I found where the bug is on this.
If Drum Misses in Audio > Advanced Options is set to Song Start, it does as I say. (That does not belong there IMO, its a pain to find.) If set to either of the other two options, both 338 and 340 are fixed.
Here is part of the code problem in GuitarScene.py line 2414 (in run method)
Code: Select all
# For each existing player (already in this loop)
if self.notesMissed[i] or self.lessMissed[i]: #(detects missed note or overstrum)
if self.guitars[i].isDrum:
if self.drumMisses == 0: #mode: always
self.rockmeterDecrease(i)
elif self.drumMisses == 1 and self.countdownSeconds < 1: #mode: song start
self.rockmeterDecrease(i)
elif self.drumMisses == 2 and self.drumStart: #mode: song start
self.rockmeterDecrease(i)
else: #not drums
self.rockmeterDecrease(i)
if self.****[i]:
self.rockmeterIncrease(i)
I don't know where the starpower logic is but its probably similar bug? self.drumStart probably is not getting set to true when the song starts (obv) - it gets changed in a bunch of places. [Unless I'm misinterpreting what Song Start and First Note means]
Is this too much information and something you guys dont need this detail for? Poring over the code is fun but obviously its all mashed potatoes to me.
(EDITED)