Hi all,
Though so many will say I stayed up till late to fight for the company it's been suggested I work for ... fiction is always stranger than reality.
My target today was giving a couple of final touches to a betting program to interface with the site.
ONLY FOR X-BLACKJACK at the moment.
You can find it at:
http://allforcazi.com/x-blackjack.exe
(free hosting with a 1GB per month transfer limit)
It is a self contained executable with no installation process involved. Everything should run smoothly, at least under 2000 and XP (I am developing using XP)
The interface resembles that of X-Games with exceptions
1. No card faces are shown. This ensures privacy, so that you can play anywhere without showing cards to anyone (you can still read the hands in text format) (colours are used to indicate winners/losers/tied/standing/dealing, but as this can also be sensible, it can also be disabled)
2. No progress bar, but an indication in seconds till the end of the round
3. BETS PLACED/MATCHED ARE NOT SHOWN (sorry but my time is limited right now), but you can guess.
4. Some extra options are available (the bot options)
The program is quite stable though from time to time it randomly (just like the game) crashes with odds of 598.00. It is also leaking memory somewhere, and though it can run fine for hours it will end up eating lots of memory.
It is multi-threaded to avoid GUI locking. I tried my best but I may have missed some kind of race or dead-lock condition. The game info update runs on a single thread and has it's own connection to the server. The other functions (deposit, withdraw, login) all run in different threads but share the same connection. The reasoning behind is that game info is updated often and independently of any other action, whereas other actions are not done in parallel.
A basic bot is implemented with two options:
1. Back or lay the specified stake eternally
or
2. Back or lay the specified stake n times (bot will autodisable after the n-th time)
The bot WILL NOT (at the moment) transfer funds from/to Betfair (it should only be necessary the "from" in case the entry point proves to be bad)
ENJOY (but don't waste your money)
Bookmarks