Network Design: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
|  Created page with '== Design ==  ===Sequences===  ==== Start up NPCClient ==== <uml> NPCClient->PSServer : NPCAuthent </uml>   Category:Engine documents' | |||
| (25 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| == Design == | == Design == | ||
| This page describe some of the sequences in the Network Design between components. For implementation details in the Server/Clients see the [[Detailed Network Design]] page. | |||
| ===Classes=== | |||
| ===Sequences=== | ===Sequences=== | ||
| Line 5: | Line 8: | ||
| ==== Start up NPCClient ==== | ==== Start up NPCClient ==== | ||
| <uml> | <uml> | ||
| NPCClient->PSServer : NPCAuthent | autonumber | ||
| participant Admin | |||
| participant User | |||
| Admin ->> PSServer : Start | |||
| create NPCClient | |||
| Admin ->> NPCClient : Start | |||
| == NPC Client Initialisation == | |||
| PSServer //- NPCClient : NPCAuthent | |||
| PSServer -\\ NPCClient : MsgStrings | |||
| PSServer -\\ NPCClient : MapList | |||
| PSServer -\\ NPCClient : NPCRaceList | |||
| PSServer -\\ NPCClient : Weather | |||
| PSServer //- NPCClient : Persist ALL | |||
| loop | |||
|   PSServer -\\ NPCClient : Persist All Entities | |||
| end | |||
| PSServer -\\ NPCClient : NPCList | |||
| PSServer //- NPCClient : NPCReady | |||
| NPCClient ->> Admin : Load Completed | |||
| PSServer ->> Admin : Load Completed | |||
| == NPC Client Ready == | |||
| loop | |||
|   PSServer //- NPCClient : NPCCommandList | |||
|   PSServer -\\ NPCClient : AllEntityPos | |||
| end | |||
| </uml> | |||
| ==== Start up Client ==== | |||
| <uml> | |||
| autonumber | |||
| participant User | |||
| participant NPCClient | |||
| participant Server | |||
| create Client | |||
| User ->> Client : Start | |||
| == Client Initialisation == | |||
| Server //- Client : PreAuthenticate | |||
| Server -\\ Client : PreAuthApproved | |||
| Server //- Client : Authenticate | |||
| Server -\\ Client : AuthApproved | |||
| Server -\\ Client : MsgStrings | |||
| Server -\\ Client : AdminCmd | |||
| Server -\\ Client : Weather | |||
| Server //- Client : MsgStrings | |||
| Server -\\ Client : MsgStrings | |||
| == Char Selected == | |||
| Server //- Client : AuthCharacter | |||
| Server -\\ Client : AuthCharacterApproved | |||
| Server //- Client : MOTDRequest | |||
| Server -\\ Client : MOTD | |||
| Server //- Client : RequestMovements | |||
| Server -\\ Client : MoveInfo | |||
| Server //- Client : PersistWorldRequest | |||
| Server -\\ Client : PersistWorld | |||
| Server -\\ Client : Weather | |||
| Server -\\ Client : StatDRUpdate | |||
| Server //- Client : PersistActorRequest | |||
| Server -\\ Client : PersistActor | |||
| Server -\\ Client : StatDRUpdate | |||
| Server //- Client : Stats | |||
| Server -\\ Client : Stats | |||
| Server //- Client : DeadReckoning | |||
| Server -\\ Client : PersistActionLocation | |||
| Server //- Client : StatDRUpdate | |||
| Server -\\ Client : StatDRUpdate | |||
| Server //- Client : GUIInventory | |||
| Server -\\ Client : GUIInventory | |||
| note over Client : there are more... | |||
| </uml> | |||
| ==== Client Movement ==== | |||
| <uml> | |||
| autonumber | |||
| participant User | |||
| participant NPCClient | |||
| participant Server | |||
| User ->> Client : KeyboardInput | |||
| Server //- Client : psDRMessage | |||
| Server -\\ Client : psDRMessage | |||
| </uml> | </uml> | ||
| [[Category:Engine documents]] | [[Category:Engine documents]] [[Category:NPCClient Design]]  [[Category:Server Design]] | ||
Latest revision as of 18:52, 2 January 2013
Design
This page describe some of the sequences in the Network Design between components. For implementation details in the Server/Clients see the Detailed Network Design page.
Classes
Sequences
Start up NPCClient

Start up Client

Client Movement
