Closed EmptikBest closed 1 year ago
Also another issue, it says Process Free and not Process Freed, and in the chat text messages, there is a 'b' in front of it
Could you send me your logs after adding the -v tag?
python3 lishogi-bot.py -v
Has this issue been fixed?
Has this issue been fixed?
No, I also got the error
DEBUG POST https://lishogi.org/api/bot/game/0EWP9D8N/chat {'room': 'player', lishogi.py:80
'text': 'Good game!'}
DEBUG https://lishogi.org:443 "POST /api/bot/game/0EWP9D8N/chat HTTP/1.1" connectionpool.py:546
200 11
[07/25/23 22:00:17] DEBUG DEBUG { Event: 'ok'{: True'type': }'free_process' }lishogi.py :lishogi-bot.py84:
147
[07/25/23 22:00:18] INFO DEBUG +++ Process Free. Total Queued: 0<< stop . Total Used: usi.py0: 55lishogi-bot.py
:162
DEBUG << quit usi.py:55
DEBUG >> info depth 19 seldepth 26 multipv 1 score cp -108 upperbound nodes 647814 nps usi.py:69
232524 hashfull 372 tbhits 0 time 2786 pv 9b6b 2e2d
DEBUG >> bestmove 9b6b ponder 2e2d usi.py:69
INFO score: {'cp': -92} engine_wrapper.py:105
INFO depth: 19 engine_wrapper.py:105
INFO nodes: 647814 engine_wrapper.py:105
INFO nps: 232524 engine_wrapper.py:105
INFO --- https://lishogi.org/0EWP9D8N/gote Game over lishogi-bot.py:383
[07/25/23 22:00:21] DEBUG Event: {'type': 'ping'} lishogi-bot.py:147
[07/25/23 22:00:23] DEBUG Event: {'type': 'gameStart', 'game': {'id': 'KgUH0ZoB'}} lishogi-bot.py:147
INFO --- Process Used. Total Queued: 0. Total Used: 1 lishogi-bot.py:196
[07/25/23 22:00:24] DEBUG GET https://lishogi.org/api/bot/game/stream/KgUH0ZoB lishogi.py:110
DEBUG Starting new HTTPS connection (1): lishogi.org:443 connectionpool.py:1048
DEBUG https://lishogi.org:443 "GET /api/bot/game/stream/KgUH0ZoB HTTP/1.1" connectionpool.py:546
200 None
DEBUG {'id': 'KgUH0ZoB', 'variant': {'key': 'standard', 'name': 'Standard'}, lishogi-bot.py:261
'clock': {'initial': 90000, 'increment': 0, 'byoyomi': 3000, 'periods':
1}, 'speed': 'bullet', 'perf': {'name': 'Bullet'}, 'rated': False,
'createdAt': 1690297223604, 'sente': {'aiLevel': 8}, 'white':
{'aiLevel': 8}, 'gote': {'id': 'viet-ai', 'name': 'Viet-AI', 'title':
'BOT', 'rating': 1946}, 'black': {'id': 'viet-ai', 'name': 'Viet-AI',
'title': 'BOT', 'rating': 1946}, 'initialSfen': 'startpos',
'initialFen': 'startpos', 'type': 'gameFull', 'state': {'type':
'gameState', 'moves': '', 'btime': 90000, 'wtime': 90000, 'binc': 0,
'winc': 0, 'byo': 3000, 'sdraw': False, 'gdraw': False, 'status':
'started'}}
DEBUG Starting engine: C:\Users\PV\Downloads\Lishogi-Bot-master engine_wrapper.py:35
(2)\Lishogi-Bot-master\engines\fairy-stockfish.exe
DEBUG << usi usi.py:55
[07/25/23 22:00:25] DEBUG >> Fairy-Stockfish 14.0.1 XQ by Fabian Fichter usi.py:69
[07/25/23 22:00:26] DEBUG >> id name Fairy-Stockfish 14.0.1 XQ usi.py:69
DEBUG >> id author Fabian Fichter usi.py:69
DEBUG >> usi.py:69
DEBUG >> option name Protocol type combo default usi var uci var usi var ucci var usi.py:69
ucicyclone var xboard
DEBUG >> option name Debug_Log_File type string default usi.py:69
DEBUG >> option name Threads type spin default 1 min 1 max 512 usi.py:69
DEBUG >> option name Hash type spin default 16 min 1 max 33554432 usi.py:69
DEBUG >> option name Clear_Hash type button usi.py:69
DEBUG >> option name Ponder type check default false usi.py:69
DEBUG >> option name MultiPV type spin default 1 min 1 max 500 usi.py:69
DEBUG >> option name Skill_Level type spin default 20 min -20 max 20 usi.py:69
DEBUG >> option name Move_Overhead type spin default 10 min 0 max 5000 usi.py:69
DEBUG >> option name Slow_Mover type spin default 100 min 10 max 1000 usi.py:69
DEBUG >> option name nodestime type spin default 0 min 0 max 10000 usi.py:69
DEBUG >> option name UCI_Chess960 type check default false usi.py:69
DEBUG >> option name UCI_Variant type combo default shogi var 3check var 5check var usi.py:69
ai-wok var almost var amazon var antichess var armageddon var asean var ataxx
var atomic var breakthrough var bughouse var cambodian var capablanca var
capahouse var caparandom var centaur var chancellor var chaturanga var chess var
chessgi var chigorin var clobber var clobber10 var codrus var coregal var
courier var crazyhouse var dobutsu var embassy var euroshogi var extinction var
fairy var fischerandom var gardner var giveaway var gorogoro var gothic var
grand var grasshopper var hoppelpoppel var horde var janggi var janggicasual var
janggimodern var janggitraditional var janus var jesonmor var judkins var karouk
var kinglet var kingofthehill var knightmate var koedem var kyotoshogi var loop
var losalamos var losers var makpong var makruk var manchu var micro var mini
var minishogi var minixiangqi var modern var newzealand var nightrider var
nocastle var nocheckatomic var normal var okisakishogi var opulent var placement
var pocketknight var racingkings var seirawan var shako var shatar var shatranj
var shogi var shoshogi var shouse var sittuyin var suicide var supply var
tencubed var threekings var torishogi var xiangqi var yarishogi
DEBUG >> option name UCI_AnalyseMode type check default false usi.py:69
DEBUG >> option name UCI_LimitStrength type check default false usi.py:69
DEBUG >> option name UCI_Elo type spin default 1350 min 500 max 2850 usi.py:69
DEBUG >> option name UCI_ShowWDL type check default false usi.py:69
DEBUG >> option name SyzygyPath type string default <empty> usi.py:69
DEBUG >> option name SyzygyProbeDepth type spin default 1 min 1 max 100 usi.py:69
DEBUG >> option name Syzygy50MoveRule type check default true usi.py:69
DEBUG >> option name SyzygyProbeLimit type spin default 7 min 0 max 7 usi.py:69
DEBUG >> option name Use_NNUE type check default true usi.py:69
DEBUG >> option name EvalFile type string default usi.py:69
xiangqi-83f16c17fe26.nnue;janggi-85de3dae670a.nnue
DEBUG >> option name TsumeMode type check default false usi.py:69
DEBUG >> option name VariantPath type string default <empty> usi.py:69
DEBUG >> usiok usi.py:69
DEBUG << setoption name Threads value 1 usi.py:55
DEBUG << isready usi.py:55
DEBUG >> readyok usi.py:69
INFO +++ Playing https://lishogi.org/KgUH0ZoB/gote Bullet vs AI level 8 lishogi-bot.py:268
DEBUG Game state: {'type': 'gameState', 'moves': '', 'btime': 90000, 'wtime': lishogi-bot.py:283
90000, 'binc': 0, 'winc': 0, 'byo': 3000, 'sdraw': False, 'gdraw':
False, 'status': 'started'}
DEBUG Update: {'type': 'gameState', 'moves': '', 'btime': 90000, 'wtime': lishogi-bot.py:304
90000, 'binc': 0, 'winc': 0, 'byo': 3000, 'sdraw': False, 'gdraw':
False, 'status': 'started'}
[07/25/23 22:00:27] DEBUG Event: {'type': 'ping'} lishogi-bot.py:147
[07/25/23 22:00:30] DEBUG Update: {'type': 'gameState', 'moves': '2g2f', 'btime': 90000, 'wtime': lishogi-bot.py:304
90000, 'binc': 0, 'winc': 0, 'byo': 3000, 'sdraw': False, 'gdraw':
False, 'status': 'started'}
DEBUG POST https://lishogi.org/api/bot/game/KgUH0ZoB/chat {'room': 'player', lishogi.py:80
'text': "Hi! I'm Viet-AI. Good luck! Type !help for a list of commands I can
respond to."}
DEBUG Starting new HTTPS connection (1): lishogi.org:443 connectionpool.py:1048
[07/25/23 22:00:31] DEBUG https://lishogi.org:443 "POST /api/bot/game/KgUH0ZoB/chat HTTP/1.1" connectionpool.py:546
200 11
DEBUG {'ok': True} lishogi.py:84
INFO Searching for time 1000 lishogi-bot.py:498
DEBUG << setoption name USI_Variant value shogi usi.py:55
DEBUG << position sfen lnsgkgsnl/1r5b1/ppppppppp/9/9/7P1/PPPPPPP1P/1B5R1/LNSGKGSNL w - usi.py:55
2 moves
DEBUG position sfen lnsgkgsnl/1r5b1/ppppppppp/9/9/7P1/PPPPPPP1P/1B5R1/LNSGKGSNL w - 2 usi.py:252
moves
DEBUG << go movetime 1 usi.py:55
INFO go movetime 1 usi.py:167
DEBUG >> No such option: USI Variant usi.py:69
ERROR Unexpected engine response to go: No such option: USI Variant usi.py:246
DEBUG >> info string classical evaluation enabled usi.py:69
DEBUG >> info depth 1 seldepth 0 multipv 1 score cp 0 nodes 1 nps 250 tbhits 0 time 4 usi.py:69
pv 8b9b
DEBUG >> bestmove 8b9b usi.py:69
INFO score: {'cp': 0} engine_wrapper.py:105
INFO depth: 1 engine_wrapper.py:105
INFO nodes: 1 engine_wrapper.py:105
INFO nps: 250 engine_wrapper.py:105
DEBUG POST https://lishogi.org/api/bot/game/KgUH0ZoB/move/8b9b lishogi.py:80
[07/25/23 22:00:32] DEBUG https://lishogi.org:443 "POST /api/bot/game/KgUH0ZoB/move/8b9b connectionpool.py:546
HTTP/1.1" 200 11
DEBUG {'ok': True} lishogi.py:84
DEBUG Update: None lishogi-bot.py:304
DEBUG Update: {'type': 'chatLine', 'room': 'player', 'username': 'Viet-AI', lishogi-bot.py:304
'text': "Hi! I'm Viet-AI. Good luck! Type !help for a list of commands
I can respond to."}
INFO *** https://lishogi.org/KgUH0ZoB/gote [player] Viet-AI: b"Hi! I'm conversation.py:17
Viet-AI. Good luck! Type !help for a list of commands I can respond
to."
DEBUG Update: {'type': 'gameState', 'moves': '2g2f 8b9b', 'btime': 90000, lishogi-bot.py:304
'wtime': 90000, 'binc': 0, 'winc': 0, 'byo': 3000, 'sdraw': False,
'gdraw': False, 'status': 'started'}
[07/25/23 22:00:33] DEBUG Event: {'type': 'ping'} lishogi-bot.py:147
[07/25/23 22:00:33] DEBUG Update: {'type': 'gameState', 'moves': '2g2f 8b9b 2f2e', 'btime': lishogi-bot.py:304
88190, 'wtime': 90000, 'binc': 0, 'winc': 0, 'byo': 3000, 'sdraw':
False, 'gdraw': False, 'status': 'started'}
INFO lishogi-bot.py:514
INFO move: 3. 2f2e lishogi-bot.py:515
INFO Searching for btime 88190 wtime 88100 lishogi-bot.py:393
DEBUG << position startpos moves 2g2f 8b9b 2f2e usi.py:55
DEBUG position startpos moves 2g2f 8b9b 2f2e usi.py:252
DEBUG << go btime 85190 wtime 85100 byoyomi 3000 usi.py:55
INFO go btime 85190 wtime 85100 byoyomi 3000 usi.py:167
DEBUG >> info string classical evaluation enabled usi.py:69
DEBUG >> info depth 1 seldepth 1 multipv 1 score cp 7 nodes 30 nps 10000 tbhits 0 time usi.py:69
3 pv 3c3d
DEBUG >> info depth 2 seldepth 2 multipv 1 score cp 69 nodes 62 nps 15500 tbhits 0 usi.py:69
time 4 pv 3c3d 2h6h
DEBUG >> info depth 3 seldepth 3 multipv 1 score cp 30 nodes 100 nps 20000 tbhits 0 usi.py:69
time 5 pv 3c3d 2h6h 2b4d
DEBUG >> info depth 4 seldepth 4 multipv 1 score cp 30 nodes 150 nps 25000 tbhits 0 usi.py:69
time 6 pv 3c3d 7i7h 2b4d
DEBUG >> info depth 5 seldepth 5 multipv 1 score cp 38 nodes 242 nps 30250 tbhits 0 usi.py:69
time 8 pv 3c3d 2e2d 2c2d 2h2d
DEBUG >> info depth 6 seldepth 6 multipv 1 score cp 23 nodes 585 nps 45000 tbhits 0 usi.py:69
time 13 pv 3c3d 2e2d 2c2d 2h2d P*2f
DEBUG >> info depth 7 seldepth 7 multipv 1 score cp -30 nodes 1373 nps 68650 tbhits 0 usi.py:69
time 20 pv 9b6b 7g7f 3c3d 8h2b 3a2b B*7g B*3c
DEBUG >> info depth 8 seldepth 10 multipv 1 score cp -69 nodes 5598 nps 107653 tbhits usi.py:69
0 time 52 pv 9b4b 7g7f 3c3d 8h2b 3a2b B*1e B*4d 1e4b 4a4b
DEBUG >> info depth 9 seldepth 12 multipv 1 score cp -107 nodes 14798 nps 140933 usi.py:69
tbhits 0 time 105 pv 9b6b 7g7f 4a3b 2e2d 2c2d 2h2d P*2c 2d2e
DEBUG >> info depth 10 seldepth 12 multipv 1 score cp -36 nodes 17227 nps 152451 usi.py:69
tbhits 0 time 113 pv 3c3d 2e2d 2c2d 2h2d 4a3b P*2c 2b4d
[07/25/23 22:00:34] DEBUG >> info depth 11 seldepth 11 multipv 1 score cp -38 nodes 21522 nps 168140 usi.py:69
tbhits 0 time 128 pv 3c3d 2e2d 2c2d 2h2d 4a3b P*2c 2b4d 2d2e 9b4b 7i6h 4d3e
DEBUG >> info depth 12 seldepth 16 multipv 1 score cp -69 nodes 42452 nps 188675 usi.py:69
tbhits 0 time 225 pv 3c3d 2e2d 2c2d 2h2d 4a3b 2d2e P*2c 6i6h 5a4a 3i4h 9b6b 7g7f
2b8h 7i8h B*3e
DEBUG >> info depth 13 seldepth 20 multipv 1 score cp -76 nodes 87283 nps 218207 usi.py:69
tbhits 0 time 400 pv 4a3b 2e2d 2c2d 2h2d P*2c 2d2h 5a4a 2h2e 9b5b 3i4h 3c3d 6i5h
7a8b 5i6i 2b4d
DEBUG >> info depth 14 seldepth 20 multipv 1 score cp -69 nodes 121382 nps 230764 usi.py:69
tbhits 0 time 526 pv 4a3b 3i4h 3c3d 2e2d 2c2d 2h2d 9b7b 6i5h 7c7d 7g7f 2b8h 7i8h
P*2c 2d3d B*4d B*1e 2a3c
DEBUG >> info depth 15 seldepth 22 multipv 1 score cp -69 nodes 147768 nps 231248 usi.py:69
tbhits 0 time 639 pv 4a3b 3i4h 9b6b 2e2d 2c2d 2h2d P*2c 2d2e 3c3d 4i5h 2b3c 5i4i
7c7d 7g7f 3c8h 7i8h B*3c B*7g
DEBUG >> info depth 16 seldepth 21 multipv 1 score cp -69 nodes 189047 nps 238094 usi.py:69
tbhits 0 time 794 pv 4a3b 3i4h 9b6b 2e2d 2c2d 2h2d P*2c 2d2f 3c3d 7g7f 2b8h+
7i8h B*5d B*7g 3b3c 6i5h 2c2d 5i6i
DEBUG >> info depth 17 seldepth 23 multipv 1 score cp -69 nodes 259429 nps 245206 usi.py:69
hashfull 133 tbhits 0 time 1058 pv 3c3d 2e2d 2c2d 2h2d 4a3b 3i4h 9b6b 6i5h 7c7d
5i6i 7a7b 2d2e P*2c 7i6h 6c6d P*2d 2c2d 2e2d 6d6e
[07/25/23 22:00:35] DEBUG >> info depth 18 seldepth 26 multipv 1 score cp -69 nodes 433343 nps 219303 usi.py:69
hashfull 248 tbhits 0 time 1976 pv 3c3d 2e2d 2c2d 2h2d 4a3b 3i4h 9b6b 6i5h 7c7d
5i6i 7a7b 2d2e P*2c 7g7f 2b8h+ 7i8h B*3c B*7g 2c2d 2e1e 6c6d 7g3c 3b3c B*7g
[07/25/23 22:00:36] DEBUG >> info depth 19 seldepth 30 multipv 1 score cp -76 nodes 674464 nps 225648 usi.py:69
hashfull 386 tbhits 0 time 2989 pv 4a3b 3i4h 9b6b 6i5h 3c3d 2e2d 2c2d 2h2d 6c6d
5i6i 7a7b 2d2e 6d6e 7i6h P*2c 6i7i 6b6d 5g5f 6e6f 6g6f 2b6f 6h6g
[07/25/23 22:00:37] DEBUG >> info depth 20 currmove 3c3d currmovenumber 2 usi.py:69
DEBUG >> info depth 20 currmove 9b5b currmovenumber 3 usi.py:69
DEBUG >> info depth 20 currmove 9b6b currmovenumber 4 usi.py:69
DEBUG >> info depth 20 currmove 9b4b currmovenumber 5 usi.py:69
DEBUG >> info depth 20 currmove 9b8b currmovenumber 6 usi.py:69
DEBUG >> info depth 20 currmove 9c9d currmovenumber 7 usi.py:69
DEBUG >> info depth 20 currmove 6a5b currmovenumber 8 usi.py:69
DEBUG >> info depth 20 currmove 1c1d currmovenumber 9 usi.py:69
DEBUG >> info depth 20 currmove 7a6b currmovenumber 10 usi.py:69
DEBUG >> info depth 20 currmove 3a4b currmovenumber 11 usi.py:69
DEBUG >> info depth 20 currmove 6c6d currmovenumber 12 usi.py:69
DEBUG >> info depth 20 currmove 4a5b currmovenumber 13 usi.py:69
DEBUG >> info depth 20 currmove 6a6b currmovenumber 14 usi.py:69
DEBUG >> info depth 20 currmove 4c4d currmovenumber 15 usi.py:69
DEBUG >> info depth 20 currmove 3a3b currmovenumber 16 usi.py:69
DEBUG >> info depth 20 currmove 9b7b currmovenumber 17 usi.py:69
DEBUG >> info depth 20 currmove 5c5d currmovenumber 18 usi.py:69
DEBUG >> info depth 20 currmove 4a4b currmovenumber 19 usi.py:69
DEBUG >> info depth 20 currmove 1a1b currmovenumber 20 usi.py:69
DEBUG >> info depth 20 currmove 8c8d currmovenumber 21 usi.py:69
DEBUG >> info depth 20 currmove 5a5b currmovenumber 22 usi.py:69
DEBUG >> info depth 20 currmove 7a7b currmovenumber 23 usi.py:69
DEBUG >> info depth 20 currmove 7c7d currmovenumber 24 usi.py:69
DEBUG >> info depth 20 currmove 7a8b currmovenumber 25 usi.py:69
DEBUG >> info depth 20 currmove 2c2d currmovenumber 26 usi.py:69
DEBUG >> info depth 20 currmove 9b3b currmovenumber 27 usi.py:69
DEBUG >> info depth 20 currmove 6a7b currmovenumber 28 usi.py:69
DEBUG >> info depth 20 currmove 5a6b currmovenumber 29 usi.py:69
DEBUG >> info depth 20 currmove 5a4b currmovenumber 30 usi.py:69
DEBUG >> info depth 20 seldepth 29 multipv 1 score cp -84 nodes 852045 nps 237272 usi.py:69
hashfull 480 tbhits 0 time 3591 pv 4a3b 3i4h 9b6b 2e2d 2c2d 2h2d P*2c 2d2f 3c3d
7i6h 5c5d 4i5h 3a4b P*2d 2c2d 5i4i 3b2c 2f5f
DEBUG >> info depth 20 currmove 4a3b currmovenumber 1 usi.py:69
DEBUG >> info depth 20 currmove 3c3d currmovenumber 2 usi.py:69
DEBUG >> info depth 20 currmove 9b6b currmovenumber 3 usi.py:69
DEBUG >> info depth 20 currmove 9b4b currmovenumber 4 usi.py:69
DEBUG >> info depth 20 currmove 9b8b currmovenumber 5 usi.py:69
DEBUG >> info depth 20 currmove 9b5b currmovenumber 6 usi.py:69
DEBUG >> info depth 20 currmove 1c1d currmovenumber 7 usi.py:69
DEBUG >> info depth 20 currmove 9c9d currmovenumber 8 usi.py:69
DEBUG >> info depth 20 currmove 6a5b currmovenumber 9 usi.py:69
DEBUG >> info depth 20 currmove 3a4b currmovenumber 10 usi.py:69
DEBUG >> info depth 20 currmove 4a5b currmovenumber 11 usi.py:69
DEBUG >> info depth 20 currmove 7a6b currmovenumber 12 usi.py:69
DEBUG >> info depth 20 currmove 6a6b currmovenumber 13 usi.py:69
DEBUG >> info depth 20 currmove 4c4d currmovenumber 14 usi.py:69
DEBUG >> info depth 20 currmove 3a3b currmovenumber 15 usi.py:69
[07/25/23 22:00:38] DEBUG >> info depth 20 currmove 6c6d currmovenumber 16 usi.py:69
DEBUG >> info depth 20 currmove 4a4b currmovenumber 17 usi.py:69
DEBUG >> info depth 20 currmove 5c5d currmovenumber 18 usi.py:69
DEBUG >> info depth 20 currmove 1a1b currmovenumber 19 usi.py:69
DEBUG >> info depth 20 currmove 9b7b currmovenumber 20 usi.py:69
DEBUG >> info depth 20 currmove 8c8d currmovenumber 21 usi.py:69
DEBUG >> info depth 20 currmove 5a5b currmovenumber 22 usi.py:69
DEBUG >> info depth 20 currmove 7a7b currmovenumber 23 usi.py:69
DEBUG >> info depth 20 currmove 7c7d currmovenumber 24 usi.py:69
DEBUG >> info depth 20 currmove 2c2d currmovenumber 25 usi.py:69
DEBUG >> info depth 20 currmove 9b3b currmovenumber 26 usi.py:69
DEBUG >> info depth 20 currmove 5a4b currmovenumber 27 usi.py:69
DEBUG >> info depth 20 currmove 7a8b currmovenumber 28 usi.py:69
DEBUG >> info depth 20 currmove 6a7b currmovenumber 29 usi.py:69
DEBUG >> info depth 20 currmove 5a6b currmovenumber 30 usi.py:69
DEBUG >> info depth 21 seldepth 27 multipv 1 score cp -92 nodes 1009576 nps 244390 usi.py:69
hashfull 558 tbhits 0 time 4131 pv 4a3b 3i4h 9b6b 2e2d 2c2d 2h2d P*2c 2d2e 3c3d
P*2d 2c2d 2e2d 6c6d 7i6h 3d3e 4i5h P*2c 2d2e 2b4d 2e2h 3a4b 5i4i 5c5d 4g4f 4b5c
DEBUG >> bestmove 4a3b ponder 3i4h usi.py:69
INFO score: {'cp': -92} engine_wrapper.py:105
INFO depth: 21 engine_wrapper.py:105
INFO nodes: 1009576 engine_wrapper.py:105
INFO nps: 244390 engine_wrapper.py:105
DEBUG POST https://lishogi.org/api/bot/game/KgUH0ZoB/move/4a3b lishogi.py:80
DEBUG https://lishogi.org:443 "POST /api/bot/game/KgUH0ZoB/move/4a3b connectionpool.py:546
HTTP/1.1" 400 47
DEBUG Giving up api_post(...) after 1 tries (requests.exceptions.HTTPError: 400 _common.py:120
Client Error: Bad Request for url:
https://lishogi.org/api/bot/game/KgUH0ZoB/move/4a3b)
DEBUG Update: {'type': 'gameState', 'moves': '2g2f 8b9b 2f2e', 'btime': lishogi-bot.py:304
88190, 'wtime': 88110, 'binc': 0, 'winc': 0, 'byo': 3000, 'sdraw':
False, 'gdraw': False, 'status': 'resign', 'winner': 'sente'}
DEBUG << position startpos moves 2g2f 8b9b 2f2e usi.py:55
DEBUG position startpos moves 2g2f 8b9b 2f2e usi.py:252
INFO None won! lishogi-bot.py:558
INFO Viet-AI resigned. lishogi-bot.py:569
DEBUG POST https://lishogi.org/api/bot/game/KgUH0ZoB/chat {'room': 'player', lishogi.py:80
'text': 'Good game!'}
[07/25/23 22:00:39] DEBUG https://lishogi.org:443 "POST /api/bot/game/KgUH0ZoB/chat HTTP/1.1" connectionpool.py:546
[07/25/23 22:00:39]200 11DEBUG Event: {
'type': 'free_process'} lishogi-bot.py:147
DEBUG {'ok' : True } INFO +++ Process Free. Total Queued: lishogi.py0:. Total Used: 840
lishogi-bot.py:162
DEBUG << stop usi.py:55
DEBUG << quit usi.py:55
INFO --- https://lishogi.org/KgUH0ZoB/gote Game over lishogi-bot.py:383
DEBUG Event: {'type': 'ping'} lishogi-bot.py:147
[07/25/23 22:00:45] DEBUG Event: {'type': 'ping'} lishogi-bot.py:147
[07/25/23 22:00:50] DEBUG Event: {'type': 'gameStart', 'game': {'id': 'QveCnB2q'}} lishogi-bot.py:147
INFO --- Process Used. Total Queued: 0. Total Used: 1 lishogi-bot.py:196
[07/25/23 22:00:50] DEBUG GET https://lishogi.org/api/bot/game/stream/QveCnB2q lishogi.py:110
DEBUG Starting new HTTPS connection (1): lishogi.org:443 connectionpool.py:1048
[07/25/23 22:00:51] DEBUG Event: {'type': 'ping'} lishogi-bot.py:147
[07/25/23 22:00:51] DEBUG https://lishogi.org:443 "GET /api/bot/game/stream/QveCnB2q HTTP/1.1" connectionpool.py:546
200 None
DEBUG {'id': 'QveCnB2q', 'variant': {'key': 'minishogi', 'name': lishogi-bot.py:261
'Minishogi'}, 'clock': {'initial': 90000, 'increment': 0, 'byoyomi':
3000, 'periods': 1}, 'speed': 'bullet', 'perf': {'name': 'Minishogi'},
'rated': False, 'createdAt': 1690297250288, 'sente': {'id': 'viet-ai',
'name': 'Viet-AI', 'title': 'BOT', 'rating': 1500, 'provisional':
True}, 'white': {'id': 'viet-ai', 'name': 'Viet-AI', 'title': 'BOT',
'rating': 1500, 'provisional': True}, 'gote': {'aiLevel': 8}, 'black':
{'aiLevel': 8}, 'initialSfen': 'startpos', 'initialFen': 'startpos',
'type': 'gameFull', 'state': {'type': 'gameState', 'moves': '',
'btime': 90000, 'wtime': 90000, 'binc': 0, 'winc': 0, 'byo': 3000,
'sdraw': False, 'gdraw': False, 'status': 'started'}}
DEBUG Starting engine: C:\Users\PV\Downloads\Lishogi-Bot-master engine_wrapper.py:35
(2)\Lishogi-Bot-master\engines\fairy-stockfish.exe
DEBUG << usi usi.py:55
DEBUG >> Fairy-Stockfish 14.0.1 XQ by Fabian Fichter usi.py:69
[07/25/23 22:00:52] DEBUG >> id name Fairy-Stockfish 14.0.1 XQ usi.py:69
DEBUG >> id author Fabian Fichter usi.py:69
DEBUG >> usi.py:69
DEBUG >> option name Protocol type combo default usi var uci var usi var ucci var usi.py:69
ucicyclone var xboard
DEBUG >> option name Debug_Log_File type string default usi.py:69
DEBUG >> option name Threads type spin default 1 min 1 max 512 usi.py:69
DEBUG >> option name Hash type spin default 16 min 1 max 33554432 usi.py:69
DEBUG >> option name Clear_Hash type button usi.py:69
DEBUG >> option name Ponder type check default false usi.py:69
DEBUG >> option name MultiPV type spin default 1 min 1 max 500 usi.py:69
DEBUG >> option name Skill_Level type spin default 20 min -20 max 20 usi.py:69
DEBUG >> option name Move_Overhead type spin default 10 min 0 max 5000 usi.py:69
DEBUG >> option name Slow_Mover type spin default 100 min 10 max 1000 usi.py:69
DEBUG >> option name nodestime type spin default 0 min 0 max 10000 usi.py:69
DEBUG >> option name UCI_Chess960 type check default false usi.py:69
DEBUG >> option name UCI_Variant type combo default shogi var 3check var 5check var usi.py:69
ai-wok var almost var amazon var antichess var armageddon var asean var ataxx
var atomic var breakthrough var bughouse var cambodian var capablanca var
capahouse var caparandom var centaur var chancellor var chaturanga var chess var
chessgi var chigorin var clobber var clobber10 var codrus var coregal var
courier var crazyhouse var dobutsu var embassy var euroshogi var extinction var
fairy var fischerandom var gardner var giveaway var gorogoro var gothic var
grand var grasshopper var hoppelpoppel var horde var janggi var janggicasual var
janggimodern var janggitraditional var janus var jesonmor var judkins var karouk
var kinglet var kingofthehill var knightmate var koedem var kyotoshogi var loop
var losalamos var losers var makpong var makruk var manchu var micro var mini
var minishogi var minixiangqi var modern var newzealand var nightrider var
nocastle var nocheckatomic var normal var okisakishogi var opulent var placement
var pocketknight var racingkings var seirawan var shako var shatar var shatranj
var shogi var shoshogi var shouse var sittuyin var suicide var supply var
tencubed var threekings var torishogi var xiangqi var yarishogi
DEBUG >> option name UCI_AnalyseMode type check default false usi.py:69
DEBUG >> option name UCI_LimitStrength type check default false usi.py:69
DEBUG >> option name UCI_Elo type spin default 1350 min 500 max 2850 usi.py:69
DEBUG >> option name UCI_ShowWDL type check default false usi.py:69
DEBUG >> option name SyzygyPath type string default <empty> usi.py:69
DEBUG >> option name SyzygyProbeDepth type spin default 1 min 1 max 100 usi.py:69
DEBUG >> option name Syzygy50MoveRule type check default true usi.py:69
DEBUG >> option name SyzygyProbeLimit type spin default 7 min 0 max 7 usi.py:69
DEBUG >> option name Use_NNUE type check default true usi.py:69
DEBUG >> option name EvalFile type string default usi.py:69
xiangqi-83f16c17fe26.nnue;janggi-85de3dae670a.nnue
DEBUG >> option name TsumeMode type check default false usi.py:69
DEBUG >> option name VariantPath type string default <empty> usi.py:69
DEBUG >> usiok usi.py:69
DEBUG << setoption name Threads value 1 usi.py:55
DEBUG << isready usi.py:55
DEBUG >> readyok usi.py:69
INFO +++ Playing https://lishogi.org/QveCnB2q/sente Minishogi vs AI level 8 lishogi-bot.py:268
DEBUG Game state: {'type': 'gameState', 'moves': '', 'btime': 90000, 'wtime': lishogi-bot.py:283
90000, 'binc': 0, 'winc': 0, 'byo': 3000, 'sdraw': False, 'gdraw':
False, 'status': 'started'}
DEBUG Update: {'type': 'gameState', 'moves': '', 'btime': 90000, 'wtime': lishogi-bot.py:304
90000, 'binc': 0, 'winc': 0, 'byo': 3000, 'sdraw': False, 'gdraw':
False, 'status': 'started'}
DEBUG POST https://lishogi.org/api/bot/game/QveCnB2q/chat {'room': 'player', lishogi.py:80
'text': "Hi! I'm Viet-AI. Good luck! Type !help for a list of commands I can
respond to."}
DEBUG Starting new HTTPS connection (1): lishogi.org:443 connectionpool.py:1048
[07/25/23 22:00:53] DEBUG https://lishogi.org:443 "POST /api/bot/game/QveCnB2q/chat HTTP/1.1" connectionpool.py:546
200 11
DEBUG {'ok': True} lishogi.py:84
INFO Searching for time 1000 lishogi-bot.py:498
DEBUG << setoption name USI_Variant value minishogi usi.py:55
DEBUG << position startpos moves usi.py:55
DEBUG position startpos moves usi.py:252
DEBUG << go movetime 1 usi.py:55
INFO go movetime 1 usi.py:167
DEBUG >> No such option: USI Variant usi.py:69
ERROR Unexpected engine response to go: No such option: USI Variant usi.py:246
DEBUG >> info string classical evaluation enabled usi.py:69
DEBUG >> info depth 1 seldepth 1 multipv 1 score cp 30 nodes 30 nps 15000 tbhits 0 usi.py:69
time 2 pv 7g7f
DEBUG >> info depth 2 seldepth 2 multipv 1 score cp 107 nodes 62 nps 20666 tbhits 0 usi.py:69
time 3 pv 7g7f 8b7b
DEBUG >> info depth 3 seldepth 3 multipv 1 score cp 46 nodes 98 nps 32666 tbhits 0 usi.py:69
time 3 pv 7g7f 8b7b 8h7g
DEBUG >> info depth 4 seldepth 4 multipv 1 score cp 53 nodes 148 nps 37000 tbhits 0 usi.py:69
time 4 pv 7g7f 3a4b 8h7g
DEBUG >> info depth 5 seldepth 5 multipv 1 score cp 123 nodes 237 nps 39500 tbhits 0 usi.py:69
time 6 pv 7g7f 3a4b 7i7h
DEBUG >> info depth 6 seldepth 6 multipv 1 score cp 115 nodes 476 nps 47600 tbhits 0 usi.py:69
time 10 pv 7g7f 3a4b 7i7h 4a5b 6i7i 5a4a
DEBUG >> info depth 7 seldepth 7 multipv 1 score cp 61 nodes 1265 nps 66578 tbhits 0 usi.py:69
time 19 pv 7g7f 3a4b
DEBUG >> bestmove 7g7f ponder 3a4b usi.py:69
INFO score: {'cp': 61} engine_wrapper.py:105
INFO depth: 7 engine_wrapper.py:105
INFO nodes: 1265 engine_wrapper.py:105
INFO nps: 66578 engine_wrapper.py:105
DEBUG POST https://lishogi.org/api/bot/game/QveCnB2q/move/7g7f lishogi.py:80
[07/25/23 22:00:54] DEBUG https://lishogi.org:443 "POST /api/bot/game/QveCnB2q/move/7g7f connectionpool.py:546
HTTP/1.1" 400 26
DEBUG Giving up api_post(...) after 1 tries (requests.exceptions.HTTPError: 400 _common.py:120
Client Error: Bad Request for url:
https://lishogi.org/api/bot/game/QveCnB2q/move/7g7f)
DEBUG GET https://lishogi.org/api/account/playing lishogi.py:63
DEBUG https://lishogi.org:443 "GET /api/account/playing HTTP/1.1" 200 330 connectionpool.py:546
DEBUG {'nowPlaying': [{'fullId': 'QveCnB2q4yMV', 'gameId': 'QveCnB2q', 'sfen': lishogi.py:67
'rbsgk/4p/5/P4/KGSBR b -', 'color': 'sente', 'lastMove': '', 'variant':
{'key': 'minishogi', 'name': 'Minishogi'}, 'speed': 'bullet', 'perf':
'minishogi', 'rated': False, 'hasMoved': False, 'opponent': {'id': None,
'username': 'A.I. level 8', 'ai': 8}, 'isMyTurn': True, 'secondsLeft': 90}]}
DEBUG Update: {'type': 'chatLine', 'room': 'player', 'username': 'Viet-AI', lishogi-bot.py:304
'text': "Hi! I'm Viet-AI. Good luck! Type !help for a list of commands
I can respond to."}
INFO *** https://lishogi.org/QveCnB2q/sente [player] Viet-AI: b"Hi! I'm conversation.py:17
Viet-AI. Good luck! Type !help for a list of commands I can respond
to."
[07/25/23 22:00:57] DEBUG Event: {'type': 'ping'} lishogi-bot.py:147
[07/25/23 22:00:57] DEBUG Update: None
[07/25/23 22:04:01] INFO lishogi-bot.py:598
. _/\_
. //o o\\
. || || Lishogi-Bot 1.1.1
. || ||
. ||____|| Play on Lishogi with a bot
[07/25/23 22:04:02] INFO Welcome Viet-AI! lishogi-bot.py:605
INFO You're now connected to https://lishogi.org/ and awaiting challenges. lishogi-bot.py:118
[07/25/23 22:04:15] INFO --- Process Used. Total Queued: 0. Total Used: 1 lishogi-bot.py:196
[07/25/23 22:04:17] INFO +++ Playing https://lishogi.org/uPVxYsAu/sente Bullet vs AI level 8 lishogi-bot.py:268
[07/25/23 22:04:18] INFO Searching for time 1000 lishogi-bot.py:498
INFO go movetime 1 usi.py:167
ERROR Unexpected engine response to go: No such option: USI Variant usi.py:246
INFO score: {'cp': 0} engine_wrapper.py:105
INFO depth: 1 engine_wrapper.py:105
INFO nodes: 1 engine_wrapper.py:105
INFO nps: 200 engine_wrapper.py:105
[07/25/23 22:04:19] INFO *** https://lishogi.org/uPVxYsAu/sente [player] Viet-AI: b"Hi! I'm conversation.py:17
Viet-AI. Good luck! Type !help for a list of commands I can respond
to."
[07/25/23 22:04:20] INFO Game adjourned. lishogi-bot.py:562
INFO Game aborted. lishogi-bot.py:571
INFO --- https://lishogi.org/uPVxYsAu/sente[07/25/23 22:04:20] Game over lishogi-bot.pyINFO : +++ Process Free. Total Queued: 3830
. Total Used: 0 lishogi-bot.py:162
I don't think it is the same error, but here are a few things that could be fixed:
USI_Variant
sometimes, so maybe I should add an exception to check UCI_Variant
and USI_Variant
.Releases
GitHub Action (Download the Artifact).@TheYoBots I am very sorry as I am not free right now, going to sleep, will try to get back to you tomorrow morning but my schedule is pretty tight as I am busy
@M-DinhHoangViet
https://github.com/TheYoBots/Lishogi-Bot/commit/a7512cd0ec054b6a912a10bad3a992d3bcd31258 should fix your issue. If it doesn't then send me your error logs (with -v
).
Thank you @TheYoBots , it's working properly Except for Kyoto Shogi it shows this and doesn't work
[07/26/23 09:42:31] INFO --- Process Used. Total Queued: 0. Total Used: 1 lishogi-bot.py:196
[07/26/23 09:42:33] INFO +++ Playing https://lishogi.org/q9HWLNQL/gote Kyoto shogi vs BOT lishogi-bot.py:268
M_DinhHoangViet(1500?)
[07/26/23 09:42:48] INFO Searching for time 1000 lishogi-bot.py:498
INFO go movetime 1 usi.py:173
INFO score: {'cp': 61} engine_wrapper.py:105
INFO depth: 7 engine_wrapper.py:105
INFO nodes: 1265 engine_wrapper.py:105
INFO nps: 97307 engine_wrapper.py:105
[07/26/23 09:42:49] INFO *** https://lishogi.org/q9HWLNQL/gote [player] Viet-AI: b"Hi! I'm conversation.py:17
Viet-AI. Good luck! Type !help for a list of commands I can respond
to."
[07/26/23 09:42:56] INFO Game adjourned. lishogi-bot.py:562
INFO Game aborted. lishogi-bot.py:571
Could you send me your logs after adding the -v
tag when running lishogi bot? If you are facing an issue with kyotoshogi, then it is again another issue not related to what I fixed.
[07/26/23 14:17:32] INFO lishogi-bot.py:598
. _/\_
. //o o\\
. || || Lishogi-Bot 1.1.1
. || ||
. ||____|| Play on Lishogi with a bot
DEBUG GET https://lishogi.org/api/account lishogi.py:63
DEBUG Starting new HTTPS connection (1): lishogi.org:443 connectionpool.py:1048
[07/26/23 14:17:34] DEBUG https://lishogi.org:443 "GET /api/account HTTP/1.1" 200 1622 connectionpool.py:546
DEBUG {'id': 'viet-ai', 'username': 'Viet-AI', 'online': True, 'perfs': {'blitz': lishogi.py:67
{'games': 1, 'rating': 1469, 'rd': 322, 'prog': 0, 'prov': True},
'minishogi': {'games': 5, 'rating': 1778, 'rd': 167, 'prog': 0, 'prov':
True}, 'ultraBullet': {'games': 43, 'rating': 1860, 'rd': 110, 'prog': 26,
'prov': True}, 'bullet': {'games': 18, 'rating': 1946, 'rd': 103, 'prog':
70}, 'correspondence': {'games': 4, 'rating': 1686, 'rd': 224, 'prog': 0,
'prov': True}, 'classical': {'games': 0, 'rating': 1500, 'rd': 350, 'prog':
0, 'prov': True}, 'rapid': {'games': 0, 'rating': 1500, 'rd': 350, 'prog':
0, 'prov': True}}, 'createdAt': 1688005879255, 'profile': {'country': 'VN',
'location': 'Vietnam', 'bio': "Hi, I'm Đinh Hoàng Việt. Created by
@M_DinhHoangViet.", 'firstName': 'Việt', 'lastName': 'Đinh Hoàng', 'links':
'https://friend.chess.com/uhtJM\r\nhttps://lichess.org/@/M_DinhHoangViet\r\n
https://lishogi.org/@/M_DinhHoangViet\r\nhttps://playstrategy.org/@/M_DinhHo
angViet\r\nhttps://lidraughts.org/@M_DinhHoangViet\r\nhttps://chess24.com/en
/profile/m-dinhhoangviet\r\nhttps://www.twitch.tv/masterdinhhoangviet\r\nhtt
ps://twitter.com/DINHHOANGVIET_\r\nhttps://www.facebook.com/profile.php?id=1
00074561160371\r\nhttps://www.tiktok.com/@m_dinhhoangviet\r\nhttps://www.you
tube.com/@M_dinhhoangviet'}, 'seenAt': 1690355830183, 'playTime': {'total':
6237, 'tv': 2084}, 'language': 'vi-VN', 'title': 'BOT', 'url':
'https://lishogi.org/@/Viet-AI', 'playing':
'https://lishogi.org/jBrxdRiU/gote', 'nbFollowing': 1, 'nbFollowers': 2,
'count': {'all': 86, 'rated': 80, 'ai': 0, 'draw': 0, 'drawH': 0, 'loss':
16, 'lossH': 16, 'win': 70, 'winH': 70, 'bookmark': 0, 'playing': 1,
'import': 0, 'me': 0}, 'followable': True, 'following': False, 'blocking':
False, 'followsYou': False}
INFO Welcome Viet-AI! lishogi-bot.py:605
INFO You're now connected to https://lishogi.org/ and awaiting challenges. lishogi-bot.py:118
DEBUG GET https://lishogi.org/api/account/playing lishogi.py:63
DEBUG https://lishogi.org:443 "GET /api/account/playing HTTP/1.1" 200 338 connectionpool.py:546
DEBUG {'nowPlaying': [{'fullId': 'jBrxdRiUVzdc', 'gameId': 'jBrxdRiU', 'sfen': lishogi.py:67
'pgkst/5/5/2B2/T1KGP w -', 'color': 'gote', 'lastMove': '4e3d+', 'variant':
{'key': 'kyotoshogi', 'name': 'Kyoto shogi'}, 'speed': 'bullet', 'perf':
'kyotoshogi', 'rated': False, 'hasMoved': False, 'opponent': {'id': None,
'username': 'A.I. level 8', 'ai': 8}, 'isMyTurn': True, 'secondsLeft': 90}]}
[07/26/23 14:17:36] DEBUG Event: {'type': 'gameStart', 'game': {'id': 'jBrxdRiU'}} lishogi-bot.py:147
INFO --- Process Used. Total Queued: 0. Total Used: 1 lishogi-bot.py:196
[07/26/23 14:17:36] DEBUG GET https://lishogi.org/api/bot/game/stream/jBrxdRiU lishogi.py:110
DEBUG Starting new HTTPS connection (1): lishogi.org:443 connectionpool.py:1048
DEBUG https://lishogi.org:443 "GET /api/bot/game/stream/jBrxdRiU HTTP/1.1" connectionpool.py:546
200 None
DEBUG {'id': 'jBrxdRiU', 'variant': {'key': 'kyotoshogi', 'name': 'Kyoto lishogi-bot.py:261
shogi'}, 'clock': {'initial': 90000, 'increment': 0, 'byoyomi': 3000,
'periods': 1}, 'speed': 'bullet', 'perf': {'name': 'Kyoto shogi'},
'rated': False, 'createdAt': 1690355834737, 'sente': {'aiLevel': 8},
'white': {'aiLevel': 8}, 'gote': {'id': 'viet-ai', 'name': 'Viet-AI',
'title': 'BOT', 'rating': 1500, 'provisional': True}, 'black': {'id':
'viet-ai', 'name': 'Viet-AI', 'title': 'BOT', 'rating': 1500,
'provisional': True}, 'initialSfen': 'startpos', 'initialFen':
'startpos', 'fairyInitialSfen': 'startpos', 'type': 'gameFull',
'state': {'type': 'gameState', 'moves': '4e3d+', 'btime': 90000,
'wtime': 90000, 'binc': 0, 'winc': 0, 'byo': 3000, 'sdraw': False,
'gdraw': False, 'status': 'started', 'fairyMoves': '4e3d+'}}
DEBUG Starting engine: C:\Users\PV\Downloads\Lishogi-Bot-master engine_wrapper.py:35
(2)\Lishogi-Bot-master\engines\fairy-stockfish.exe
DEBUG << usi usi.py:55
[07/26/23 14:17:37] DEBUG >> Fairy-Stockfish 14.0.1 XQ by Fabian Fichter usi.py:69
[07/26/23 14:17:38] DEBUG >> id name Fairy-Stockfish 14.0.1 XQ usi.py:69
DEBUG >> id author Fabian Fichter usi.py:69
DEBUG >> usi.py:69
DEBUG >> option name Protocol type combo default usi var uci var usi var ucci var usi.py:69
ucicyclone var xboard
DEBUG >> option name Debug_Log_File type string default usi.py:69
DEBUG >> option name Threads type spin default 1 min 1 max 512 usi.py:69
DEBUG >> option name Hash type spin default 16 min 1 max 33554432 usi.py:69
DEBUG >> option name Clear_Hash type button usi.py:69
DEBUG >> option name Ponder type check default false usi.py:69
DEBUG >> option name MultiPV type spin default 1 min 1 max 500 usi.py:69
DEBUG >> option name Skill_Level type spin default 20 min -20 max 20 usi.py:69
DEBUG >> option name Move_Overhead type spin default 10 min 0 max 5000 usi.py:69
DEBUG >> option name Slow_Mover type spin default 100 min 10 max 1000 usi.py:69
DEBUG >> option name nodestime type spin default 0 min 0 max 10000 usi.py:69
DEBUG >> option name UCI_Chess960 type check default false usi.py:69
DEBUG >> option name UCI_Variant type combo default shogi var 3check var 5check var usi.py:69
ai-wok var almost var amazon var antichess var armageddon var asean var ataxx
var atomic var breakthrough var bughouse var cambodian var capablanca var
capahouse var caparandom var centaur var chancellor var chaturanga var chess var
chessgi var chigorin var clobber var clobber10 var codrus var coregal var
courier var crazyhouse var dobutsu var embassy var euroshogi var extinction var
fairy var fischerandom var gardner var giveaway var gorogoro var gothic var
grand var grasshopper var hoppelpoppel var horde var janggi var janggicasual var
janggimodern var janggitraditional var janus var jesonmor var judkins var karouk
var kinglet var kingofthehill var knightmate var koedem var kyotoshogi var loop
var losalamos var losers var makpong var makruk var manchu var micro var mini
var minishogi var minixiangqi var modern var newzealand var nightrider var
nocastle var nocheckatomic var normal var okisakishogi var opulent var placement
var pocketknight var racingkings var seirawan var shako var shatar var shatranj
var shogi var shoshogi var shouse var sittuyin var suicide var supply var
tencubed var threekings var torishogi var xiangqi var yarishogi
DEBUG >> option name UCI_AnalyseMode type check default false usi.py:69
DEBUG >> option name UCI_LimitStrength type check default false usi.py:69
DEBUG >> option name UCI_Elo type spin default 1350 min 500 max 2850 usi.py:69
DEBUG >> option name UCI_ShowWDL type check default false usi.py:69
DEBUG >> option name SyzygyPath type string default <empty> usi.py:69
DEBUG >> option name SyzygyProbeDepth type spin default 1 min 1 max 100 usi.py:69
DEBUG >> option name Syzygy50MoveRule type check default true usi.py:69
DEBUG >> option name SyzygyProbeLimit type spin default 7 min 0 max 7 usi.py:69
DEBUG >> option name Use_NNUE type check default true usi.py:69
DEBUG >> option name EvalFile type string default usi.py:69
xiangqi-83f16c17fe26.nnue;janggi-85de3dae670a.nnue
DEBUG >> option name TsumeMode type check default false usi.py:69
DEBUG >> option name VariantPath type string default <empty> usi.py:69
DEBUG >> usiok usi.py:69
DEBUG << setoption name Threads value 1 usi.py:55
DEBUG << isready usi.py:55
DEBUG >> readyok usi.py:69
INFO +++ Playing https://lishogi.org/jBrxdRiU/gote Kyoto shogi vs AI level 8 lishogi-bot.py:268
DEBUG Game state: {'type': 'gameState', 'moves': '4e3d+', 'btime': 90000, lishogi-bot.py:283
'wtime': 90000, 'binc': 0, 'winc': 0, 'byo': 3000, 'sdraw': False,
'gdraw': False, 'status': 'started', 'fairyMoves': '4e3d+'}
DEBUG Update: {'type': 'gameState', 'moves': '4e3d+', 'btime': 90000, lishogi-bot.py:304
'wtime': 90000, 'binc': 0, 'winc': 0, 'byo': 3000, 'sdraw': False,
'gdraw': False, 'status': 'started', 'fairyMoves': '4e3d+'}
DEBUG POST https://lishogi.org/api/bot/game/jBrxdRiU/chat {'room': 'player', lishogi.py:80
'text': "Hi! I'm Viet-AI. Good luck! Type !help for a list of commands I can
respond to."}
DEBUG Starting new HTTPS connection (1): lishogi.org:443 connectionpool.py:1048
[07/26/23 14:17:39] DEBUG https://lishogi.org:443 "POST /api/bot/game/jBrxdRiU/chat HTTP/1.1" connectionpool.py:546
200 11
DEBUG {'ok': True} lishogi.py:84
INFO Searching for time 1000 lishogi-bot.py:498
DEBUG << setoption name UCI_Variant value kyoto shogi usi.py:55
DEBUG << position startpos moves 4e3d+ usi.py:55
DEBUG position startpos moves 4e3d+ usi.py:258
DEBUG << go movetime 1 usi.py:55
INFO go movetime 1 usi.py:173
DEBUG >> info string classical evaluation enabled usi.py:69
DEBUG >> info depth 1 seldepth 1 multipv 1 score cp 30 nodes 30 nps 15000 tbhits 0 usi.py:69
time 2 pv 7g7f
DEBUG >> info depth 2 seldepth 2 multipv 1 score cp 107 nodes 62 nps 31000 tbhits 0 usi.py:69
time 2 pv 7g7f 8b7b
DEBUG >> info depth 3 seldepth 3 multipv 1 score cp 46 nodes 98 nps 49000 tbhits 0 usi.py:69
time 2 pv 7g7f 8b7b 8h7g
DEBUG >> info depth 4 seldepth 4 multipv 1 score cp 53 nodes 148 nps 74000 tbhits 0 usi.py:69
time 2 pv 7g7f 3a4b 8h7g
DEBUG >> info depth 5 seldepth 5 multipv 1 score cp 123 nodes 237 nps 118500 tbhits 0 usi.py:69
time 2 pv 7g7f 3a4b 7i7h
DEBUG >> info depth 6 seldepth 6 multipv 1 score cp 115 nodes 476 nps 158666 tbhits 0 usi.py:69
time 3 pv 7g7f 3a4b 7i7h 4a5b 6i7i 5a4a
DEBUG >> info depth 7 seldepth 7 multipv 1 score cp 61 nodes 1265 nps 180714 tbhits 0 usi.py:69
time 7 pv 7g7f 3a4b
DEBUG >> bestmove 7g7f ponder 3a4b usi.py:69
INFO score: {'cp': 61} engine_wrapper.py:105
INFO depth: 7 engine_wrapper.py:105
INFO nodes: 1265 engine_wrapper.py:105
INFO nps: 180714 engine_wrapper.py:105
DEBUG POST https://lishogi.org/api/bot/game/jBrxdRiU/move/7g7f lishogi.py:80
[07/26/23 14:17:40] DEBUG https://lishogi.org:443 "POST /api/bot/game/jBrxdRiU/move/7g7f connectionpool.py:546
HTTP/1.1" 400 26
DEBUG Giving up api_post(...) after 1 tries (requests.exceptions.HTTPError: 400 _common.py:120
Client Error: Bad Request for url:
https://lishogi.org/api/bot/game/jBrxdRiU/move/7g7f)
DEBUG GET https://lishogi.org/api/account/playing lishogi.py:63
DEBUG https://lishogi.org:443 "GET /api/account/playing HTTP/1.1" 200 338 connectionpool.py:546
DEBUG {'nowPlaying': [{'fullId': 'jBrxdRiUVzdc', 'gameId': 'jBrxdRiU', 'sfen': lishogi.py:67
'pgkst/5/5/2B2/T1KGP w -', 'color': 'gote', 'lastMove': '4e3d+', 'variant':
{'key': 'kyotoshogi', 'name': 'Kyoto shogi'}, 'speed': 'bullet', 'perf':
'kyotoshogi', 'rated': False, 'hasMoved': False, 'opponent': {'id': None,
'username': 'A.I. level 8', 'ai': 8}, 'isMyTurn': True, 'secondsLeft': 90}]}
DEBUG Update: {'type': 'chatLine', 'room': 'player', 'username': 'Viet-AI', lishogi-bot.py:304
'text': "Hi! I'm Viet-AI. Good luck! Type !help for a list of commands
I can respond to."}
INFO *** https://lishogi.org/jBrxdRiU/gote [player] Viet-AI: b"Hi! I'm conversation.py:17
Viet-AI. Good luck! Type !help for a list of commands I can respond
to."
[07/26/23 14:17:42] DEBUG Event: {'type': 'ping'} lishogi-bot.py:147
[07/26/23 14:17:42] DEBUG Update: None lishogi-bot.py:304
@M-DinhHoangViet https://github.com/TheYoBots/Lishogi-Bot/commit/52ddacc70761c003f2c97ab646503af077734d5a should fix your issue in kyotoshogi. A small mistake I overlooked.
Has this issue been fixed? I think the commits I have made take care of all the errors related to Fairy-Stockfish.
Also another issue, it says Process Free and not Process Freed
Regarding this, it is an intentional change and I'd prefer to keep it that way.
and in the chat text messages, there is a 'b' in front of it
It isn't a bug, since this client is taken from quite an old version of lichess-bot, it sends b
before the chat room text. Related to #88
Also another issue, it says Process Free and not Process Freed
Regarding this, it is an intentional change and I'd prefer to keep it that way.
What if the user has concurrency on 2 or above? It will not sound right
Also, I think a good change from latest lichess-bot would be the lichess bot auto logs folder, you should make that ASAP so bug reports are easier, and the user doesnt have to run the whole thing again with -v to get it
I will work on auto-logging soon, but apart from that, I think it is extremely unlikely that both games end at the same time so I'm not sure whether I really need to change this. @EmptikBest is the issue related to Fairy Stockfish fixed or you still get the same error?
will check in 30 mins
@EmptikBest ?
I opened up Lishogi-bot with Fairy-Stockfish, started my game and here is what it says:
Any idea on how to fix?