Track Topic
: rss

Topic: Any poker players here?

< older posts 21–28 of 28
Page 1 · 2
member
30 posts

Yeah, time is always a problem. As I said, I've not had a lot of experience with Java applets; I wasn't aware of the port-must-be-on-the-same-server restriction. However, the Java applet security restrictions are there to protect the client, not the server. It shouldn't be too difficult to get the browser to run a modified JAR. Have a look at this, it might give you some ideas:
http://www.csnc.ch/static/download/misc/ObjectInspectorV1.0.pdf

member
128 posts
Right then, i've downloaded the Windows version of the betdaq poker client and it turns out to be a setup.exe that install a few JAR files and a launcher exe. After hacking at the Applet JAR files, i discovered that the installed JARS are the same files as the ones stored on the server for Applet users. So now i know which files are required...
         
I decompiled the Client.exe in Windows and found the command prompt which launches the JAR files. After a substantial amount of dicking about, the Ubuntu version seems to be:
 It launches but i get an error that jredownloader.exe is missing or can't be run...i assume because it is not a Linux executable. So i reckon i need to decompile the JAR files and hop n' skip over the update checking class(es). But this is where i'm having problems. There are plenty of Java decompilers knocking around and i can open the JAR into .class files and then save them as .java source files. The problem is recompiling them because i only need to build a couple of .java files back into .class files and then drop them back into the JAR using an archiver....BUT, due to the multiple and various imports from interlinked classes, it looks like i need to import every class into a single project first. :(

Is there a quick and dirty way to get the JAR into Eclipse (or any other compiler) without needing to build a whole project from scratch and then import each .class file individually? Please note that i'm pretty dumb as far as Java is concerned, although i understand the bassic syntax and VERY simple compiler/launcher command prompts...
member
128 posts
member
128 posts
Bugger, they were automatically turned into links.... :(
member
128 posts
Looks like there were a few issues with direct copy/pasted code from OpenOffice. Here's the Java command propmpt for Ubuntu that is also missing above:

java -cp pokerclient.jar:resources.jar:ext-resources.jar ui.PokerClientApp
member
128 posts

Just thought i'd give an update for anyone interested. Target number one was to get the poker client running from my hard drive so that i could gather hand histories. I achieved that last week after a lot of dicking about. The solution was staring me in the face all along. The problem i had was that whenever i launched the poker client using a Java command prompt, it always started up ok and then stopped due to a failure to launch jredownloader.exe. Having studied the source code, i realised that the client requires JRE 1.5 and my Ubuntu box is running 1.6. On startup, it checks the JRE version and if it's not 1.5, it runs jredownloader.exe (on a Windows box) and installs a jre sub folder with the correct Java version. Once i got it going, i wrote it all into a Linux script which i've attached. It is a work in progress as i'd like to automate the Java version checking and install. The current script will download all the required JAR files from the B2B server (if the server files are newer) and then launch the client using the required jre from a sub folder (which is currently a manual copy/paste job). Any help on the JRE check thing would be much appreciated. Note also that the script can be modified to suit ANY of the Entraction/B2B clients and includes/has been tested on the following skins:
betdaqpokercom
24hPoker
devilfish
pokerium
i4poker
bambapoker
club4aces
martins
nordicbookmakers
pokerhills
pokersaints
skandiabet
stingbet
supremapoker

member
128 posts

Hmmmmm, this file upload thing doesn't seem to be working?? I'll try again...

EDIT: there he is!

member
128 posts
Just in case anyone is unfamiliar with scripting, you'll need to run "chmod +x poker_launcher.sh" in a terminal to make the file executable...
< older posts 21–28 of 28
Page 1 · 2

This Topic Is Locked To Guest Posts

It's been a while since this topic was active, if you'd like to get it going again, please post as a registered member

join now