[Kde-games-devel] Re: kbackgammon completely broken in kde-3.1.4

Andreas Beckermann b_mann at gmx.de
Mon Sep 22 06:11:42 CEST 2003


On Monday 22 September 2003 04:52, Nicolai Lissner wrote:
> Andreas Beckermann wrote:
> > Are you maybe mixing a libkdegames installation from HEAD with
> > kbackgammon from 3.1.4 ? Or the other way round? Or even from 3.0.x ?
>
> The installation was done from source-code and the Makefile refers directly
> to the libkdegames that is in the same source-archive of
> kdegames-3.1.4.tar.bz2 $(top_srcdir)/./libkdegames/

Where the Makefile refers to does not matter. So the 3.1.4 libkdegames is 
_installed_ ?

> > Did it work in 3.1.3 ?
>
> definitively yes.
>
> > Does it work in HEAD?
>
> what exactly do you mean with HEAD?

I mean cvs up -A.

> If you mean started from the source directory without installing -
> no it does not work either.

Since we are talking about a probable libkdegames problem, you will have to 
install (at least) libkdegames. "Install" means completely replacing the old 
library files here.

> Can someone *verify* this bug, please? Here's a step by step instruction:
>
> 1. start kbackgammon
> 2. in Menu "Move" chose "Engine -> OpenBoard"
> # (actually the error appears with *any* engine - but playing locally
> #  only is  the best idea to hunt a bug)
> 3. in Menu "Game" chose "New"
> # kbackgammon will ask for player names - just confirm default settings
> # kbackgammon will roll - and one player starts.
> 4. make a move - but: you can move only one piece - kbackgammon wont let
> you to move for both dice - but acts like the move is complete and finished
> after one move.

I do not know about kbackgammon rules (I never understood them..) but with 
current HEAD (both, kbackgammon and libkdegames) it happens to me that:
1. I can move one piece to somewhere else
2. The chat widget is telling me to move 2 pieces, but I cannot find a piece 
that I would be allowed to move.
I guess thats what you mean?

Well, it looks like a problem with my KGameSequence class, that was added to 
HEAD a while ago (it is NOT in KDE 3.1.4!)
I have to admit I was not aware that KBackGammon uses KGame, so I did not test 
it. Everything was working fine with the apps that I tested (wow - that 
change was 6 months ago. If it is really the guilty change, then noone seems 
to be playing kbackgammon ;))

I will try to find the reason when I find some time. As a temporary solution 
you may want to install a libkdegames version from before 2003/03/01 - it 
should work then (assuming it is still compiling with that ;))

> Nicolai

CU
Andi


More information about the kde-games-devel mailing list