Comments (4)
Thak you Francesco, it still doesn't work. The strange thing is that the Java version works without issues on my machine with the same port declared. I will keep searching for the source of problem on my machine. Thank you for making sure the Python version is working.
from pokerwars.io-starterbot-python.
hey @stanjaromin ,
have you added the properties with your token and bot IP address?
from pokerwars.io-starterbot-python.
Hi Francesco,
yes i did, according to instructions. I was running the code from Pycharm however today I tried from command line and got the same. Is the http://127.0.0.1:3000/ OK or there should be my IP address?
from pokerwars.io-starterbot-python.
hey @stanjaromin ,
I tried today from the command line and it worked fine:
Trying to subscribe to pokerwars.io ...
Bottle v0.12.17 server starting up (using WSGIRefServer())...
Listening on http://127.0.0.1:3000/
Hit Ctrl-C to quit.
Received ping from pokerwars.io, responding with a pong
127.0.0.1 - - [01/Mar/2020 10:46:11] "GET /pokerwars.io/ping HTTP/1.1" 200 14
Received ping from pokerwars.io, responding with a pong
127.0.0.1 - - [01/Mar/2020 10:46:12] "GET /pokerwars.io/ping HTTP/1.1" 200 14
Received ping from pokerwars.io, responding with a pong
127.0.0.1 - - [01/Mar/2020 10:46:12] "GET /pokerwars.io/ping HTTP/1.1" 200 14
Subscription --> Status code: 202
Subscription --> Body: {u'reason': u'user francescopeloi has access and his/her bot endpoint is also valid. Subscribing bot http://blablabla.ngrok.io', u'statusDescription': u'Accepted', u'success': True, u'statusCode': 202}
Received notification
{u'message': u'Tournament id 6012813699899016511 started with bots [....usernames....]', u'type': u'tournament_started'}
You should put your IP in the bot_endpoint variable, so we know where you bot is and we can communicate with it, e.g.:
bot_endpoint = 'http://be8f8d72.ngrok.io'
from pokerwars.io-starterbot-python.
Related Issues (10)
- Can you give an example for .env?
- not an issue
- Czy są jakieś zasoby lub źródła, które możesz polecić tym, którzy chcą poszerzyć swoją wiedzę na temat programowania obiektowego? HOT 2
- আপনার গেমিং অভিজ্ঞতা সফল হয়েছে তা নিশ্চিত করতে আপনি কোন বেটিং কৌশল ব্যবহার করেন? HOT 2
- Amazing Service HOT 5
- [Bug] BigBlind cannot act preflop after only SmallBlind has limped
- [Bug] All-in players should not be marked as having folded HOT 2
- [Bug] Folded players should not be able to win the hand
- [Bug] Ties are not handled correctly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pokerwars.io-starterbot-python.