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 / Multiplayer question?

Author
Message
TogaMario
23
Years of Service
User Offline
Joined: 30th Jan 2003
Location:
Posted: 30th Jan 2003 21:32
I want to make a game that has multiplayer support for at least 20-40 people. What's DBs capabilities in multiplayer? They aren't outlined in the features list. Thanks!
dave63
23
Years of Service
User Offline
Joined: 27th Jan 2003
Location:
Posted: 30th Jan 2003 22:10
read "The number of players can be between 2 and 256"
From the command reference:

CREATE NET GAME
This command will create a multiplayer net game. The Gamename describes the name of the game and will
be the name of the session when the game begins. The Playername is the name you wish to give the initial
host of the game. The number of players can be between 2 and 256, and sets the maximum number of
players that can join the net game. You can optionally specify a flag which controls the type of net game
created. A value of 1 is the default and specifies a Pier to Pier game, where a value of 2 specifies a
Client/Server game. A Pier to Pier game has every computer communicate with each other. A Client/Server
game has all player traffic routed through the host computer and then broadcasted to the rest of the
players. You will need to set a connection before you can create a net game, however this command will
automatically select the first connection it finds if you have selected one.

SYNTAX
CREATE NET GAME Gamename, Playername, Number Of Players
CREATE NET GAME Gamename, Playername, Number Of Players, Flag

TogaMario
23
Years of Service
User Offline
Joined: 30th Jan 2003
Location:
Posted: 30th Jan 2003 23:16
Many thanks! I just bought DB Pro, I played with A5 a lot, but it sucks compared to the possiblities here. I guess it has a lot to do with customization when it boils down to what I need to do and what I can do. I programmed DirectDraw but never got to Direct3D, so I hope it's made a lot easier with this. Thanks again!

Login to post a reply

Server time is: 2026-06-11 14:44:56
Your offset time is: 2026-06-11 14:44:56