Closed gajop closed 7 years ago
I have finally figured this out. Apparently changing the sound in ZK itself will impact Chobby sounds as well, so reducing (or turning off) the general sound in ZK will completely mute notification sound. I think general sounds should just be restored after the game ends.
Or use wrapper notifications more..
I want to avoid using the wrapper for anything that can be done within Chobby, as relying on the wrapper makes Chobby only usable for ZK. Ideally the wrapper should only do the following:
Basically everything you implement in the ZK wrapper, I'll have to reimplement in Chobby or in a game-agnostic wrapper, doubling the work.
Can you flash the window, make a system popup, show notification in steam? This is exactly the thing that needs top priority notification through wrapper. Of course play sound too.
Nope, Chobby cannot. Flashing the window is something I want to add to the engine, because it matters for non-lobby things too. I'm not sure if I want system notifications popups, but it's not possible now anyway.
Steam notifications is something the wrapper should be used for, yes. And generally using the wrapper for things that aren't possible (require engine work) makes sense, at least as a temporary measure.
But anyway, lobby can and should still be handling all sound.
The lobby doesn't handle all sound, Spring handles sound. There is a longstanding bug which would make Spring play no sounds sometimes.
If you cannot fix it reliably now, use wrapper notification. We need this working for steam, does not matter how.
I haven't seen this bug, but in any case, this has to do with changing the general sound in ZK, and it affecting the sound in the lobby afterwards (https://github.com/ZeroK-RTS/Chobby/issues/174#issuecomment-285953184). Just restoring the proper volumes, like https://springrts.com/wiki/Springsettings.cfg#snd_volmaster to what it was beforehand should fix the issue.
I dont even think its a bug .. I NEVER had any sound warning when SpringConnect is received i think its missing from code simply.
The ticket is not about SpringConnect, it is about MM battle found.
Ok .. then i never got notification for that either.. but i do hear random very faint beep like sounds from time to time. Was that maybe it?
Do you use ingame sound?
Yes, i have lobby music to 0, music ingame to 0, tts to 50% and sounds in game on. But they also fail to work randomly, and sometimes only work if i am tabbed out from the window
Pretty hacky.. imo you should invoke the wrapper notification too to start window flashing on taskbar until its in engine.
This already exists: WG.WrapperLoopback.Alert("Match found")
. Is this not the wrapper notification you speak?
Regarding hackiness:
I dislike you closing tickets on ZK within your giant chobby repo PR. Fixing minor things from this tracker is just going to create confusion and merge issues. I really don't want to have two repositories working at once! I've been treating the chobby repo as a backend fixes repository (chili framework etc..). If you're going to work on general stuff we need to figure something else out.
Right now it doesn't really matter to me where I commit. I've been working in the Spring-Chobby repository mostly as a courtesy to you so I don't interfere with your stabilization workflow, as I'm not aware when you plan on making stables. Although, remind me why I am to be blamed for there being two repositories with two different issue trackers? PS: I've never considered the original chobby repo as a backend fixes repository. Further, I've only recently gotten push rights here, and I still consider this to be the ZK fork. PS2: I have and will continue to work in the entirety of Chobby, although I don't plan to extensively focus on ZK-specific things outside of doing fixes and cleanup.
I'm not blaming you for there being two repos, just expressing that I don't want there to be two repos. I don't expect real forks to ever merge so I have been treating ZK and chobby as one repo. I don't want significant work in both repos because that brings them closer to being real forks.
Is this because I have my lobby music turned off?