.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
The Star and the Crescent- Save $9.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old December 10th, 2002, 07:47 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: New Version of the modlauncher

Couldn't you have it refresh only if there hasn't been a mouse movement or button press within 10 seconds or so?

That would help to avoid refreshing while people are typing...
You could also not refresh while a text box has the focus.
Reply With Quote
  #2  
Old December 10th, 2002, 08:46 PM
Krsqk's Avatar

Krsqk Krsqk is offline
Lieutenant Colonel
 
Join Date: Jul 2001
Location: Orlando, FL
Posts: 1,259
Thanks: 0
Thanked 0 Times in 0 Posts
Krsqk is on a distinguished road
Default Re: New Version of the modlauncher

Or refresh at a lower rate (like 5-10 min. or so). There's a statistically lower chance of being hit by it (unless you're me). Include a refresh button for impatient people.
__________________
The Unpronounceable Krsqk

"Well, sir, at the moment my left processor doesn't know what my right is doing." - Freefall
Reply With Quote
  #3  
Old December 11th, 2002, 04:49 AM
Matryx's Avatar

Matryx Matryx is offline
Sergeant
 
Join Date: Apr 2001
Location: London, UK
Posts: 289
Thanks: 0
Thanked 1 Time in 1 Post
Matryx is on a distinguished road
Default Re: New Version of the modlauncher

Ahh.. well to prevent problems with refreshing the directory list (you can hot swap mods on the fly) it calls the reselection function on the list.
Because of the way delphi works I can't change the way it reselects the item in the list to "not call" this refreshing function.
I can however increase the duration of the refresh, which I will tomorrow night.
__________________
The Unofficial Space Empires 4 Mod Utility V2.26
------------------
Download as a .ZIP -(HERE)-
Reply With Quote
  #4  
Old December 11th, 2002, 04:58 AM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: New Version of the modlauncher

Well, just don't reselect, or do anything when the user is typing then.

If (currenttime - Lastinputtime > 10 seconds and refreshwanted = true) then call(reselect)
Reply With Quote
  #5  
Old December 11th, 2002, 05:02 AM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: New Version of the modlauncher

Matryx, is there some reason you can't just have it not auto-refresh at all? The only reason for needing a refresh is to have new mod folders and new games show up. Can't you just add a manual refresh button and get rid of the auto refresh?

Geoschmo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #6  
Old December 11th, 2002, 07:48 PM
Matryx's Avatar

Matryx Matryx is offline
Sergeant
 
Join Date: Apr 2001
Location: London, UK
Posts: 289
Thanks: 0
Thanked 1 Time in 1 Post
Matryx is on a distinguished road
Default Re: New Version of the modlauncher

Yes.. there's no good place for a refresh button
Good suggestion though Geo.
I shall make that change.
I'll stick a button in the titlebar to refresh both lists whenever the user wants to click it.
__________________
The Unofficial Space Empires 4 Mod Utility V2.26
------------------
Download as a .ZIP -(HERE)-
Reply With Quote
  #7  
Old December 11th, 2002, 08:17 PM
Matryx's Avatar

Matryx Matryx is offline
Sergeant
 
Join Date: Apr 2001
Location: London, UK
Posts: 289
Thanks: 0
Thanked 1 Time in 1 Post
Matryx is on a distinguished road
Default Re: New Version of the modlauncher

Ok. New Version.
Automatic Refresh Removed.
Manual Refresh mode added in the form of a button near the top.

Incidentally, if anyone has a better suggestion of the position, then e-mail me a screenshot of your suggested layout
HERE
__________________
The Unofficial Space Empires 4 Mod Utility V2.26
------------------
Download as a .ZIP -(HERE)-
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 07:35 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.