tModLoader

tModLoader

No Auto-Pause When Unfocused
28 条留言
Frosty 10 月 23 日 下午 10:02 
I need a way to let music continue while I alt-tab and this is just pog :praisesun:
AirionaFrost 7 月 27 日 上午 3:36 
I do have a bunch of mods so I do bet it's on my end sadly.
SolTom  [作者] 7 月 27 日 上午 3:01 
@AirionaFrost
I've tested it and everything still works when I'm in other windows. Things like effects, npcs, physics, etc. It all doesn't stop.
I cannot recreate your issue. It might be some weird mod incompatibility for you.
AirionaFrost 7 月 27 日 上午 12:18 
Still pauses even without the music mod. But the music continues interestingly enough with just this mod!
AirionaFrost 7 月 27 日 上午 12:15 
Not sure if something broke on my end but it doesn't seem like this works at all for me. Wonder if it's due to also having a mod that disables music pausing on alt tab. Going to test.
にるにころ (Nil256) 7 月 5 日 上午 7:06 
I understand. Thank you for the reply!
SolTom  [作者] 7 月 5 日 上午 5:07 
I don't think I want to backport it. I might do this at some point but right now I'm busy.
にるにころ (Nil256) 6 月 26 日 上午 2:55 
Could you this mod port to v1.4.3?
I wanna use also on v1.4.3.
ceidways 5 月 10 日 下午 8:19 
Brilliant stuff, I can now sleep waiting for a travelling merchant while also scrolling through the calamity wiki !
Crim 4 月 4 日 下午 4:42 
thanks for this! works great so far!
anny 3 月 27 日 上午 7:54 
aw hell yeah this one works so well with High FPS Support as "background fps limiter" too

thank you
⑨lnsmall 3 月 22 日 下午 2:48 
The toggle seems to work nicely, thanks :3
SolTom  [作者] 3 月 22 日 下午 2:05 
Updated.
Added config and now rain behaves differently incorrectly, but I'm not sure how to fix it.
Pushed an update because having a config toggle does seem to be pretty important.
Erky 3 月 16 日 下午 2:17 
looking forward to the next update!
SolTom  [作者] 3 月 16 日 上午 5:12 
I'll try to do that later today. It doesn't seem like a big problem. I will also finally try to get rid of the weather issue.(it's still pausing)
⑨lnsmall 3 月 15 日 下午 9:35 
Would it be possible to add a toggle for this? Most of the time I do want alt+tab to pause the game, but occasionally I want to farm in the background and be able to alt+tab out without stopping that.

(If that's not something you want to do, would you at least be ok with me using the mod as reference to make a version that does have a toggle? :p)
CryoChick 3 月 13 日 下午 10:46 
I used to use multiplayer for this, but doing it in singleplayer allowing me to double recall potion drop rate from slimes is great
koreyou 2 月 4 日 下午 3:15 
ty best mod:steamthumbsup:
SolTom  [作者] 1 月 19 日 上午 7:28 
Okay so now I've got a version that lets music play off-focus, I couldn't replicate the issue with it taking inputs from windows on top of Terraria's window(it does play the sound of starting hovering on an option but doesn't react to clicks or keypresses) and I still have to look into whether weather unpause is a managable change.
I will update the mod in workshop once I discover the answer to the last question.(Or in 2 days if I won't have time to get to it.)
Take My Thoughts Away~ 1 月 18 日 上午 5:45 
Thank you for being so nice about the feedback!~
SolTom  [作者] 1 月 18 日 上午 4:24 
I've heard the sound effect of switching options in menu playing unfocused but I didn't think it would actually take inputs.
It's likely that I could pretty easily add a check for whether user is in the main menu to my IL hook, but I'm still pretty new to using them so I'll have to see in practice.
I'll see what I can do.
Take My Thoughts Away~ 1 月 18 日 上午 3:18 
I'm glad I was even a little bit of help. I noticed the input thing happening on the main menu specifically. I needed to tab out and was navigating Discord and somehow managed to get to the Workshop page and disable a mod while unfocused.
SolTom  [作者] 1 月 18 日 上午 2:19 
It seems that some things still do stop. I have noticed myself that if it's raining then the raindrops just pause in the air.
It doesn't take inputs out of focus for me though, so I cannot replicate that issue.
I didn't notice the music stopping because I usually play with music at 0%, but now that I tested it, yes, it's stopping too.
There is another mod that lets music play(only music though, game stops) out of focus, so I'll look up what they did and I'll try to do the same thing.
I will also try to get to why the rain pauses, but I'm not sure how it will go.

Thanks for the feedback, I wouldn't have noticed the music issue on my own. I'm usually either streaming without music or with manually selected one.
Take My Thoughts Away~ 1 月 17 日 下午 8:10 
No clue if it's helpful feedback. I noticed the music stops playing for me and it still takes inputs when unpaused. I hope this helps.
SolTom  [作者] 1 月 17 日 上午 11:43 
Hey, thanks for all the positive reactions. It's really nice seeing that it's helpful.
Take My Thoughts Away~ 1 月 5 日 下午 9:35 
As a fellow streamer. Thank you.
Fish. 1 月 4 日 下午 7:19 
Finally. Someone answers all my problems. Or specifically just this one. :terraria:
Schlatt 1 月 2 日 上午 9:17 
i jus wanna listen to the musoic:steamhappy: