Skip to content

Latest commit

 

History

History
118 lines (87 loc) · 4.9 KB

README.md

File metadata and controls

118 lines (87 loc) · 4.9 KB

##Lordofpomelo - Lordofpomelo is a browser-based MMORPG

Lordofpomelo is a browser-based MMORPG(massively multiplayer online role-playing game). The backend is written in node.js based on pomelo, which is a fast, scalable, distributed game server framework for node.js. The frontend uses the HTML5 Canvas to draw. the map and renders the animations by colorbox, which is a client side game engine written in JavaScript based on HTML5. In this game, the client communicates via websockets with the server.

Screenshot

login scene one scene two scene three

There are many monsters and one hero named Traxex who is killing the monster for experiences, treasures and equipments.

How to install

You can install lordofpomelo with the guiding of the document Installation guide of lordofpomelo. This document provides details on how to install and configure lordofpomelo quickly. Also you can find solutions for some problem like port conflicts.

How to play

Like other MMORPG, you should clone a hero with the given username. All of the heros will clone hp, mp, attack and defense etc from the hero ontology. There are three scenes in the game, where you can roam casually, kill monsters for experiences, treasures and equipments. If one monster is killed, more monsters will be cloned, which forces you to improve the hero level and get more powerful equipments. For a better understanding of the game plot, you should visit npc and communicate with it. Task system is very important, which will let you get more equipments and enjoy the game enough.

Requirements

  • nodejs
  • Linux or Mac os
  • MySQL

Open source projects

Lordofpomelo requires the following npm libraries:

pomelo

Pomelo is made by our team. It is a fast, scalable, distributed game server framework for node.js. It provides the basic development framework and a lot of related components, including libraries and tools. Pomelo is also suitable for realtime web application, its distributed architecture makes pomelo scales better than other realtime web framework.

####colorbox Colorbox is our team's another open source project. It is a client side game engine written in JavaScript based on HTML5. It will be officially open source as an independent project soon.

Viewing

注意事项

在log4js.json中,将所有log都关掉或者级别设置为ERROR 否则内存会因为日志大量I/O写入一直飙升

log4js.json配置

"levels": {
    "con-log": "OFF",
    "rpc-log": "ERROR",
    "forward-log": "ERROR",
    "rpc-debug": "ERROR",
    "crash-log": "ERROR",
    "admin-log": "ERROR",
    "pomelo": "ERROR",
    "pomelo-admin": "ERROR",
    "pomelo-rpc": "ERROR",
}

关闭con-log

说明

为了方便大家学习pomelo,我把几个常用的工具转移到了这个仓库,pomelo版本,都已经更新到2.2.5版本

License

(The MIT License)

Copyright (c) 2012-2013 Netease, Inc. and other contributors

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.