I have tried using two different CB clients, mchattk and monkchat. I do have PerlMonksChat.pm installed. The problem I am having with both is that the program keeps telling me there is no one logged in. If I send a message it get sent to the CB, but does not show up in the client, only on my browser page.

The CB client (either one) does show my correct XP as well as votes remaining,so I am sure it is connecting, but I don't see any chatting, just empty white space.

Any one, any one at all? You, there in the blue. Yeah you, what do you think?

Edited: ~Mon Sep 30 20:36:49 2002 (GMT) by footpad: Moved from SOPW to PMD, per Consideration.

Replies are listed 'Best First'.
Re: CB client problems
by kelan (Deacon) on Sep 30, 2002 at 16:39 UTC
    I had the same problem with the Perl/Tk client. There were some broken regex's, as I recall. See this node for a couple patches that should fix things right up. (They did for me anyway.)

    kelan


    Yak it up with Fullscreen ChatterBox

      I wrote my quick'n'dirty patch yesterday, no XML modules involved; I downloaded PerlMonksModules-2.2.tar.gz from sourceforge.

      $ diff Users.pm.dist Users.pm 66c66 < my %users=($c=~/user\s+username="([^\"]+)"\s+user_id="(\d+)"/g +); --- > my %users= reverse ($c=~/user\s+user_id="(\d+)"\s+username="([ +^\"]+)"/g);
      $ diff Chat.pm.dist Chat.pm 61c61 < my @msgs=($c=~/message\s+author="([^\"]+)"[^>]+>\s*(.*?)\s*<\/me +ssage>/g);--- > my @msgs=($c=~/message\s+[^>]*author="([^\"]+)"[^>]+>\s*(.*?)\s* +<\/message>/g);

      These work for me. But your patches are definitely more elegant :-)

      Of course,

      Ciao!
      --bronto

      # Another Perl edition of a song:
      # The End, by The Beatles
      END {
        $you->take($love) eq $you->make($love) ;
      }

      DUDE! YOU SO TOTALLY ROCK.

      Thanks for the link, I'm all set now.

Re: CB client problems
by mephit (Scribe) on Sep 30, 2002 at 17:20 UTC
    I had problems with that client a long time ago as well, but I can't remember what exactly the problem was. I found a patch for the modules somewhere in the monestary. Check the Perlmonks modules 2.0 node. Maybe that'll help? For some reason, I have two different verssions of the patch on my hard drive here *shrug*. Anyway, HTH.

    --

    There are 10 kinds of people -- those that understand binary, and those that don't.