Poker-AI.org Poker AI and Botting Discussion Forum 2015-02-23T20:01:28+00:00 http://poker-ai.org/phpbb/feed.php?f=26&t=2877 2015-02-23T20:01:28+00:00 2015-02-23T20:01:28+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2877&p=6595#p6595 <![CDATA[Re: RDP (Remote Desktop)]]> 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,....

Statistics: Posted by SkyBot — Mon Feb 23, 2015 8:01 pm


]]>
2015-02-23T15:00:02+00:00 2015-02-23T15:00:02+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2877&p=6593#p6593 <![CDATA[Re: RDP (Remote Desktop)]]> 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.

Statistics: Posted by corintio — Mon Feb 23, 2015 3:00 pm


]]>
2015-02-23T13:54:00+00:00 2015-02-23T13:54:00+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2877&p=6592#p6592 <![CDATA[Re: RDP (Remote Desktop)]]> corintio wrote:

It is working pretty well, but the screen capture time is not that good (~250ms for 1440x900).

I use Imlib2 from linux to take a screenshot of the VM, that only takes milli seconds.

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.

Statistics: Posted by SkyBot — Mon Feb 23, 2015 1:54 pm


]]>
2015-02-23T13:33:10+00:00 2015-02-23T13:33:10+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2877&p=6591#p6591 <![CDATA[Re: RDP (Remote Desktop)]]> concretemixer wrote:

But such approach requires running the bot sofware on host PC.

And why is that a bad thing?

Statistics: Posted by corintio — Mon Feb 23, 2015 1:33 pm


]]>
2015-02-23T10:34:42+00:00 2015-02-23T10:34:42+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2877&p=6590#p6590 <![CDATA[Re: RDP (Remote Desktop)]]> corintio wrote:

spears wrote:
Sorry this doesn't help you but I'm intrigued. Why do you want to run an rdp application inside the vm? Isn't this another huge flag?


Hi spears, I think I didn't make myself clear. Right now my setup is: Casino software is installed in a Windows VM (VirtualBox). My bot runs on the host system and controls the casino sw via VirtualBox API (screencaptures, mouse and kbd events). I don't have any "suspect" software installed inside the Windows VM.

It is working pretty well, but the screen capture time is not that good (~250ms for 1440x900).


I used to have setup like this, and I just scrapped VirtualBox window. But such approach requires running the bot sofware on host PC.

Statistics: Posted by concretemixer — Mon Feb 23, 2015 10:34 am


]]>
2015-02-22T19:25:49+00:00 2015-02-22T19:25:49+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2877&p=6583#p6583 <![CDATA[Re: RDP (Remote Desktop)]]> Statistics: Posted by spears — Sun Feb 22, 2015 7:25 pm


]]>
2015-02-22T19:19:44+00:00 2015-02-22T19:19:44+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2877&p=6582#p6582 <![CDATA[Re: RDP (Remote Desktop)]]> Statistics: Posted by corintio — Sun Feb 22, 2015 7:19 pm


]]>
2015-02-22T19:14:03+00:00 2015-02-22T19:14:03+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2877&p=6581#p6581 <![CDATA[Re: RDP (Remote Desktop)]]> Statistics: Posted by spears — Sun Feb 22, 2015 7:14 pm


]]>
2015-02-22T18:48:07+00:00 2015-02-22T18:48:07+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2877&p=6580#p6580 <![CDATA[Re: RDP (Remote Desktop)]]> spears wrote:

Sorry this doesn't help you but I'm intrigued. Why do you want to run an rdp application inside the vm? Isn't this another huge flag?


Hi spears, I think I didn't make myself clear. Right now my setup is: Casino software is installed in a Windows VM (VirtualBox). My bot runs on the host system and controls the casino sw via VirtualBox API (screencaptures, mouse and kbd events). I don't have any "suspect" software installed inside the Windows VM.

It is working pretty well, but the screen capture time is not that good (~250ms for 1440x900).

VirtualBox supports RDP without installing or configuring anything in the guest system. The casino sw wouldn't be able to detect anything abnormal. And based on my tests with RDP, it is exceptionally fast for capturing the screen (locally, not via network). So my idea is to use RDP instead of the VB API.

Another advantage of using RDP is that I could install more than one casino sw in the cloud (in different hosts) and my bot could control them remotely.

Statistics: Posted by corintio — Sun Feb 22, 2015 6:48 pm


]]>
2015-02-22T18:34:07+00:00 2015-02-22T18:34:07+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2877&p=6579#p6579 <![CDATA[Re: RDP (Remote Desktop)]]> Statistics: Posted by spears — Sun Feb 22, 2015 6:34 pm


]]>
2015-02-22T17:09:33+00:00 2015-02-22T17:09:33+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2877&p=6578#p6578 <![CDATA[Re: RDP (Remote Desktop)]]>
I've seen that list before. It is not specific for RDP and all (free) implementations on that are very old. I need to use specificaly RDP, not VNC, nor anything else. That's because I'm using VirtualBox and it has RDP out-of-the-box, so I there is no need to install anything in the VM, avoiding raising any more red flags (besides running in a VM...)

All implementations I found on the Net are forks from the properJavaRDP. This is a working implementation, I could get it working with VirtualBox 4.3. I still have to test if it is stable enough to be used for a full session (6-10 hours).

My current plan is to build a library using this code, but from what I saw, it wouldn't be a 1-2-3 simple task, so that's why I decided to ask here first before doing this, as I have lots of things to code/improve in my bot and my current screen capture code is slow but fast enough for my needs.

If anyone has something to add, please feel free to comment :)

Statistics: Posted by corintio — Sun Feb 22, 2015 5:09 pm


]]>
2015-02-22T07:04:11+00:00 2015-02-22T07:04:11+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2877&p=6569#p6569 <![CDATA[Re: RDP (Remote Desktop)]]> corintio wrote:

Is anyone using RDP with Java? Any tips on a good RDP Java library? ...


no, but here are some at http://en.wikipedia.org/wiki/Comparison_of_Java_Remote_Desktop_projects.

Statistics: Posted by rtayek — Sun Feb 22, 2015 7:04 am


]]>
2015-02-22T19:27:41+00:00 2015-02-22T01:17:19+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2877&p=6567#p6567 <![CDATA[RDP (Remote Desktop)]]> client Java library? Searching in the new and old forum indicates that RDP has been discussed before, but nothing conclusive and does not have any indication of being used with Java.

If any member has any "private" implementation, send me a private msg, as I have some code to trade.

Thanks,
Corintio.

Statistics: Posted by corintio — Sun Feb 22, 2015 1:17 am


]]>