• MRC - Issue with Prefixes

    From Codefenix@1:103/705 to echicken on Fri Feb 25 17:53:00 2022
    Hi echicken,

    I seem to be having an issue in the MRC client whenever setting a nick prefix.

    I'm trying to use the following command to set a cyan > in front of my alias:

    /nick_prefix [pipe]03>

    (I'm substituting [pipe] in place of the | in this post to prevent unintended coloring)

    What I expected to see from that command is my nick becoming:

    [pipe]03>Codefenix

    Instead, what happens is the prefix takes the place of the first character of my nick:

    [pipe]03>odefenix

    I've seen it happen for at least one other user on my board besides myself.

    ---
    þ Synchronet þ -=[ conchaos.synchro.net | ConstructiveChaos BBS ]=-
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Codefenix on Sat Feb 26 04:41:24 2022
    Re: MRC - Issue with Prefixes
    By: Codefenix to echicken on Fri Feb 25 2022 17:53:00

    What I expected to see from that command is my nick becoming:

    [pipe]03>Codefenix
    Instead, what happens is the prefix takes the place of the first character of my nick:

    [pipe]03>odefenix

    Looks like I did a stupid.

    Can you edit line 157 of xtrn/mrc-client.js, changing it from this:

    user.alias.replace(/\s/g, '_')

    to this:

    '_' + user.alias.replace(/\s/g, '_')

    and then edit xtrn/mrc-client.ini, look in the [aliases] section for the line that begins with 'Codefenix'. Delete that line. (This will wipe out any nick customizations you've made.)

    Run mrc-client again. Your nick should start as _Codefenix in some random colour. Try setting it to your desired value.

    If that works, it's not a real/good/permanent fix, but I can figure out a proper solution later.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Codefenix@1:103/705 to echicken on Sat Feb 26 09:11:08 2022
    Re: MRC - Issue with Prefixes
    By: echicken to Codefenix on Sat Feb 26 2022 04:41 am

    Can you edit line 157 of xtrn/mrc-client.js, changing it from this: user.alias.replace(/\s/g, '_')
    to this:
    '_' + user.alias.replace(/\s/g, '_')
    Run mrc-client again. Your nick should start as _Codefenix in some random colour. Try setting it to your desired value.
    If that works, it's not a real/good/permanent fix, but I can figure out a proper solution later.

    Change made, and it works nicely. Thanks!

    ---
    þ Synchronet þ -=[ conchaos.synchro.net | ConstructiveChaos BBS ]=-
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Codefenix on Sat Feb 26 18:03:28 2022
    Re: MRC - Issue with Prefixes
    By: Codefenix to echicken on Sat Feb 26 2022 09:11:09

    Change made, and it works nicely. Thanks!

    Great - thanks for letting me know. I'll try to remember to poke around at this sometime soon and put a proper fix in place.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)