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 Professional Discussion / Linux Server - Mulitplayer gaming?

Author
Message
LammaDog
22
Years of Service
User Offline
Joined: 8th Nov 2003
Location: California
Posted: 8th Nov 2003 15:34
Hi,
I'm just getting into DB (the learning curve should be mostly non-existant for me)

Has anyone done any work or have any knowledge about setting up a linux server to handle a multiplayer game developed with DB?

DB multiplayer does use peer-to-peer networking, which is great. I'm thinking along the lines of a linux server that will handle chat rooms and buddy lists, and setup the peer-to-peer games.

There is another related thread with some good info at http://www.thegamecreators.com/?m=forum_view&t=19548&b=1


Thanks
Troy
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 8th Nov 2003 15:38
DarkBASIC Professional doesn't do Peer2Peer, not that it really is needed in this day an age unless you're constructing your engine around a single player rather than multiplayer experience.

as for linux, not unless you create your own network DLL.
DBP utilises DirectX fully, which includes DirectPlay for networking means... this means it won't run on anything save a Windows 98/ME/XP/2000/2003/2004 machine


To Survive You Must Evolve... This Time Van Will Not Escape His Fate!
900mhz | 256mb | FX5200Ti 52.16 | Dx9 | WXP-Pro
Elleomea
22
Years of Service
User Offline
Joined: 2nd Aug 2003
Location: England
Posted: 8th Nov 2003 16:54 Edited at: 8th Nov 2003 16:55
There's already a 3rd party TCP/UDP DLL for use with DBPro which you can grab from here: http://mainframe39.mikeasoft.com/junk/tcpudp.zip (includes documentation)
Use that for all the client side communications in DBP and write your server in a different language, like C++ or Java.
I'm currently working on converting one of my projects to using straight TCP instead of DirectPlay and writing a server for it in Java, for the specific purpose of being able to have a multiplatform server, with Linux as the main intended hosting platform.

How much ham could a hamster stir, if a hamster could stir ham?
Ian T
23
Years of Service
User Offline
Joined: 12th Sep 2002
Location: Around
Posted: 8th Nov 2003 17:55
I didn't know about that DLL, thanks Ell .

--Mouse: Famous (Avatarless) Fighting Furball

A very nice %it, indeed.
LammaDog
22
Years of Service
User Offline
Joined: 8th Nov 2003
Location: California
Posted: 9th Nov 2003 04:10
Cool, thanks for the info guys.

Elleomea, don't suppose you have anything to show off on that yet?
Elleomea
22
Years of Service
User Offline
Joined: 2nd Aug 2003
Location: England
Posted: 9th Nov 2003 14:21
Not particularly, so far it's possible to login to the java server, but that's about it. I've only started learning java recently and am still learning how to pass data between different threads.

How much ham could a hamster stir, if a hamster could stir ham?
TKF15H
23
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 9th Nov 2003 16:25
You know, you could use Dark Basic Classic on the linux server, and DBP as a client in windows. I think the two (DBC & DBP) are compatible...

Morfy's Law - Enythink thet ken go rong willll.
Cole's Law - Thinly sliced cabbage.
Elleomea
22
Years of Service
User Offline
Joined: 2nd Aug 2003
Location: England
Posted: 9th Nov 2003 16:51
Err, how exactly do you think you'd be able to run Dark Basic Classic on Linux? DBC also uses DirectX.

How much ham could a hamster stir, if a hamster could stir ham?
ProfessorKill
22
Years of Service
User Offline
Joined: 3rd Nov 2003
Location: Frederick, MD
Posted: 9th Nov 2003 17:22
@LammaDog

I'm thinking that DLL is the way to go. I'm going to work through the examples today. Read the "readme". "Ariel" seems to be building exactly what we want. If I have any success with the existing DLL, I'll support his effort in whatever way I can.

MD
waffle
23
Years of Service
User Offline
Joined: 9th Sep 2002
Location: Western USA
Posted: 10th Nov 2003 16:56
thats on my todo list too. i thought I was the only one working in that direction

internet gaming group
ProfessorKill
22
Years of Service
User Offline
Joined: 3rd Nov 2003
Location: Frederick, MD
Posted: 10th Nov 2003 22:18
@LammaDog

I'm think I'll use that DLL Ariel wrote to talk to a web script. The web script will handle game setup. That's it. User's waiting to play and their various game prefs will be stored in a database. I'll add some code to my DBP game to talk to the web site and get a list of players waiting. Get their info and prefs as well as their IP. Then the game comms will be handled by the clients. Make sense?

MD

Login to post a reply

Server time is: 2026-07-26 19:46:46
Your offset time is: 2026-07-26 19:46:46