Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected card drop from player AI #214

Open
lifegpc opened this issue Jul 8, 2022 · 3 comments
Open

Unexpected card drop from player AI #214

lifegpc opened this issue Jul 8, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@lifegpc
Copy link

lifegpc commented Jul 8, 2022

服务器错误

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)
@Gaeric
Copy link
Collaborator

Gaeric commented Jul 8, 2022

能提供bug时桌面的截图吗? 我们需要了解一下当时玩家和AI的手牌状态已便于快速确认问题

@lifegpc
Copy link
Author

lifegpc commented Jul 9, 2022

没截图,当时就是玩家手牌有50多张,AI就几张

@donle
Copy link
Owner

donle commented Jul 19, 2022

和一些虚拟牌的弃置处理有点关系,目前这个问题有点不稳定

@donle donle added the bug Something isn't working label Sep 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants