2D Multiplayer Server Program...

For help with SW3DG game related technical issues.
servili007
Ensign
Ensign
Posts: 13
Joined: Sat Jan 21, 2012 2:06 am

2D Multiplayer Server Program...

Post by servili007 »

From post: 125457, Topic: tid=8427, author=Vice wrote:
Any chance we'll see the ability to enter domain names as the IP in the client and server, and let them auto resolve, as opposed to being forced to use IPs?
Yes, actually looking into this now. Might have it implemented by the next update.
Awesome, thanks for all your hard work! Might add my server to the public list if things keep progressing well on the 2D program!
servili007
Ensign
Ensign
Posts: 13
Joined: Sat Jan 21, 2012 2:06 am

2D Multiplayer Server Program...

Post by servili007 »

oops, double post

[Edited on 1-23-2012 by servili007]
User avatar
Vice
Administrator
Administrator
Posts: 12227
Joined: Fri Apr 25, 2003 1:38 am

2D Multiplayer Server Program...

Post by Vice »

There was a way to implement this, so I'm adding it to the server (both 2D and 3D). The client will also need an update to resolve the DNS indicated by the server program, so that will be pending and you'll need to use a strict IP number in the meantime.
StarWraith 3D Games
www.starwraith.com | www.spacecombat.org
3D Space Flight and Combat Simulations
kais58
Ensign
Ensign
Posts: 8
Joined: Thu Jan 19, 2012 7:16 pm

2D Multiplayer Server Program...

Post by kais58 »

I'm curious as to know what the output of netstat -an is supposed to be on a functioning server as I can't see 3888 or 3889 in the list which leads me to think something odd is going on and I am right that I am supposed to see Error, unable to list game if I am try to host the server privately?
User avatar
Vice
Administrator
Administrator
Posts: 12227
Joined: Fri Apr 25, 2003 1:38 am

2D Multiplayer Server Program...

Post by Vice »

If that error appears, it can mean that you may have not specified a server name for your session in the text2.dat file. Make sure the name isn't 'Dedicated1', then try again.
StarWraith 3D Games
www.starwraith.com | www.spacecombat.org
3D Space Flight and Combat Simulations
servili007
Ensign
Ensign
Posts: 13
Joined: Sat Jan 21, 2012 2:06 am

2D Multiplayer Server Program...

Post by servili007 »

I've installed and run teamviewer on my server, and through it the 2D server has a load of about 22-25 and the 3D of 45. Compared to RDPs load of 77 on both, this is a major improvement, likely due to the way the teamviewer display driver communicates with the graphics card better than RDP's proprietary driver.

Now in terms of actual CPU load through task manager, both 2D and 3D seem to be about the same. I'm not sure if I should use 3d for the potential GPU offloading or stick with the lower usage of the 2D application.

[Edited on 1-23-2012 by servili007]
User avatar
Vice
Administrator
Administrator
Posts: 12227
Joined: Fri Apr 25, 2003 1:38 am

2D Multiplayer Server Program...

Post by Vice »

The 3D is a more proven server platform in terms of performance and reliability, but the 2D version is getting there. A new build will likely be released today which will further improve the 2D program (particularly with connection issues). Just some final tests need to be completed on it.

As far as performance goes, sometimes the 2D version runs a little better (particularly on older systems), sometimes the 3D version does better... depends on the system. How the system is accessed can also have an impact between the two, as you posted about. If one offers higher FPS than the other, then that version might be the best way to go.
StarWraith 3D Games
www.starwraith.com | www.spacecombat.org
3D Space Flight and Combat Simulations
User avatar
Vice
Administrator
Administrator
Posts: 12227
Joined: Fri Apr 25, 2003 1:38 am

2D Multiplayer Server Program...

Post by Vice »

Ok, revised build is available for download (be sure to clear your browser cache so you don't just download the old installer again). Here are the details:

- 2D server program updated for improved internet connection compatibility (particularly with authorized listing setups).
- 2D and 3D server programs updated to better support non-default local IP/device connections.
- Minor fixes and improvements.

http://www.starwraith.com/evochronmerce ... nloads.htm
StarWraith 3D Games
www.starwraith.com | www.spacecombat.org
3D Space Flight and Combat Simulations
servili007
Ensign
Ensign
Posts: 13
Joined: Sat Jan 21, 2012 2:06 am

2D Multiplayer Server Program...

Post by servili007 »

From post: 125800, Topic: tid=8427, author=Vice wrote: Ok, revised build is available for download (be sure to clear your browser cache so you don't just download the old installer again). Here are the details:

- 2D server program updated for improved internet connection compatibility (particularly with authorized listing setups).
- 2D and 3D server programs updated to better support non-default local IP/device connections.
- Minor fixes and improvements.

http://www.starwraith.com/evochronmerce ... nloads.htm
Is the version number still 1808? Both computers I'm accessing from (even with Ctrl+F5) still give me that old server file.
User avatar
Vice
Administrator
Administrator
Posts: 12227
Joined: Fri Apr 25, 2003 1:38 am

2D Multiplayer Server Program...

Post by Vice »

Yes, you probably have the new build. Easiest way to tell is if you can type letters in the 'Change IP Address' option, then you're running the new build.
StarWraith 3D Games
www.starwraith.com | www.spacecombat.org
3D Space Flight and Combat Simulations
inque
Ensign
Ensign
Posts: 22
Joined: Tue Jan 17, 2012 12:36 pm

2D Multiplayer Server Program...

Post by inque »

Hoping this new patch fixes our problem with our host, particularly the 2d server

We can't seem to get a game properly hosted because it crashes a lot. And the crash usually gives a black screen to their console
User avatar
Vice
Administrator
Administrator
Posts: 12227
Joined: Fri Apr 25, 2003 1:38 am

2D Multiplayer Server Program...

Post by Vice »

It may, unless it is a display incompatibility on the system itself that would require some other remote desktop service/program or display setting(s). But if it was connection related as the cause for the problem, then this build may indeed help.
StarWraith 3D Games
www.starwraith.com | www.spacecombat.org
3D Space Flight and Combat Simulations
inque
Ensign
Ensign
Posts: 22
Joined: Tue Jan 17, 2012 12:36 pm

2D Multiplayer Server Program...

Post by inque »

From post: 125868, Topic: tid=8427, author=Vice wrote: It may, unless it is a display incompatibility on the system itself that would require some other remote desktop service/program or display setting(s). But if it was connection related as the cause for the problem, then this build may indeed help.
Ah well i3d claims that when the server is running fine, the console displays properly and the text appear to be normal

But when the server crashes, everything blacks out in their end and thus, we running the client's are not able to join back



[Edited on 1-24-2012 by inque]
inque
Ensign
Ensign
Posts: 22
Joined: Tue Jan 17, 2012 12:36 pm

2D Multiplayer Server Program...

Post by inque »

Just an update, the server is now running more stable and people are able to connect and play now.

Two issues remain though

1.) Some players get disconnected upon connecting to the server or sometimes after a few minutes in-game. An error message will appear that the connection was lost, but the server is still up since some other remaining players are still connected

2.) Some players also get disconnected from the server, but still continue to play the game. They don't realize on their end they were disconnected from the server but with the server list (by pressing ~) their names disappear
Maarschalk
Captain
Captain
Posts: 7641
Joined: Wed Feb 25, 2009 12:24 am
Location: USA, Also check your six!

2D Multiplayer Server Program...

Post by Maarschalk »

From post: 125965, Topic: tid=8427, author=inque wrote:Just an update, the server is now running more stable and people are able to connect and play now.

Two issues remain though

1.) Some players get disconnected upon connecting to the server or sometimes after a few minutes in-game. An error message will appear that the connection was lost, but the server is still up since some other remaining players are still connected

2.) Some players also get disconnected from the server, but still continue to play the game. They don't realize on their end they were disconnected from the server but with the server list (by pressing ~) their names disappear
This could all be because of to many players trying to connect at the same time and signal losses and/or high ping by certain users. I notice this happening only when it is very busy on certain Servers and it happens to me to. When I just log on to a full Server I get on fine but then after a few minutes suddenly my ping goes way up from 39 to the 400-500 range and every one dissapears. But I'm still connected or I get disconnected after a while of not seeing any one!...;)
Arvoch Alliance Stat:


Evochron Legends Stats:


Evochron Mercenary Stats:


Darkness is the absence of Light as Evil is the absence of Good
User avatar
Vice
Administrator
Administrator
Posts: 12227
Joined: Fri Apr 25, 2003 1:38 am

2D Multiplayer Server Program...

Post by Vice »

1.) Some players get disconnected upon connecting to the server or sometimes after a few minutes in-game. An error message will appear that the connection was lost, but the server is still up since some other remaining players are still connected

2.) Some players also get disconnected from the server, but still continue to play the game. They don't realize on their end they were disconnected from the server but with the server list (by pressing ~) their names disappear
I'd be interested in learning what connection speeds those players are using and how far away from the server they are.
StarWraith 3D Games
www.starwraith.com | www.spacecombat.org
3D Space Flight and Combat Simulations
inque
Ensign
Ensign
Posts: 22
Joined: Tue Jan 17, 2012 12:36 pm

2D Multiplayer Server Program...

Post by inque »

From post: 125971, Topic: tid=8427, author=Maarschalk wrote:
This could all be because of to many players trying to connect at the same time and signal losses and/or high ping by certain users. I notice this happening only when it is very busy on certain Servers and it happens to me to. When I just log on to a full Server I get on fine but then after a few minutes suddenly my ping goes way up from 39 to the 400-500 range and every one dissapears. But I'm still connected or I get disconnected after a while of not seeing any one!...;)
Ah actually problem #1 happens to me quite often and when I try to connect to the server, I'm sure that I'm the only one who's trying to connect (we're still a small community) while there are only one or two people inside the server.

It also happened (issue #1) to a fellow community member and I know for a fact that he was the only one also trying to connect
From post: 125999, Topic: tid=8427, author=Vice wrote:
I'd be interested in learning what connection speeds those players are using and how far away from the server they are.
Ok Vice I'm gathering info from those who are experiencing those two issues mentioned. I will post back ASAP

[Edited on 1-25-2012 by inque]
inque
Ensign
Ensign
Posts: 22
Joined: Tue Jan 17, 2012 12:36 pm

2D Multiplayer Server Program...

Post by inque »

Here are our player list with our corresponding connection speeds. country and latency

INQUE (Me)
3mbps
100ms
Philippines

Psycrow
1mbps
100ms - 120ms
Philippines

BGG
100mbps
Ingame Ping: 95-130
Singapore

Our server is located in Tokyo, Japan and none of us are experiencing any noticeable lag / stuterring as well.

Hoping this information helps
inque
Ensign
Ensign
Posts: 22
Joined: Tue Jan 17, 2012 12:36 pm

2D Multiplayer Server Program...

Post by inque »

Hi Vice,

Hope the info I provided is any help

I would like to know how we can fix these 2 issues as its really hampering us to play the game properly
User avatar
Vice
Administrator
Administrator
Posts: 12227
Joined: Fri Apr 25, 2003 1:38 am

2D Multiplayer Server Program...

Post by Vice »

First, have you/they updated to server build 1.808b? If so, then about the only remaining cause would likely be connection related and since it happens to more than one client, that would suggest something server side. Are they all using the Steam version or direct?
StarWraith 3D Games
www.starwraith.com | www.spacecombat.org
3D Space Flight and Combat Simulations
inque
Ensign
Ensign
Posts: 22
Joined: Tue Jan 17, 2012 12:36 pm

2D Multiplayer Server Program...

Post by inque »

Oh there's a new update for server side?

I'll have that installed first again then I shall test again

But to answer your question, we're all using Steam version.
servili007
Ensign
Ensign
Posts: 13
Joined: Sat Jan 21, 2012 2:06 am

2D Multiplayer Server Program...

Post by servili007 »

Hmm, seeing a good amount of "player kicked" logs right after they join and experienced it myself as well. On the client it just appears as a lost connection.

I uninstalled teamviewer due to it hogging the CPU and causing excess heat through that (and a couple of beautiful memory leaks). I get a much higher usage meter in the 2D server program in RDP again and about half the FPS (a little under 300), but unfortunately it really seems like RDP or a physical connection to the server are the most stable options for me right now, oh well.
User avatar
Vice
Administrator
Administrator
Posts: 12227
Joined: Fri Apr 25, 2003 1:38 am

2D Multiplayer Server Program...

Post by Vice »

Player kicked messages suggest the older pre-1.808b build, it was a problem that was fixed and updated by Friday. So if you haven't updated since then, give the new build a try. If you visit the downloads page and the URL doesn't include the 'b', the old page may still be cached in your browser, click refresh to update it and grab the new build.
StarWraith 3D Games
www.starwraith.com | www.spacecombat.org
3D Space Flight and Combat Simulations
servili007
Ensign
Ensign
Posts: 13
Joined: Sat Jan 21, 2012 2:06 am

2D Multiplayer Server Program...

Post by servili007 »

From post: 127448, Topic: tid=8427, author=Vice wrote: Player kicked messages suggest the older pre-1.808b build, it was a problem that was fixed and updated by Friday. So if you haven't updated since then, give the new build a try. If you visit the downloads page and the URL doesn't include the 'b', the old page may still be cached in your browser, click refresh to update it and grab the new build.
Ah, okay, got it, thanks!

Edit - I may build something along these lines to keep my GPU alive - http://www.xtremesystems.org/forums/sho ... my.....56K!

[Edited on 1-30-2012 by servili007]