BetSelection.cc

Public software => Members' software => Ralph's Bot => Topic started by: Ralph on January 20, 2013, 04:39:21 PM

Title: Working on fixing some problems with the bot
Post by: Ralph on January 20, 2013, 04:39:21 PM
If the server at the casino not respond or has connection problems, the bot could try to start place bets while the table still was locked. This is fixed (but still not for downloading please wait until I tell it is an update).  This is not very easy to fix, it is possible to loop wait until the casino unlock the table, but it can happen it never does or it take very long time. Then the program will hang. The solution I have coded is it waits for the casino maximum 30 seconds, if the casino is not responding during 30 seconds, the bot will turn autospin off, and we have to restart. The scripts will keep theire values so the play will resume when we start again. In my testing I had 240 chips in play, and the bot never placed before the casino was ready. Sometimes the graphics in the game have not time to update, it can looks not every bet are placed, but it is, as with the casino autospin, the casino not always wait for the graphics to update, and start spinning before.
This can happen only when very large numbers of chips are placed.


Still I have to fix the history display, if the casino have connection problem, the history display can miss a number and duplicate a number. I will look into that in the coming week, if it is easy to fix, it will come in the update during the week.
Otherwise I will upload it anyhow, as the first problem is more annoying.


I post when it is uploaded.
Title: Re: Working on fixing some problems with the bot
Post by: TwoCatSam on January 20, 2013, 10:22:08 PM
Thank you, Ralph, for all your hard work.

Sam
Title: Re: Working on fixing some problems with the bot
Post by: TwisterUK on January 22, 2013, 10:05:02 PM
Yes, thank you Ralph  :applause: