FIBS Board backgammon forum

Bear-in/Bear-off Problems

Author Topic: Bear-in/Bear-off Problems  (Read 23031 times)

Offline alterboy

  • Newbie
  • *
  • Posts: 2
Bear-in/Bear-off Problems
« on: January 18, 2007, 11:30:55 PM »
Hi, just registered on this site, so maybe I've just missed it in previous discussions, but are there any plans to deal with the bear-in/bearoff problems in Cocoa Fibs?  The software forces you to play the highest number first, which can lead to inefficient bear-ins and sometimes even unnecessary blots.  Also, sometimes when there is only one checker left, it will not let you complete the bear-off, insisting that you "move two pieces."

Unchecking the "highest dice first" preference sometimes fixes this problem, but not always.  I've almost lost a couple of matches as a result, and definitely annoyed opponents with delays caused by having to work around the glitch. 

I understand that development is halted for now, but is there any way to put in a quick patch to fix this issue.  Otherwise, the software works well and is a pleasure to use.  Thanks!

Michael Alterman
(alterboy)

FIBS Board backgammon forum

Bear-in/Bear-off Problems
« on: January 18, 2007, 11:30:55 PM »

Offline Mystyk

  • Fibsboarder
  • ***
  • Posts: 12
Re: Bear-in/Bear-off Problems
« Reply #1 on: January 19, 2007, 11:15:38 AM »
Greetings,

You don't need to use the high number first, you can click and drag and so use either number first for your bear-in.

As for the bear-off, yes, it does require you to use both dice, what you need to do is again, click and drag.

CosmicSlop

  • Guest
Re: Bear-in/Bear-off Problems
« Reply #2 on: January 19, 2007, 03:34:02 PM »
I believe this is one of a few problems caused by using CocoaFibs on an intel mac. I just got a Macbook Pro a couple of days ago, and have experienced bugs that I never saw when playing on a PPC Mac.

I am having the bear-off problems as mentioned in this post, and sometimes certain moves can only be entered with the terminal window.

Another annoying bug is that every user who logs in is immediately gagged and blinded.

The quality of this app, and the lack of any alternative client on mac makes me want to learn some Objective C and help out ..


Offline padski

  • Fibsboarder
  • ***
  • Posts: 39
Re: Bear-in/Bear-off Problems
« Reply #3 on: January 19, 2007, 07:52:14 PM »
Hi,

I understand from developers on the cocoafibs sourceforge project that they may be looking to resume development there.

You may find fixes and workarounds for these and other bugs in http://stepfibs.sf.net which is based off of the cocoafibs code.  Unfortunately the stepfibs tree does not build on OSX at the moment and I am still (I would guess) weeks away from a version that builds on both gnustep and OSX/Cocoa, although that is my main focus of development at the moment.

I am am more than happy to help you, or anyone else, fix these and other bugs in cocoafibs.  I don't have access to an Intel Mac, so someone who can test is fairly critical, and I not interested in publishing and supporting binaries of cocoafibs at this stage of the development of stepfibs, so you'd need to be happy building your own (which is almost as easy as falling off of a log, and something I'd happily help with).

The behaviour at bear-off is bizarre, but can mostly be worked around by using the drag-and-drop. There is a bug in the undo stack which can combine very nastily with this.  In the worst case you can politely explain to your opponent that you have hit a bug and need to leave and resume.

I'm surprised to hear that the gag bug manifests on intel.  I had the same problem on gnustep, and I thought it was a problem in NSKeyedArchiver (which the very nice GNUstep people have fixed), when I went to check this I had trouble replicating the original bug.  you can see my comments, and a simple workaround, here: http://stepfibs.svn.sourceforge.net/viewvc/stepfibs/stepfibs/trunk/StepFibsAppController.m?r1=33&r2=36&pathrev=36.
Perhaps this report does explain something though:  cocoafibs has been around on mac for a long time.  last year I was asked about new clients doing this and I explained that cocoafibs could do this in certain circumstances (based on my porting experience), so perhaps this one only manifests on Cocoa on Intel.  I will see if I can raise the cocoafibs guys to work on this and get a binary out, since this is a particularly nasty bug.

Thinking about it
Quote
sometimes when there is only one checker left, it will not let you complete the bear-off, insisting that you "move two pieces."
  sounds a lot like undo stack breakage that can happen when there is NSKeyArchiver breakage.  You might find both of these bugs would go away if you rebuilt with the lastest xcode, since its hard to believe breakage there would have lasted so long.

Regards,
Paddy

FIBS Board backgammon forum

Re: Bear-in/Bear-off Problems
« Reply #3 on: January 19, 2007, 07:52:14 PM »

Offline socksey

  • Global Moderator
  • Expert
  • *
  • Posts: 2,916
Re: Bear-in/Bear-off Problems
« Reply #4 on: January 19, 2007, 11:24:31 PM »
Or, meanwhile, you can use javafibs.   :)

socksey




All I ask is a chance to prove that money can't make me happy. - unknown

Offline alterboy

  • Newbie
  • *
  • Posts: 2
Re: Bear-in/Bear-off Problems
« Reply #5 on: February 17, 2007, 11:10:31 PM »
I use one of the new Intel Macs--it seems like that could be part of the problem.  The drag and drop suggestion doesn't usually work.  Unchecking "high dice first" in preferences sometimes works, but often you have to logout first and come back in.

I just noticed the blind and gag problem today for the first time too.  Bizarre.

Thanks to all of the programmers for taking this into consideration, and for any fixes they can provide.

Offline PolyphonicBrie

  • Fibsboarder
  • ***
  • Posts: 29
Re: Bear-in/Bear-off Problems
« Reply #6 on: July 20, 2007, 12:08:16 AM »
I'm pretty sure this is an Intel Mac problem.

I've been using CocoaFIBS for a couple of years on an iBook G4.  I switched to a MacBookPro (Intel Core2Duo) this week and now I can't seem to finish a game.

Cheers
PolyphonicBrie

Offline PolyphonicBrie

  • Fibsboarder
  • ***
  • Posts: 29
Re: Bear-in/Bear-off Problems
« Reply #7 on: July 24, 2007, 11:02:52 AM »
Update: I find the problem is reduced, although not totally eliminated, if I check the "Highest Dice First" option.

There are still instances where I cannot make the move I want, however.  For these, I have learned to resort to the terminal commands.

http://www.cybercom.net/~damish/backgammon/mike_quinn/cmds.htm#move

All a bit fiddly, but fortunately it means that FIBS is playable!

SL

FIBS Board backgammon forum

Re: Bear-in/Bear-off Problems
« Reply #7 on: July 24, 2007, 11:02:52 AM »

Offline myshlev

  • Beginner
  • **
  • Posts: 5
Re: Bear-in/Bear-off Problems
« Reply #8 on: July 30, 2007, 10:42:03 PM »
I use a Powerbook G4, which is a PPC model, and I have experienced the problem bearing off described below by:

 "sometimes when there is only one checker left,it will not let you complete the bear-off, insisting that you ''move two pieces.'' "

I can always get around this however, by dragging the piece the smaller number first and then clicking it to complete the bear-off. If the smaller number would complete the bear-off by itself, then the problem does not occur for me. I have not experienced the gag/blind problem at all.

-Myshkin

Offline PolyphonicBrie

  • Fibsboarder
  • ***
  • Posts: 29
Re: Bear-in/Bear-off Problems
« Reply #9 on: August 01, 2007, 07:34:16 PM »
I use a Powerbook G4, which is a PPC model, and I have experienced the problem bearing off described below by:

 "sometimes when there is only one checker left,it will not let you complete the bear-off, insisting that you ''move two pieces.'' "

I can always get around this however, by dragging the piece the smaller number first and then clicking it to complete the bear-off. If the smaller number would complete the bear-off by itself, then the problem does not occur for me. I have not experienced the gag/blind problem at all.
That's not the same bug.  Arguably, it's not a bug at all - it's just CocoaFIBS (or FIBS itself, or both) rigidly enforcing the rules of backgammon: "if you can move both dice, then you must".  :)

Offline yasemin

  • Newbie
  • *
  • Posts: 1
Re: Bear-in/Bear-off Problems
« Reply #10 on: June 15, 2008, 07:50:54 PM »
Hold down 'ctrl' then click the dice. This swaps the order of the dice.

Offline Großmaulfrosch

  • Fibsboarder -
  • ***
  • Posts: 9
    • dem Gaißenpeter sein Roboter
Re: Bear-in/Bear-off Problems
« Reply #11 on: June 19, 2008, 07:48:23 PM »
Just make sure that toggle automove is on, then FIBS will automagically bear off your last checker.
Wo der Gaißenpeter herkommt, da meckern die Gaißen und nicht die Frauen.

FIBS Board backgammon forum

Re: Bear-in/Bear-off Problems
« Reply #11 on: June 19, 2008, 07:48:23 PM »

Offline webrunner

  • Fibsboard Executive VIP Donor 2014
  • Advanced Fibsboarder
  • *
  • Posts: 1,335
    • Orion Pax
Re: Bear-in/Bear-off Problems
« Reply #12 on: June 21, 2008, 06:14:27 PM »
rightclicking also moves the smallest value first. ;)
"There is a difference between knowing the path and walking the path."
Bruce Lee
===================================
Orion Pax |

Tags:
 

anything
TinyPortal © 2005-2018