All reports
thattimeyoukilledme_displayed reports
#98603: "JS: Can't place a seed where the opponent is (if we call with ajax, it work, though)"
fixed: Bug has been fixed
1
What is this report about?
What happened ? Please select from below
Rules: a rule of the game has not been respected
Detailed description
• Which part of the rules was not respected by the BGA adaptation
You can place a seed if :
- No seed is at the cell
- You are at the cell or at an adjacent cell
Note: The php seems to allow the move, I manually called :
gameui.ajaxcall("/thattimeyoukilledme/thattimeyoukilledme/plantSeed.html", {
lock: !0,
pieceId: 27,
originEra: 'P',
originCell: 15,
targetPieceId: 3,
destinationEra: 'P',
destinationCell: 14
}, gameui, (function(t) {}
), ((t,e,a)=>{
t && gameui.setCandidateCells(gameui.activeEra, gameui.availableCells)
}
))
in the console.• Is the rules violation visible on game replay? If yes, at which move number?
Yes 14/09 - 17:34 (Timezone: France)• What is your browser?
Google Chrome v116
Report history
14. Sep 2023 17:41 •
Sylafrs • Bug has not been reproduced by delopers yet:
14. Sep 2023 17:44 • The bug description is :
JS: Can't place a seed where the opponent is (if we call with ajax, it work, though)
JS: Can't place a seed where the opponent is (if we call with ajax, it work, though)
Sylafrs • Bug has not been reproduced by delopers yet:
15. Sep 2023 15:02 • Just read the rules. So now I'm not sure.
Still, there is a bug. If the rule is that the cell must be completely empty, then php should check the ajax parameter !
Still, there is a bug. If the rule is that the cell must be completely empty, then php should check the ajax parameter !
Sir Heo • Bug has not been reproduced by delopers yet:
16. Sep 2023 10:26 •
27. Sep 2023 14:00 • Hi, my interpretation of the rules is that "empty" means no object at all, including an opponent. Moreover, from the spirit of the game point of view, an opponent in a cell would not allow you to do something that benefits you in a cell occupied by him/her :-).
There is a control in the code to check if the action is allowed at server level, probably I skipped somehow the plant action. Thanks for reporting it, I'll take a look.
And thanks for playing That Time You Killed Me!
There is a control in the code to check if the action is allowed at server level, probably I skipped somehow the plant action. Thanks for reporting it, I'll take a look.
And thanks for playing That Time You Killed Me!
Add something to this report
Please add here anything that seems relevant to reproduce this bug or understand your suggestion:
- Another table ID / move ID
- Did F5 solve the problem?
- Did the problem appears several time? Everytime? Randomly?
- If you have a screenshot of this bug (good practice), you can use Imgur.com to upload it and copy/paste the link here.