Creation of an MMORPG

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kenster
    New Member
    • May 2008
    • 6

    Creation of an MMORPG

    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!
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    So your question is how do you manage game state data with 3000 people connected?

    Comment

    • Kenster
      New Member
      • May 2008
      • 6

      #3
      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.

      Comment

      • Plater
        Recognized Expert Expert
        • Apr 2007
        • 7872

        #4
        I would think that the servers update their own stuff (maps, monsters, etc) and then wait for an "interactio n request" from a client?

        Comment

        • Kenster
          New Member
          • May 2008
          • 6

          #5
          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.

          Comment

          Working...