Jump to content

palacefan

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by palacefan

  1. [almost complete amateur here] i made an odds calcs in javascript then put into php on belief it is faster in this format you are welcome to browse the code for ideas it is up at www.dougs.cc however i dont think you can access the code part, so have taken a copy and put it at www.dougs.cc/code.txt as i say, i am happy for people to use the code, however if you use the majority of it, please donate a link or make mention, ta! (just something i found humerous, i asked similar of a guy who asked me to provide the code just to "look over". He said he had no intention to use it, but a day later this site appeared - notice any similarities??!!!) anyway, as for the gist - it forms an array of 7 cards, starting with the player's cards and the cards known and searches for (in roughly this order) royal flush, 4oak, flush, str8, 3of a kind, fh pair, 2pair the last four might appear wrong order, as most in descending order of strenth, hwover have to look for 3 of a kind before fh, it assigns a unique number based on hand strength, (for flush this is just one number, for others, it is based on the strength of hand in that category, so for a two pair, the number will uniquely determine the two difrferent pairs held) when it comes to comparring 7 card arrays, it then can compare the number - and if necessary ask to see kicker cards, for when the numbers match my friend mused an alternative method, of finding hand strength by computing all possible 5 card hands from the 7 given cards dont thnk this has benefits, as 7 choose 2 for each array = 21 possibilities, his method then created a unique 6 long vector however - hand strenth, top card, second card, third card 4th, 5th which made it easier comparing hands, as did not have to additionally request kickers though on other hand, my method might be speedier in only requestion kickers when needed anyway, will follow this thread with interest, as ever since i saw a 4 line sudoku solver, ive realsed how much you can improve your code.... regards
  2. on closer inspection, you can ignore my question on seeing account balances, i must have mispelt poker in the search not to have seen the plethora of results i dislike people who ask others to do their work for them wo trying themselves, which is why these forums seem a good place
  3. Dear BW I also have fiddled around with making a program for use with party poker, though I imagine mine is far more amateurish and ineffective than yours. Shortly after finishing, whcih had spent about 3 days using trial and error on play money i had the pop up code verification box. As I say, my prog is nothing deceptive, all it reads is the table balance of my player, so i wondered why i got the pop up. I wondered if it was because of my unusual plays in the previous days - play money tables and low limit ones - that had sparked it, so as off hand as possible requested why i got a pop up from party. it took about 6 emails, but finally they said it was a purely random process of who they picked , and also it was a fairly recent introduction. in short, i doubt you should be concerned it has found your program i did think abotu combatting the pop up, and thought the easiest method, rather than to try and read the code, would be simply to recognise when it appears and log off shortly afterwards you have three attempts after all. out of interest, how do you read from party screens - i have a very inefficient method to find the balance, by searching for the location of a particular shade of yellow. (the one matching the boxes round player's details), and have created a slightly more advanced version of pixel check sum is this how you have gone about things, or am i missing a trick - i have loads of debugging required as the shades of yellow seem to vary depending on screen positon so i hve to go over for all positons, if i can be botehred
×
×
  • Create New...