473,511 Members | 16,776 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Creation of an MMORPG

6 New Member
Hello,

I am looking for some advice or ideas regarding a current MMORPG I am making. I currently have the packets working find, client works, everything is smooth and such. Quests are in, you can attack, our packet reader/sender is great with a good SendQueue.

My question arises in the sense of the "World". I wanted to see if anyone out there may have some useful tutorials, or ideas on how many MMORPGs (Like Lineage II, that don't have "Instance" or "Spawn" zones), work. Not really asking for code but the idea behind it.

Currently, I have it set up as such. Every person that connects is considered a "GameProxy", Which has lists of the current character, his other characters on that server in that account, his Serial, ect. I then have the "World" which is split up in the 87 by 128 region (Size of the world). The World just controls the aspect of the movement on Entity's, such as Monsters/Items/GameProxys.

Basicially, World > WorldRegions > Regions > KnownList (Monsters / Items / GameProxy).

I have heard so far of only two possible ways to go about this

A ) A world Loop. That goes through and updates each character every x second by going through the knownList. I tried this, found it to very laggy. Plus how can you loop 4,000 online connections in like 1 second?

B) A GameProxy loop. I am currently using this and found it to much better. I don't know the downfalls of this yet as its new, but my goal was to have some where around 3,000 connect.

Does anyone have any advice or suggestions on this? Thank you!
May 16 '08 #1
4 1098
Plater
7,872 Recognized Expert Expert
So your question is how do you manage game state data with 3000 people connected?
May 16 '08 #2
Kenster
6 New Member
Basically,

But in certain point, I want to know about Regions. Do people use a "KnownList" as i've seen. Do they update people every second with conditions, or do they know the conditions before they update? Stuff as such. Thanks.
May 16 '08 #3
Plater
7,872 Recognized Expert Expert
I would think that the servers update their own stuff (maps, monsters, etc) and then wait for an "interaction request" from a client?
May 16 '08 #4
Kenster
6 New Member
Hello,

Yes, they do. But in regards, How do they update the "World" of actions? They cant have 1 major loop that goes through all the entities. Otherwise you would have like over 50,000 Entities in the World for just 1 Character. They have to split it up so that there is only like 100 in each, which is the point of the region. But how they go about processing that region, is what im consulting.
May 16 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

5
12402
by: [ EuGeNe ] | last post by:
Hi all, I would like to write a script that downloads one file from a ftp server if the file creation date satisfy a condition. I can't figure out how to find from a ftp server what is the...
3
2271
by: SK | last post by:
I have a file. i get the creation time using File.GetCreationTime. then i go and delete that file. and then create it again and print the File.GetCreationTime. It is giving me the old creation...
6
2092
by: | last post by:
I have a class with overloading operator new. (Because, if an identical object exists, return a pointer to existed object instead of a new pointer) It has no sense (it is dangerous) to allocate an...
1
2474
by: Snyke | last post by:
Hi. I know this is not closely related to C++ but it's a design issue, I hope anyway to find someone willing to introduce me to the secrets of good server design. The problem is that I have to...
3
5982
by: Steven Blair | last post by:
Hi, I have a trace log file for a system I am writing. If the creation date is older than 14 days, I have to rename that file (File.Move). The next time a trace message is required a new file is...
8
3436
by: Anthony Munter | last post by:
I have a web application with impersonate=”true” in Web.config and on my own logon page I allow the user to either - specify a userid/password for the app to impersonate when calling legacy...
3
3074
by: Nick Dreyer | last post by:
I was quite surprised to notice that Sub New() gets called twice, once at declaration time and once at creation time. I can't figure out why it would be called at declaration if there is no class...
0
1282
by: Fratyr | last post by:
Hello Experts. This is my fourth time im starting to learn PHP/MySQL/AJAX All the times i tried, was boring, because i was learning only the syntax commands. Now i do another way. I decided to...
1
3028
by: bull.titan | last post by:
Hi all, i'd like to start writing an MMORPG in PHP/MySQL (like www.world-of-dungeons.com) but i wonder something simple : how to i manage to create and allocate items ? (armour, axes etc..) ...
0
7242
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7138
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7355
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7081
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7510
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5668
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...
0
4737
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3225
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1576
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.