Hey there all,
I have been trying to get a solid idea of how things work, the order of operation, what things are essential, etc. I have been trying to go through a lot of code examples and things of that nature to learn how it all works but was hoping to find some more information. When it comes to something like the MMO demo, obviously the "World" master server and world would be up and running. The word cache I would imagine would be populated (from a database?). When a player is to be spawned into the world, they are then represented by the "Avatar"? Say I have a player model in Unity, does an avatar script need to be attached to a particular model with settings on it or are they attached at runtime? Say I have a few models, a human, an orc, and then a male and female of each. Is it predetermined by settings on the actual character model as to what they are, or how does the system know which is supposed to be what if a person wants to create a character and name it and play.
With the "World" running and someone does go to enter the world, what does this process look like from a "flow" perspective? They hit play, that seems like it sends an operation request asking to be put into the world, the server then is passed some parameters of what they want to load into the game. So a character name I guess is what would be considered a key value to know what model to use and where to place them, what gear they may have, etc? Once they tell the server they want to play, I am guessing that is when an avatar is applied to that player's model and spawned into the gameworld? What other things come into play during that process? Assuming only master server and world were actively running, it now would be bringing in the "Avatar" system/scripts, what other things are triggered, activated, loaded during this process? is it several different smaller processes that are called, or does the avatar "system" begin a set of processes itself and handles everything that needs to be done to get a character in-game?
I guess what I am trying to get to is what are the major files / methods that are involved in loading up the world and getting a character in-game? Once master is up, it loads the world. I see World.cs doesn' have much in it, so something must call and include that, what is the main overall process/script that begins the process of loading everything that is required to "load the world"? Once that is all done, what is the major starting point of loading the character into the game? Essentially I am looking for what the starting point is for each major process so I can start there and try to follow each process to see what it does and what all it subsequently loads, and where the next major starting point is for the next major action. World loading, character loading into game, then whatever takes over after that to handle the player moving and what not.
I realize that this became quite long, so I do apologize, it is really the only way I could think of to try and getout what I am after, lol. Hopefully, it makes sense. What would be ideal would be some sort of process flow chart of the major systems, but I have yet to see/find anything like that. I just made this to hopefully help clarify.
![]()
Just a high level explanation of what x,y,z,1,2,3 might be, be it the name of a file, the name of the method, anything really to help me better understand what all is going on when the process is happening so I know where to start, and then can follow through the code properly to see where the major components are, where they lead, and what they do would be awesome if anyone had some details.
Thank you much for your time!
I have been trying to get a solid idea of how things work, the order of operation, what things are essential, etc. I have been trying to go through a lot of code examples and things of that nature to learn how it all works but was hoping to find some more information. When it comes to something like the MMO demo, obviously the "World" master server and world would be up and running. The word cache I would imagine would be populated (from a database?). When a player is to be spawned into the world, they are then represented by the "Avatar"? Say I have a player model in Unity, does an avatar script need to be attached to a particular model with settings on it or are they attached at runtime? Say I have a few models, a human, an orc, and then a male and female of each. Is it predetermined by settings on the actual character model as to what they are, or how does the system know which is supposed to be what if a person wants to create a character and name it and play.
With the "World" running and someone does go to enter the world, what does this process look like from a "flow" perspective? They hit play, that seems like it sends an operation request asking to be put into the world, the server then is passed some parameters of what they want to load into the game. So a character name I guess is what would be considered a key value to know what model to use and where to place them, what gear they may have, etc? Once they tell the server they want to play, I am guessing that is when an avatar is applied to that player's model and spawned into the gameworld? What other things come into play during that process? Assuming only master server and world were actively running, it now would be bringing in the "Avatar" system/scripts, what other things are triggered, activated, loaded during this process? is it several different smaller processes that are called, or does the avatar "system" begin a set of processes itself and handles everything that needs to be done to get a character in-game?
I guess what I am trying to get to is what are the major files / methods that are involved in loading up the world and getting a character in-game? Once master is up, it loads the world. I see World.cs doesn' have much in it, so something must call and include that, what is the main overall process/script that begins the process of loading everything that is required to "load the world"? Once that is all done, what is the major starting point of loading the character into the game? Essentially I am looking for what the starting point is for each major process so I can start there and try to follow each process to see what it does and what all it subsequently loads, and where the next major starting point is for the next major action. World loading, character loading into game, then whatever takes over after that to handle the player moving and what not.
I realize that this became quite long, so I do apologize, it is really the only way I could think of to try and getout what I am after, lol. Hopefully, it makes sense. What would be ideal would be some sort of process flow chart of the major systems, but I have yet to see/find anything like that. I just made this to hopefully help clarify.

Just a high level explanation of what x,y,z,1,2,3 might be, be it the name of a file, the name of the method, anything really to help me better understand what all is going on when the process is happening so I know where to start, and then can follow through the code properly to see where the major components are, where they lead, and what they do would be awesome if anyone had some details.
Thank you much for your time!