banner

[Rule] Rules  [Home] Main Forum  [Portal] Portal  
[Members] Member Listing  [Statistics] Statistics  [Search] Search  [Reading Room] Reading Room 
[Register] Register  
[Login] Loginhttp  | https  ]
 
Forum Index Thông tin về các địa chỉ và tài liệu hữu ích Design and Implement Game Server  XML
  [Document]   Design and Implement Game Server 16/03/2010 02:43:26 (+0700) | #1 | 207019
acti
Member

[Minus]    0    [Plus]
Joined: 20/01/2010 17:16:45
Messages: 11
Offline
[Profile] [PM]
Đây là bài viết nói về việc triển khai 1 server game do chính tay mình viết. Bài viết còn nhiều sai sót a e có gì góp ý cho mình hoàn chỉnh nhé smilie

Contend:
1. Introduction
2. HardWare Requirement
3. SoftWare Requirement
4. Security
5. Improve server

Introduction
Today, Game online is familiar with us, especial boys. Having so much Game software publisher same as Kingsoft, NcSoft, and Blizzard … has released famous games as JX, Lineage, and World of Warcarft…. The game industry is growing. A new survey by Game Developer magazine has revealed the average salary for people working in the US games industry is USD 79,000 (GBP 53,000 / EUR 59,000).
Game Online is interesting investment market. More and more people play game online every day. They are from walk of life. Having a question in here. What is game online?
Game online is game people can play in real time and connect to others one. Game Online have two kinds: Browser web Game and client – server game.

Browser web game is game which gamers can play on your web browser but not needing install anything. Gamers only go to address page, register one account and play game. The browser will send http packet to server, and here server will process and reply to browser of games.
The client – server game is the game gamers need client to connect to server. They must install client in your computers. When client – server network is configured, clients send their packet to server then server will process their one and send rely to client.

So, we have two kind of Server: Main Server and Private Server.
Main server is released by company has developed it. They will update for their server and client to make gamers feel satisfy. Gamers who want to play main server, will pay for game they play. The company has released their game is responsibility remain their server and account of gamers.
Private server is released by someone or some group. The used server files from main server or developing file of any group. Gamers who play this game can pay or not pay depending on Server Administrator. The server administrator must remain server by donating or doing offer. Having two kind of Private Server:
Office Server: Builded from server file of Main server
Emulator Server: Builded form server file of a group or someone.


HardWare Requirement

Both of Browser web game and client – server game need one or more computers to process packet form their clients. To build a Server, we need some components:
Router
Database Center
High speed internet


Router:
Router is configured for online game server, must support:
Network Load Balancing
NAT
Firewall
VPN
Database Center:
Database Center includes computers connect together. DC must place in cold storage. Because computers run 24/7. A system to detect fire or problems about temperature should place in Datacenter.
A Server Computer must have high processor CPU.
Server Computers and cables should placed logic to administrator can solve problems fastest and exact.
High speed internet:
Using leased line fiber optic to have fastest connection.

About Private Server:
If the administrator couldn’t built an above system. They can hire a VPS from a company to deploy their server. This is not recommending because of information security.



SoftWare Requirement
Operating System
Database
Web Server (for Web Browser Games)
Server File
And other software

Operating System:
IF Game is deployed is Browser web game, the best choice is Linux. Because of open source, Linux is good way to develop a server. With Free Database tools – Mysql, we can build a server which not pays so much.
Windows is other choice to deploy a server. Most of server file is compiled to run in windows. With IT manager, the server files which run in windows is so easy to manage.

Database
A game must have a database. To deploy a game online server, we have two kind of database management to use: MSSQL and MySQL

MSSQL is very friendly, easy to manage. With GUI, Database admin can manage easily. It also supports replication, backup daily, and @@@ort database to other extension…. But the company must pay license for MsSQL if wants to use it. Addition, you can’t run MsSQL in Linux. This means you must pay license for Windows and MsSQL. That is not good for a company or someone wants to deploy an online game server.
MySQL is open source tool. User uses mysql don’t need to pay license for MySQL. To manage database of mysql, DA has @@@erience in using MySQL. Today, MySQL also has some tools support for managing MySQL database. Example: Navicat, MySQL WorkBench even php scripts…

Web Server
The Web Server is necessary if you want to deploy a web browser game. Using Apache or IIS to develop a web server. The best combo is Apache + MySQL run in Linux. This is optimizing in maintaining server. The least cost to maintain server when using open source. Beside, using IIS + MSSQL running in Windows will help administrating so easily. Using Apache or IIS is conditional on upon Server Files.

Server Files.

All of server files are developed by @@@ert game developer of Game software. They work hardly every day to make an online game. First, they must develop a server file to release a game and then, the must fix bug, hack for that game they developed. Have a cycle between Game software publisher and hackers. Hackers find way to hack and Game software publisher must fix that @@@loit. This mean, the works of game developer will be never end.
Server file include information about server, database, file to connect with server, file to listen form client…. All of files were compiled before public to gamers or distributor. When game developers fix an @@@loit, they will use source before compile and then they will compile again.
The game developer can use many languages to develop server file (Example: C, C#, Java, php…). It’s about kind of game or kind of server. A Linux can’t run a source compile for Windows. Most of server file run on Linux is developed form Java and some web language.
When the administrator have server files, depending on way to use, the will run that files logical.
Some basic steps to build a server game when administrator had server files:
Configure server files to correspond with his servers.
Configure Username and Password to log in to database (MSSQL or MySQL)
Configure log file to specific folder.
Configure IP to client log in to server
NAT port to server
Set up environment to run Server file (Example .NET Framework in windows or java in Linux)
Run File to listen client
Public Website for Gamers


Other Files:
This files will help the task of administrator is easier. Some basic tips for other a server need is:
XAMP: These tools will help beginner administrator to build a web server. It was configured all things. The administrator only need copy source web to XAMP and import database. XAMP will public that website but configure so much. Naturally, administrator need import database and NAT ports to web server.
Phpadmin: These tools will help working with mysql so easy. With Web interface, the administrator will update database but knowledge of MySQL code.
Some tools to edit client. This is necessary for private server. With this tools, user can custom client to more and more interesting. They can add some new items or characters which main server doesn’t have. Each game has an edit tool. The best populates tool is Hex Editor.

Security
About security, this is depending of @@@erience of administrator. The administrator must prevent malicious form hacker same as Bug, @@@loit, DOS….

About HardWare:
Router must have Firewall to prevent attacks from hackers. DOS or DDOS is very danger for Web Browser Game even other game as MMORPG. This attack will prevent gamer connect to server by overload bandwidth of server. To defend this attack, need @@@erience administrator in order to build a Firewall. This Firewall can build from Router or PC. The best in Router because router can run in player 4 of TCP/IP model.
Way to defend this attack:
Sniffing attackers.
Analyzing frequency of request (Frequency of request of hackers will be higher than normal user)
Closing some ports is not necessary
Drop request packet of hackers (Rely of IP, protocol, ports, contend of packets)
Hardisk: The administrator needs to develop RAID for servers. To avoid lost information of gamers, RAID is the best way. The administrator need to backup daily database.

About SoftWare:
Server Files: Almost all of private servers can’t do this step. The administrators of private server built from any source. For this reason they can’t develop for their servers. And hacker will attack to bugs or fault of server files.
To solve this problem, the administrator of server must report his problems to people which release source. And waiting for replying from them.
The main server has @@@ert software developers. They will solve bugs, hacks in a fast way. They analysis way of attacker and that fault from their source code.


Improve Server
Improve Server includes Security and keep server alive. Keep Server alive make the admintrator finding server investment.
Has tree ways to build server and earn money:
Free to play (FtP)
Pay to play (PtP)
Work offer
FtP and PtP:
These ways are combine Marketing deparment and software develop department.
FTP- gamers play but pay money for hours they play. This is the best way for gamers and game company. To earn money in this way, the administrator will shell items which gamers need in game.
PTP- gamers who want to play must pay money for each hour they play. This is not recommended for game company. Because gamer don’t want to pay for their relax game.
Work offer:
This is the best choice for private server which don’t have license. The administrator will do offer by putting some advertis banner on his laucher or his web sites. And advertis company will pay for the administrator.

Accosiate tree ways will make the best way to earn money and maintning server. More and more main servers and private servers appear. The profits of game industry is growing.
[Up] [Print Copy]
  [Document]   Design and Implement Game Server 16/03/2010 03:16:02 (+0700) | #2 | 207020
qtra004
Member

[Minus]    0    [Plus]
Joined: 19/04/2004 22:36:57
Messages: 298
Location: Kiwiland
Offline
[Profile] [PM]
Bạn muốn góp ý về mặt gì mới được? Kỹ thuật hay là chính tả. Lướt sơ qua mình đã thấy khá nhiều lỗi spelling với grammar rồi. Ví dụ: Content chứ không phải contend, especially chứ không phải especial, combination chứ không phải combo... Bạn cho biết bài này dùng vào mục đích gì không? Nội dung cũng không chú trọng gì tới kĩ thuật.
Carpe diem quam minimum credula postero
[Up] [Print Copy]
  [Document]   Design and Implement Game Server 16/03/2010 03:31:43 (+0700) | #3 | 207021
[Avatar]
tmd
Member

[Minus]    0    [Plus]
Joined: 28/06/2006 03:39:48
Messages: 2951
Offline
[Profile] [PM]
Bài viết tiểu luận tiếng Anh, kiểu như một bài viết thông tin công nghệ chung chung.
PS: Ngữ pháp thì sai tùm lum thiệt.
3 giai đoạn của con... người, ban đầu dek biết gì thì phải thăm dò, sau đó biết rồi thì phải thân thiết, sau cùng khi quá thân thiết rồi thì phải tình thương mến thương. Nhưng mà không thương được thì ...
[Up] [Print Copy]
  [Document]   Design and Implement Game Server 16/03/2010 04:26:10 (+0700) | #4 | 207024
acti
Member

[Minus]    0    [Plus]
Joined: 20/01/2010 17:16:45
Messages: 11
Offline
[Profile] [PM]
Hì! Cám ơn đã đọc qua bài viết của mình.
Bài viết này mình viết nhằm giúp cho một số newbie hình dung được cách một quản trị triển khai hệ thống game và đưa ra những cần thiết tối thiểu để có thể triển khai cũng như duy trì được!
Trong bài này mình cần các bạn góp ý về mặt kĩ thuật (những yêu cầu tối thiểu )để đảm bảo việc cân bằng tải, khả năng bảo mật, mã hóa giữ liệu thông tin của khách hàng gửi đến server, Tính ưu việt của những chuơng trình quản lý khác nhau, nên sử dụng những gì để có lợi về hướng kinh doanh....
Mình cũng chưa va chạm thực tế nên thiếu kinh nghiệm lắm
Về Eng thì mình cũng không khá lắm! Mình sẽ cố gắng khắc phục điểm này vì đây là bài viết đầu tiên của mình ^^!
[Up] [Print Copy]
  [Document]   Design and Implement Game Server 16/03/2010 07:02:27 (+0700) | #5 | 207028
[Avatar]
WinDak
Researcher

Joined: 27/01/2002 11:15:00
Messages: 223
Offline
[Profile] [PM]
English của bạn còn lủng củng và rất nhiều lỗi chính tả và cú pháp, bạn nên nhờ người nào rành tiếng Anh sửa giúp.

Thêm góp ý nữa là nên có những hình vẽ để trình bày luận điểm đỡ khô cứng
-- w~ --
[Up] [Print Copy]
[digg] [delicious] [google] [yahoo] [technorati] [reddit] [stumbleupon]
Go to: 
 Users currently in here 
1 Anonymous

Powered by JForum - Extended by HVAOnline
 hvaonline.net  |  hvaforum.net  |  hvazone.net  |  hvanews.net  |  vnhacker.org
1999 - 2013 © v2012|0504|218|