scandum / tintin

TinTin++, aka tt++, is an extensible console MUD client.
https://tintin.mudhalla.net
GNU General Public License v3.0
204 stars 56 forks source link

Certain Big5 characters can only be triggered through #show #180

Open rarealphacat opened 1 year ago

rarealphacat commented 1 year ago

Screenshot_2023-04-08_21-49-39

This is very strange to me, some characters cannot be triggered if it comes from the game but it can be triggered through #show command.

scandum commented 1 year ago

Only one action can trigger at a time. Check with #debug action on to see if that's the case here?

rarealphacat commented 1 year ago

I thought it was about multi trigger too, but it happens with it as the only action in the session as well.

scandum commented 1 year ago

Odd.

Difficult for me to fix as I can't easily reproduce it. Does it trigger if you use #show with all 4 Big5 characters echoed by say?

Also, are you using BIG5 as the charset, or BIG5TOUTF8 ?

rarealphacat commented 1 year ago

I'm not sure I get your question, there is only problematic Big5 character I found now "不" and what do you mean by echoed by say, I thought #echo does not trigger at all? Do you mean to "#action {不} {#echo triggered}", then say 不? If so, no, it doesn't trigger.

Or do you mean this? It still didn't trigger.

I am using BIG5TOUTF8.

scandum commented 1 year ago

I meant trying:

#showme image

I suspect it's something related to pcre, which would be hard to fix.

rarealphacat commented 1 year ago

yes, it triggered and this