Auto close Spring on game end. - Page 2

Auto close Spring on game end.

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Auto close Spring on game end.

Post by Beherith »

Account buffing, here I come!
User avatar
TechnoTone
Posts: 165
Joined: 23 Aug 2005, 22:02

Re: Auto close Spring on game end.

Post by TechnoTone »

Been busy of late (new baby) so apologies for not replying sooner.

Nice idea with the mouse actions. Suggestion: what about having the timer reset on mouse-move instead disabling it completely?
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Auto close Spring on game end.

Post by lurker »

You can easily modify your own copy to do that, but when I start using the keyboard or look away for 5 seconds I don't want spring exiting.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: Auto close Spring on game end.

Post by zwzsg »

TechnoTone wrote:Nice idea with the mouse actions. Suggestion: what about having the timer reset on mouse-move instead disabling it completely?
If you move the mouse, it means you are in front of your computer, and so can simply count to five in your head and then manually click exit.

That widget is mainly meant for when your an AFK spec. Or maybe I'm wrong and that widget is only to remove you the hassle of clicking once to exit in real games you're active in.

Also, I notice now I need to add something to disable the autoquit not only when mouse is moved, but also when keyboard is used.
User avatar
Evil4Zerggin
Posts: 557
Joined: 16 May 2007, 06:34

Re: Auto close Spring on game end.

Post by Evil4Zerggin »

zwzsg wrote:That widget is mainly meant for when your an AFK spec. Or maybe I'm wrong and that widget is only to remove you the hassle of clicking once to exit in real games you're active in.
I originally programmed it for AFK specs. Say you're speccing a game and decide to eat lunch or something. While you're gone the game ends. If they start another game, and you have not exited, you're missing out another game that you might have wanted to watch. Worse, since you're still in the previous game, you will fail to connect if a new game starts, so the other people in the game have to go through the trouble of kicking you or force starting, which is quite a hassle, especially on auto/oblivious hosts.

I'm not sure I'll have the time to maintain this; if you have or are planning to get an account with the widget database, you can take it over if you want.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: Auto close Spring on game end.

Post by zwzsg »

Better version:
- Works in 0.79
- Cancel also on keypresses
Attachments
autoquit.lua
(1.77 KiB) Downloaded 40 times
Post Reply

Return to “Lua Scripts”