Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (NnamueN, 1 invisible), 1,489 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19054 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
massive multiuser projetcs? #9095
05/19/02 20:45
05/19/02 20:45
Joined: Apr 2002
Posts: 117
Spain
Abstracto Offline OP
Member
Abstracto  Offline OP
Member

Joined: Apr 2002
Posts: 117
Spain
Is anybody developing massive multiuser games or projects with 3DGS?
I want to know how to manage many users, so please, tell me how are you developing your server. Its a 3DGS server or its a custom server program? how do you use the level geometry? etc.
Thanks!

Re: massive multiuser projetcs? #9096
05/19/02 22:45
05/19/02 22:45
Joined: Jan 2002
Posts: 3,176
VPrime Offline
Expert
VPrime  Offline
Expert

Joined: Jan 2002
Posts: 3,176
i belive tyou would use the "zone" type of server, which would make each part of your map a different Zone(server) read the faq it explains a little on this.

Re: massive multiuser projetcs? #9097
05/20/02 06:16
05/20/02 06:16

A
Anonymous
Unregistered
Anonymous
Unregistered
A



We are building a MMOG. All the network code is custom and has taken quite a long time (about a year - part time w/2 developers) to write. We have only been using 3DGS for a couple of months and are VERY happy with the relative ease we've been able to leverage our network code with the engine.

Our server is totally custom, runs under UNIX and communicates with a MySQL backend to store the gamestate periodically. BUT - while the game is running, everything is actually running in memory on the server. We are relying on the fact the server will have 99.9% uptime and this will be ok ... time will tell.

Just about everything the client does is actually a request to the server and the server sends to all clients (that need to know) the actual actions taken. We had some predictive movement code in the server but haven't tried to tie this into 3DGS yet.

>>How do you use the level geometry?
Our map is bascially infinite in size. This is still new ... just figured it out in past week with help from Doug-Conitec. I'm sorry I have to use vague terms here but we haven't finalized the actual tiles so the size, number, etc. are all variables we can change very easily. Basically, we have a set number of actual distinct map tiles (.hmp's) that we put together in various combinations. As the player moves around, when they move enough tiles out from center (0,0,0) we shift the entire world back to center. The server knows what the entire world is and sends just the tiles the player needs. At some point beyond when it makes sense to have the "defined" world. We just use a plain, barren map tile. All buildings, etc. are prefabs we create based on where player is.

Our entire world is dynamic. When a player connects to the server, all the entities are sent from the server and the players world is built on the fly.

>> How to manage many users?
Probably the coolest thing our server has that is non-standard is what we call "surrogate" servers which is where we monitor the throughput of each client and dynamically turn clients into servers if they have the capacity which offloads our server from a LOT of bandwidth. We section off our map and attempt to match new clients with a surrogate server if one exists. Of course, the game design really affects how much this can be used.

---- Sorry, a lot of rambling there I know, but gotta run. Send me follow-ups if you want more info on specifc areas...


Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1