[3.2][3.3][DEV] Hangman - Resurrected

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Ideas Centre
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
Mike-on-Tour
Registered User
Posts: 505
Joined: Wed Jan 15, 2020 3:51 pm
Location: Germany
Name: Michael

Re: [3.2][3.3][DEV] Hangman - Resurrected

Post by Mike-on-Tour »

I tested this on two boards with a different number of terms available and got the same result: Out of a million tries every term is called roughly the same number of times which means (at least to me) that the array_rand() function which selects a term is working as randomly as it possibly could.

Since it may be possible that the usage of another PHP version and/or phpBB version may make a difference would you please tell me what versions of PHP and phpBB you are using?
Watz fo lunch?
If you like my extensions or my support please consider a donation: Image
User avatar
paulie
Registered User
Posts: 118
Joined: Thu Mar 30, 2017 3:41 pm
Location: Hull, East Yorkshire.

Re: [3.2][3.3][DEV] Hangman - Resurrected

Post by paulie »

Mike-on-Tour wrote: Tue Apr 16, 2024 5:18 pm I tested this on two boards with a different number of terms available and got the same result: Out of a million tries every term is called roughly the same number of times which means (at least to me) that the array_rand() function which selects a term is working as randomly as it possibly could.

Since it may be possible that the usage of another PHP version and/or phpBB version may make a difference would you please tell me what versions of PHP and phpBB you are using?
No problem: Using phpBB 3.3.11 with PHP version 8.2.17, Database Server MySQL(i) 8.0.32
'Life in the Air Age isn't all the brochures say ...'
User avatar
Mike-on-Tour
Registered User
Posts: 505
Joined: Wed Jan 15, 2020 3:51 pm
Location: Germany
Name: Michael

Re: [3.2][3.3][DEV] Hangman - Resurrected

Post by Mike-on-Tour »

One of the boards (phpBB 3.3.11) runs on PHP 8.2.12 but there should not be any unduly differences so at the moment I have no idea why the random selection of a term behaves so strange on your board.

If you are willing to try it I can PM you the file with the test Hangman main controller so I can take a look at the numbers of your board.
Watz fo lunch?
If you like my extensions or my support please consider a donation: Image
User avatar
paulie
Registered User
Posts: 118
Joined: Thu Mar 30, 2017 3:41 pm
Location: Hull, East Yorkshire.

Re: [3.2][3.3][DEV] Hangman - Resurrected

Post by paulie »

Mike-on-Tour wrote: Tue Apr 16, 2024 9:03 pm One of the boards (phpBB 3.3.11) runs on PHP 8.2.12 but there should not be any unduly differences so at the moment I have no idea why the random selection of a term behaves so strange on your board.

If you are willing to try it I can PM you the file with the test Hangman main controller so I can take a look at the numbers of your board.
I have no idea what that means! :lol:

But fine, if you want to PM me with the details of what's involved, I'll certainly have a think about it, thanks.
'Life in the Air Age isn't all the brochures say ...'
User avatar
SpIdErPiGgY
Registered User
Posts: 243
Joined: Sun May 02, 2021 2:11 pm
Location: Erpe-Mere, Aalst, BE
Name: Andy Dm

Re: [3.2][3.3][DEV] Hangman - Resurrected

Post by SpIdErPiGgY »

At the moment, I've created a Dutch .xml file with 1022 word, proverbs and sayings.

https://www.myarea51secrets.com/viewtopic.php?t=87
phpBB NL Extension translations, also on request.
--> Click Here: Myarea51secrets.com <--

Return to “Extensions in Development”