Qbasicnews.com
January 28, 2022, 12:02:15 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base
 
   Home   Help Search Login Register  
Poll
Question: Does this sound like a good idea?  (Voting closed: October 31, 2002, 01:12:21 AM)
Yes - 5 (100%)
Total Voters: 6

Pages: [1]
  Print  
Author Topic: Multiplayer problem  (Read 7526 times)
_Bill_
Wandering Guru
***
Posts: 326



« on: October 31, 2002, 01:12:21 AM »

I have and idea and I would like to know if it's feasible. Ok say I write a game in QB with multiplayer support would it be possible to play with other people directly through a com port, or through a com port to another computer thats connected to the internet running a windows program that watches the serial port and relays the data through the internet and to somone else playing the game?
Logged

o, let me get this straight.  You want to fly on a magic carpet to see the King of the Potato People and plead with him for your freedom, and you're telling me you are completely sane?! -A.J. Rimmer
Scrapyard
Forum Regular
**
Posts: 133



WWW
« Reply #1 on: October 31, 2002, 04:19:16 AM »

Good luck to you I would say...

I always get a time out when I try to open those f*ckin' com ports.
And hey when they're finally open the second computer won't receive the message from the first one  :Huh:
I did it once though by changeing some status bits of the f*ckin' port...
Logged

crapyard / Smiley Cheerful Software


"All your base are belong to us"
_Bill_
Wandering Guru
***
Posts: 326



« Reply #2 on: October 31, 2002, 01:36:26 PM »

Thanks, I was thinking that a null-modem cable would do the trick.
Logged

o, let me get this straight.  You want to fly on a magic carpet to see the King of the Potato People and plead with him for your freedom, and you're telling me you are completely sane?! -A.J. Rimmer
wizardlife
Na_th_an
*****
Posts: 1456


WWW
« Reply #3 on: October 31, 2002, 07:15:16 PM »

How many people actually have two PCs hooked up via COM, tho? The cable alone is like 15 bucks... You'd probably be better off to try to make a DirectPlay module that communicates with your program the same way DS4QB works... or better yet, make your game in directX.
Logged

na_th_an
*/-\*
*****
Posts: 8244



WWW
« Reply #4 on: October 31, 2002, 07:25:24 PM »

Wizardlife's is best sollution. Forget DOS if ya wanna make a TCP/IP multiplayer game.

You can also use an IPX lib (there's one in the ABC packets) to play inside a LAN.
Logged

SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Hexadecimal Disaster
Been there, done that
*****
Posts: 1123



« Reply #5 on: October 31, 2002, 08:26:04 PM »

I can smell DSock around here.  Cheesy  Try it. It's really nice.
Logged

img]http://usuarios.vtr.net/~disaster/sigs/annoyizer.php[/img]
Hard Rock
I hold this place together
*****
Posts: 775


WWW
« Reply #6 on: October 31, 2002, 10:03:14 PM »

Yes use DSOCK, and play some connect 4 while your at it (first game to use it right?)

who wants to play?
Logged

b]Hard Rock[/b]
[The Stars Dev Company] [Metal Qb flopped] [The Terror]
Stop Double Posts!
Whats better? HTML or Variables?
na_th_an
*/-\*
*****
Posts: 8244



WWW
« Reply #7 on: November 01, 2002, 12:22:46 AM »

Is it a Windows slave communicating in some form with QB?

Anyhow, it sound interesting. Where to sneak peek?
Logged

SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Hexadecimal Disaster
Been there, done that
*****
Posts: 1123



« Reply #8 on: November 01, 2002, 02:30:56 AM »

Yeps. A la DS4QB.

http://dotnet.zext.net/dl.php?filereq=dsock.rar

Don't forget to check this out:

http://forum.qbasicnews.com/viewtopic.php?t=1288

 Tongue
Logged

img]http://usuarios.vtr.net/~disaster/sigs/annoyizer.php[/img]
na_th_an
*/-\*
*****
Posts: 8244



WWW
« Reply #9 on: November 01, 2002, 09:49:28 AM »

:oops:  Cool thanks
Logged

SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
_Bill_
Wandering Guru
***
Posts: 326



« Reply #10 on: November 01, 2002, 12:50:54 PM »

Null modem, $15? Hah! I made my own for less than $1. The standard cables cost twenty cents a pound. I then made on from that.
Logged

o, let me get this straight.  You want to fly on a magic carpet to see the King of the Potato People and plead with him for your freedom, and you're telling me you are completely sane?! -A.J. Rimmer
Kofman
Senior Member
**
Posts: 239



« Reply #11 on: November 09, 2002, 03:09:22 PM »

I was just about to makea new post concerning Dsock but to keep spamming down. I was wondering if anyone had some source code that uses DSock. A game of some sort. Please get back to me.
Logged

иииииииииииииииииииииииииииииииииииииLINEAR INCиииииииииииииииииииииииииииииииииииии
п-----------------------------------------------------------------------O
From Problem to Solution - We take the shortest distance
Hard Rock
I hold this place together
*****
Posts: 775


WWW
« Reply #12 on: November 09, 2002, 03:55:35 PM »

dsock comes with a working chat example
and connect 4 comes with source.
http://www.neozones.com/c4/
Ifyou want more code your out of luck. Dsock is very new 2-3 months new, and no other programs (asid from qb msn) i know use it.
Logged

b]Hard Rock[/b]
[The Stars Dev Company] [Metal Qb flopped] [The Terror]
Stop Double Posts!
Whats better? HTML or Variables?
Kofman
Senior Member
**
Posts: 239



« Reply #13 on: November 09, 2002, 06:57:14 PM »

OK thanks. I'll try to get it to work to help others out
Logged

иииииииииииииииииииииииииииииииииииииLINEAR INCиииииииииииииииииииииииииииииииииииии
п-----------------------------------------------------------------------O
From Problem to Solution - We take the shortest distance
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!