Author Topic: Pet emotes and binds - FIXED! WORKAROUND!  (Read 549 times)

Shenanigunner

  • Lieutenant
  • ***
  • Posts: 77
    • Heroica!
Pet emotes and binds - FIXED! WORKAROUND!
« on: June 21, 2019, 04:18:18 PM »
Well, I discovered the hard way that pet emotes *do not work* in binds. I am at a loss as to whether this is a new problem or has always been that way.

/petsayall <emote Burp> works fine.
/macro PB "petsayall <emote Burp>" works fine.
/bind ADD "petsayall <emote Burp>"... makes all the pets say "<emote Burp>".

I have such binds in old MM files and I am pretty sure they worked back then. I thought I had tested this just recently to update the Guide, and it worked. But last night there was a confused Help convo about it and I had to switch to my MM to check... and sure enough, pet emotes don't work in binds. Only in binds.

Can anyone confirm that this did work, in either the distant or recent past? I tinkered around with various quotes, using &lt; and &gt; for the brackets, etc. with no success.
« Last Edit: June 21, 2019, 07:10:42 PM by Shenanigunner »
== The Guide, the GABB files and the GSNOTTY list, all at (NEW!) www.Shenanigunner.com ==

eabrace

  • Titan Moderator
  • Elite Boss
  • *****
  • Posts: 4,225
Re: Pet emotes and binds
« Reply #1 on: June 21, 2019, 06:05:22 PM »
https://www.cohtitan.com/forum/index.php?topic=13392.0
https://www.cohtitan.com/forum/index.php?topic=13356.msg232792#msg232792

Quote
in I13 the developers re-coded the chat window to prevent people from abusing the '<' and '>'. So manually keying things like color codes into the beginning of a chat message doesn't work, but if you have a bind like the one above with canned text that doesn't have to go through the chat window to be executed, that'll work.  (Macro buttons in your tray will also work.)  Pet emotes are in a similar boat because they rely on "<em emote>" in a /petsay command.

Quote
The new SMF code converts < and > to &lt; and &gt; (which show as < and > in displayed text but don't get recognised as meaning 'this is a tag' internally in order to stop players from breaking other people's clients with bad tags or whatever. Unfortunately this means the text colouring doesn't work any more. Probably needs a better solution but not a high priority until the start of next year.

If you type the bind in to set it, it will be bound post-interpretation with the &lt; and &gt; codes.  If you type it in a bind file and load the bind file, it should bypass the interpreter and work properly.
Titan Twitter broadcasting at 5.000 mWh and growing.
Titan Facebook

Paragon Wiki admin
I was once being interviewed by Barbara Walters...In between two of the segments she asked me..."But what would you do if the doctor gave you only six months to live?" I said, "Type faster." - Isaac Asimov

Shenanigunner

  • Lieutenant
  • ***
  • Posts: 77
    • Heroica!
Re: Pet emotes and binds
« Reply #2 on: June 21, 2019, 06:08:47 PM »
Nope. Just found that discussion and tried it. Import of a bind fails in exactly the same way.

Or did I miss something?

A bind to call a macro seems to be the only workaround short of pasting post-it notes on the screen. :P

However, the color codes work just fine in both binds and macros. So something's been fixed, just not this niche.
== The Guide, the GABB files and the GSNOTTY list, all at (NEW!) www.Shenanigunner.com ==

Shenanigunner

  • Lieutenant
  • ***
  • Posts: 77
    • Heroica!
Re: Pet emotes and binds
« Reply #3 on: June 21, 2019, 06:22:48 PM »
FOUND A WORKAROUND.

Create your pet emotes as macros. Store them in, say, Tray 9.
/macro PD "petsayall <emote DrumDance>" - move to slot 9/1.

Write your binds to call the macros:
/bind ALT+1 "powerexectray 1 9" (note that it's slot first, tray second...)

Bingo. Until binds are fixed or something.
== The Guide, the GABB files and the GSNOTTY list, all at (NEW!) www.Shenanigunner.com ==