LOGIN
User Name
Password
Remember me


Register...Forgot password?
Main menu
Leagues
Gonzaga
Blue Max
Cartagena
Wooden Ships...
King Me!
VampiRing
Forum Message
Previous messagePost on the new forumNext message

City:Roma IT
Personal Data:Male,
HomePage or other cool site:http://www.usnb.it
Membership14years 310days ago.
Last Login10days 2h ago.
Last Move13days 18h ago.
Viridovix is currently Offline!Send a mail to Viridovix


Message header
Area/Game:Blue Max
Topic:Program code error
Subject:Re: Chit frequency
Posted by: Viridovix - 12years 243days ago.
Message text
GraysGhost wrote:
bltzlfsk wrote:
And after further thought, would statistics need to be cut off for a before and after on the correction date?


Surely all it needs is for every chit to be given a unique identifier and in the chit allocation subroutine a check whereby an allocated chit cannot be used again and the subroutine run again. Might take the server an extra second to run the whole programme but not a ridiculously large task.

As for the frequency. I'm open for suggestions but it isn't random as there are too many PK and FTE.


Well... I don't know how the routine is written but, usually, the approach in this case should be to list the chits in an array, then randomically swap two of them several times, then pick up the required chits from the new (dis)ordered list.

I follow this approach when I need to shuffle a deck and pick cards...



--- Message edited by Viridovix

Back to the messages list
Messages thread
Posting elapsed timePosted bySubject

12years 245days GraysGhost [BM][BUG] Chit frequency
12years 244days bltzlfsk Re: [BM][BUG] Chit frequency
12years 244days bltzlfsk Re: [BM][BUG] Chit frequency
 12years 244days GraysGhost Re: [BM][BUG] Chit frequency
  12years 243days Viridovix Re: [BM][BUG] Chit frequency
12years 244days markrendl Re: [BM][BUG] Chit frequency
 12years 243days GraysGhost Re: [BM][BUG] Chit frequency
  12years 243days scotireb Re: [BM][BUG] Chit frequency
  12years 243days markrendl Re: [BM][BUG] Chit frequency
   12years 243days GraysGhost Re: [BM][BUG] Chit frequency
Next thread
Posting elapsed timePosted bySubject

12years 241days Zif [BM][OT] 1000th game won
12years 241days dcr66 Re: [BM][OT] 1000th game won
12years 241days pokerguy Re: [BM][OT] 1000th game won
12years 241days scotireb Re: [BM][OT] 1000th game won
Previous thread
Posting elapsed timePosted bySubject

12years 257days BazJP [BM][OT] time to say goodbye
12years 257days moonglum01 Re: [BM][OT] time to say goodbye
12years 257days markrendl Re: [BM][OT] time to say goodbye
12years 257days TnT Re: [BM][OT] time to say goodbye
12years 257days BlackSheep Re: [BM][OT] time to say goodbye
12years 256days Mongoose Re: [BM][OT] time to say goodbye
12years 253days Viridovix Re: [BM][OT] time to say goodbye
12years 253days GraysGhost Re: [BM][OT] time to say goodbye
12years 253days Zif Re: [BM][OT] time to say goodbye
 12years 251days Longneck Re: [BM][OT] time to say goodbye
12years 246days imdog Re: [BM][OT] time to say goodbye
12years 243days DBurkeG Re: [BM][OT] time to say goodbye
Page generated in: 19.92188 milliseconds.