#23406: "Game doesn't load."
What is this report about?
What happened ? Please select from below
What happened ? Please select from below
Please check if there is already a report on the same subject
If yes, please VOTE for this report. Reports with the most votes are taken care of in PRIORITY!
| # | Status | Votes | Game | Type | Title | Last update |
|---|
Detailed description
-
• Please copy/paste the error message you see on your screen, if any.
Game stuck at loading page
-
• Please explains what you wanted to do, what you do and what happened
• What is your browser?
Google Chrome v86
-
• Please copy/paste the text displayed in English instead of your language. If you have a screenshot of this bug (good practice), you can use a picture hosting service of your choice (snipboard.io for example) to upload it and copy/paste the link here. Is this text available in the translation system? If yes, has it been translated for more than 24 hours?
Game stuck at loading page
• What is your browser?
Google Chrome v86
-
• Please explain your suggestion precisely and concisely so that it's as easy as possible to understand what you mean.
Game stuck at loading page
• What is your browser?
Google Chrome v86
-
• What was displayed on the screen when you were blocked (Blank screen? Part of the game interface? Error message?)
Game stuck at loading page
• What is your browser?
Google Chrome v86
-
• Which part of the rules was not respected by the BGA adaptation
Game stuck at loading page
-
• Is the rules violation visible on game replay? If yes, at which move number?
• What is your browser?
Google Chrome v86
-
• Which was the game action you wanted to do?
Game stuck at loading page
-
• What do you try to do to trigger this game action?
-
• What happened when you try to do this (error message, game status bar message, ...)?
• What is your browser?
Google Chrome v86
-
• At which step of the game did the problem occurs (what was the current game instruction)?
Game stuck at loading page
-
• What happened when you try to do a game action (error message, game status bar message, ...)?
• What is your browser?
Google Chrome v86
-
• Please describe the display issue. If you have a screenshot of this bug (good practice), you can use a picture hosting service of your choice (snipboard.io for example) to upload it and copy/paste the link here.
Game stuck at loading page
• What is your browser?
Google Chrome v86
-
• Please copy/paste the text displayed in English instead of your language. If you have a screenshot of this bug (good practice), you can use a picture hosting service of your choice (snipboard.io for example) to upload it and copy/paste the link here. Is this text available in the translation system? If yes, has it been translated for more than 24 hours?
Game stuck at loading page
• What is your browser?
Google Chrome v86
-
• Please explain your suggestion precisely and concisely so that it's as easy as possible to understand what you mean.
Game stuck at loading page
• What is your browser?
Google Chrome v86
Report history
Specifically, the 8th parameter to the gameui.completeetup method call is missing (after socketio in the below snippet, as taken from JS console debugger from the table this bug report references):
gameui.completesetup("pedro", "Pedro", 109158620, 88492060, /*archivemask_begin*/"301ec5cc3f304753ffe3068fdad20f6b"/*archivemask_end*/, "{COMETD_PRIVATE_CHANNEL}", "socketio", , { "39141269": { "user_id"...
Is there a way to abandon the game without being able to access it?
@lanizer: this parameter corresponds to the gamedatas returned by getAllDatas. Maybe in some cases it sends an empty result?
It's definitely caused by getAllDatas() in php with the symptoms showing up in the javascript when the data returned is parsed improperly.
This will reproduce it assuming your db has the similar content:
protected function getAllDatas() {
$result = array();
$result['players'] = self::getCollectionFromDB("SELECT player_id, player_beginner FROM player");
self::dump('players', $result['players'];
return $result;
}
From the dump (copied below), it looks like -1 is maybe getting assigned to the player_beginner column in the db as a string instead of a signed int. The getAllDatas() function returns as intended, but the javascript can't handle the data it's getting. For convenience while developing, I was doing "SELECT * FROM player" planning to narrow the query later. This picked up the column even though I have no actual use for it.
players = array(4) {
[2304606]=>
array(2) {
["player_id"]=>
string(7) "2304606"
["player_beginner"]=>
string(16) "����������������"
}
[2304609]=>
array(2) {
["player_id"]=>
string(7) "2304609"
["player_beginner"]=>
string(16) "����������������"
}
[2304607]=>
array(2) {
["player_id"]=>
string(7) "2304607"
["player_beginner"]=>
string(16) "����������������"
}
[2304608]=>
array(2) {
["player_id"]=>
string(7) "2304608"
["player_beginner"]=>
string(16) "����������������"
}}
}
Add something to this report
- 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 a picture hosting service of your choice (snipboard.io for example) to upload it and copy/paste the link here.
