toppro / cityofpomelo Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
[2014-05-29 17:47:39.321] [INFO] pomelo - [/Users/mymac/cd-standard/cityofpomelo/game-server/node_modules/pomelo/lib/application.js] application inited: "master-server-1"
[2014-05-29 17:47:41.584] [INFO] console - info: socket.io started
[2014-05-29 17:47:41.588] [INFO] pomelo - [/Users/mymac/cd-standard/cityofpomelo/game-server/node_modules/pomelo/lib/master/starter.js] Executing /usr/local/bin/node /Users/mymac/cd-standard/cityofpomelo/game-server/app.js,env=development,id=connector-server-1,host=127.0.0.1,port=4050,clientPort=3050,frontend=true,serverType=connector locally
[2014-05-29 17:47:41.600] [INFO] pomelo - [/Users/mymac/cd-standard/cityofpomelo/game-server/node_modules/pomelo/lib/master/starter.js] Executing /usr/local/bin/node /Users/mymac/cd-standard/cityofpomelo/game-server/app.js,env=development,id=game-server-1,host=127.0.0.1,port=6050,serverType=game locally
[2014-05-29 17:47:41.612] [INFO] pomelo - [/Users/mymac/cd-standard/cityofpomelo/game-server/node_modules/pomelo/lib/master/starter.js] Executing /usr/local/bin/node /Users/mymac/cd-standard/cityofpomelo/game-server/app.js,env=development,id=gate-server-1,host=127.0.0.1,clientPort=3014,frontend=true,serverType=gate locally
[2014-05-29 17:47:41.728] [INFO] pomelo-admin - [/Users/mymac/cd-standard/cityofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-admin/lib/consoleService.js] try to connect master: "master", "127.0.0.1", 3005
[2014-05-29 17:47:42.248] [INFO] pomelo - [/Users/mymac/cd-standard/cityofpomelo/game-server/node_modules/pomelo/lib/application.js] application inited: "gate-server-1"
[2014-05-29 17:47:42.270] [INFO] pomelo - [/Users/mymac/cd-standard/cityofpomelo/game-server/node_modules/pomelo/lib/application.js] application inited: "game-server-1"
[2014-05-29 17:47:42.300] [INFO] pomelo - [/Users/mymac/cd-standard/cityofpomelo/game-server/node_modules/pomelo/lib/application.js] "master-server-1" enter after start...
[2014-05-29 17:47:42.301] [INFO] pomelo - [/Users/mymac/cd-standard/cityofpomelo/game-server/node_modules/pomelo/lib/application.js] "master-server-1" finish start
[2014-05-29 17:47:42.301] [INFO] pomelo - [/Users/mymac/cd-standard/cityofpomelo/game-server/node_modules/pomelo/lib/application.js] "master-server-1" startup in 2970 ms
[2014-05-29 17:47:42.310] [INFO] pomelo - [/Users/mymac/cd-standard/cityofpomelo/game-server/node_modules/pomelo/lib/application.js] application inited: "connector-server-1"
[2014-05-29 17:47:44.383] [INFO] console - info: socket.io started
[2014-05-29 17:47:44.494] [INFO] console - info: socket.io started
[2014-05-29 17:47:44.498] [INFO] pomelo-admin - [/Users/mymac/cd-standard/cityofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-admin/lib/consoleService.js] try to connect master: "game", "127.0.0.1", 3005
[2014-05-29 17:47:44.674] [INFO] pomelo-admin - [/Users/mymac/cd-standard/cityofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-admin/lib/consoleService.js] try to connect master: "connector", "127.0.0.1", 3005
[2014-05-29 17:47:44.766] [INFO] pomelo-admin - [/Users/mymac/cd-standard/cityofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-admin/lib/consoleService.js] try to connect master: "gate", "127.0.0.1", 3005
[2014-05-29 17:47:44.869] [INFO] pomelo - [/Users/mymac/cd-standard/cityofpomelo/game-server/node_modules/pomelo/lib/application.js] "connector-server-1" enter after start...
[2014-05-29 17:47:44.873] [INFO] pomelo - [/Users/mymac/cd-standard/cityofpomelo/game-server/node_modules/pomelo/lib/application.js] "connector-server-1" finish start
[2014-05-29 17:47:44.974] [INFO] pomelo - [/Users/mymac/cd-standard/cityofpomelo/game-server/node_modules/pomelo/lib/application.js] "connector-server-1" startup in 2186 ms
[2014-05-29 17:47:45.084] [INFO] pomelo - [/Users/mymac/cd-standard/cityofpomelo/game-server/node_modules/pomelo/lib/application.js] "gate-server-1" enter after start...
[2014-05-29 17:47:45.091] [INFO] pomelo - [/Users/mymac/cd-standard/cityofpomelo/game-server/node_modules/pomelo/lib/application.js] "gate-server-1" finish start
[2014-05-29 17:47:45.092] [INFO] pomelo - [/Users/mymac/cd-standard/cityofpomelo/game-server/node_modules/pomelo/lib/application.js] "gate-server-1" startup in 2391 ms
[2014-05-29 17:47:45.161] [INFO] pomelo - [/Users/mymac/cd-standard/cityofpomelo/game-server/node_modules/pomelo/lib/application.js] "game-server-1" enter after start...
[2014-05-29 17:47:45.164] [INFO] pomelo - [/Users/mymac/cd-standard/cityofpomelo/game-server/node_modules/pomelo/lib/application.js] "game-server-1" finish start
[2014-05-29 17:47:45.176] [INFO] pomelo - [/Users/mymac/cd-standard/cityofpomelo/game-server/node_modules/pomelo/lib/application.js] "game-server-1" startup in 2898 ms
[2014-05-29 17:47:45.177] [INFO] pomelo - [/Users/mymac/cd-standard/cityofpomelo/game-server/node_modules/pomelo/lib/modules/watchdog.js] all servers startup in 5846 ms
正想弄一個簡單的card game, 我用cocos2d-js 3.x 和 pomelo-cocos2d-jsb 連接成功了, apk 都可以運行.
現在研究你的cityofpomelo, cocos2d-js 2.x 的compile 方法還在試...
想問一下, cityofpomelo 可以結合 pomelo-cocos2d-jsb 再compile 做apk 嗎?
localhost的机子可以访问
自己的ip机子可以访问
局域网内其他人的ip地址无法访问
修改servers.js为本机ip后客户端连接报错
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.