Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Multiplayer in DBC / Enhancment

Author
Message
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 12th Jan 2004 01:23 Edited at: 13th Jan 2004 00:19
All these different connection types confuse me! I know what IP and Modem connections are but what is Serial and IPX connection???

I would also like to be able to connect to LAN rather then internet, is there a way to do this?

Thanks,
Matt

a
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 12th Jan 2004 08:33
I'm guessing here, but I think that Serial is connecting through a serial port ( ie, a direct cable connection ) and IPX is something like LAN... but, I'm not too sure, sorry...

Hope I Helped...


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 12th Jan 2004 23:49
hmm...

a
Bladerunner
21
Years of Service
User Offline
Joined: 24th Aug 2003
Location: United States
Posted: 12th Jan 2004 23:56
Ok Mattman Serial is a direct connection like Jess said i can't help you with IPX because i've never heard of it but since i use LAN, u need a network of type to use this. LAN basically means connecting through network to play with other people on your network. Ex:
Say you Have 2 Computers At Opposite ends of your House. So You can't Connect using Serial you'll have to go wit LAN. Unless You want to have a really long cord going through walls to the other computer you'll need a wireless router to connect the network to the two computers. Once you have done that, In most games with multiplayer support there will be a LAN option for Network playing.

Hope That Helps dude

Live as if your were to die tomorrow... Learn as if you were to live forever
Impossible is a word to be found only in the dictionary of fools
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 13th Jan 2004 00:18
I know what a LAN is, I just wanna know how to do multiplayer with LAN in db

a
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 14th Jan 2004 05:43
*bump*

a
heartbone
22
Years of Service
User Offline
Joined: 9th Nov 2002
Location:
Posted: 14th Jan 2004 07:09


Peace, the anti-Bush.
waffle
22
Years of Service
User Offline
Joined: 9th Sep 2002
Location: Western USA
Posted: 14th Jan 2004 14:32
using DB over a LAN is just too easy...
Its the same as over the internet. The connecting ISP is the local ISP of the host machine on the LAN.....

IPX - its obsolete. Win XP does not support this,
Win 98 users would need a BelCon direct-connect thingy?
It permits 2 computers to connect via USB port.
USB ports are also faiding out to USB2 ports....

internet gaming group
current project http://home.comcast.net/~norman.perry/Archon.html
Turoid
21
Years of Service
User Offline
Joined: 1st Nov 2003
Location: The Netherlands
Posted: 14th Jan 2004 15:10 Edited at: 14th Jan 2004 15:22
heartbone your code doesn't work. I use DBC.

oh and a i have some questions:

how can i make a simple server system, like gamespy.
and how can i make a very simple multiplayer game for two players like tic tac too or something. I've made many simple splitscreen games but now i want to make a multiplayer game so, could you help me?

if I = 1 then I = 1 else I = 0
waffle
22
Years of Service
User Offline
Joined: 9th Sep 2002
Location: Western USA
Posted: 14th Jan 2004 17:43
gamespy is not a simple server system by any means.....

However, I do have a matchmaker kit on my website. Its complicated and not 100% reliable but its there. You could do your own. Its not overly complicated (if done the way I did mine). To do a Gamespy server requires renting multiple servers and programmers and is well beyond the limits of simple DB code.

The way I did mine, its functional, is
1 - Obtain webspace. Most ISP give you 25MB or more of space.
Learn how to access this using DB FTP code.....

2 - To do matchmaking
have the host App post information to this FTP site
and let the joining app read from this FTP site.
The FTP site keeps IP address information.

3 - Using the IP address information retieved from the FTP site,
the joining app can connect to the host app that should be waiting for players......

--------------------------
thats just one way of doing this. There are many others such as
ICQ, AIM, MIM, YIM .......

these will usually work by creating a puplic chat room. From the chat room you can launch your game. The chat room app will pass IP address infromation to your game app which will then need to know its there and what to do with it.....

The cheapest and most secure route is the method I described above.
You can make a dummy "sub-account" thats just for match making and bandwidth is not really an issue as access to the site is limited to just looking for active games. Some sites only permit one user full access at a time so that can be an issue too. But the price is right.... free.

internet gaming group
current project http://home.comcast.net/~norman.perry/Archon.html
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 20th Jan 2004 00:18
so, lets say i'm on pc1, with ip 123.123.1.1, and my friend is on pc2, with ip 234.234.2.2. so, i i were to host it, just do IP with the host being 123.123.1.1?

a
JoelJ
21
Years of Service
User Offline
Joined: 8th Sep 2003
Location: UTAH
Posted: 20th Jan 2004 04:47
i would assume so
have pc2 connect to comuter 123.123...

waffle
22
Years of Service
User Offline
Joined: 9th Sep 2002
Location: Western USA
Posted: 21st Jan 2004 18:46
yep, thats it. The best part about multiplayer code is once you figure out the basics, you can stick it into an include module and proptly forget all about it as long as you have the main functions documented

internet gaming group
current project http://home.comcast.net/~norman.perry/Archon.html
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 22nd Jan 2004 04:05
ok, thanks all

a

Login to post a reply

Server time is: 2025-05-22 14:08:09
Your offset time is: 2025-05-22 14:08:09