Don’t forget we moved!
https://brandmu.day/
[BeipMU] Removing pose order spam from Ares games.
-
@Rucket …buddy.
pose/nudge <on, off or gag> - Controls whether the game tells you when it’s your turn.
-
@Roz said in [BeipMU] Removing pose order spam from Ares games.:
@Rucket …buddy.
pose/nudge <on, off or gag> - Controls whether the game tells you when it’s your turn.
ROFL. I didn’t even catch this.
But this is good to know!
-
-
@Rucket 100% relatable content tbh
-
ARISE CHICKEN
I understand that this isn’t exactly the topic, but it is BeipMU and Ares related, so I figured it worked.
How the ever living fuck does one create a proper spawn window for comm channels on Ares games? It’s probably something really dumb and simplistic, but I’ve been so used to using this in Matcharoo in the Spawn tab of Triggers in Settings
^[([^]]+)]
But for whatever reason, this does not work on Ares games. In my normie non-coder brain, I suspect it’s because Ares use <Channel> as opposed to a lot of other gamebases using [Channel], but I’m probably wrong.
If anyone could give me guidance on how to get it to work, I would be ever so grateful.
-
@Testament Ares uses
< >
by default, although it’s an easy config for individual games to set, so it’s gonna vary. But yeah, your regex there looks like it’s looking for[ ]
brackets, so if you’re on a game with< >
instead, it’s not gonna work.Your regex as-is already seems to throw an error if I drop it into regexr.com, so I’m not 100% on what its translation is. (I am only a dabbler!) I think
^(<.+>).*
should work?But depending on the Ares game, just doing a raw catch for anything with the brackets could cause issues, because the default for OOC chatter and PMs also use angled brackets. If Beip can do exclusions, you could put those there, though! Or if it’s a reasonable number of channels, I’d probably just set it up with the actual channel names.
-
@Roz said in [BeipMU] Removing pose order spam from Ares games.:
Or if it’s a reasonable number of channels, I’d probably just set it up with the actual channel names.
That’s what I’ve always done. Angle brackets was the standard on PennMUSH for channels so it was necessary to distinguish channels from OOC and such.
-
ETA: Okay the stupid forum keeps eating the backslashes from the regex. In beip’s trigger page thing, bottom left there’s a bunch of premade ones. Look in there for the spawn windows folder, and in there’s one called “Tabs for any channel matching a pattern.” In there change the outer-most square brackets to whatever symbol the game uses. Don’t change anything else and it should work fine.
You’ll also need to drag that from the bottom left box to the top left box under the appropriate game.
Though personally I just use the channel names like so:
^\<(Chat|Questions|PM|RP Requests)\>
-
@Pavel said in [BeipMU] Removing pose order spam from Ares games.:
Though personally I just use the channel names like so:
^\<(Chat|Questions|PM|RP Requests)\>
This is what I do too:
^<(CharGen|Chat|RP Requests|Questions|Game|Staff|PM|Events)\>
Literally basically the same thing only with less consistency about putting \ before my < and >. KEEP EM GUESSING.
-
@Tez For regex,
[
is a control character, a symbol with meaning to the language, and<
is not. So you have to escape [ with[
while you do not need to do so with<
. The\
lets regex know to use the literal[
.So this works if the channels look like
<Chat>
but not if they look like[Chat]
.Just like in MUX you needed to escape
%
because it was a control character (think%r
) but you don’t need to do so in Ares or Evennia because those code bases do not use%
as a control character, even though they both recognize%r
as special. For Evennia, things are escaped with|
. I’m not sure about Ares. -
@Tributary
The Ares escape is a\
.help formatting
has all the dirty deets. -
A random aside, but I wanted to comment on the regex patterns being displayed here. This will be pedantic.
@Roz 's pattern of
^(<.+>).*
will get the job done, but you will get false positives from it. Anything Ares sends to your client that starts with<
, has text, and ends with>
, including poses from a player, will potentially be seen by this pattern and match, getting you a potential spawn window if they should start* their pose with something like<Meanwhile...>
. Will that happen often? I imagine next to never, but I did want to bring up this slight possibility.On the other hand, @Pavel’s and @Tez’s patterns will exact-match channel names, but if you want to add more channels, you have to verbatim copy in the channel to the pattern for every one you want a spawn window for, and the opposite for those you don’t want one.
So in short, it depends on how invested you are in the outcome. Want a specific subset of channels? Go with option B where the channel names are spelled out in the pattern. Want a catch-all? Option A.
* (ETA) I forget how Ares sends poses to players on a client, since it’s been a while for me. If the first character is literally
<
(i.e., only the pose is sent and not a nospoof like the PC who sent the pose) then it will happen as I’ve outlined. -
@dvoraen said in [BeipMU] Removing pose order spam from Ares games.:
I forget how Ares sends poses to players on a client, since it’s been a while for me. If the first character is literally < (i.e., only the pose is sent and not a nospoof like the PC who sent the pose) then it will happen as I’ve outlined.
Also if someone does a
<OOC> Faraday waves.
or FS3 combat messages, which are prefixed by<FS3Combat> Faraday is knocked out.
or ASCII art, or any paragraph that starts with < for some reason.Really specific channel names is the safer way to go.
-
@Tez said in [BeipMU] Removing pose order spam from Ares games.:
less consistency about putting \ before my < and >
I only do it so I can look at it and know, “Right, it is checking for the actual < not some weird control character I’ve forgotten and need to look up.”