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 a replyNext message

City:Roma IT
Personal Data:Male,
HomePage or other cool site:http://www.usnb.it
Membership14years 242days ago.
Last Login14h 54' ago.
Last Move6h 39' 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 175days 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 176days GraysGhost [BM][BUG] Chit frequency
12years 176days bltzlfsk Re: [BM][BUG] Chit frequency
12years 176days bltzlfsk Re: [BM][BUG] Chit frequency
 12years 175days GraysGhost Re: [BM][BUG] Chit frequency
  12years 175days Viridovix Re: [BM][BUG] Chit frequency
12years 175days markrendl Re: [BM][BUG] Chit frequency
 12years 175days GraysGhost Re: [BM][BUG] Chit frequency
  12years 175days scotireb Re: [BM][BUG] Chit frequency
  12years 175days markrendl Re: [BM][BUG] Chit frequency
   12years 175days GraysGhost Re: [BM][BUG] Chit frequency
Next thread
Posting elapsed timePosted bySubject

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

12years 189days BazJP [BM][OT] time to say goodbye
12years 189days moonglum01 Re: [BM][OT] time to say goodbye
12years 189days markrendl Re: [BM][OT] time to say goodbye
12years 189days TnT Re: [BM][OT] time to say goodbye
12years 189days BlackSheep Re: [BM][OT] time to say goodbye
12years 188days Mongoose Re: [BM][OT] time to say goodbye
12years 185days Viridovix Re: [BM][OT] time to say goodbye
12years 184days GraysGhost Re: [BM][OT] time to say goodbye
12years 184days Zif Re: [BM][OT] time to say goodbye
 12years 183days Longneck Re: [BM][OT] time to say goodbye
12years 178days imdog Re: [BM][OT] time to say goodbye
12years 175days DBurkeG Re: [BM][OT] time to say goodbye
Page generated in: 38.67188 milliseconds.