Ticket #52 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

rbot assumes fortune is at /usr/games/fortune

Reported by: BCMM Assigned to: giblet
Priority: normal Milestone: rbot 1.0
Component: plugins Version: 0.9.7
Severity: normal Keywords:
Cc: ben@benmorris.org.uk

Description

When I issue the command fortune to my rbot installed on Gentoo Linux, it says "exec of /usr/games/fortune led to exception: No such file or directory - /usr/games/fortune". This appears to be because fortune is at /usr/bin/fortune in Gentoo.

Either an option to specify the location of fortune or the ability to run any fortune in the $PATH would fix this, the former giving the advantage of allowing the use of custom quote programs.

P.S. For some reason the command excuse returns "the excuse server is unreachable :(". Presumeably this feature uses a port 666 BOfH server? There are several around the internet, and being able to specify the excuse server too might help with this...

Change History

11/30/05 09:19:41 changed by ben@benmorris.org.uk

  • cc set to ben@benmorris.org.uk.

Sorry, forgot to put an email in.

11/30/05 09:31:53 changed by giblet

  • status changed from new to assigned.

The fortune plugin in svn trunk tries various locations (although still isn't configurable, I'll take that under advisement).

The excuse plugin in svn trunk didn't like living behind proxies etc, so has been replaced with one using an internal (quite large) excuse list and no external server.

11/30/05 09:45:16 changed by anonymous

Thanks for the quick response. Will the internal excuses list be the same as the list that the BOFH server uses? (Is it public-domain?)

BTW, it's a nice, easy to use bot. It makes me want to learn Ruby...

11/30/05 11:00:07 changed by giblet

Yes as far as I'm aware the list I found is the "official" BOFH excuse list.

Thanks for your feedback :)

11/30/05 11:14:42 changed by ben@benmorris.org.uk

Presumably the same goes for the insults?

BTW, sorry to post this here but I don't know where it should go: how should i install the "static keyword dictionaries"?

11/30/05 11:46:15 changed by giblet

Yes, same situation, same fix for insults.

For static keywords, create a "keywords" directory under your rbot confdir (defaults to ~/.rbot) and drop the files in there. Restart the bot or tell him "rescan" and he'll load em up/db-ize them etc.

10/23/06 17:34:03 changed by giuseppe.bilotta

  • milestone changed from rbot 0.9.10 to rbot 1.0.

10/23/06 20:28:52 changed by giuseppe.bilotta

  • component changed from misc to plugins.

01/30/07 09:23:11 changed by giuseppe.bilotta

  • status changed from assigned to closed.
  • resolution set to fixed.

Implemented in [615]