Page 1 of 1

Nobody sees the game to join

Posted: Tue Nov 24, 2020 11:44 am
by Flame
Dirs sirs! Can anybody explain why nobody sees this game to join.
No special terms in the game.

https://webdiplomacy.ru/board.php?gameID=10841

Re: Nobody sees the game to join

Posted: Tue Nov 24, 2020 4:10 pm
by jmo1121109
Use this tool on the game and see if it works. https://webdiplomacy.ru/admincp.php#resetMinimumBet

Re: Nobody sees the game to join

Posted: Tue Nov 24, 2020 7:05 pm
by Flame
Thank you. System returns successful operation but nothing has changed. I will now check if that script is up to date on my website.

Re: Nobody sees the game to join

Posted: Tue Nov 24, 2020 7:41 pm
by Flame
This trouble is only with UNRANKED games!

Re: Nobody sees the game to join

Posted: Tue Nov 24, 2020 8:20 pm
by jmo1121109
Can you share the version of the sql in the table wD_Misc, this could be a million different things depending on which version of the code you're running.

Re: Nobody sees the game to join

Posted: Tue Nov 24, 2020 8:23 pm
by Flame
if I change in DB in wD_Games minimumBet to 0 instead of NULL ---- "Join for" is shown.

Re: Nobody sees the game to join

Posted: Tue Nov 24, 2020 8:28 pm
by Flame
Ohhh.... I have customized the source-code 100500 times
The last versions that I control with the github was 1.54 (I think)

Re: Nobody sees the game to join

Posted: Tue Nov 24, 2020 8:33 pm
by Flame
So in fact we have the problem that it's not possible to join the UNRANKED game when smbd left the game - because there is not JOIN AS option on the gamepage.

The reason is that script will show such an option when MINIMUMBET will be 0.
But in all UNRANKED games we have this parameter set to NULL as default.

Re: Nobody sees the game to join

Posted: Tue Nov 24, 2020 9:15 pm
by tobi1
There might also be interferences with the vDip code used on your site, to make things further complex. There is a good chance that unranked games are treated slightly different in the vDiplomacy code for historic reasons (vDip already had its unranked game mode before unrated games were implemented on webdip). Although, I am not aware of any such issue (in the current version).

Re: Nobody sees the game to join

Posted: Tue Nov 24, 2020 9:22 pm
by Flame
tobi1 wrote:
Tue Nov 24, 2020 9:15 pm
There might also be interferences with the vDip code used on your site, to make things further complex. There is a good chance that unranked games are treated slightly different in the vDiplomacy code for historic reasons (vDip already had its unranked game mode before unrated games were implemented on webdip). Although, I am not aware of any such issue (in the current version).
have you faced such a problem with unranked games on vDip?

Re: Nobody sees the game to join

Posted: Tue Nov 24, 2020 9:39 pm
by tobi1
No, at least I am not aware of it.

But if I am not mistaken, on vDip unranked are treated on game creation in such a way, that they become the old unrated games. Unrated games on vDip were identified by a pot / bet = 0.
So if there is an issue with unranked games and invalid minimum bet values and it could not be reproduced on a clean webdip installation, I would start looking there.

But all this info is just from memory. Have not checked the code recently.