Alle rapporter
That Time You Killed Me rapporterer
#98603: "JS: Can't place a seed where the opponent is (if we call with ajax, it work, though)"
fixed: Bug er blevet fixet
1
Hvad handler denne rapport om?
Hvad skete der? Vær venlig og vælg nedenunder
Regler: En regel i dette spil er ikke blevet overholdt
Detaljeret beskrivelse
• Hvilken del af reglerne blev ikke respekteret ved BGA-tilpasningen
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.• Er regel-brudddet synligt i e
Yes 14/09 - 17:34 (Timezone: France)• Hvilken browser bruger du?
Google Chrome v116
Rapporthistorik
14. sep 2023 17:41 •
Sylafrs • Fejlen er ikke blevet reproduceret af udviklere endnu:
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 • Fejlen er ikke blevet reproduceret af udviklere endnu:
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 • Fejlen er ikke blevet reproduceret af udviklere endnu:
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!
Tilføj noget til denne rapport
Vær sød at tilføje, det du finder relevant for at vi kan løse fejlen i spillet eller forstå dit forslag:
- Et andet bord-ID / træk ID
- Løste F5 problemet?
- Skete problemet flere gange? Hver gang? Tilfældigt?
- Hvis du har et skærmbillede af denne fejl (god øvelse), kan du bruge Imgur.com til at uploade den og kopiere/indsætte linket her.