-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# coding: utf-8 | ||
from socketIO_client import SocketIO | ||
s = SocketIO('localhost', 4000) | ||
def echo(msg): | ||
print msg | ||
|
||
s.on('get_player_info:[email protected]', echo) | ||
s.emit('remote:send_request', {'account': '[email protected]', 'name': 'get_player_info'}) | ||
This comment has been minimized.
Sorry, something went wrong. |
||
s.wait(1) |
4 comments
on commit 41de6f7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is that debug really required in pokemongo_bot/step_walker.py? dirties up the console...
self.bot.event_manager.emit(
'position_update',
sender=self,
level='debug',
data={
'current_position': (cLat, cLng),
'last_position': (self.initLat, self.initLng),
'distance': '',
'distance_unit': ''
}
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need that for regular position updates in the web ui.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yea, the problem more is the pokemongo_bot/event_handlers/colored_logging_handler.py does not honor the config setting of debug set to false... , not so much your problem, just something I noticed... as cli now spamming with pos update debug..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@VeNoMouS remove the colored logger for now. It's broken af.
@brantje your email?