AttackingOrDefending / lidraughts-bot

A bridge between Lidraughts API and draughts engines
GNU Affero General Public License v3.0
7 stars 10 forks source link

Bot Error while connecting to heroku #6

Closed lidevelopers closed 3 years ago

lidevelopers commented 3 years ago

2021-07-09T13:07:31.940548+00:00 app[worker.1]: 2021-07-09 13:07:31,940:  Welcome Draughts-bot! 2021-07-09T13:07:31.940657+00:00 app[worker.1]: 2021-07-09 13:07:31,940:  You're now connected to lidraughts.org/ and awaiting challenges. 2021-07-09T13:07:32.057322+00:00 app[worker.1]: 2021-07-09 13:07:32,056:  --- Process Used. Total Queued: 0. Total Used: 1 2021-07-09T13:07:32.209046+00:00 app[worker.1]: 2021-07-09 13:07:32,208:  Unexpected engine response to uci: init book 2021-07-09T13:07:32.490361+00:00 app[worker.1]: 2021-07-09 13:07:32,490:  Unexpected engine response to uci: init eval 2021-07-09T13:07:33.553736+00:00 app[worker.1]: 2021-07-09 13:07:33,553:  Unexpected engine response to uci: done  2021-07-09T13:07:33.553994+00:00 app[worker.1]: 2021-07-09 13:07:33,553:  Unexpected engine response to uci: 01 02 03 04 05 2021-07-09T13:07:33.554116+00:00 app[worker.1]: 2021-07-09 13:07:33,554:  Unexpected engine response to uci: 06 07 08 09 10 2021-07-09T13:07:33.554239+00:00 app[worker.1]: 2021-07-09 13:07:33,554:  Unexpected engine response to uci: 11 12 13 14 15 2021-07-09T13:07:33.554347+00:00 app[worker.1]: 2021-07-09 13:07:33,554:  Unexpected engine response to uci: 16 17 18 19 20 2021-07-09T13:07:33.554488+00:00 app[worker.1]: 2021-07-09 13:07:33,554:  Unexpected engine response to uci: - - - - - 21 22 23 24 25 2021-07-09T13:07:33.554653+00:00 app[worker.1]: 2021-07-09 13:07:33,554:  Unexpected engine response to uci: - - - - - 26 27 28 29 30 2021-07-09T13:07:33.554768+00:00 app[worker.1]: 2021-07-09 13:07:33,554:  Unexpected engine response to uci: O O O O O 31 32 33 34 35 2021-07-09T13:07:33.554894+00:00 app[worker.1]: 2021-07-09 13:07:33,554:  Unexpected engine response to uci: O O O O O 36 37 38 39 40 2021-07-09T13:07:33.555117+00:00 app[worker.1]: 2021-07-09 13:07:33,554:  Unexpected engine response to uci: O O O O O 41 42 43 44 45 2021-07-09T13:07:33.555390+00:00 app[worker.1]: 2021-07-09 13:07:33,555:  Unexpected engine response to uci: O O O O O 46 47 48 49 50 2021-07-09T13:07:33.555522+00:00 app[worker.1]: 2021-07-09 13:07:33,555:  Unexpected engine response to uci: white to play 2021-07-09T13:07:33.625711+00:00 app[worker.1]: 2021-07-09 13:07:33,625:  Unexpected engine response to uci: >  2021-07-09T13:07:33.625810+00:00 app[worker.1]: 2021-07-09 13:07:33,625:  Unexpected engine response to uci: ??? 

lidevelopers commented 3 years ago

I think this bot client wrong with ubuntu does any one test this Client with ubuntu I cannot because I am on windows

lidevelopers commented 3 years ago

@AttackingOrDefending how about you

AttackingOrDefending commented 3 years ago

Add print(command, 'commands') in line 54 in hub_engine.py and reply with the result.

lidevelopers commented 3 years ago

still not working

AttackingOrDefending commented 3 years ago

It should be working now after commit 8e49ab3. Can you verify this?

lidevelopers commented 3 years ago

Wow it worked thankyou!