Nexuiz startup vs network stability

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

Postby tundramagi » Fri Mar 27, 2009 8:55 pm

alpha wrote:Alright, so to fix this problem, we have 3 options:

1. "Download server list" button aka warsow style
2. Download server list on "multiplayer" window click ([-z-]'s idea)
3. Manually mess with autoexec config and play with console on every game launch

How about we don't enforce a use of solution #3 ?


Solution 3 works fine.
Just make another nexuiz starup script the executes a cfg file that has the addional option and then executes your normal stuff.
tundramagi
Forum addon
 
Posts: 974
Joined: Sun Jan 04, 2009 4:53 pm

Postby divVerent » Fri Mar 27, 2009 9:10 pm

That button would be an improvement for 1%, and slow 99% down. No.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby alpha » Sat Mar 28, 2009 12:15 am

divVerent wrote:That button would be an improvement for 1%, and slow 99% down. No.


Slow down how much :shock: 1 button click?
quit for good
alpha
Alien trapper
 
Posts: 492
Joined: Tue Jun 17, 2008 7:18 pm

Postby tundramagi » Sat Mar 28, 2009 6:33 am

alpha wrote:
divVerent wrote:That button would be an improvement for 1%, and slow 99% down. No.


Slow down how much :shock: 1 button click?


I've played some games with the update button rather than nexuiz's automatic list. They feel much less polished. You can't just jump into a game, you have to press the damned button first before anything. With the automatic list the list populates while maybe you are editing your player info, your settings, etc.
tundramagi
Forum addon
 
Posts: 974
Joined: Sun Jan 04, 2009 4:53 pm

Postby [-z-] » Sat Mar 28, 2009 11:44 am

I agree, warsow pisses me off for this very reason.
[-z-]
Site Admin and Nexuiz Ninja
 
Posts: 1794
Joined: Mon Nov 13, 2006 12:20 am
Location: Florida

Postby alpha » Sat Mar 28, 2009 11:47 am

[-z-] wrote:I agree, warsow pisses me off for this very reason.

Does every other game that does not connect to internet at start piss you off? (half life ?)
quit for good
alpha
Alien trapper
 
Posts: 492
Joined: Tue Jun 17, 2008 7:18 pm

Postby divVerent » Sat Mar 28, 2009 12:29 pm

Heck, whatever you say, the current method of querying for servers on startup will stay. It is user friendly, and fits well with the game, and saves lots of players about 5 to 10 seconds every time they start the game.

As stated before, the real way to solve this would be to use a thread for querying the server list, at least to get timeout functionality.

I can implement that for Linux and OS X, but someone else would have to do it for Windows.

As simple as that...
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby divVerent » Sat Mar 28, 2009 3:24 pm

I have working server timeout code here:

http://emptyset.endoftheinternet.org/~r ... meout.diff

The Windows part got tested only on wine.

This limits the waiting time to 2 seconds per DNS resolve, that is, a total of 8 seconds on Nexuiz startup.

I can't commit it without clearance from LH though.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby alpha » Sat Mar 28, 2009 3:39 pm

well NOW we're getting somewhere 8)
quit for good
alpha
Alien trapper
 
Posts: 492
Joined: Tue Jun 17, 2008 7:18 pm

Postby [-z-] » Sat Mar 28, 2009 3:44 pm

8) indeed
[-z-]
Site Admin and Nexuiz Ninja
 
Posts: 1794
Joined: Mon Nov 13, 2006 12:20 am
Location: Florida

PreviousNext

Return to Nexuiz - Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron