PDA

View Full Version : key for playeractiontype_id



pete314
09-17-2009, 01:16 PM
Hi, I would need a key for playeractiontype_id for all streets incase they are not the same.

Regards Pete.

fozzy71
09-20-2009, 01:34 PM
I have forwarded this thread to the developer for a reply.

Rvg72
09-21-2009, 12:02 AM
I grabbed a snippet of code that goes through each of the values. C = Call, F = Fold, X = Check, B = Bet, R = Raise so a Check Fold on the flop would be "XF"

if (Action == "")
return -1;
else if (Action == "F")
return 0;
else if (Action == "XF")
return 1;
else if (Action == "XCF")
return 2;
else if (Action == "XCCF")
return 3;
else if (Action == "XCCC")
return 4;
else if (Action == "XCCR")
return 5;
else if (Action == "XCC")
return 6;
else if (Action == "XCRF")
return 7;
else if (Action == "XCRC")
return 8;
else if (Action == "XCRR")
return 9;
else if (Action == "XCR")
return 10;
else if (Action == "XC")
return 11;
else if (Action == "XRF")
return 12;
else if (Action == "XRCF")
return 13;
else if (Action == "XRCC")
return 14;
else if (Action == "XRCR")
return 15;
else if (Action == "XRC")
return 16;
else if (Action == "XRRF")
return 17;
else if (Action == "XRRC")
return 18;
else if (Action == "XRRR")
return 19;
else if (Action == "XRR")
return 20;
else if (Action == "XR")
return 21;
else if (Action == "X")
return 22;
else if (Action == "BF")
return 23;
else if (Action == "BCF")
return 24;
else if (Action == "BCCF")
return 25;
else if (Action == "BCCC")
return 26;
else if (Action == "BCCR")
return 27;
else if (Action == "BCC")
return 28;
else if (Action == "BCRF")
return 29;
else if (Action == "BCRC")
return 30;
else if (Action == "BCRR")
return 31;
else if (Action == "BCR")
return 32;
else if (Action == "BC")
return 33;
else if (Action == "BRF")
return 34;
else if (Action == "BRCF")
return 35;
else if (Action == "BRCC")
return 36;
else if (Action == "BRCR")
return 37;
else if (Action == "BRC")
return 38;
else if (Action == "BRRF")
return 39;
else if (Action == "BRRC")
return 40;
else if (Action == "BRRR")
return 41;
else if (Action == "BRR")
return 42;
else if (Action == "BR")
return 43;
else if (Action == "B")
return 44;
else if (Action == "CF")
return 45;
else if (Action == "CCF")
return 46;
else if (Action == "CCCF")
return 47;
else if (Action == "CCCC")
return 48;
else if (Action == "CCCR")
return 49;
else if (Action == "CCC")
return 50;
else if (Action == "CCRF")
return 51;
else if (Action == "CCRC")
return 52;
else if (Action == "CCRR")
return 53;
else if (Action == "CCR")
return 54;
else if (Action == "CC")
return 55;
else if (Action == "CRF")
return 56;
else if (Action == "CRCF")
return 57;
else if (Action == "CRCC")
return 58;
else if (Action == "CRCR")
return 59;
else if (Action == "CRC")
return 60;
else if (Action == "CRRF")
return 61;
else if (Action == "CRRC")
return 62;
else if (Action == "CRRR")
return 63;
else if (Action == "CRR")
return 64;
else if (Action == "CR")
return 65;
else if (Action == "C")
return 66;
else if (Action == "RF")
return 67;
else if (Action == "RCF")
return 68;
else if (Action == "RCCF")
return 69;
else if (Action == "RCCC")
return 70;
else if (Action == "RCCR")
return 71;
else if (Action == "RCC")
return 72;
else if (Action == "RCRF")
return 73;
else if (Action == "RCRC")
return 74;
else if (Action == "RCRR")
return 75;
else if (Action == "RCR")
return 76;
else if (Action == "RC")
return 77;
else if (Action == "RRF")
return 78;
else if (Action == "RRCF")
return 79;
else if (Action == "RRCC")
return 80;
else if (Action == "RRCR")
return 81;
else if (Action == "RRC")
return 82;
else if (Action == "RRRF")
return 83;
else if (Action == "RRRC")
return 84;
else if (Action == "RRRR")
return 85;
else if (Action == "RRR")
return 86;
else if (Action == "RR")
return 87;
else if (Action == "R")
return 88;

pete314
09-22-2009, 03:49 AM
Thanks this is just want I was looking for.

Regards Pete