November 23, 2008, 04:15:08 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Add your picture URL in your profile.
 
  Home   Forum   Chat links PLAY NOW! Help Search Calendar Members Login Register  
Pages: [1] 2  All   Go Down
  Print  
Author Topic: RepbotNG  (Read 2197 times)
0 Members and 1 Guest are viewing this topic.
PolyphonicBrie
Beginner
**
Offline Offline

Posts: 27


« on: June 02, 2008, 02:05:03 PM »

Looks like Repbot is back - sort of.  It's called Repbot NG, and you can't complain or vouch (at all) but otherwise it seems to be the same.  Oh, and RepbotNG Help gives some warnings about it not being anything to do with Patti or FIBS.  Not sure if it did that before.

Hopefully it's a work in progress and will soon encompass all of Patti's requirements.

The interesting thing for me is that it integrates right back in with CocoaFIBS!

PB
Logged
FIBS Board backgammon forum
« on: June 02, 2008, 02:05:03 PM »



 Logged
PersianLord
Casual player
***
Offline Offline

Gender: Male
Posts: 269



WWW
« Reply #1 on: June 02, 2008, 02:49:11 PM »

Looks like Repbot is back - sort of.  It's called Repbot NG, and you can't complain or vouch (at all) but otherwise it seems to be the same.  Oh, and RepbotNG Help gives some warnings about it not being anything to do with Patti or FIBS.  Not sure if it did that before.

Hopefully it's a work in progress and will soon encompass all of Patti's requirements.

The interesting thing for me is that it integrates right back in with CocoaFIBS!

PB

Yeah and it's also integrated with 3dfibs as well. Cheers!
Logged

What is good? All that heightens the feeling of power, the will to power, power itself in man.

Friedrich Nietzsche
inim
This space is available for rent by advertisers.
Moderator
Beginner
*
Offline Offline

Posts: 148


This space is available for rent by advertisers


« Reply #2 on: June 03, 2008, 03:57:02 AM »

Your observation is correct, I'm running that bot from home using the database snapshot from April 30th 2008 23:00 UTC. Vouch and complain is currently disabled as it doesn't yet comply to Patti's requirement, which is a time limit that allows vouches/complaints only some time after a match (maybe 12h). Adding this code is work in progress.

I'm more or less taking over repbot maintainance, as avik doesn't react to email for 4 weeks now. The moment he comes back I'll happily hand it back if he wants to. For the time being I will migrate the code repository on sourceforge to my own project "openfibs" so the changes are transparent. I'll likely do minor other changes, such as porting the code to Java5 and add a blacklist for bots, which should not be allowed to vouch/complain automatically IMO. We have the gBot* abuse case on that.

As for hosting, I got 2 offers for a 24/7 hosting so far, but no shell access is possible for me yet. Once I get there, RepBot will be back permanently. Until then it only runs when my home machine is idle. If someboy wants to offer hosting, that is welcome still. Requirement is SSH access, a mysql 5 database, Java5 and about 100-200MB of permanently used RAM. CPU load and network traffic are moderate to low.

Please don't ask for new features currently, the bot is even back and running stable yet. I will use the sourceforge infrastructure to maintain bugs and feature requests later and post the respective URL here. FibsBoard can be used for ChitChat still, but I feel a real bugtracker is better suited to manage RepBot development.

That's it for now, I'll keep you updated of further developments.
« Last Edit: June 03, 2008, 04:42:14 AM by inim » Logged

This space is available for rent by advertisers. Call 0900-INIMITE today, and see your sales skyrocketing in no time! New customers receive free Vl@9rå and a penis enlargement set as a bonus! We support banners, flash banners, and scrollers. Discrete handling by our HQ on the Dutch Antilles.
PolyphonicBrie
Beginner
**
Offline Offline

Posts: 27


« Reply #3 on: June 03, 2008, 10:08:10 AM »

Great news.  Thank you.  Good luck!

PB
Logged
inim
This space is available for rent by advertisers.
Moderator
Beginner
*
Offline Offline

Posts: 148


This space is available for rent by advertisers


« Reply #4 on: June 03, 2008, 04:59:20 PM »

Courtesy of jugger, RepBot now has a new permanent home. Thank you, juggler!
Logged

This space is available for rent by advertisers. Call 0900-INIMITE today, and see your sales skyrocketing in no time! New customers receive free Vl@9rå and a penis enlargement set as a bonus! We support banners, flash banners, and scrollers. Discrete handling by our HQ on the Dutch Antilles.
Luddite
Beginner
**
Offline Offline

Gender: Male
Posts: 17


aka Bones


« Reply #5 on: June 04, 2008, 08:56:04 PM »

Thank you thank you inim for RepBotNG!   thumbsup2 thumbsup2  What does NG stand for -- Next Generation?

I just played my first game with a stranger in many weeks, and it was a very pleasant encounter. 

I discovered one thing -- although you can't yet vouch or complain, you can withdraw.  I did this to a friend, and I wish I hadn't.  Can you remove the withdraw function until such time as vouch and complain are available? 

Again -- thank you!!


Bones
Logged
inim
This space is available for rent by advertisers.
Moderator
Beginner
*
Offline Offline

Posts: 148


This space is available for rent by advertisers


« Reply #6 on: June 04, 2008, 11:51:49 PM »

I discovered one thing -- although you can't yet vouch or complain, you can withdraw.  I did this to a friend, and I wish I hadn't.  Can you remove the withdraw function until such time as vouch and complain are available? 

Right. The problem here is how to carry over the old database. One could simply reset it, but I feel that this would be like throwing away an asset. There is a lot of information in that DB, but unfortunately also abuse. I've talked to Patti about that and we figured out a way for sensible data cleansing. As the DB due to this will change, and it is a lot of work to maintain and synchronize several versions of the DB, it will be made "hot" again only after all the cleaning up took place (and after the DB is in it's final home, juggler's server).

The cleansing plan is like so:
1) All vouches/complaints from bots will be removed
2) All vouches/complaints from players who never played each other will be removed

2) becomes possible courtesy of the donation of old log data, but that step will take some additional time.

So consider the current DB to be a read-only snapshot as per April 30th, which will be thrown away later. It is there because that is still better than nothing, but not yet the real McCoy, which will be a purged (as per 1 and 2) DB based on the last known backup from April 30th.

P.S. To make the info complete: Since a long time repbot honors the lifecycle of users on fibs itself. If a user expires on fibs, so will all his vouches and complaints on repbot.
« Last Edit: June 05, 2008, 12:54:25 AM by inim » Logged

This space is available for rent by advertisers. Call 0900-INIMITE today, and see your sales skyrocketing in no time! New customers receive free Vl@9rå and a penis enlargement set as a bonus! We support banners, flash banners, and scrollers. Discrete handling by our HQ on the Dutch Antilles.
webrunner
Administrator
Advanced
*
Offline Offline

Gender: Male
Posts: 1,266



WWW
« Reply #7 on: June 05, 2008, 09:56:50 PM »

Inim, you are THE MAN!!
Logged

"There is a difference between knowing the path and walking the path."
Bruce Lee
===================================
Sprintweb | Vrouwenpower forum
Patti
Beginner
**
Offline Offline

Posts: 114


« Reply #8 on: June 05, 2008, 10:13:14 PM »

Quote
Oh, and RepbotNG Help gives some warnings about it not being anything to do with Patti or FIBS.  Not sure if it did that before.

It was *supposed* to do that before, and I was assured that it did.  I suspect it either didn't do it at all, or did so inadequately.
Logged
inim
This space is available for rent by advertisers.
Moderator
Beginner
*
Offline Offline

Posts: 148


This space is available for rent by advertisers


« Reply #9 on: June 06, 2008, 01:02:34 AM »

It was *supposed* to do that before, and I was assured that it did.  I suspect it either didn't do it at all, or did so inadequately.


It does say it is not part of FIBS since 2002, see sourceforge SVN history.
http://repbot.svn.sourceforge.net/viewvc/repbot/tags/release_1_8/src/net/sf/repbot/help.properties?revision=54&view=markup

It however never said anything about the saved games.
Logged

This space is available for rent by advertisers. Call 0900-INIMITE today, and see your sales skyrocketing in no time! New customers receive free Vl@9rå and a penis enlargement set as a bonus! We support banners, flash banners, and scrollers. Discrete handling by our HQ on the Dutch Antilles.
inim
This space is available for rent by advertisers.
Moderator
Beginner
*
Offline Offline

Posts: 148


This space is available for rent by advertisers


« Reply #10 on: June 06, 2008, 02:35:15 PM »

I've copied the RepBot sources (latest version from trunk) to a new SVN home, as only avik can change them in the old location. The SVN history unfortunately did break because of this, change history was reset. The new development home for the time being now is http://sourceforge.net/projects/openfibs/

You can browse the source there and look at the changes to the original code. The most strinking changes so far are:

- build system was changed, was Ant and now is Maven2
- required Java version was changed, was 1.4.x and now is 1.6.x (likely 1.5.x will do, but not tested yet)
- minor fixes due to a date parsing bug which assumed RepBot runs on an OS with an EN_US locale, mine is DE_DE.
« Last Edit: June 06, 2008, 02:40:18 PM by inim » Logged

This space is available for rent by advertisers. Call 0900-INIMITE today, and see your sales skyrocketing in no time! New customers receive free Vl@9rå and a penis enlargement set as a bonus! We support banners, flash banners, and scrollers. Discrete handling by our HQ on the Dutch Antilles.
Großmaulfrosch
Newbie
*
Offline Offline

Posts: 8



WWW
« Reply #11 on: June 08, 2008, 11:42:05 AM »

- minor fixes due to a date parsing bug which assumed RepBot runs on an OS with an EN_US locale, mine is DE_DE.

That is rather a bug in inim who is not able or willing to change the locale. But then inim is well known for putting the cart before the donkey.
Logged

Wo der Gaißenpeter herkommt, da meckern die Gaißen und nicht die Frauen.
socksey
Global Moderator
Advanced
*
Offline Offline

Gender: Female
Posts: 1,308



« Reply #12 on: June 10, 2008, 09:20:02 PM »

Quote
Wo der Gaißenpeter herkommt, da meckern die Gaißen und nicht die Frauen.

Translation, please, and let's not degrade inim, please, either.  He's doing us a great service, after all.   Wink

Btw, who is GroBmaulfrosch, anyway?

Ty............socksey



"The government is like a baby's alimentary canal, with a happy appetite at one end and no responsibility at the other." - Ronald Reagan








Logged
Großmaulfrosch
Newbie
*
Offline Offline

Posts: 8



WWW
« Reply #13 on: June 10, 2008, 11:07:39 PM »

Traduttore, traditore.
Logged

Wo der Gaißenpeter herkommt, da meckern die Gaißen und nicht die Frauen.
inim
This space is available for rent by advertisers.
Moderator
Beginner
*
Offline Offline

Posts: 148


This space is available for rent by advertisers


« Reply #14 on: June 11, 2008, 03:23:40 AM »

RepBot is now functionally complete as per Patti's requirements, a release candidate version 2.0.0-SNAPSHOT has been deployed. Please note that the underlying database is not yet purged and will be reset in a few days for a last time. Nevertheless, please vouch and complain as usual to help me to test the changed code. Report any issue you find in this thread (prefered), or via message to  inim if that is not possible. Thank you!

Here is a brief list of user visible changes and caveats.

  • 24 hours grace period: Vouches and complaints are enabled again, but are only allowed within 24 hours after the last match event (see definition below). Withdrawls of opinions are possible at any time. See example code output 1 for the new messages for denied opinions.
  • Match Events: Match events are proper match starts, resumes, completed matches, and irregular match endings. Irregular endings include logouts via the "quit"-type commands, network errors, admin kick, "closed old connection" errors, connection timeouts and connection drops -- in short all known ways to drop a running match.  Any new match event restarts the clock for the 24 hour grace period.
  • Random disclaimers displayed: Every 1 in 10 replies a disclaimer text is randomly added after the result of commands mentioning saved games (ask, friends, help, saved, list). See example code output 2. I am interested in particular if this new output causes problems with any client or bot, please report respective observations in this thread.
  • New help topic: A new help topic "help disclaimer" was added, so the new disclaimer is always accessible via the help system.
  • No self-complaints anymore: You are no longer allowed to complain about yourself. This has mainly techical reasons, it allows for a database optimization and shouldn't really hurt anybody.
  • Database is still scratch: While vouching and complaining is enabled again, for a brief transitional period of a few days of beta testing new opinions will be lost later. The current DB will be replaced with the purged version of the backup from April 30th, 2008. This change will be announced here and in shout in time.
  • Sources are available: The modified sources are available for review, see http://openfibs.svn.sourceforge.net/viewvc/openfibs/modules/repbot/
  • Timer reliability: Great care has been taken to make the 24 hour grace period as exact as possible, but there is a systematic error of give and take one minute. The worst case scenario happens when RepBot restarts, and a running match (started before the bot restart) ends irregularily. In this case the 24 hours are still active, but only counting from the last match event, which typically is the match start. The only scenario in which RepBot completely fails to recognize a match is when it is started while the bot is down, then ends irregularily, and is never resumed later. As RepBot's average downtime per day is only a few seconds, this case should be neglectable.

Example code output 1:

Code:
You tell RepBotNG: complain Patti
RepBotNG says: You have no recent match with Patti, complaint denied.

You tell RepBotNG: vouch Patti
RepBotNG says: You have no recent match with Patti, voucher denied.

Example code output 2:

Code:
You tell RepBotNG: saved inim
RepBotNG says: inim has 3 saved games
RepBotNG says: DISCLAIMER: Saved game data may include games that were concluded during the last 24 hours, as well
as umlimited matches and matches in progress, see http://fibs.com/savedgames/.
RepBotNG says: RepBot is NOT provided by the fibs administrators, don't bother Patti about it.

Enjoy!
« Last Edit: June 11, 2008, 06:28:05 AM by inim » Logged

This space is available for rent by advertisers. Call 0900-INIMITE today, and see your sales skyrocketing in no time! New customers receive free Vl@9rå and a penis enlargement set as a bonus! We support banners, flash banners, and scrollers. Discrete handling by our HQ on the Dutch Antilles.
Patti
Beginner
**
Offline Offline

Posts: 114


« Reply #15 on: June 11, 2008, 06:30:29 AM »

A one-minute systemic error?  I WON'T ALLOW IT!

I joke, I joke.  Inim has done an excellent job.  I would have been perfectly happy with a one-hour error, or even more, so long as the goal of "has played recently" was met.
Logged
PolyphonicBrie
Beginner
**
Offline Offline

Posts: 27


« Reply #16 on: June 11, 2008, 09:58:55 AM »

Result!!!

Thanks Inim!

PB
Logged
socksey
Global Moderator
Advanced
*
Offline Offline

Gender: Female
Posts: 1,308



« Reply #17 on: June 11, 2008, 11:12:59 AM »

Great work, inim!   applaus004  I can't wait to get back to try it out!  Smiley  I guess my vouch record that I kept is unable to work now, tho, unless I play another match with the players I wanted to vouch for.   cool

socksey



"Chaperons, even in their days of glory, were almost never able to enforce morality; what they did was to force immorality to be discreet. This is no small contribution." - Judith Martin
Logged
teyakis
Beginner
**
Offline Offline

Posts: 48



« Reply #18 on: June 11, 2008, 08:00:30 PM »

Great work, inim!   applaus004 


ditto !!  thumbsup2
Logged
Mookie
Beginner
**
Offline Offline

Posts: 110



« Reply #19 on: June 12, 2008, 05:05:44 PM »

Indeed, I don't even have a desire to say something silly here.  VERY nice work, inim.  I'm impressed, and I'm thrilled that this worked out in a way that seems fair and makes everyone relatively happy.

Thanks much.
Logged
Pages: [1] 2  All   Go Up
  Print  
 
Jump to:  



Rent Games - Cheap Gas - Loan - Credit Cards
Terms & Conditions | Privacy policy
Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!