Code Monkey home page Code Monkey logo

srvpro's Introduction

SRVPro

一个YGOPro服务器。

现用于萌卡YGOPro 233服YGOPro Koishi服

支持功能

  • Linux上运行
  • Windows上运行
  • 玩家输入同一房名约战
  • 玩家不指定房间名,自动匹配在线玩家
  • 房间列表json
  • 广播消息
  • 召唤台词
  • 先行卡一键更新
  • WindBot在线AI
  • 萌卡用户登陆
  • 竞赛模式锁定玩家卡组
  • 竞赛模式后台保存录像
  • 竞赛模式自动加时赛系统(规则可调)
    • 0 正常加时赛规则
    • 1 YGOCore战队联盟第十二届联赛使用规则
    • 2 正常加时赛规则 + 1胜规则
    • 3 2018年7月适用的OCG/TCG加时赛规则
  • 断线重连

不支持功能

  • 在线聊天室

使用方法

  • 可参考wiki安装

  • 手动安装:

  • node ygopro-server.js即可运行

  • 简易的控制台在 http://srvpro.ygo233.com/dashboard.htmlhttp://srvpro-cn.ygo233.com/dashboard.html

  • 使用本项目的Docker镜像: https://hub.docker.com/r/mycard/ygopro-server/

    • 镜像标签

      • mycard/ygopro-server:latest: 完整镜像
      • mycard/ygopro-server:lite: 基本镜像,云录像和人机对战功能需要配合redisnanahira/windbot这两个镜像使用。
    • 端口

      • 7911: YGOPro端口
      • 7922: 管理后台端口
    • 数据卷

      • /ygopro-server/config: SRVPro配置文件数据卷
      • /ygopro-server/ygopro/expansions: YGOPro额外卡片数据卷
      • /ygopro-server/decks: 竞赛模式卡组数据卷
      • /ygopro-server/replays: 竞赛模式录像数据卷
    • 若使用竞赛模式启动服务器,建议把启动命令修改为pm2-docker start /ygopro-server/data/pm2-docker-tournament.js

高级功能

开发计划

  • 重做CTOS和STOC部分
  • 模块化附加功能
    • 房名代码
    • 随机对战
    • 召唤台词
    • WindBot
    • 云录像
    • 比赛模式
    • 先行卡更新
  • 用户账号系统和管理员账号系统
  • 云录像更换存储方式

TODO

  • refactoring CTOS and STOC
  • change features to modules
    • room name parsing
    • random duel
    • summon dialogues
    • WindBot
    • cloud replay
    • tournament mode
    • expansions updater
  • user and admin account system
  • new database for cloud replay

License

SRVPro

Copyright (C) 2013-2018 MoeCube Team

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.

srvpro's People

Contributors

purerosefallen avatar mercury233 avatar zh99998 avatar pokeboyexn avatar kservantes avatar lsty avatar jambalaya56562 avatar yuzurisa avatar khriskh avatar vlelg avatar wyykak avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.