donle / sgs Goto Github PK
View Code? Open in Web Editor NEWHome Page: http://dsanguosha.online/sgs
License: GNU General Public License v3.0
Home Page: http://dsanguosha.online/sgs
License: GNU General Public License v3.0
复现方法:按照文档启动server
报错信息:
诚心求教
获得牌时,无法使用清俭
想把这个repo 部署到heroku, 能教教吗
游戏模式:斗地主
曹仁身份:农民
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:拼点没赢时杀无法弃置,但是计入手牌上限;
对局:斗地主
在按照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
周瑜使用卡牌发动反间时,未展示此牌
装备区的木牛流马中有数张牌,当其被弃置时,其区域中的牌置入弃牌堆;
当玩家再次摸到此前因此方式进入弃牌堆的牌时,牌的下方有木流牛马标记;使用此牌时,读条消失,疑似游戏已崩溃;
游戏方式:2人身份
游戏武将:主:黄忠, 反:曹植
相关卡牌:木牛流马中存放的藤甲
服务器错误
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)
涉猎选牌时不能取消,游戏体验较差,可按曹冲称象选牌框修改
醇在濒死时触发会导致挂死
牌阶段时,点击界面的取消后,无法点击结束,导致无法手动结束回合,影响游戏体验
游戏模式:2人身份
游戏模式及日志可见群聊图片,无法上传,不附图
1. 手牌上限突破体力上限
2. 【杀】的目标不为潘马,却会询问夺刀
3. 界李儒顺了荀彧木牛,结束不触发绝策
4. 【闪电】生效后,弃置弃牌堆的日志没有显示牌名
5. 虞翻”直言“描述,”其他角色“应改为”一名角色“
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.