Giter Club home page Giter Club logo

qgo's Introduction

qGo

qGo is a Go Client based on Qt 5. It supports playing online at IGS-compatible servers (including some special tweaks for WING and LGS, also NNGS was reported to work) and locally against gnugo (or other GTP-compliant engines). It also has rudimentary support for editing SGF files and parital support for CyberORO/WBaduk, Tygem, Tom, and eWeiqi (developers of these backends are currently inactive, everybody is welcome to take them over).

Go is an ancient Chinese board game. It's called "圍棋(Wei Qi)" in Chinese, "囲碁(Yi Go)" in Japanese, "바둑(Baduk)" in Korean.

Installation

Qt 5.7 is or newer is required to build qgo.

git clone https://github.com/pzorin/qgo.git
cd qgo
qmake -qt=5 src
make
sudo make install

qgo's People

Contributors

ferion11 avatar liangqi avatar marguerite avatar missdeer avatar pinotree avatar pzorin avatar ydirson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

qgo's Issues

Can't add a stone after having removed it in edit mode

I'm using qgo 2.1.0 on a 64bit Archlinux machine, installed from the community repository.
To reproduce:

  1. Start a new game, with no players being computer.
  2. Go to edit mode.
  3. Choose the "Stone" tool (with a plus sign) under "Stone tools"
  4. Add a stone, e.g. a black stone, with left click.
  5. Left click again, to remove the stone.
  6. Now try adding another stone in the same place, with either left or right click. It doesn't add anything.

One can add stones in that place in game mode, or having the stone tool disabled, but with the stone tool, nothing seems to change the behavior.

Can't compile on OS X 10.9

Hey,

I installed QT and followed the steps in the README, but when I run make I get the following error:

qgo (master) • make
cd src/ && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile 
clang++ -c -pipe -stdlib=libc++ -mmacosx-version-min=10.7 -O2 -arch x86_64 -Wall -W -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Cellar/qt/4.8.6/mkspecs/unsupported/macx-clang-libc++ -I. -I/usr/local/Cellar/qt/4.8.6/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtNetwork.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtNetwork.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtMultimedia.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtMultimedia.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/include -I. -Inetwork -Iaudio -Igtp -Igame_interfaces -Igame_tree -Iboard -Isgf -I../build/moc -I../build/ui -F/usr/local/Cellar/qt/4.8.6/lib -o ../build/objects/displayboard.o displayboard.cpp
displayboard.cpp:29:10: fatal error: 'QtWidgets' file not found
#include <QtWidgets>
         ^
1 error generated.
make[1]: *** [../build/objects/displayboard.o] Error 1
make: *** [sub-src-make_default] Error 2

Am I missing a required lib?

lrelease on wheezy

can't get qgo to build:

/bin/lrelease src.pro
make: /bin/lrelease: Command not found
make: *** [install_languages] Error 127

there is no /bin/lrelease
and cannot find what is needed to be installed on wheezy
ie say qmake-qt-gui but not this...

make file and installation failed

I do as README.md says:
1, git clone, it's okay;
2, cd qgo, no problem;
3, qmake:command not found...
4,make: No targets specified and no makefile found.
5, sudo make install: No rule to make target 'install'.

My OS is Fedora 24. Kernel: x86_64 Linux 4.7.2-201.fc24.x86_64

wheezy and other builds

if you get serious about qgo, please arrange pre-builds with distributors such as wheezy.

IGS is a particular concern, as they are moving codebase to html5 with java,
anyway producing massive haemorrhage of issues using wheezy pre-built,
watched Honinbo final this morning, but now freezes on loading.
hence my visit...

wbaduk connection

Hi there,

i downloaded qgo 2.1 ppa in the softwarecenter and it connected me with wbaduk. Ok, so far so good, but i couldnt replace this "greeting bar" which was exactly placed over the Go board. If i minimize qgo this "bar" remains on the screen! Btw. Qgo 2.1 is a very nice program imho and i prefer it to the original wbaduk client - elegant and pure. I am new to linux and use the newest Mint 15 Cinnamon 64 bit version.
Thank you for your help in advance :)

greetings
blaubaer

HOST_NOT_FOUND is defined in qt5

When I used QT5 to build qgo, I found that this variable in enum ConnectionState was already defined:
#define HOST_NOT_FOUND WSAHOST_NOT_FOUND
so I changed it into HOST_NOT_FOUND_1 and then succeeded. You'd better fix this problem.

Computer hangs when human player passes

This is easy to reproduce, simply open the game against a computer, place a stone and pass as your second move. qgo hangs and will never play another stone.

GNU Go 3.8
qgo 2.1.0-3

ui_mainwindow.h

Hi,

Trying to build, it can't find file ui_mainwindow.h (included by mainwindow.h) . I think it needs to be added to the repository.

Here's the build error:
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/opt/Qt/5.2.0/gcc_64/mkspecs/linux-g++ -I. -I. -Inetwork -Iaudio -Igtp -Igame_interfaces -Igame_tree -Iboard -Isgf -I/opt/Qt/5.2.0/gcc_64/include -I/opt/Qt/5.2.0/gcc_64/include/QtGui -I/opt/Qt/5.2.0/gcc_64/include/QtCore -I/opt/Qt/5.2.0/gcc_64/include/QtWidgets -I../build/moc -o ../build/objects/main.o main.cpp
In file included from main.cpp:25:0:
mainwindow.h:26:27: fatal error: ui_mainwindow.h: No such file or directory
compilation terminated.

Thanks,

Jim

Handicap stones not shown when opening sgf file

Opening an existing sgf game does not draw handicap stones on board.

Changing line 44 in file game_interfaces/qgoboardlocalinterface.cpp fixes it:
if (gameData->handicap) // && gameData->fileName.isEmpty())

I'm not sure if this is the proper fix, that is, why the second condition is necessary.

Segfault when double clicking on a user on the list pane in IGS

I've never played on IGS before, so I don't know what to expect to happen. When I log on to IGS, there's a list of names on the List tab. When I click on one of the names, qgo crashes.

This is on Ubuntu 14.04, qgo source as of today (commit 2c4bfa3 ).

I've cut-n-pasted the backtrack from the core, and the output produced by qgo with just my name and password redacted.

gdb> bt
#0 0x00007ff42c4847ab in operator==(QString const&, QString const&) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#1 0x00007ff42d61aac5 in QLabel::setText(QString const&) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#2 0x00000000005042cb in Talk::updatePlayerListing (this=0x1f9e8f0) at network/talk.cpp:105
#3 0x00000000004fd233 in Room::slot_playerOpenTalk (this=0x1c09710, index=...) at network/room.cpp:146
#4 0x0000000000550859 in Room::qt_static_metacall (o=0x1c09710, c=QMetaObject::InvokeMetaMethod, id=0x4, a=0x7fff493d08b0) at ../build/moc/moc_room.cpp:100
#5 0x00007ff42c5fd2a6 in QMetaObject::activate(QObject
, int, int, void
) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6 0x00007ff42d70a1a5 in QAbstractItemView::doubleClicked(QModelIndex const&) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7 0x00007ff42d7182c5 in QAbstractItemView::mouseDoubleClickEvent(QMouseEvent
) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8 0x00007ff42d51ae8c in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9 0x00007ff42d616c7e in QFrame::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007ff42d717d5b in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007ff42c5d5e53 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject
, QEvent
) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007ff42d4dfc6c in QApplicationPrivate::notify_helper(QObject_, QEvent_) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007ff42d4e5b61 in QApplication::notify(QObject_, QEvent_) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007ff42c5d5c2d in QCoreApplication::notifyInternal(QObject_, QEvent_) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007ff42d4e39e1 in QApplicationPrivate::sendMouseEvent(QWidget_, QMouseEvent_, QWidget_, QWidget_, QWidget**, QPointer&, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007ff42d537bbf in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007ff42d5399bb in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007ff42d4dfc8c in QApplicationPrivate::notify_helper(QObject_, QEvent_) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007ff42d4e4e56 in QApplication::notify(QObject_, QEvent_) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007ff42c5d5c2d in QCoreApplication::notifyInternal(QObject_, QEvent_) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007ff42caf5308 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#22 0x00007ff42caf6925 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#23 0x00007ff42cadf858 in QWindowSystemInterface::sendWindowSystemEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#24 0x00007ff421fc1250 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#25 0x00007ff42ae10e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007ff42ae11048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007ff42ae110ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007ff42c62298c in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007ff42c5d496b in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007ff42c5db0e1 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x000000000042052d in main (argc=0x1, argv=0x7fff493d18f8) at main.cpp:127

Output:

Home Path : /home/ale
Current Path : /home/ale
defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
Connecting to igs.joyjoy.net 7777...

rank spread : NR - 9p
Login found

sendText: myname

:10 ??^A
1 1

Password prompt or 1 1 found
sendText: mypasword

sendText: toggle client on

sendText: toggle looking false

sendText: toggle open false

sendText: id qGov2.0.0

sendText: toggle newundo on

sendText: toggle nmatch on

sendText: toggle seek on

sendText: toggle newrating

sendText: seek config_list

sendText: join 0

Joining 0
sendText: userlist

sendText: games

sendText: room

sendText: channels

Ready!

can't connect to tygem

I managed to connect to tygem with version 2.0.0 that I installed from ubuntu repositories (ubuntu 14.04) couple days ago. Now yesterday I installed 2.1.0 from this github, and the old tygem credentials work no more. Removing and resetting the same creds no avail.

Protocol Error
This may also result from wrong username or password.

linux console outputs:

Requesting Tygem Server Info
Connecting to 121.189.9.52 80...

rank spread : 3k - 3d
NetworkConnection::OnError() : TCP socket error: "The remote host closed the connection"

I have posted to life19x19 forum a more detailed post about all my qgo problems here: http://www.lifein19x19.com/forum/viewtopic.php?f=18&t=10357

can't start a game

i can't seem to start a game. i right-click on an available player, choose "match" then i get the settings popup and click "offer". the button stays pressed and nothing happens!

on the terminal i see:

defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
unsupported IGS time type p
unsupported IGS time type
GameDialog::recvRequest
oppRk: 16k?
myRk: BC
play white: 9998
no nmatch
set-up accept
#### GameDialog::slot_offer()
sendText: nmatch SOWE W 1 19 60 600 25 0 0 0

Match request unchanged

error? 5 SOWE wants turn [N].

Unknown: SOWE wants turn [N].
Opening up this game... restoring?
IGSConnection::handle_shout()  "{Match 127: mrmagic [ 6k+] vs. dainamaito [ 6k+] }"
IGSConnection::handle_shout()  "{Match 85: bonjabonja [11k+] vs. eiko8 [11k+] }"
IGSConnection::handle_shout()  "{Match 150: oydthree [ 2k ] vs. a4941811 [ 2k ] }"
IGSConnection::handle_shout()  "{Match 33: maH [ 2d+] vs. alking [ 2d ] }"
IGSConnection::handle_shout()  "{Match 38: aosan [ 3k ] vs. ty1216 [ 4k+] }"
IGSConnection::handle_shout()  "{Match 47: tomo4 [14k+] vs. Benji [15k+] }"
IGSConnection::handle_shout()  "{Match 109: SirEP [11k ] vs. RyuSO [12k ] }"
GameDialog::closeEvent
deconstructing GameDialog
sendText: seek entry_cancel

Opening up this game... restoring?

in the above, i ended up clicking cancel.

this is on Debian wheezy with the debian package compiled by hand from sid (2.1~git-20141009-1)...

tygem server changed something in protocol connection

I have 32 bit manjaro e 64 bit arch linux installed, on both computers tygem stopped to work, it says
from console:

Home Path : /home/enrico
Current Path : /home/enrico
Requesting Tygem Server Info
Connecting to 121.189.9.52 80...

rank spread : NR - 9p
NetworkConnection::OnError() : TCP socket error: "The remote host closed the connection"
ConnectionWidget::onConnectionError(void)
Destroying Tygem connection

thanks you for help !

Stalls loading games (Arm)

qGo 2.0.0 ubuntu13 Arm

installed and ran fine, watched games etc..
however today stalls each and every time whilst loading games,
ie players appear to load, but get spinning wheel.
tried apt-get remove and install, no change

tried gdb but no useful output.
at a loss what to try?

make is giving out errors and make install too

little help with the installation, thanks.
Please let me know if i'm sayin too much or too few

hi just like this:

make output:
make all-recursive
make[1]: Entering directory /home/polo/qgo-1.5.4' Making all in src make[2]: Entering directory/home/polo/qgo-1.5.4/src'
Making all in pics
make[3]: Entering directory /home/polo/qgo-1.5.4/src/pics' make[3]: Nothing to be done forall'.
make[3]: Leaving directory /home/polo/qgo-1.5.4/src/pics' Making all in translations make[3]: Entering directory/home/polo/qgo-1.5.4/src/translations'
make[3]: Nothing to be done for all'. make[3]: Leaving directory/home/polo/qgo-1.5.4/src/translations'
Making all in sounds
make[3]: Entering directory /home/polo/qgo-1.5.4/src/sounds' make[3]: Nothing to be done forall'.
make[3]: Leaving directory /home/polo/qgo-1.5.4/src/sounds' make[3]: Entering directory/home/polo/qgo-1.5.4/src'
source='gamedialog.cpp' object='gamedialog.o' libtool=no
depfile='.deps/gamedialog.Po' tmpdepfile='.deps/gamedialog.TPo'
depmode=gcc3 /bin/sh ../admin/depcomp
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt-3.3/include -I. -DQT_THREAD_SUPPORT -DDATADIR='""' -D_REENTRANT -fno-exceptions -fno-check-new -c -o gamedialog.o test -f 'gamedialog.cpp' || echo './'gamedialog.cpp
gamedialog.cpp: In member function ‘void GameDialog::slot_dispute(const QString&, const QString&)’:
gamedialog.cpp:515:65: error: cannot call constructor ‘QColor::QColor’ directly [-fpermissive]
handicapSpin->setPaletteBackgroundColor(QColor::QColor("cyan"));
^
gamedialog.cpp:515:65: error: for a function-style cast, remove the redundant ‘::QColor’ [-fpermissive]
gamedialog.cpp:524:66: error: cannot call constructor ‘QColor::QColor’ directly [-fpermissive]
boardSizeSpin->setPaletteBackgroundColor(QColor::QColor("cyan"));
^
gamedialog.cpp:524:66: error: for a function-style cast, remove the redundant ‘::QColor’ [-fpermissive]
gamedialog.cpp:533:61: error: cannot call constructor ‘QColor::QColor’ directly [-fpermissive]
timeSpin->setPaletteBackgroundColor(QColor::QColor("cyan"));
^
gamedialog.cpp:533:61: error: for a function-style cast, remove the redundant ‘::QColor’ [-fpermissive]
gamedialog.cpp:542:64: error: cannot call constructor ‘QColor::QColor’ directly [-fpermissive]
byoTimeSpin->setPaletteBackgroundColor(QColor::QColor("cyan"));
^
gamedialog.cpp:542:64: error: for a function-style cast, remove the redundant ‘::QColor’ [-fpermissive]
gamedialog.cpp:553:71: error: cannot call constructor ‘QColor::QColor’ directly [-fpermissive]
play_nigiri_button->setPaletteBackgroundColor(QColor::QColor("cyan"));
^
gamedialog.cpp:553:71: error: for a function-style cast, remove the redundant ‘::QColor’ [-fpermissive]
gamedialog.cpp:554:70: error: cannot call constructor ‘QColor::QColor’ directly [-fpermissive]
play_white_button->setPaletteBackgroundColor(QColor::QColor("cyan"));
^
gamedialog.cpp:554:70: error: for a function-style cast, remove the redundant ‘::QColor’ [-fpermissive]
gamedialog.cpp:555:70: error: cannot call constructor ‘QColor::QColor’ directly [-fpermissive]
play_black_button->setPaletteBackgroundColor(QColor::QColor("cyan"));
^
gamedialog.cpp:555:70: error: for a function-style cast, remove the redundant ‘::QColor’ [-fpermissive]
gamedialog.cpp:561:71: error: cannot call constructor ‘QColor::QColor’ directly [-fpermissive]
play_nigiri_button->setPaletteBackgroundColor(QColor::QColor("cyan"));
^
gamedialog.cpp:561:71: error: for a function-style cast, remove the redundant ‘::QColor’ [-fpermissive]
gamedialog.cpp:562:70: error: cannot call constructor ‘QColor::QColor’ directly [-fpermissive]
play_white_button->setPaletteBackgroundColor(QColor::QColor("cyan"));
^
gamedialog.cpp:562:70: error: for a function-style cast, remove the redundant ‘::QColor’ [-fpermissive]
gamedialog.cpp:563:70: error: cannot call constructor ‘QColor::QColor’ directly [-fpermissive]
play_black_button->setPaletteBackgroundColor(QColor::QColor("cyan"));
^
gamedialog.cpp:563:70: error: for a function-style cast, remove the redundant ‘::QColor’ [-fpermissive]
gamedialog.cpp:569:71: error: cannot call constructor ‘QColor::QColor’ directly [-fpermissive]
play_nigiri_button->setPaletteBackgroundColor(QColor::QColor("cyan"));
^
gamedialog.cpp:569:71: error: for a function-style cast, remove the redundant ‘::QColor’ [-fpermissive]
gamedialog.cpp:570:70: error: cannot call constructor ‘QColor::QColor’ directly [-fpermissive]
play_white_button->setPaletteBackgroundColor(QColor::QColor("cyan"));
^
gamedialog.cpp:570:70: error: for a function-style cast, remove the redundant ‘::QColor’ [-fpermissive]
gamedialog.cpp:571:70: error: cannot call constructor ‘QColor::QColor’ directly [-fpermissive]
play_black_button->setPaletteBackgroundColor(QColor::QColor("cyan"));
^
gamedialog.cpp:571:70: error: for a function-style cast, remove the redundant ‘::QColor’ [-fpermissive]
make[3]: *** [gamedialog.o] Error 1
make[3]: Leaving directory /home/polo/qgo-1.5.4/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory/home/polo/qgo-1.5.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/polo/qgo-1.5.4'
make: *** [all] Error 2

sudo make install output:

Making install in src
make[1]: Entering directory /home/polo/qgo-1.5.4/src' Making install in pics make[2]: Entering directory/home/polo/qgo-1.5.4/src/pics'
make[3]: Entering directory /home/polo/qgo-1.5.4/src/pics' make[3]: Nothing to be done forinstall-exec-am'.
/bin/sh ../../admin/mkinstalldirs /usr/local/share/qGo/pics
/usr/bin/install -c -p -m 644 Bowl.png /usr/local/share/qGo/pics/Bowl.png
/usr/bin/install -c -p -m 644 barcelona_cherry.jpg /usr/local/share/qGo/pics/barcelona_cherry.jpg
/usr/bin/install -c -p -m 644 birch.jpg /usr/local/share/qGo/pics/birch.jpg
/usr/bin/install -c -p -m 644 eurobeech.jpg /usr/local/share/qGo/pics/eurobeech.jpg
/usr/bin/install -c -p -m 644 goldenbeech.jpg /usr/local/share/qGo/pics/goldenbeech.jpg
/usr/bin/install -c -p -m 644 kaya.png /usr/local/share/qGo/pics/kaya.png
/usr/bin/install -c -p -m 644 lemontree.jpg /usr/local/share/qGo/pics/lemontree.jpg
/usr/bin/install -c -p -m 644 manitoba.jpg /usr/local/share/qGo/pics/manitoba.jpg
/usr/bin/install -c -p -m 644 maple.jpg /usr/local/share/qGo/pics/maple.jpg
/usr/bin/install -c -p -m 644 plain.png /usr/local/share/qGo/pics/plain.png
/usr/bin/install -c -p -m 644 synthetic_1.png /usr/local/share/qGo/pics/synthetic_1.png
/usr/bin/install -c -p -m 644 synthetic_2.png /usr/local/share/qGo/pics/synthetic_2.png
make[3]: Leaving directory /home/polo/qgo-1.5.4/src/pics' make[2]: Leaving directory/home/polo/qgo-1.5.4/src/pics'
Making install in translations
make[2]: Entering directory /home/polo/qgo-1.5.4/src/translations' make[3]: Entering directory/home/polo/qgo-1.5.4/src/translations'
make[3]: Nothing to be done for install-exec-am'. /bin/sh ../../admin/mkinstalldirs /usr/local/share/qGo/translations /usr/bin/install -c -p -m 644 qgo_cz.qm /usr/local/share/qGo/translations/qgo_cz.qm /usr/bin/install -c -p -m 644 qgo_de.qm /usr/local/share/qGo/translations/qgo_de.qm /usr/bin/install -c -p -m 644 qgo_dk.qm /usr/local/share/qGo/translations/qgo_dk.qm /usr/bin/install -c -p -m 644 qgo_fr.qm /usr/local/share/qGo/translations/qgo_fr.qm /usr/bin/install -c -p -m 644 qgo_it.qm /usr/local/share/qGo/translations/qgo_it.qm /usr/bin/install -c -p -m 644 qgo_la.qm /usr/local/share/qGo/translations/qgo_la.qm /usr/bin/install -c -p -m 644 qgo_nl.qm /usr/local/share/qGo/translations/qgo_nl.qm /usr/bin/install -c -p -m 644 qgo_pl.qm /usr/local/share/qGo/translations/qgo_pl.qm /usr/bin/install -c -p -m 644 qgo_pt.qm /usr/local/share/qGo/translations/qgo_pt.qm /usr/bin/install -c -p -m 644 qgo_ru.qm /usr/local/share/qGo/translations/qgo_ru.qm /usr/bin/install -c -p -m 644 qgo_tr.qm /usr/local/share/qGo/translations/qgo_tr.qm /usr/bin/install -c -p -m 644 qgo_zh.qm /usr/local/share/qGo/translations/qgo_zh.qm /usr/bin/install -c -p -m 644 qgo_zh_cn.qm /usr/local/share/qGo/translations/qgo_zh_cn.qm /bin/sh ../../admin/mkinstalldirs /usr/local/share/qGo/translations/ /usr/bin/install -c -p -m 644 ./qgo_de.qm /usr/local/share/qGo/translations/ /bin/sh ../../admin/mkinstalldirs /usr/local/share/qGo/translations/ /usr/bin/install -c -p -m 644 ./qgo_fr.qm /usr/local/share/qGo/translations/ /bin/sh ../../admin/mkinstalldirs /usr/local/share/qGo/translations/ /usr/bin/install -c -p -m 644 ./qgo_it.qm /usr/local/share/qGo/translations/ /bin/sh ../../admin/mkinstalldirs /usr/local/share/qGo/translations/ /usr/bin/install -c -p -m 644 ./qgo_nl.qm /usr/local/share/qGo/translations/ make[3]: Leaving directory/home/polo/qgo-1.5.4/src/translations'
make[2]: Leaving directory /home/polo/qgo-1.5.4/src/translations' Making install in sounds make[2]: Entering directory/home/polo/qgo-1.5.4/src/sounds'
make[3]: Entering directory /home/polo/qgo-1.5.4/src/sounds' make[3]: Nothing to be done forinstall-exec-am'.
/bin/sh ../../admin/mkinstalldirs /usr/local/share/qGo/sounds
/usr/bin/install -c -p -m 644 click.wav /usr/local/share/qGo/sounds/click.wav
/usr/bin/install -c -p -m 644 connect.wav /usr/local/share/qGo/sounds/connect.wav
/usr/bin/install -c -p -m 644 enter.wav /usr/local/share/qGo/sounds/enter.wav
/usr/bin/install -c -p -m 644 gameend.wav /usr/local/share/qGo/sounds/gameend.wav
/usr/bin/install -c -p -m 644 leave.wav /usr/local/share/qGo/sounds/leave.wav
/usr/bin/install -c -p -m 644 match.wav /usr/local/share/qGo/sounds/match.wav
/usr/bin/install -c -p -m 644 pass.wav /usr/local/share/qGo/sounds/pass.wav
/usr/bin/install -c -p -m 644 say.wav /usr/local/share/qGo/sounds/say.wav
/usr/bin/install -c -p -m 644 stone.wav /usr/local/share/qGo/sounds/stone.wav
/usr/bin/install -c -p -m 644 talk.wav /usr/local/share/qGo/sounds/talk.wav
/usr/bin/install -c -p -m 644 tictoc.wav /usr/local/share/qGo/sounds/tictoc.wav
/bin/sh ../../admin/mkinstalldirs /usr/local/share/qGo/sounds/
/usr/bin/install -c -p -m 644 ./click.wav /usr/local/share/qGo/sounds/
/bin/sh ../../admin/mkinstalldirs /usr/local/share/qGo/sounds/
/usr/bin/install -c -p -m 644 ./connect.wav /usr/local/share/qGo/sounds/
/bin/sh ../../admin/mkinstalldirs /usr/local/share/qGo/sounds/
/usr/bin/install -c -p -m 644 ./enter.wav /usr/local/share/qGo/sounds/
/bin/sh ../../admin/mkinstalldirs /usr/local/share/qGo/sounds/
/usr/bin/install -c -p -m 644 ./gameend.wav /usr/local/share/qGo/sounds/
/bin/sh ../../admin/mkinstalldirs /usr/local/share/qGo/sounds/
/usr/bin/install -c -p -m 644 ./leave.wav /usr/local/share/qGo/sounds/
/bin/sh ../../admin/mkinstalldirs /usr/local/share/qGo/sounds/
/usr/bin/install -c -p -m 644 ./match.wav /usr/local/share/qGo/sounds/
/bin/sh ../../admin/mkinstalldirs /usr/local/share/qGo/sounds/
/usr/bin/install -c -p -m 644 ./pass.wav /usr/local/share/qGo/sounds/
/bin/sh ../../admin/mkinstalldirs /usr/local/share/qGo/sounds/
/usr/bin/install -c -p -m 644 ./say.wav /usr/local/share/qGo/sounds/
/bin/sh ../../admin/mkinstalldirs /usr/local/share/qGo/sounds/
/usr/bin/install -c -p -m 644 ./stone.wav /usr/local/share/qGo/sounds/
/bin/sh ../../admin/mkinstalldirs /usr/local/share/qGo/sounds/
/usr/bin/install -c -p -m 644 ./talk.wav /usr/local/share/qGo/sounds/
/bin/sh ../../admin/mkinstalldirs /usr/local/share/qGo/sounds/
/usr/bin/install -c -p -m 644 ./tictoc.wav /usr/local/share/qGo/sounds/
make[3]: Leaving directory /home/polo/qgo-1.5.4/src/sounds' make[2]: Leaving directory/home/polo/qgo-1.5.4/src/sounds'
make[2]: Entering directory /home/polo/qgo-1.5.4/src' source='gamedialog.cpp' object='gamedialog.o' libtool=no \ depfile='.deps/gamedialog.Po' tmpdepfile='.deps/gamedialog.TPo' \ depmode=gcc3 /bin/sh ../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt-3.3/include -I. -DQT_THREAD_SUPPORT -DDATADIR='""' -D_REENTRANT -fno-exceptions -fno-check-new -c -o gamedialog.otest -f 'gamedialog.cpp' || echo './'gamedialog.cpp gamedialog.cpp: In member function ‘void GameDialog::slot_dispute(const QString&, const QString&)’: gamedialog.cpp:515:65: error: cannot call constructor ‘QColor::QColor’ directly [-fpermissive] handicapSpin->setPaletteBackgroundColor(QColor::QColor("cyan")); ^ gamedialog.cpp:515:65: error: for a function-style cast, remove the redundant ‘::QColor’ [-fpermissive] gamedialog.cpp:524:66: error: cannot call constructor ‘QColor::QColor’ directly [-fpermissive] boardSizeSpin->setPaletteBackgroundColor(QColor::QColor("cyan")); ^ gamedialog.cpp:524:66: error: for a function-style cast, remove the redundant ‘::QColor’ [-fpermissive] gamedialog.cpp:533:61: error: cannot call constructor ‘QColor::QColor’ directly [-fpermissive] timeSpin->setPaletteBackgroundColor(QColor::QColor("cyan")); ^ gamedialog.cpp:533:61: error: for a function-style cast, remove the redundant ‘::QColor’ [-fpermissive] gamedialog.cpp:542:64: error: cannot call constructor ‘QColor::QColor’ directly [-fpermissive] byoTimeSpin->setPaletteBackgroundColor(QColor::QColor("cyan")); ^ gamedialog.cpp:542:64: error: for a function-style cast, remove the redundant ‘::QColor’ [-fpermissive] gamedialog.cpp:553:71: error: cannot call constructor ‘QColor::QColor’ directly [-fpermissive] play_nigiri_button->setPaletteBackgroundColor(QColor::QColor("cyan")); ^ gamedialog.cpp:553:71: error: for a function-style cast, remove the redundant ‘::QColor’ [-fpermissive] gamedialog.cpp:554:70: error: cannot call constructor ‘QColor::QColor’ directly [-fpermissive] play_white_button->setPaletteBackgroundColor(QColor::QColor("cyan")); ^ gamedialog.cpp:554:70: error: for a function-style cast, remove the redundant ‘::QColor’ [-fpermissive] gamedialog.cpp:555:70: error: cannot call constructor ‘QColor::QColor’ directly [-fpermissive] play_black_button->setPaletteBackgroundColor(QColor::QColor("cyan")); ^ gamedialog.cpp:555:70: error: for a function-style cast, remove the redundant ‘::QColor’ [-fpermissive] gamedialog.cpp:561:71: error: cannot call constructor ‘QColor::QColor’ directly [-fpermissive] play_nigiri_button->setPaletteBackgroundColor(QColor::QColor("cyan")); ^ gamedialog.cpp:561:71: error: for a function-style cast, remove the redundant ‘::QColor’ [-fpermissive] gamedialog.cpp:562:70: error: cannot call constructor ‘QColor::QColor’ directly [-fpermissive] play_white_button->setPaletteBackgroundColor(QColor::QColor("cyan")); ^ gamedialog.cpp:562:70: error: for a function-style cast, remove the redundant ‘::QColor’ [-fpermissive] gamedialog.cpp:563:70: error: cannot call constructor ‘QColor::QColor’ directly [-fpermissive] play_black_button->setPaletteBackgroundColor(QColor::QColor("cyan")); ^ gamedialog.cpp:563:70: error: for a function-style cast, remove the redundant ‘::QColor’ [-fpermissive] gamedialog.cpp:569:71: error: cannot call constructor ‘QColor::QColor’ directly [-fpermissive] play_nigiri_button->setPaletteBackgroundColor(QColor::QColor("cyan")); ^ gamedialog.cpp:569:71: error: for a function-style cast, remove the redundant ‘::QColor’ [-fpermissive] gamedialog.cpp:570:70: error: cannot call constructor ‘QColor::QColor’ directly [-fpermissive] play_white_button->setPaletteBackgroundColor(QColor::QColor("cyan")); ^ gamedialog.cpp:570:70: error: for a function-style cast, remove the redundant ‘::QColor’ [-fpermissive] gamedialog.cpp:571:70: error: cannot call constructor ‘QColor::QColor’ directly [-fpermissive] play_black_button->setPaletteBackgroundColor(QColor::QColor("cyan")); ^ gamedialog.cpp:571:70: error: for a function-style cast, remove the redundant ‘::QColor’ [-fpermissive] make[2]: *** [gamedialog.o] Error 1 make[2]: Leaving directory/home/polo/qgo-1.5.4/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/polo/qgo-1.5.4/src'
make: *** [install-recursive] Error 1

user list -> username right click -> "Match" does nothing on Wbaduk

This is on same set up as #23

On qgo's IGS, a window pops up, where I could set game rules, but this doesn't happen on Wbaduk. I had this same problem with Tygem on version 2.0.0 that is found in Ubuntu (14.04) repos. Now on version 2.1.0 I can not connect to tygem so I can't verify if the "Match" button doesn't work on tygem either, as I have this problem #22

on linux console it just says: "room were in 0 room there in 476" The 476 is the number on opponents "Play" field. Not sure if this is related, but on linux console, it keeps saying "Found non running game in game registry !!!" over and over. I was challenged once, and I accepted it, but the game never opened up anywhere. Maybe it is haunting somewhere?

I don't know how to post backtrack of core if that is needed.

Also possibly related to this problem is that when I tag "Open for playing" and "Looking for game", I don't see me challenging anyone, nor I am geting any challenges.

More details on all my qgo probs here http://www.lifein19x19.com/forum/viewtopic.php?f=18&t=10357

Installation: make - error in board/clockdisplay.cpp

make errors out for me.

board/clockdisplay.cpp:46:2: error: use of undeclared identifier 'pb_timeBlack'
        pb_timeBlack->setStyleSheet("background-color: black; color: white");
        ^
board/clockdisplay.cpp:47:2: error: use of undeclared identifier 'pb_timeWhite'
        pb_timeWhite->setStyleSheet("background-color: black; color: white");
        ^
2 errors generated.
make[1]: *** [../build/objects/clockdisplay.o] Error 1
make: *** [sub-src-make_first] Error 2

Mac OS X 10.9.2
QT 5.2.1 (for qmake in previous step)

Doesn't work with leela-zero

https://github.com/gcp/leela-zero

I see this https://github.com/pzorin/qgo/blob/master/src/gtp/qgtp.cpp#L75

But leela-zero supports both GTP 2 with or without command numbers, and playing by hand works. In fact leela-zero gives back a move but qgo does not update the UI:

QGtp::openGtpSession( "/usr/games/leelaz" , "--gtp -q --weights /home/infinity0/.cache/leela-zero/best-network" )
flush -> protocol_version
** QGtp::slot_readFromStdout():  = 2
** QGtp::waitResponse():  '2'
flush -> boardsize 19
** QGtp::slot_readFromStdout():  = 
** QGtp::waitResponse():  ''
flush -> clear_board
** QGtp::slot_readFromStdout():  = 
** QGtp::waitResponse():  ''
flush -> komi 7.50
** QGtp::slot_readFromStdout():  = 
** QGtp::waitResponse():  ''
flush -> clear_board
** QGtp::slot_readFromStdout():  = 
** QGtp::waitResponse():  ''
flush -> play black D4
** QGtp::slot_readFromStdout():  = 
** QGtp::waitResponse():  ''
flush -> genmove white
** QGtp::slot_readFromStdout():  = Q4
Deleting BoardWindow

I'm also not sure why it says "play black D4" when in the qgo UI it's drawn as D16.

players name in major tournament

on IGS players names in major tournaments are often provided:

ie in addition to boardname: kansai2 one has the name of actual players

some clients show these, others do not

apologies if I did not find...

where do autosaved games get saved?

i noticed the "autosave" setting in the "servers" configuration - but where do those files get saved? i couldn't find them in my home directory or in the .config directory...

Combined window for "say" and "tell" on IGS

On IGS, you can greet a player in the chat window to the right of the board when you start a match. However, if you try to thank them for the game in the same window after scoring, it does not go through, and it tells you that "say" can only be used during matches.

It is still possible to thank the opponent, but it's necessary to use the separate "tell" command, which opens a separate window.

It would be great if the default chat window attached to the match board could select the appropriate "say" or "tell . " command, depending on whether the match was in progress or not, and only open a "tell" window if there's no appropriate game board window for the responses.

cyberoro bugfix [duplicate]

Hi! You are doing a great job here. Thank you.
To contribute a bit, I make a fork and a Pull Request. So this issue became a duplicate.

improving the build instructions in the README

You had fixed an issue in the most recent development version that was bothering me, so I tried to build the development version, but I could not build qgo following the instructions as given. (Just a warning - this is my first time working with qmake.)

Finding the project file
after 'cd qgo; qmake' I just received usage information on qmake. I'm guessing that it doesn't search subdirectories for a project file. I had to either 'cd qgo/src; qmake' or 'cd qgo; qmake src/src.pro' or 'cd qgo; qmake src' in order for qmake to find the project file. Is there some other, better way to get qmake to find the project file, or should the README be changed to one of the above forms?

Qt 5
I'm currently running Ubuntu 16.04, which includes Qt 4 and defaults to Qt 4 even after you've installed Qt 5. Attempting to build with Qt 4 produces a warning from qmake, and then an error during make. Running 'qmake -qt=5' causes my machine to use Qt 5, and I get the impression that if Qt 5 wasn't installed, then it would give that error rather than trying to use Qt 4. The README already clearly states that this project uses Qt 5, but as someone who hasn't used qmake before it isn't obvious that just running qmake might run the wrong qmake. On the other hand, I've only gotten this to work on my machine and don't know if this would work on any other machine.

Dependencies
In addition to qt5-qmake had to install qtmultimedia5-dev in order to get it to build, but this was pretty obvious from the errors that I got. However, I got errors when building head because the qOVERLOAD function is new in Qt 5.7, and Ubuntu 16.04 only includes Qt 5.5.1. I checked out commit d8e685f, from before the signals changes and that builds successfully with Qt 5.5.1. It might be worth noting in the README that the current version will only build with Qt 5.7 or later.

Connection to private NNGS server

In previous versions of qgo, one could connect to private servers through IGS but I'm not able to see how to do that in the new qgo2. Is an option that was deprecated or simply that I cannot find it? Would it be a good pull request for qgo2?

user list -> username right click -> Match - "Match invite response failed to verify player" (tygem)

The match settings screen is not coming up on Tygem (similarly to wbaduk #24 ) Nothing happens on user list -> username right click -> "Match". Also it won't come up nor nothing will happen, if someone challenges me and I click "accept". Also nothing happens from the go board picture on left column's "talk"-view. On these occasions linux console gives me a message "Match invite response failed to verify player"

tags and official releases?

hello

it would be nice if there were real tags laid on the git repository to have real release numbers here. the debian package says it's 2.1~git-20141009-1 but it's unclear where this version number is coming from.

thanks

open game from commandline

Sorry, I am not sure if ubuntu is using your code, but in ubuntu 14.04 and 14.10 I could not use qgo to open sgf from web (at least not in simply way) .

I found this -> "Opening files from command line not supported at the moment." in your code and hope that this moment won't be too long :)

Thanx for prolonging life of this app! :)

Unable to type via VNC, keys not matching

I am currently having trouble using qgo on this machine running Debian Sid. I connect to it via VNC, so I am not using any native keyboard but the virtual one provided by the tightvnc-server. In there I am using the attached custom keyboard layout via xmodmap.

Unfortunately typing in qgo then results in very awkward keyboard outputs: A 'u' becomes an 'm', 'i' -> 'l', 'e' -> 'g', for instance.

xmodmap-pk-pm.txt


This report is the same as: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=818232

As I am able to reproduce the issue with the sources from the master branch here on github, I thought I'd report the issue here, too.

Can't make the file

network/cyberoroconnection.cpp: In member function ‘int CyberOroConnection::reconnectToServer()’:
network/cyberoroconnection.cpp:524:77: error: narrowing conversion of ‘250’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
onst char packet[8] = { 0x0a, 0xfa, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00 };
^

Makefile:1278: recipe for target '../build/objects/cyberoroconnection.o' failed
make[1]: *** [../build/objects/cyberoroconnection.o] Error 1
make[1]: Leaving directory '/home/parnmet/Downloads/qgo/src'
Makefile:42: recipe for target 'sub-src-make_first' failed
make: *** [sub-src-make_first] Error 2

Incorrect volume adjustments upon starting and stopping qgo

When I launch qgo, it sets my volume controls to 100% (running on Arch linux, either pre-built from community repo or built from source from this repository).

When I shut down qgo, it reduces the master volume to a level equivalent to the previous combined settings.

It would be great if the adjustment of the volume settings could be optional, but it seems that it happens even if I select "sound off" in the preferences.

I had a look in src/audio, and grepped for "volume" to see if I could fix the problem myself, but neither of those seemed to reveal the place in the code where this is happening.

qmake

I contacted Sampi, the ubuntu qgo maintainer.

Please advise re build:

$ qmake
qmake: could not open config file '/usr/share/qtchooser//default.conf': No such file or directory

$ ls -la /usr/share/qtchooser/
total 28
drwxr-xr-x 2 root root 4096 Feb 15 17:05 .
drwxr-xr-x 321 root root 20480 Feb 15 17:05 ..
lrwxrwxrwx 1 root root 8 Dec 12 00:50 default.conf -> qt4.conf
-rw-r--r-- 1 root root 66 Dec 11 17:03 qt5-arm-linux-gnueabihf.conf

SGF file format nonstandard for handicap games

When creating an SGF file for a handicap game, the HA verb is created, but no AB verb. Such files are not read correctly by several readers I have tried (the handicap stones are not shown). In fact, it seems that the use of AB with HA is mandated by the SGF specifications, at least by reading the description of HA at http://www.red-bean.com/sgf/go.html.

Please add the AB verb when saving handicap games, to be compatible with other SGF readers.

segfault when right-clicking username and choosing "Talk" on IGS, Cyberoro

Probably quite similar to #19

When I right click on a username on user list and choose talk, the qgo crashes. Linux console says: "QSortFilterProxyModel: index from wrong model passed to mapToSource
Segmentation fault (core dumped)"

I don't know how to get backtrack from the core, if that is needed here. I am also not sure of the commit version I am using. At least this is 2.1.0. It's already more than couple days when I downloaded the sources from this git, but I did the qmake, make and installation yesterday. This is on Lubuntu 14.04. And to note, I did not have this on 2.0.0 (from ubuntu repos), which I had couple days ago before installing 2.1.0 from git. On 2.0.0 it opened a new tab with this user on left panel along with shouts and messages.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.