FIBS Board backgammon forum

Bots & other tech stuff => RepBot => Topic started by: jimbow on July 08, 2012, 05:31:14 PM

Title: repbot change request
Post by: jimbow on July 08, 2012, 05:31:14 PM
I recently tried to complain about a player that I had a saved match with, 4-0, but would not resume. Since the game was a few days old, repbot wouldn't let me complain. Could we be allowed to complain about players with whom we have saved matches?
Title: Re: repbot change request
Post by: diane on July 08, 2012, 09:10:22 PM
This one does seem absurd to me...I would rather wait a while to see if the opponent resumes - then complain if they dont, rather than have to do it within 24 hours and not give them the benefit of the doubt.

What I do right now is complain quick - but send a message that i will remove it if the finish the match..its long winded though.
Title: Re: repbot change request
Post by: inim on July 11, 2012, 12:11:10 PM
Could we be allowed to complain about players with whom we have saved matches?

Excellent catch & suggestion.

Repbot never learned to make use of the "new" commands like "show savedfor NICK", which is how your suggestion needed to be implemented.
Control flow would be like so, new steps are in bold:
Code: [Select]
USER -> REPBOT: Complain VILLAIN
            REPBOT -> matchdb : is within 24 hours, if so, skip next 2 steps
            [b]REPBOT -> FIBS: show savedfor USER (or VILLAIN), both would do
            REPBOT <- FIBS: list of saveds[/b]
USER <- REPBOT: allow/deny complaint

Currently repbot has no real concept of executing fibs server commands during a request, so teaching it to do so requires some structural code changes. State needs to be kept, and commands sent need to be scheduled, timed out etc. As repbot is not properly threaded, this leads to potential blocking behaviour for other users.

I have no time currently for a change of this size, but I 100% agree this would be a good extension of the 24h rule. The code is open source, so patches and hacks would be welcome and likely to be deployed. That, or an easy to download copy of the saved games data from fibs.com. Because if the data who has a saved game with whom was local with the repbot DB, it is only a minor code change.
Title: Re: repbot change request
Post by: inim on July 11, 2012, 07:22:00 PM
OK, did brainstorm a bit about the idea, and had a brief shout discussion. I propose this change.

The RepBot period to place vouchers and complaints will be extended from 1 day to 1 week.

Rationales:

=> Extending the period for placing opinions to 1 week has de-facto the same effect as querying "show savedfor" at a much lower cost.

Opinions welcome.
Title: Re: repbot change request
Post by: BadLad on August 24, 2012, 02:18:43 PM
FWIW -- I agree -- both with the problem and with the suggested solution of setting the timer to one week rather than 24 hours.  I've just recently 'implemented' the approach Diane described -- but the week seems more in line with how we would/should act.  Two questions:

I've heard that saved matches 'expire' -- does anyone know how long that takes?
Do you have an ETA for the 'fix'?

Thanks for all y'all do!

BadLad
Title: Re: repbot change request
Post by: inim on February 27, 2013, 06:31:51 PM
The Repbot grace timer for submitting opinions has been extended from 24 hours to 7 days, which meets the duration of a saved game. So now you can vouch as long as you have a saved game with an opponent, and the grace period for both is extended on each new attempt to finish the match.
Title: Re: repbot change request
Post by: diane on February 28, 2013, 07:22:06 PM
Wonderful news - and thanks for letting us know  :cool:
TinyPortal © 2005-2018