Description:

There is now binary packages for several distributions thanks to the OpenSuSE Build Service. See the links below. If there is no package for your distribution, it's probably because it does not currently contains KNewStuff3 while the current (20100717) version of KsirK depends on it.

The KDE 4.2 version of KsirK corrected a lot of bugs but moreover it had new features:
- playing over the Jabber network (Gmail protocol);
- a skin editor. Now if you can create (or gather) SVG graphics, you can easily create new skins;
- Hot New Stuff support. You can easily download and install new skins.


To build the KDE4 preview version, you must have the KDE4 libkdegames package installed with its development package. Then
* download and extract the archive;
* cd in the newly created dir ;
* mkdir build
* cmake -DCMAKE_INSTALL_PREFIX=$KDEDIR .. (where $KDEDIR is where KDE4 is installed)
* make
* install with the appropriate root rights
* run ksirk (or ksirkskineditor)

For bugs reports, please no comment here but at bugs.kde.org

If you want to play network games with others, connect with your jabber account and reach the room ksirk@conference.kdetalk.net


KsirK still needs YOU ! I'd like to receive:
- play network games with you;
- comments;
- bug reports (well, I wouldn't like but they would be useful !);
- help for new skins ;
- code if you'd like.

Happy World Conquest !

Kleag

KsirK is a strategy game inspired by the well known game Risk. It runs under KDE or any Linux system with the KDE libs and is released under the GPL. KsirK is a multi-player network-enabled game with an AI.

Build and installation instructions are in the INSTALL file in the source archive
Last changelog:

12 years ago

This was completely outdated ! Before I update this data, you can have a look at the ChangeLog file and the TODO file (items marked with DONE)

kleag

10 years ago

Thanks to you too :-)

Should the SlackBuild script be integrated to the source repository ???

Report

gohanz

10 years ago

Yes you can integrate the Package and the slackBuild! :D

Report

beroarklinux

10 years ago

We've just added this to Ark Linux -- Ark Linux users simply apt-get install ksirk, others in need of RPMs can try their luck with
http://arklinux.osuosl.org/dockyard-devel/SRPMS/ksirk-1.5-1ark.src.rpm
http://arklinux.osuosl.org/dockyard-devel/i586/ksirk-1.5-1ark.i586.rpm

Report

kleag

10 years ago

Thanks a lot. I'm happy to see KsirK available to non-compiling users

Report

gohanz

10 years ago

In the ksirk.desktop file, there is no Categories. Than the ksirk voice is not present in Kmenu after make install.
I have modified it!

# KDE Config File
[Desktop Entry]
Type=Application
Exec=ksirk -caption "%c" %i %m
Icon=ksirk.png
MiniIcon=ksirk.png
DocPath=ksirk/index.html
Comment=KsirK is a computerized version of a strategy board game: Risk !
Comment[de]=
Comment[it]=Ksirk è la versione computerizzata del gioco da tavolo strategico: Risico!
Terminal=0
Name=KsirK
Name[de]=KsirK
Name[it]=Ksirk
GenericName=Risk Computerized
GenericName[de]=
GenericName[it]=Risico Computerizzato
Categories=Qt;KDE;Game;StrategyGame;

Report

kleag

10 years ago

Thank you ! File modified...

Report

LocoMojo

10 years ago

It's been ages since I played Risk so I wanted to give this a shot, but I can't seem to compile it on my Slackware box.

This is what I get:

[11/66] * cpp : ../ksirk/kgamewin.cpp -> ksirk/kgamewin.o

In file included from ../ksirk/GameLogic/eventslistproperty.h:15,
from ../ksirk/GameLogic/gameautomaton.h:15,
from ../ksirk/kgamewin.h:24,
from ../ksirk/kgamewin.cpp:20:
/opt/kde/include/kgame/kgamepropertylist.h: In member function `uint KGamePropertyList::findIterator(QValueListIterator)':
/opt/kde/include/kgame/kgamepropertylist.h:56: error: there are no arguments to `begin' that depend on a template parameter, so a declaration of `begin' must be available
/opt/kde/include/kgame/kgamepropertylist.h:56: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/opt/kde/include/kgame/kgamepropertylist.h:56: error: there are no arguments to `end' that depend on a template parameter, so a declaration of `end' must be available
/opt/kde/include/kgame/kgamepropertylist.h:64: error: no matching function for call to `count()'
/opt/kde/include/kgame/kgamepropertylist.h: In member function `void KGamePropertyList::prepend(const type&)':
/opt/kde/include/kgame/kgamepropertylist.h:91: error: there are no arguments to `begin' that depend on a template parameter, so a declaration of `begin' must be available
/opt/kde/include/kgame/kgamepropertylist.h: In member function `void KGamePropertyList::save(QDataStream&)':
/opt/kde/include/kgame/kgamepropertylist.h:184: error: no matching function for call to `count()'
/opt/kde/include/kgame/kgamepropertylist.h:187: error: there are no arguments to `begin' that depend on a template parameter, so a declaration of `begin' must be available
/opt/kde/include/kgame/kgamepropertylist.h:187: error: there are no arguments to `end' that depend on a template parameter, so a declaration of `end' must be available
/opt/kde/include/kgame/kgamepropertylist.h: In member function `void KGamePropertyList::command(QDataStream&, int, bool)':
/opt/kde/include/kgame/kgamepropertylist.h:206: error: there are no arguments to `at' that depend on a template parameter, so a declaration of `at' must be available
/opt/kde/include/kgame/kgamepropertylist.h:225: error: there are no arguments to `at' that depend on a template parameter, so a declaration of `at' must be available
ERROR: == Runner == task failed! (return code 129 and task id 7)
ERROR: == Task == -- begin task debugging --
ERROR: == Task == action: cpp idx: 7
ERROR: == Task == []
ERROR: == Task == []
ERROR: == Task == None
ERROR: == Task == -- end task debugging --

Seems to be a problem with the lack of a declaration for 'at'. What can I do to rectify this?

Thanks.

LocoMojo

Report

kleag

10 years ago

I just (15 minutes ago) updated the tarball. Do you have ksirk-1.3beta5-2.tar.bz2 ? It should solve the problem ?
If you already have this tarball or if it does not solve the problem, could you open a problem report on http://gna.org/projects/ksirk ? It is so much easier to identify bugs and follow their resolution !
Thanks

Report

LocoMojo

10 years ago

Worked like a charm.

Thanks!

LocoMojo

Report

gohanz

10 years ago

The "make install DESTDIR" is not implemented? It's usefull for build a package!

Report

kleag

10 years ago

configure and Makefile are helper wrappers around waf.py (previously known as scons/bksys). Try "./waf.py help" and next:
./waf.py --prefix=DESTDIR configure
./waf.py build
(sudo) ./waf.py install

Report

Pluc

11 years ago

Here's what I get when I try to build:
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

/usr/lib/qt3/include/qxml.h:224: warning: ‘class QXmlReader’ has virtual functions but non-virtual destructor
/usr/lib/qt3/include/qxml.h:407: warning: ‘class QXmlContentHandler’ has virtual functions but non-virtual destructor
/usr/lib/qt3/include/qxml.h:424: warning: ‘class QXmlErrorHandler’ has virtual functions but non-virtual destructor
/usr/lib/qt3/include/qxml.h:433: warning: ‘class QXmlDTDHandler’ has virtual functions but non-virtual destructor
/usr/lib/qt3/include/qxml.h:441: warning: ‘class QXmlEntityResolver’ has virtual functions but non-virtual destructor
/usr/lib/qt3/include/qxml.h:448: warning: ‘class QXmlLexicalHandler’ has virtual functions but non-virtual destructor
/usr/lib/qt3/include/qxml.h:461: warning: ‘class QXmlDeclHandler’ has virtual functions but non-virtual destructor
kgamewin.cpp:867: warning: unused parameter ‘shortcut’
kgamewin.cpp: In member function ‘bool Ksirk::KGameWindow::setupPlayers()’:
GameLogic/gameautomaton.h:231: error: ‘unsigned int Ksirk::GameLogic::GameAutomaton::setupPlayersNumberAndSkin(bool&, int&)’ is protected
kgamewin.cpp:926: error: within this context
kgamewin.cpp: In member function ‘bool Ksirk::KGameWindow::createWaitedPlayer(Q_UINT32)’:
GameLogic/gameautomaton.h:225: error: ‘void Ksirk::GameLogic::GameAutomaton::createIO(KPlayer*, KGameIO::IOMode)’ is protected
kgamewin.cpp:1082: error: within this context
GameLogic/gameautomaton.h:225: error: ‘void Ksirk::GameLogic::GameAutomaton::createIO(KPlayer*, KGameIO::IOMode)’ is protected
kgamewin.cpp:1090: error: within this context
kgamewin.cpp: In member function ‘void Ksirk::KGameWindow::addPlayer(const QString&, unsigned int, unsigned int, const QString&, bool, const QString&, unsigned int, unsigned int)’:
GameLogic/gameautomaton.h:225: error: ‘void Ksirk::GameLogic::GameAutomaton::createIO(KPlayer*, KGameIO::IOMode)’ is protected
kgamewin.cpp:2149: error: within this context
GameLogic/gameautomaton.h:225: error: ‘void Ksirk::GameLogic::GameAutomaton::createIO(KPlayer*, KGameIO::IOMode)’ is protected
kgamewin.cpp:2163: error: within this context
gmake[3]: *** [kgamewin.o] Error 1
gmake[2]: *** [all-recursive] Error 1
gmake[1]: *** [all-recursive] Error 1
gmake: *** [all] Error 2
*** Exited with status: 2 ***

Report

kleag

10 years ago

Sorry, I did not see your message. Could you please retry wit the new version and report at https://gna.org/bugs/?group=ksirk

Thanks

Report

ljubomir

11 years ago

Consider making a svg version, that would be super-cool.

Report

kleag

11 years ago

Thanks a lot for your good comments ! There is actualy some peaple working on skins based on SVG graphics. For native support, that could be a good idea for future verion.

Report

ljubomir

11 years ago

It's so great that someone makes decent Risk clone. It's even greater that it's a KDE app. Keep up the good work and don't mind about the score - specialized apps are never rated to high.

Report

dust-name

11 years ago

1st of all - This is a great game !!
I played the previous version and even won a game without crash -
I downloaded the new version (ksirk-1.3beta3.tgz) to see wether you fixed some crashes...

I tried compiling it on SuSE 9.3 without success.
I used (as root) - ./configure --prefix=/opt/kde3
and all went ok.
Under make I get the following error:
cd . && make -f admin/Makefile.common configure.in ;
make[1]: Entering directory `/home/dust/New/ksirk'
make[1]: Leaving directory `/home/dust/New/ksirk'
cd . && /bin/sh /home/dust/New/ksirk/admin/missing --run aclocal-1.9
configure.in:69: warning: underquoted definition of AC_CHECK_LIBKDEGAMES
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
cd . && /bin/sh /home/dust/New/ksirk/admin/missing --run automake-1.9 --foreign
cd . && perl admin/am_edit Makefile.in
cd . && rm -f configure
cd . && make -f admin/Makefile.common configure

----
and at the end of make:
----

Making all in Dialogs
make[3]: Entering directory `/home/dust/New/ksirk/ksirk/Dialogs'
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../. -I../../ksirk -I../../ksirk/Dialogs -I../../kgame-patch -I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -MT newGameDialogImpl.lo -MD -MP -MF ".deps/newGameDialogImpl.Tpo" -c -o newGameDialogImpl.lo newGameDialogImpl.cpp; \
then mv -f ".deps/newGameDialogImpl.Tpo" ".deps/newGameDialogImpl.Plo"; else rm -f ".deps/newGameDialogImpl.Tpo"; exit 1; fi
In file included from newGameDialogImpl.cpp:1:
newGameDialogImpl.h:20:27: newGameDialog.h: No such file or directory
In file included from newGameDialogImpl.cpp:1:
newGameDialogImpl.h:34: error: syntax error before `{' token
newGameDialogImpl.h:45: error: destructors must be member functions
newGameDialogImpl.h:45: error: virtual outside class declaration
newGameDialogImpl.h:47: error: syntax error before `private'
newGameDialogImpl.h:49: error: `Ksirk::m_nbPlayers' declared as reference but
not initialized
newGameDialogImpl.h:50: error: syntax error before `&' token
newGameDialogImpl.h:51: error: `Ksirk::m_networkGame' declared as reference but
not initialized
newGameDialogImpl.h:58: error: syntax error before `public'
newGameDialogImpl.h:60: error: virtual outside class declaration
newGameDialogImpl.h:61: error: virtual outside class declaration
newGameDialogImpl.h:65: error: syntax error before `}' token
newGameDialogImpl.cpp:22: error: invalid use of undefined type `class
Ksirk::NewGameDialogImpl'
newGameDialogImpl.h:33: error: forward declaration of `class
Ksirk::NewGameDialogImpl'
newGameDialogImpl.cpp: In constructor `
Ksirk::NewGameDialogImpl::NewGameDialogImpl(bool&, unsigned int&, unsigned
int, QString&, bool&, QWidget*, const char*)':
newGameDialogImpl.cpp:23: error: class `Ksirk::NewGameDialogImpl' does not have
any field named `NewGameDialog'
newGameDialogImpl.cpp:23: error: class `Ksirk::NewGameDialogImpl' does not have
any field named `m_ok'
newGameDialogImpl.cpp:23: error: class `Ksirk::NewGameDialogImpl' does not have
any field named `m_nbPlayers'
newGameDialogImpl.cpp:24: error: class `Ksirk::NewGameDialogImpl' does not have
any field named `m_skin'
newGameDialogImpl.cpp:24: error: class `Ksirk::NewGameDialogImpl' does not have
any field named `m_networkGame'
newGameDialogImpl.cpp:26: error: `playersNumberEntry' undeclared (first use
this function)
newGameDialogImpl.cpp:26: error: (Each undeclared identifier is reported only
once for each function it appears in.)
newGameDialogImpl.cpp:29: error: `buttonOk' undeclared (first use this
function)
newGameDialogImpl.cpp:30: error: `buttonCancel' undeclared (first use this
function)
newGameDialogImpl.cpp:31: error: `buttonHelp' undeclared (first use this
function)
newGameDialogImpl.cpp: At global scope:
newGameDialogImpl.cpp:35: error: invalid use of undefined type `class
Ksirk::NewGameDialogImpl'
newGameDialogImpl.h:33: error: forward declaration of `class
Ksirk::NewGameDialogImpl'
newGameDialogImpl.cpp:39: error: invalid use of undefined type `class
Ksirk::NewGameDialogImpl'
newGameDialogImpl.h:33: error: forward declaration of `class
Ksirk::NewGameDialogImpl'
newGameDialogImpl.cpp: In member function `void
Ksirk::NewGameDialogImpl::slotOK()':
newGameDialogImpl.cpp:42: error: `m_skin' undeclared (first use this function)
newGameDialogImpl.cpp:42: error: `skinCombo' undeclared (first use this
function)
newGameDialogImpl.cpp:43: error: `networkGameCheckBox' undeclared (first use
this function)
newGameDialogImpl.cpp:44: error: `m_ok' undeclared (first use this function)
/usr/include/unistd.h:305: error: too few arguments to function `int close(int)
'
newGameDialogImpl.cpp:45: error: at this point in file
newGameDialogImpl.cpp: At global scope:
newGameDialogImpl.cpp:49: error: invalid use of undefined type `class
Ksirk::NewGameDialogImpl'
newGameDialogImpl.h:33: error: forward declaration of `class
Ksirk::NewGameDialogImpl'
/usr/include/unistd.h: In member function `void
Ksirk::NewGameDialogImpl::slotCancel()':
/usr/include/unistd.h:305: error: too few arguments to function `int close(int)
'
newGameDialogImpl.cpp:52: error: at this point in file
newGameDialogImpl.cpp: At global scope:
newGameDialogImpl.cpp:57: error: invalid use of undefined type `class
Ksirk::NewGameDialogImpl'
newGameDialogImpl.h:33: error: forward declaration of `class
Ksirk::NewGameDialogImpl'
newGameDialogImpl.cpp:63: error: invalid use of undefined type `class
Ksirk::NewGameDialogImpl'
newGameDialogImpl.h:33: error: forward declaration of `class
Ksirk::NewGameDialogImpl'
make[3]: *** [newGameDialogImpl.lo] Error 1
make[3]: Leaving directory `/home/dust/New/ksirk/ksirk/Dialogs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/dust/New/ksirk/ksirk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dust/New/ksirk'
make: *** [all] Error 2
dust@hen-kr-ws01:~/New/ksirk>

-----
Thanks for your time and effort.
:-)

dust-name

Report

kleag

11 years ago

Try to run the script runuic inside the Dialogs directory and then run make again.

Report

dust-name

11 years ago

Hello,
I ran the script runuic but I am still having problems...

I have mailed you the complete error log.

Kind regards,

dust-name

Report

sirbenson

11 years ago

Hello,

same for me, I am unable to compile under SuSE 9.3 prof. KDE 3.4.2.

Script is not solving this problem.

Regard, Norbert

Report

sirbenson

11 years ago

Hello,

I still have no success to compile under SuSE 9.3. Any ideas ?

Best regards, Norbert

Report

kleag

11 years ago

Please report on the web site with full details and we will try together to solve the problem.

Report

Superstoned

11 years ago

it compiles and run's fine here :D

Report

Superstoned

11 years ago

i also want to say you're doing a great job! ksirk 1.2 is a really nice game. pitty it crashes a lot, here. if backtraces are usefull for you, just say so - and you'll have them coming (i can't finish a game, but there is also no single point of failure - you just don't know when it crashes).

Report

kleag

11 years ago

Thank you for your appreciation.

For the crashes: do you use the 1.2-2 version ? The first 1.2 had this crash problem which was solved in 1.2-2.

If you have 1.2-2, then this is a new bug. Please report it at:
https://gna.org/bugs/?group=ksirk

Thanks.

Report

12 years ago

This was completely outdated ! Before I update this data, you can have a look at the ChangeLog file and the TODO file (items marked with DONE)

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install
Score 76%
76.00 Likes
24 Dislikes
Details
version
20100717
updated Jul 17 2010
added Mar 04 2005
downloads
page views 2259