![]() |
Last Visit : never :: 2013-5-20 @ 12:38 pm : Now | |||
FAQ |
Search |
Memberlist |
Usergroups |
|
Register |
Profile |
Messages |
Log in |
|
| Forum Index :: DOSBox Multiplayer :: | |
Dedicated IPXNET server.
|
|
|---|---|
Dedicated IPXNET server. :: 2009-10-01 @ 06:16 pm
|
|
|
MasterM Newbie Joined: 2009-10-01 Posts: 7 |
Hello everybody!
As I'm new here, first I want to thank all DosBox developers. You're doing a great job! Now to the point. Well dosbox's IPX tunneling via ipxnet works great but it requires one machine to act as a server. Many people are behind NAT and don't know how or are unable to open appropriate ports. There's also dynamic IP issue. Passing your IP address to all your friends may be pain in the ass.
So I thought why not setup a dedicated IPXNET server. As dosbox cannot run in "daemon mode" without graphics, I took ipxserver code from svn repository, modified it a bit and wrapped into a small, shiny Linux console application. And it works great!
So if you have any kind of problem running ipxnet server, just connect to masterm.org via ipxnet connect command. Keep in mind that it's a public system so anyone can join your game. EDIT: Source code available here: svn://masterm.org/ipxnet (requires libsdl-net1.2-dev or equivalent package). You can see it in action here! Last edited by MasterM on 2010-1-01 @ 03:31 pm; edited 1 time in total |
|
|
Re: Dedicated IPXNET server. :: 2009-10-01 @ 07:21 pm
|
|
|
HunterZ Friendly Neighbourhood Moderator Joined: 2003-01-31 Posts: 5530 Location: Seattle |
Stickied! _________________ You're perfect, yes it's true...but without me, you're only you. |
|
|
Re: Dedicated IPXNET server. :: 2009-10-01 @ 08:06 pm
|
|
|
rcblanke Pisces swimeatus Joined: 2005-04-01 Posts: 1125 Location: Round 42 |
Good idea, thanks for the effort MasterM, and keep it up! |
|
|
Re: Dedicated IPXNET server. :: 2009-10-01 @ 08:17 pm
|
|
|
keropi the dangerous Joined: 2003-09-08 Posts: 1986 Location: Greece |
awesome!!!! _________________
--> Roland CM-32L wanted , click me for AmiBay ad! |
|
|
Re: Dedicated IPXNET server. :: 2009-10-01 @ 08:30 pm
|
|
|
h-a-l-9000 DOSBox Author Joined: 2005-02-23 Posts: 4088 |
I have a standalone server program, too:
http://home.arcor.de/h-a-l-9000/tunnelserver.html _________________ 1+1=10 |
|
|
Re: Dedicated IPXNET server. :: 2009-10-23 @ 04:04 am
|
|
|
Replica_UK Newbie Joined: 2009-10-23 Posts: 8 Location: United Kingdom |
Very good work.
This really looks interesting and could have many advantages. People that play won't have to open port as they connect to the server. Maybe could support a large audience of players playing all sorts of games? Keep up the good work! |
|
|
Re: Dedicated IPXNET server. :: 2009-11-16 @ 04:38 pm
|
|
|
Myg Newbie Joined: 2005-04-29 Posts: 13 |
MasterM, please respond to my PM. Thank you. |
|
|
Re: Dedicated IPXNET server. :: 2009-11-16 @ 05:30 pm
|
|
|
temptingthelure Member Joined: 2008-12-26 Posts: 209 |
Seems to be down at the moment. |
|
|
Re: Dedicated IPXNET server. :: 2009-11-21 @ 04:54 pm
|
|
|
Replica_UK Newbie Joined: 2009-10-23 Posts: 8 Location: United Kingdom |
It is very nice. I now have mine running on Linux Debian.
You can also connect to mine on 94.23.62.99 ipxnet connect 94.23.62.99 ipxnet connect 94.23.62.99 10000 Last edited by Replica_UK on 2010-7-20 @ 04:14 pm; edited 1 time in total |
|
|
Re: Dedicated IPXNET server. :: 2009-11-21 @ 08:29 pm
|
|
|
Mike Member Joined: 2004-07-27 Posts: 135 |
An excellent idea you have there, I must admit
playing multiplayer via DosBox is pretty fun, and the DosBox emulator has improved greatly over the years, it is now even playable with games that take up a lot of power like Shadow Warrior Duke Nukem 3D, Ultimate Doom, and many others that have came out in the mid-90's. |
|
|
Re: Dedicated IPXNET server. :: 2009-12-26 @ 08:02 am
|
|
|
CodeJunkie Newbie Joined: 2007-07-16 Posts: 74 Location: Memphis, TN |
I just started a website project the other day which will be used to get people hooked up and connected either using dedicated tunneling servers or the old way where one person is the server. http://www.classicgamingarena.com. Right now it is just a testing site, but I will be making it nice and much more useful in the near future.
Any chance of getting a win32 port of this dedicated server? I have a dedicated server running just using DOSBox at the moment, but I ran into some snags with it. It runs great, but there appears to be a 16 connection limit and even though you disconnect your client, it never registers on the server so the server eventually will not accept any more connections...not good if you are trying to run a dedicated server. |
|
|
Re: Dedicated IPXNET server. :: 2009-12-26 @ 01:23 pm
|
|
|
h-a-l-9000 DOSBox Author Joined: 2005-02-23 Posts: 4088 |
My java server works on win32 and has no such limit. _________________ 1+1=10 |
|
|
Re: Dedicated IPXNET server. :: 2009-12-26 @ 06:24 pm
|
|
|
CodeJunkie Newbie Joined: 2007-07-16 Posts: 74 Location: Memphis, TN |
h-a-l-9000 wrote: My java server works on win32 and has no such limit.
That's cool, I may try it, although I'm thinking about trying to put together a native windows service. |
|
|
Re: Dedicated IPXNET server. :: 2009-12-26 @ 09:22 pm
|
|
|
DosFreak Freaky Ram Thing Joined: 2002-06-30 Posts: 8338 Location: Your Head |
There are services out there to display to the user their external IP.
You may want to warn the user to use the same version of DOSBox for server/client You may want to warn the user to use the same version of the game for server/client. _________________ Game Acronym List DosBox CVS Builds DosBox Feature Request Thread DosBox FAQ PC Game Compatibility List DOSBox Video Tutorial Quote: John Bender: Without lamps there'd be no light.
|
|
|
Re: Dedicated IPXNET server. :: 2009-12-28 @ 02:22 am
|
|
|
CodeJunkie Newbie Joined: 2007-07-16 Posts: 74 Location: Memphis, TN |
I'm looking at the IPX server code tonight and I noticed that in ipxserver.cpp the closeSocket function is commented out. I bet this is why the clients are never disconnected from the server.
EDIT: Just to be clear I hadn't actually built the source or anything when I posted this, however I just got DB built so I'm going to look this. |
|
|
Re: Dedicated IPXNET server. :: 2010-1-01 @ 02:34 pm
|
|
|
MasterM Newbie Joined: 2009-10-01 Posts: 7 |
OK guys I'm back. Been quite busy lately so didn't have time to reply.
@CodeJunkie: DosBox uses UDP for it's IPX tunneling. UDP is connectionless protocol so nothing need to be closed. It's a bit strange tho why dosbox on windows stops accepting new connections. Also, great idea with that website! It would be nice to have a community revolved around DOS multiplayer gaming on a bunch of dedicated ipx tunneling servers.
@temptingthelure: I've been moving to a new server. It's up and running again.
@DosFreak: I'm afraid this would require modifications to the dosbox itself. It currently doesn't support any kind of communication (like displaying warning messages ) through it's IPX tunneling facility.
@Myg: I've sent you a PM. Also, source code of the IPXNET server is now available at svn://masterm.org/ipxnet. Just checkout the head revision and type 'make' to build. You'll need libsdl-net1.2-dev or similar package. |
|
|
Re: Dedicated IPXNET server. :: 2010-1-01 @ 10:29 pm
|
|
|
DosFreak Freaky Ram Thing Joined: 2002-06-30 Posts: 8338 Location: Your Head |
I meant if you want them to connect to classicgamingarena to generate a config then you could implement those features or links to those sites on that website. _________________ Game Acronym List DosBox CVS Builds DosBox Feature Request Thread DosBox FAQ PC Game Compatibility List DOSBox Video Tutorial Quote: John Bender: Without lamps there'd be no light.
|
|
|
Re: Dedicated IPXNET server. :: 2010-1-10 @ 01:01 am
|
|
|
Replica_UK Newbie Joined: 2009-10-23 Posts: 8 Location: United Kingdom |
Thanks MasterM I compiled it on Linux a few days ago works great. _________________ http://yang-online.com |
|
|
Re: Dedicated IPXNET server. :: 2010-1-23 @ 06:56 pm
|
|
|
jimdigriz Newbie Joined: 2010-01-23 Posts: 1 |
MasterM wrote: So I thought why not setup a dedicated IPXNET server. As dosbox cannot run in "daemon mode" without graphics, I took ipxserver code from svn repository, modified it a bit and wrapped into a small, shiny Linux console application. And it works great! :) Nice work, I too decided to also roll my own however it is written in Perl (so probably UNIX users only) as I felt the libsdl dependency was unnecessary; plus being perl helped adding lots of other handy features (run './ipxserver --man' for full details): http://stuff.digriz.org.uk/ipxserver From my reading of the code the current IPXNET servers have problems if you have two different users connecting from behind the same NATed gateway, my server handles this with no problems. I have been testing it with Big Red Racing and had no problems, bug reports and feedback would be greatly appreciated. Cheers |
|
|
Re: Dedicated IPXNET server. :: 2010-4-19 @ 04:14 am
|
|
|
CodeJunkie Newbie Joined: 2007-07-16 Posts: 74 Location: Memphis, TN |
Update
I got a Windows based dedicated server working and it is working great so far. I still have some stuff to cleanup, but I should have it ready here soon. I did some research and discovered that the UDP protocol was connectionless. Since there is no way to detect that a client was disconnected from the server the server would eventually run out of connections because the connection pool was not being cleared. What I did t resolve this was made the server use a TCP server along side the UDP server that accepts an initial connection from the CGA client and when the client disconnects the server tells the IPXNET code to clear the UDP connection for that TCP connection based on the host name. I have a new client up on www.classicgamingarena.com. |
|
|
|
page 1 of 2
|
|
| All times are GMT |
| Moderate |
|---|
| Quick Reply & Options | |
|---|---|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum |
|
2002-2003 zetafleet.dom.