2 registered members (TipmyPip, AndrewAMD),
1,151
guests, and 4
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
MultiPlayer in GameStudio
#23124
02/09/04 06:38
02/09/04 06:38
|
Joined: Feb 2004
Posts: 9 CA, USA
ax3man
OP
Newbie
|
OP
Newbie
Joined: Feb 2004
Posts: 9
CA, USA
|
I would like to ask the group if there is a document that captures in some detail the requirements and specifications that 3DGS has for multiplayer.
If not, I would like to flesh out what those issues would be as my game gets closer to becoming a reality.
First, I am building a small 9 or so level game that will allow complete freedom of action in the player environment. I intend to allow as many players as possible to connect to this game simultaneously, because a large part of the experience will be interactions with other players.
The game type is multiplayer RPG with a first person feel. Battle between players will be dealt with by the server, but I want the players to direct the battle action.
The game will have a inventory component, where users can trade items, buy and sell, train etc. The issue of where the computing takes place is still in design.
My main question is, how many players could be walking around in a single server machine at any one time? Lets say I have a T1 with dual xeon board runnign 2.4G processors. Lets say no combat supported yet, just users walking around and seeing each other, and chatting. Any guesses on how many players per machine?
Lets talk..
Ax3Man
|
|
|
Re: MultiPlayer in GameStudio
[Re: ax3man]
#23125
02/09/04 10:04
02/09/04 10:04
|
Joined: Jan 2004
Posts: 418 Atlanta, GA
Virtual_User
Senior Member
|
Senior Member
Joined: Jan 2004
Posts: 418
Atlanta, GA
|
Quote:
I would like to ask the group if there is a document that captures in some detail the requirements and specifications that 3DGS has for multiplayer.
Although not specifically written for A6, Alain's multiplayer workshops 1, 2 and 3 are a great place to start with the Multiplayer aspects of 3DGS.
http://www.conitec.net/a4update.htm to find the workshops.
One of the things you need to grasp immediately is that you write the server and client as one application. And that functions run on clients and actions run on servers. (Functions called by actions also run on servers).
If you go through the workshops they will get you primed. They use the templates which is a good place to start until you are more familiar with the engine.
Quote:
If not, I would like to flesh out what those issues would be as my game gets closer to becoming a reality.
First, I am building a small 9 or so level game that will allow complete freedom of action in the player environment. I intend to allow as many players as possible to connect to this game simultaneously, because a large part of the experience will be interactions with other players.
What edition of A6 do you have? This would help us (others on the forum) determine what functionality is available to you in your endeavor as certain things are only available with certain editions. Extra, Commercial, Professional?
I would recommend that you setup 9 different server apps running a different level to achieve the 9 levels you want. This way the load is balanced by levels. I have not tested this but I would guess that if you have more than 64 players in a room (and probably after 32) you will need to have written your code very tight and with complete bandwidth and processing time optimizations.
Quote:
The game type is multiplayer RPG with a first person feel. Battle between players will be dealt with by the server, but I want the players to direct the battle action.
The game will have a inventory component, where users can trade items, buy and sell, train etc. The issue of where the computing takes place is still in design.
The issue of where the computing takes place may very well be determined by the multiplayer architecture of 3DGS. You will probably want to set your game design aside and dig into the workshops mentioned above. Once you have done the workshops then attempt to write something very basic without templates and build from there.
You will find many excellent threads on the topic of creating multiplayer environments on the forum. I, myself, am doing the same thing and have only 4 weeks into and already have a test app that allows an unlimted number of players to connect (using fish model without animations) and chat.
I have, in the last week, started adding camera views, inventory items etc and need to step back to the basics of character animation. So you can see it is a step by step process.
Quote:
My main question is, how many players could be walking around in a single server machine at any one time? Lets say I have a T1 with dual xeon board runnign 2.4G processors. Lets say no combat supported yet, just users walking around and seeing each other, and chatting. Any guesses on how many players per machine?
This is probably the most commonly asked question about Multiplayer Games and unfortunately it is also the most misunderstood question. No one person on earth could predict within a reasonable closeness as to satisfy anyone asking this question how many players could be walking around in a server without knowing what the environment is and the architecture of the game.
If you are talking about a single level with no buildings, just ground and sky object, one character type that all users will walk around in with, you could probably see between 24 to 96 players maybe even in the hundreds. Still there are many variables that could inrease or decrease these numbers. How often are the characters positions updated? How strict are you setting up your dead reckoning? Are you sending all available entity information or are you tuning it down to just the bare minimums... what are the bare minimums for your game?
And there would also be a slight issue of the dependability of the architecture you are connected to at your ISP. If they have outdated routers you may experience problems, albeit these types of issues are rare but would be considered by large production MMOG companies.
Good Luck!
dplay_internet_capable = no;
|
|
|
Re: MultiPlayer in GameStudio
[Re: Virtual_User]
#23126
02/09/04 12:03
02/09/04 12:03
|
Joined: Mar 2003
Posts: 5,377 USofA
fastlane69
Senior Expert
|
Senior Expert
Joined: Mar 2003
Posts: 5,377
USofA
|
Sorry to disagree VU, but alain's tutorials are woo fully outdated and don't include the current Networking Capabilities of 3DGS. I hope my White Paper "making MMO* project in 3DGS" will help update the Networking code. Until then, look at the manual under multiplayer modus, the send_* commmand, network events, AND teh A5/A6 Network Protocal. Stare at them long enough and you start to think you know whats going on
|
|
|
Re: MultiPlayer in GameStudio
[Re: fastlane69]
#23127
02/09/04 13:26
02/09/04 13:26
|
Joined: Jan 2004
Posts: 418 Atlanta, GA
Virtual_User
Senior Member
|
Senior Member
Joined: Jan 2004
Posts: 418
Atlanta, GA
|
The only reason I would recommend Alain's workshops is because it does cover some of the basics that a newbie would need in understanding 3DGS' multiplayer abilities. Of course after a quick run through with Alain's workshops diving in to your MMO White Paper and the current A6 Manual is probably going to be the best course to actually get started on a MP game.
Can't wait to see it! (The white paper that is)
dplay_internet_capable = no;
|
|
|
Re: MultiPlayer in GameStudio
[Re: ax3man]
#23130
02/10/04 18:08
02/10/04 18:08
|
Joined: Mar 2003
Posts: 5,377 USofA
fastlane69
Senior Expert
|
Senior Expert
Joined: Mar 2003
Posts: 5,377
USofA
|
|
|
|
Re: MultiPlayer in GameStudio
[Re: fastlane69]
#23131
02/11/04 07:48
02/11/04 07:48
|
Joined: Jan 2004
Posts: 418 Atlanta, GA
Virtual_User
Senior Member
|
Senior Member
Joined: Jan 2004
Posts: 418
Atlanta, GA
|
I am also working on trimming down the multiplayer templates into a single wdl file that includes only the very basic multiplayer funcationality. I think this would be a good place for people to start as well. Especially since not all 3DGS owners have the Pro version.
I have learned a ton in the last few weeks and I am still learning but it surprises me how much more I understand when I keep going back to Doug's templates and parsing through them.
The templates are great for someone to click together a game but they do have some great features if you can pull them out and use them.
I will post what I have when I complete it.
dplay_internet_capable = no;
|
|
|
|