Coder Social home page Coder Social logo

sgs's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sgs's Issues

木牛流马BUG

装备区的木牛流马中有数张牌,当其被弃置时,其区域中的牌置入弃牌堆;

当玩家再次摸到此前因此方式进入弃牌堆的牌时,牌的下方有木流牛马标记;使用此牌时,读条消失,疑似游戏已崩溃;

游戏方式:2人身份
游戏武将:主:黄忠, 反:曹植
相关卡牌:木牛流马中存放的藤甲

Unexpected card drop from player AI

服务器错误

D:\sgs\src\server\build\core\player\player.js:281
                throw new Error(`Unexpected card drop from player ${this.Name}`);
                      ^

Error: Unexpected card drop from player AI
    at SmartPlayer.dropCards (D:\sgs\src\server\build\core\player\player.js:281:23)
    at PveGameProcessor.moveCardInGameboard (D:\sgs\src\server\build\core\game\game_processor\game_processor.standard.js:1272:22)
    at D:\sgs\src\server\build\core\game\game_processor\game_processor.standard.js:1184:32
    at PveGameProcessor.StandardGameProcessor.iterateEachStage (D:\sgs\src\server\build\core\game\game_processor\game_processor.standard.js:64:27)
    at async PveGameProcessor.onHandleMoveCardEvent (D:\sgs\src\server\build\core\game\game_processor\game_processor.standard.js:1171:16)
    at async PveGameProcessor.onHandleIncomingEvent (D:\sgs\src\server\build\core\game\game_processor\game_processor.standard.js:727:17)
    at async ServerRoom.moveCards (D:\sgs\src\server\build\core\room\room.server.js:1245:9)
    at async WrappedSkillConstructor.onEffect (D:\sgs\src\server\build\core\skills\game_mode\pve\pve_chaiyue.js:39:13)
    at async D:\sgs\src\server\build\core\game\game_processor\game_processor.standard.js:1020:17
    at async PveGameProcessor.StandardGameProcessor.iterateEachStage (D:\sgs\src\server\build\core\game\game_processor\game_processor.standard.js:64:21)

standard skill tuxi bug

Assert Log:
(node:991) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'length' of undefined at WrappedSkillConstructor.onEffect (/home/sgs/Game/pve_classic/src/server/build/core/skills/characters/standard/tuxi.js:36:43) at iterateEachStage (/home/sgs/Game/pve_classic/src/server/build/core/game/game_processor/game_processor.standard.js:1020:73) at PveClassicGameProcessor.StandardGameProcessor.iterateEachStage (/home/sgs/Game/pve_classic/src/server/build/core/game/game_processor/game_processor.standard.js:64:27) at process._tickCallback (internal/process/next_tick.js:68:7) (node:991) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 9)

陷阵BUG

陷阵:出牌阶段限一次,你可以与一名角色拼点,若你:赢,此阶段内你无视其防具,对其使用牌无距离和次数限制,且当你使用【杀】或普通锦囊牌仅指定唯一目标时,可令其成为目标;没赢,你本回合内不能使用【杀】且你的【杀】不计入手牌上限。

BUG:拼点没赢时杀无法弃置,但是计入手牌上限;
对局:斗地主

Bug Record 2022/02/02

  1. 龙神需要重刷新页面 ✔
  2. 虚拟牌不变暗
  3. 先率翻译问题 × 无法复现
  4. flag 排版问题
  5. 狼灭 翻译 ✔
  6. (偶发)聊天tip不消失
  7. 托管自动触发陷嗣,toId为空
  8. unexpected card drop from .....
  9. 测试服夺锐发动技能报错: dev img loader 废除装备栏图片 import 了 url ✔
  10. 笔伐 翻译 ✔
  11. 裸衣描述修改 ✔

TSError: ⨯ Unable to compile TypeScript

求教 类型错误

复现方法:按照文档启动server
报错信息:

  1. ../core/game/game_processor/game_processor.pve_classic.ts:254:32 - error TS2488: Type 'unknown' must have a 'Symbol.iterator' method that returns an iterator.
  2. ../core/network/socket.server.ts:190:47 - error TS2345: Argument of type 'ServerRoom' is not assignable to parameter of type 'Room'.

诚心求教

义绝BUG

关羽对目标角色使用义绝,目标角色展示黑色手牌后,关羽无法对其使用牌(诸如杀,顺手牵羊等)

npm install安装依赖时发生冲突

在按照readme进行第三个npm install时有如下错误

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR!   react@"^17.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8.0 || 16.9.0-alpha.0" from [email protected]
npm ERR! node_modules/mobx-react
npm ERR!   mobx-react@"^6.1.5" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /home/lxb007981/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/lxb007981/.npm/_logs/2022-03-02T16_14_47_927Z-debug-0.log

如何复现:

git clone [email protected]:donle/sgs.git
cd sgs
npm install
cd src/server
npm install
cd ../ui/platforms/desktop
npm install

环境信息:

Environment Info:

  System:
    OS: Linux 5.10 Ubuntu 18.04.2 LTS (Bionic Beaver)
    CPU: (8) x64 Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
  Binaries:
    Node: 16.13.2 - ~/.nvm/versions/node/v16.13.2/bin/node
    Yarn: 1.22.17 - /usr/bin/yarn
    npm: 8.3.1 - ~/.nvm/versions/node/v16.13.2/bin/npm

Bug Record 2021/02/16

  • 1. 手牌上限突破体力上限

    • 模式:斗地主
    • 出现条件:未知
    • 参考线索:程普(一号位)、周泰(二号位,不屈牌 x 1)、潘马(三号位,阵亡)
  • 2. 【杀】的目标不为潘马,却会询问夺刀

    • 模式:斗地主
  • 3. 界李儒顺了荀彧木牛,结束不触发绝策

    • 模式:斗地主
  • 4. 【闪电】生效后,弃置弃牌堆的日志没有显示牌名

    • 模式:斗地主
  • 5. 虞翻”直言“描述,”其他角色“应改为”一名角色“

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.