- Created Tuesday, April 21st 2015 @ 12:27:53
It seemed like a good idea to start with downloading the python omaha-starterbot and the poker-engine from github, but i cant even get those to work.
the bot.py seems to work when i run it directly from the commandline (i can input stuff and it reacts)
but when i run:
java nl.starapple.backend.RunPoker 2000 e:\aigamespoker\bot.py e:\aigamespoker\bot.py 2>err.txt 1>out.txt
in the \poker-engine-master\classes folder, it says:
java.io.IOException: Cannot run program "e:\aigamespoker\bot.py": CreateProcess error=193, %1 is geen geldige Win32-toepassing at java.lang.ProcessBuilder.start(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at nl.starapple.io.IOHandler.(IOHandler.java:29) at nl.starapple.io.IORobot.(IORobot.java:39) at nl.starapple.backend.RunPoker.go(RunPoker.java:86) at nl.starapple.backend.RunPoker.main(RunPoker.java:60) Caused by: java.io.IOException: CreateProcess error=193, %1 is geen geldige Win32-toepassing at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) ... 8 more
I tried to compile the file but that doesnt change anything.
Any help or suggestions would be appreciated! (sorry for double post)
- Created Thursday, April 23rd 2015 @ 15:03:50
I think you should start your bots with "python e:\aigamespoker\bot.py" so the complete command would be:
java nl.starapple.backend.RunPoker 2000 "python e:\aigamespoker\bot.py" "python e:\aigamespoker\bot.py" 2>err.txt 1>out.txt
- Created Thursday, April 23rd 2015 @ 17:49:17
seems to work now, thanks Bloged