corintio wrote:
SkyBot wrote:
I use Imlib2 from linux to take a screenshot of the VM, that only takes milli seconds.
I read this when you mentioned it in another thread. But I'm developing and running on a Mac right now. Nevertheless the idea is good, I tried that in the beginning on my Mac, but I'm trying to stay platform agnostic, so VB API was the best choice. The speed is not good, but is "good enough" for now.
SkyBot wrote:
Also for cloud play: in my setup taking screenshot and scrapping is part of the "client" that sends the scraped info to the server and that replies what action to take.
Is your "client" running on the host or on the guest system? If it is on the host, and you want to move to the Cloud, then you won't be able to easily (and cheaply) run a VirtualBox VM inside a cloud instance. Basically because you can't run a VM inside another VM, you will need a dedicated server. So my idea is when (and if) moving to the cloud, I plan to use RDP in my bot to control a Windows instance via Terminal Services.
I did not think about cloud much because I assumed Stars is blocking cloud IPs because they are known, but no idea if they do that. But yes, I would need powerful cloud instances to run VMs in it. If they do not block cloud IPs I would probably just use them to set up VPNs and run the client and the server locally.
My client is on the host. So I can run it with many VMs, one poker network per VM. My client/server thing allows me to distribute the client as bootable USB-stick to people that want to run it with their poker accounts without them being able to steal my logic or mess things up, it boots to Linux and they cannot even log in.
Edit: one advantage of screenshotting from the Host is that I'm VM agnostic, I can use VirtualBox, VMWare, Wine, RemoteDesktop,....