How to use Potato MU Client



  • @sunny Thank you so much, that sorted me right out :D


  • Coder

    @skew said in How to use Potato MU Client:

    My dear (not actually a) stalker asked how to highlight names without highlighting words that contain that name. Ie, Mae but not Maelstrom.

    Create a new event:

    • Event Name: Name Highlight
    • Pattern: (?:^|\W)Name(?:$|\W)
      ** Put your name there instead of 'name'
    • Type: regexp
    • Case: Checked
    • Enabled?: Checked
    • Continue?: Checked
    • Match All?: Checked
    • Run When: Always
    • Change FG: Color of your choice

    That should do it... Please note, like every time anyone ever uses of regexp I have no idea what I'm doing and just copied and pasted some code until I found the stuff that worked. So let me know if it's not working for you?

    Skew, you're looking for \m and \M

    \m matches beginning-of-word-boundary, and \M matches end-of-word-boundary.

    So \m(Name|Nickname)\M will highlight 'Name' but not 'Nameson' or anything else like that.


  • Coder

    @ixokai Yeah? I have no idea! But I tested and it works. I updated the original above. Thanks!


  • Coder

    Someone was asking for help with Potato today. Couldn't get the "everything inside the quotes" highlight working. After some tooling around, I realized the issue was that "Continue?" was not checked on an earlier highlight, so I thought I'd add the note here.

    The events process in order, from the top of the list on the right to the bottom. By default, "Continue?" is not checked. This means that once the program processes that event, it will stop. No continuing to the next event.

    This means if I have my name highlighted as the first event, and my name is in the incoming pose, it won't keep running the rest of my events. So, make sure to click "Continue?"!


  • Coder

    @skew said in How to use Potato MU Client:

    Highlight everything inside quotes! This is a feature present on some MU servers (Evennia, Rhost) but not all, so we can do it client side.
    Create a new event:

    • Event Name: Quotes
    • Pattern: (["])(\\?.)*?\1

    This is actually more complicated then it needs to be. (I know this is ancient but I'm looking through the thread fully for the first time to find a solution to a problem I'm having) The pattern I use is just this: "(.+?)"

    Dot matches any character; plus matches the previous match zero to as many times as you want. Now, the ? is the magic key here. By default, ".+" is 'greedy', so:

    "Hello how are you" says Ixokai, "NIce to meet you."

    .+ will match the absolute maximum it can -- which is that entire line, including the non-quoted middle part. By putting a ? after the +, you turn on 'non-greedy' mode, which means it stops matching at the first point where it could stop matching.



  • @ixokai

    On mux, this won't match the open/close quotes that it uses by default in the "say" command.


  • Coder

    @derp Why? Does it use angled quotes or something?

    Also... people still use the say command in poses? :P


  • Coder

    @derp @faraday Yes, the say command uses angled, fancy, open/close quotes. Whatever they're called.
    My original event doesn't capture them, either. Frankly, I never saw the need, it's so very rare. But! If you want to capture them, using @ixokai 's suggestion, you'd just create a new event same as the other and use the pattern: “(.+)”


  • Coder

    @derp said in How to use Potato MU Client:

    @ixokai

    On mux, this won't match the open/close quotes that it uses by default in the "say" command.

    I forgot MUX used unicode quotes as I always set myself ASCII as different quotes between emits and 'say' drive me nuts :)


  • Coder

    @skew said in How to use Potato MU Client:

    @derp @faraday Yes, the say command uses angled, fancy, open/close quotes. Whatever they're called.

    Typographic, curly, curved, book, or smart quotation marks.

    Converting straight quotes to smart quotes is sometimes called “educating quotes”. This board does this as you type. It would be nice if every system did, as they are far easier to read.


  • Coder

    The simple question: Is there a way for me to disable text scrolling?

    In Potato, when receiving a lot of text, it can take a few seconds as all of the text scrolls into place. In other clients, the text would come in as quickly as the mux could send it, so it would pop onto my screen immediately. I write code somewhat often, so having to wait 4 or 5 seconds every time I examine an object gets tiresome -fast-. Is there some way to disable this animation?


  • Coder

    @darc said in How to use Potato MU Client:

    The simple question: Is there a way for me to disable text scrolling?

    In Potato, when receiving a lot of text, it can take a few seconds as all of the text scrolls into place. In other clients, the text would come in as quickly as the mux could send it, so it would pop onto my screen immediately. I write code somewhat often, so having to wait 4 or 5 seconds every time I examine an object gets tiresome -fast-. Is there some way to disable this animation?

    ... what OS? I ask because I use Potato and I don't see that behavior at all.


  • Coder

    @ixokai said in How to use Potato MU Client:

    @darc said in How to use Potato MU Client:

    The simple question: Is there a way for me to disable text scrolling?

    In Potato, when receiving a lot of text, it can take a few seconds as all of the text scrolls into place. In other clients, the text would come in as quickly as the mux could send it, so it would pop onto my screen immediately. I write code somewhat often, so having to wait 4 or 5 seconds every time I examine an object gets tiresome -fast-. Is there some way to disable this animation?

    ... what OS? I ask because I use Potato and I don't see that behavior at all.

    Win 10


  • Coder

    Correct me if I'm wrong but... You're not wanting to disable the text from scrolling down the screen. You're talking about it posting on screen instantly vs seeing it "slowly" move down?

    In Atlantis, if I examine an object it comes in as one solid chunk. I didn't even know that was an option until I used Atlantis. I have no answer to this. I might poke around the settings tomorrow. Sorry!


  • Coder

    @skew said in How to use Potato MU Client:

    Correct me if I'm wrong but... You're not wanting to disable the text from scrolling down the screen. You're talking about it posting on screen instantly vs seeing it "slowly" move down?

    In Atlantis, if I examine an object it comes in as one solid chunk. I didn't even know that was an option until I used Atlantis. I have no answer to this. I might poke around the settings tomorrow. Sorry!

    You are correct. I would like it to post instantly to the screen (which it does for me just fine in MUSHClient).


  • Coder

    @darc said in How to use Potato MU Client:

    @skew said in How to use Potato MU Client:

    Correct me if I'm wrong but... You're not wanting to disable the text from scrolling down the screen. You're talking about it posting on screen instantly vs seeing it "slowly" move down?

    In Atlantis, if I examine an object it comes in as one solid chunk. I didn't even know that was an option until I used Atlantis. I have no answer to this. I might poke around the settings tomorrow. Sorry!

    You are correct. I would like it to post instantly to the screen (which it does for me just fine in MUSHClient).

    I'm just super confused by the point of: what? It does this? I keep trying to poke my potato to behave in some way that causes delays here or there and they just aren't there. I mean if I ex a really big object, it scrolls sure, but its showing me exactly as it gets it? How could it be any faster? There's not a multi-second animation delay. It takes a quarter of a second during the blur.

    Not calling you a liar I just don't see what you're seeing.



  • @ixokai I get delays occasionally, but only on a few select places and I have to assume it's a bit of a connection lag between me and the game. Else it acts the same as any other client.


  • Coder

    @ixokai Do you happen to have a second computer, or two monitors? Open Atlantis on one, open Potato on the other, examine a very large object.

    In Potato, your screen scrolls down. In Atlantis, the data posts instantly.

    Yes, it does this. I can take a video if need be? I mean, I don't think it's a big issue but it does annoy me... particularly when it examine the wrong thing.


  • Coder

    @skew

    I can verify that Atlantis does scroll over time when I accidentally throw over six hundred lines at myself.

    Which happens a lot more than I'd hope.

    Potato being built upon Python is probably the problem, there. Text goes through a few different systems before it's rendered, which is probably what's creating the lag.

    The lag of Potato on OS X/macOS is horrific, and I am deeply tempted to NOT upgrade to 10.14 Mojave just to keep Atlantis.

    --

    edit: @Sparks reminds me that 10.4 will still run 32-bit apps, it's 10.5 (San Andres Fault) that won't. Woot.


  • Coder

    @thenomain said in How to use Potato MU Client:

    Potato being built upon Python is probably the problem, there. Text goes through a few different systems before it's rendered, which is probably what's creating the lag.

    Ummm. Potato is not built upon Python.