OnME Platform Tutorial - PowerPoint PPT Presentation

1 / 17
About This Presentation
Title:

OnME Platform Tutorial

Description:

Linkage Between DB and Server. Database Manager (DBM) User Manager. Player Manager. Item Manager ... Linkage Between Server and Client ... – PowerPoint PPT presentation

Number of Views:30
Avg rating:3.0/5.0
Slides: 18
Provided by: ken75
Category:

less

Transcript and Presenter's Notes

Title: OnME Platform Tutorial


1
OnME Platform Tutorial
Ken HuiSystem AnalystOnME Research Laboratory
2
Content
  • Part 1 Overview of OnME Platform
  • Engine Architecture
  • Engine Logic Flow
  • Engine System Overview
  • Engine Component View

3
Engine Architecture
Game Server
Database
Client
  • User
  • Player
  • Monster
  • Item
  • Battle
  • Map
  • Event
  • NPCs
  • GUI Elements
  • Server Communication

4
Game Server Interaction
Map
Event
Game World
Player
5
Engine Logic Flow
How is the Game World affected by clients??
Game World Time Line
server
User 2
User 1
Communication Unit Control
6
Control
  • Main Communication Elements
  • Update the game world status
  • Forward to all other clients for action
    announcement
  • e.g.
  • Move, Teleport, Declare as Leader, Join a Group,
    Exchange, etc
  • Please refer to technical specification

STANDARD LANGUAGE FOR SERVER AND CLIENTS
7
Linkage Between DB and Server
  • Database Manager (DBM)
  • User Manager
  • Player Manager
  • Item Manager
  • Monster Manager
  • Battle Manager
  • etc
  • DBM gt Convert the data in DB to Game Objects

8
Linkage Between Server and Client
  • The Protocol is a collection of HTTP doGet
    Requests with format ?a1b2
  • The HTTP doGet Requests are
  • Control Transmission Request
  • Full Update Request
  • Event Download Request
  • Player and NPC Retrieval Request
  • Battle and Monster Pre-fetch Request
  • Player Status Update Request
  • Transaction System Request
  • Chat Message Upload/Download Request
  • Details are written in our technical specification

HTTP protocol
server
client
9
Engine System Overview
  • Game server has 10 systems

10
Engine System Components
11
World server class diagram
12
Game World Server Logic Flow
HttpConnector.doGet()
Client Interface
Handler.receive
CONTROL
Handler.doXXX()
MODEL
HttpConnector.send()
VIEW
13
Battle server class diagram
14
Game Battle Server Logic Flow
HttpConnector.doGet()
RequestHandler
15
Client Library
  • Library Documentation
  • http//onme.cse.cuhk.edu.hk/sampleClientDoc/index.
    html
  • Base on Finite State Machine
  • By Class named Logic
  • Apply MVC model

User event
View
Controller
Common.Logic
Common.View
Select view
Change modification
queries
Model updates
MODEL
Player, BagItem, etc
16
Client Library
INIT
  • Implement your own game by inserting states
  • Just fill-in your own games logic

GAME
User input
MENU
Event Ready
WAIT
17
End of tutorial
Thank You Very Much
Write a Comment
User Comments (0)
About PowerShow.com