Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.
 Entire forum ➜ MUSHclient ➜ General ➜ Strange format of output

Strange format of output

It is now over 60 days since the last post. This thread is closed.     Refresh page


Pages: 1 2  

Posted by JY.Chang   Taiwan  (15 posts)  Bio
Date Wed 14 Dec 2011 04:17 AM (UTC)

Amended on Wed 14 Dec 2011 10:14 AM (UTC) by JY.Chang

Message
i got the message below when sending "skill" command
xxxxxxxx Blade               : 2921xxxxxxxx Fire axe            : 2437
xxxx Blademaster         : 2400xxxxxxxx Lancemaster         : 2400
xxxxxxxx Windlance           : 2400xxxxxx Lightning blade     : 2400
xxxxxxxx Axe                 : 2197xxxxxxxx Chuck-lance         : 2000
xxxx Axemaster           : 1604xxxxxxxx Furiousaxe          : 1464


which should be in the format below...
xxxxxxxx Blade               : 2921xxxxxxxx Fire axe            : 2437
xxxx Blademaster             : 2400xxxxxxxx Lancemaster         : 2400
xxxxxxxx Windlance           : 2400xxxxxx Lightning blade       : 2400
xxxxxxxx Axe                 : 2197xxxxxxxx Chuck-lance         : 2000
xxxx Axemaster               : 1604xxxxxxxx Furiousaxe          : 1464

is there any settings can correct this ?

ps.the "x" symbol stands for chinese (two "x" symbol for one chinese word)
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #1 on Wed 14 Dec 2011 04:19 AM (UTC)
Message
What font are you using?

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Nick Gammon   Australia  (23,100 posts)  Bio   Forum Administrator
Date Reply #2 on Wed 14 Dec 2011 04:31 AM (UTC)
Message
What is in the xxxx? Perhaps the server is trying to align things by counting characters, and not allowing for UTF-8 symbols taking more than one byte.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by JY.Chang   Taiwan  (15 posts)  Bio
Date Reply #3 on Wed 14 Dec 2011 05:05 AM (UTC)
Message
Zeno said:

What font are you using?

I'm using Monospaced Font(細明體).

Nick Gammon said:

What is in the xxxx? Perhaps the server is trying to align things by counting characters, and not allowing for UTF-8 symbols taking more than one byte.

I'm not sure you can read chinese or not, below is the original message.
基本刀法 Blade               : 2934舞燄之斧 Fire axe            : 2437
刀訣 Blademaster         : 2400槍訣 Lancemaster         : 2400
騎風槍殺 Windlance           : 2400紫雷斬 Lightning blade     : 2400
用斧技巧 Axe                 : 2197槍矛投擲 Chuck-lance         : 2000
斧訣 Axemaster           : 1604狂怒斧斬 Furiousaxe          : 1464


The output will be ok if i'm using zMUD, but i don't like that software.
Top

Posted by Nick Gammon   Australia  (23,100 posts)  Bio   Forum Administrator
Date Reply #4 on Wed 14 Dec 2011 09:33 AM (UTC)
Message
Quote:

which should be in the format below...

xxxxxxxx Blade : 2921xxxxxxxx Fire axe : 2437


Quote:

基本刀法 Blade : 2934舞燄之斧 Fire axe : 2437


What you posted above, and below, differ. The Chinese characters are not 8. Why did you post xxxxxxxx when you actually see 基本刀法?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by JY.Chang   Taiwan  (15 posts)  Bio
Date Reply #5 on Wed 14 Dec 2011 10:20 AM (UTC)

Amended on Wed 14 Dec 2011 02:55 PM (UTC) by JY.Chang

Message
Nick Gammon said:

What you posted above, and below, differ. The Chinese characters are not 8. Why did you post xxxxxxxx when you actually see 基本刀法?


Because i think 1 Chinese character take 2 bytes, am i wrong? sorry for this horrible question...
Top

Posted by Nick Gammon   Australia  (23,100 posts)  Bio   Forum Administrator
Date Reply #6 on Wed 14 Dec 2011 07:17 PM (UTC)
Message
Is there a tab character in there?

Can you please paste here a packet debug?

Go the the Edit menu and check "Debug Packets".

Then get the skill list.

Turn Debug Packets off again or the program will eventually go slow.

Switch to the window with the packet information in it, and copy and paste it here.

Thanks.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by JY.Chang   Taiwan  (15 posts)  Bio
Date Reply #7 on Thu 15 Dec 2011 03:00 PM (UTC)

Amended on Thu 15 Dec 2011 03:11 PM (UTC) by JY.Chang

Message
Nick Gammon said:

Is there a tab character in there?


I don't think so, i copy the skill list to EditPlus for checking the spacing symbol which shows all of them are "space".

I did the "Debug packets" which shows the information below.
part1-1:

Sent  packet: 11 (4 bytes) at 星期四, 十二月 15, 2011, 11:46:21 下午

sk..               73 6b 0d 0a

Incoming packet: 11 (999 bytes) at 星期四, 十二月 15, 2011, 11:46:21 下午

.A.|........:...   a7 41 b7 7c aa ba a7 de af e0 a6 b3 3a 0d 0a 0d
..b...N .[24;14H   0a b2 62 a4 c6 b3 4e 20 1b 5b 32 34 3b 31 34 48
Cleanse            43 6c 65 61 6e 73 65 20 20 20 20 20 20 20 20 20
    : 6699.[24;4   20 20 20 20 3a 20 36 36 39 39 1b 5b 32 34 3b 34
2H.[1;37m.P.....   32 48 1b 5b 31 3b 33 37 6d ac 50 a5 fa a7 fa aa
k.[0m .[24;55HSt   6b 1b 5b 30 6d 20 1b 5b 32 34 3b 35 35 48 53 74
arlight wand       61 72 6c 69 67 68 74 20 77 61 6e 64 20 20 20 20
  : 3959........   20 20 3a 20 33 39 35 39 0d 0a b0 f2 a5 bb a7 fa
.k .[24;14HWand    aa 6b 20 1b 5b 32 34 3b 31 34 48 57 61 6e 64 20
               :   20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a
 2606.[24;42H.[1   20 32 36 30 36 1b 5b 32 34 3b 34 32 48 1b 5b 31
;37m...t.k.N.[0m   3b 33 37 6d a5 fa a8 74 aa 6b b3 4e 1b 5b 30 6d
 .[24;55HLight s   20 1b 5b 32 34 3b 35 35 48 4c 69 67 68 74 20 73
pell         : 1   70 65 6c 6c 20 20 20 20 20 20 20 20 20 3a 20 31
562.......{.. .[   35 36 32 0d 0a b0 f2 a5 bb b0 7b b8 fa 20 1b 5b
24;14HDodge        32 34 3b 31 34 48 44 6f 64 67 65 20 20 20 20 20
          : 1181   20 20 20 20 20 20 20 20 20 20 3a 20 31 31 38 31
.[24;42H._.I....   1b 5b 32 34 3b 34 32 48 ab 5f c0 49 aa cc a4 a7
.. .[24;55HAdven   a4 df 20 1b 5b 32 34 3b 35 35 48 41 64 76 65 6e
ture heart     :   74 75 72 65 20 68 65 61 72 74 20 20 20 20 20 3a
 1153...H......    20 31 31 35 33 0d 0a ab 48 a5 f5 a4 a7 a4 df 20
.[24;14HClerical   1b 5b 32 34 3b 31 34 48 43 6c 65 72 69 63 61 6c
 heart      : 11   20 68 65 61 72 74 20 20 20 20 20 20 3a 20 31 31
05.[24;42H.....N   30 35 1b 5b 32 34 3b 34 32 48 af ac ba d6 b3 4e
 .[24;55HBless     20 1b 5b 32 34 3b 35 35 48 42 6c 65 73 73 20 20
             : 1   20 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 31
081...N...... .[   30 38 31 0d 0a b7 4e a9 c0 b1 b1 a8 ee 20 1b 5b
24;14HInt contro   32 34 3b 31 34 48 49 6e 74 20 63 6f 6e 74 72 6f
l         : 1000   6c 20 20 20 20 20 20 20 20 20 3a 20 31 30 30 30
.[24;42H.[57m.}.   1b 5b 32 34 3b 34 32 48 1b 5b 35 37 6d af 7d c5
].[54m...o.[0m .   5d 1b 5b 35 34 6d b7 c0 ab 6f 1b 5b 30 6d 20 1b
[24;55HEvil dest   5b 32 34 3b 35 35 48 45 76 69 6c 20 64 65 73 74
roy        : 924   72 6f 79 20 20 20 20 20 20 20 20 3a 20 39 32 34
...].k...u .[24;   0d 0a c5 5d aa 6b ad b8 bc 75 20 1b 5b 32 34 3b
14HMagic missile   31 34 48 4d 61 67 69 63 20 6d 69 73 73 69 6c 65
       : 902.[24   20 20 20 20 20 20 20 3a 20 39 30 32 1b 5b 32 34
;42H.....C.k .[2   3b 34 32 48 b0 f2 a5 bb bc 43 aa 6b 20 1b 5b 32
4;55HSword         34 3b 35 35 48 53 77 6f 72 64 20 20 20 20 20 20
         : 900..   20 20 20 20 20 20 20 20 20 3a 20 39 30 30 0d 0a
.C.h.... .[24;14   bc 43 a4 68 a4 a7 a4 df 20 1b 5b 32 34 3b 31 34
HSlasher heart     48 53 6c 61 73 68 65 72 20 68 65 61 72 74 20 20
     : 900.[24;4   20 20 20 20 20 3a 20 39 30 30 1b 5b 32 34 3b 34
2H.R...... .[24;   32 48 bb 52 b0 ca a4 a7 ad b7 20 1b 5b 32 34 3b
55HCyclone hands   35 35 48 43 79 63 6c 6f 6e 65 20 68 61 6e 64 73
       : 900....   20 20 20 20 20 20 20 3a 20 39 30 30 0d 0a ad b8
...... .[24;14HS   ac e2 a8 ab a5 db 20 1b 5b 32 34 3b 31 34 48 53
and hands          61 6e 64 20 68 61 6e 64 73 20 20 20 20 20 20 20
   : 900.[24;42H   20 20 20 3a 20 39 30 30 1b 5b 32 34 3b 34 32 48
...... .[24;55HW   b1 db ad b7 ae b1 20 1b 5b 32 34 3b 35 35 48 57
ind fist           69 6e 64 20 66 69 73 74 20 20 20 20 20 20 20 20
   : 900...p.K..   20 20 20 3a 20 39 30 30 0d 0a a4 70 be 4b ae b1
 .[24;14HDrink f   20 1b 5b 32 34 3b 31 34 48 44 72 69 6e 6b 20 66
ist          : 9   69 73 74 20 20 20 20 20 20 20 20 20 20 3a 20 39
00.[24;42H...P..   30 30 1b 5b 32 34 3b 34 32 48 ac de b5 50 a9 e8
.. .[24;55HShiel   be d7 20 1b 5b 32 34 3b 35 35 48 53 68 69 65 6c
d              :   64 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a
 900.....\.I.. .   20 39 30 30 0d 0a ae f0 a5 5c ac 49 a9 f1 20 1b
[24;14HShutskill   5b 32 34 3b 31 34 48 53 68 75 74 73 6b 69 6c 6c
           : 900   20 20 20 20 20 20 20 20 20 20 20 3a 20 39 30 30
.[24;42H........   1b 5b 32 34 3b 34 32 48 b2 d3 b3 b7 b6 b3 ae f0
 .[24;55HSnow ha   20 1b 5b 32 34 3b 35 35 48 53 6e 6f 77 20 68 61
nds          : 9   6e 64 73 20 20 20 20 20 20 20 20 20 20 3a 20 39
00.....            30 30 0d 0a b4 d2 b4

I got an error message about "too much data", so i need to cut this into several parts.
Top

Posted by JY.Chang   Taiwan  (15 posts)  Bio
Date Reply #8 on Thu 15 Dec 2011 03:01 PM (UTC)
Message
part1-2:


Incoming packet: 12 (999 bytes) at 星期四, 十二月 15, 2011, 11:46:21 下午

..... .[24;14HRo   ce a7 f0 c0 bb 20 1b 5b 32 34 3b 31 34 48 52 6f
d                  64 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
  : 900.[24;42H.   20 20 3a 20 39 30 30 1b 5b 32 34 3b 34 32 48 aa
Z.....[ .[24;55H   5a be b9 a9 db ac 5b 20 1b 5b 32 34 3b 35 35 48
Parry              50 61 72 72 79 20 20 20 20 20 20 20 20 20 20 20
    : 900...[1;3   20 20 20 20 3a 20 39 30 30 0d 0a 1b 5b 31 3b 33
5m...k...k.[0m .   35 6d ac fc a4 6b ae b1 aa 6b 1b 5b 30 6d 20 1b
[24;14HGirl fist   5b 32 34 3b 31 34 48 47 69 72 6c 20 66 69 73 74
           : 900   20 20 20 20 20 20 20 20 20 20 20 3a 20 39 30 30
.[24;42H.U.N....   1b 5b 32 34 3b 34 32 48 bf 55 bf 4e a4 a7 a4 e2
 .[24;55HBurning   20 1b 5b 32 34 3b 35 35 48 42 75 72 6e 69 6e 67
 hands       : 9   20 68 61 6e 64 73 20 20 20 20 20 20 20 3a 20 39
00.....\...k .[2   30 30 0d 0a a4 ba a5 5c a4 df aa 6b 20 1b 5b 32
4;14HFister hear   34 3b 31 34 48 46 69 73 74 65 72 20 68 65 61 72
t        : 900.[   74 20 20 20 20 20 20 20 20 3a 20 39 30 30 1b 5b
24;42H........ .   32 34 3b 34 32 48 aa c5 a4 e2 b3 d5 b0 ab 20 1b
[24;55HBarefist    5b 32 34 3b 35 35 48 42 61 72 65 66 69 73 74 20
           : 900   20 20 20 20 20 20 20 20 20 20 20 3a 20 39 30 30
...[33m...L...k.   0d 0a 1b 5b 33 33 6d a4 d6 aa 4c ae b1 aa 6b 1b
[2;37;0m .[24;14   5b 32 3b 33 37 3b 30 6d 20 1b 5b 32 34 3b 31 34
HSoulin fist       48 53 6f 75 6c 69 6e 20 66 69 73 74 20 20 20 20
     : 900.[24;4   20 20 20 20 20 3a 20 39 30 30 1b 5b 32 34 3b 34
2H.q.....x .[24;   32 48 b9 71 a5 fa c0 bb b4 78 20 1b 5b 32 34 3b
55HElectric hand   35 35 48 45 6c 65 63 74 72 69 63 20 68 61 6e 64
s      : 900...[   73 20 20 20 20 20 20 3a 20 39 30 30 0d 0a 1b 5b
1;35m.m.[1;36m.i   31 3b 33 35 6d b1 6d 1b 5b 31 3b 33 36 6d ad 69
.[32m.C.[1;33m..   1b 5b 33 32 6d a4 43 1b 5b 31 3b 33 33 6d a6 e2
.[34m.C.[2;37;0m   1b 5b 33 34 6d bc 43 1b 5b 32 3b 33 37 3b 30 6d
 .[24;14HRainbow   20 1b 5b 32 34 3b 31 34 48 52 61 69 6e 62 6f 77
 slash       : 9   20 73 6c 61 73 68 20 20 20 20 20 20 20 3a 20 39
00.[24;42H......   30 30 1b 5b 32 34 3b 34 32 48 a8 ad c5 e9 a5 ad
.. .[24;55HBody    bf c5 20 1b 5b 32 34 3b 35 35 48 42 6f 64 79 20
control        :   63 6f 6e 74 72 6f 6c 20 20 20 20 20 20 20 20 3a
 809...t.F.... .   20 38 30 39 0d 0a b8 74 c6 46 aa fe c5 e9 20 1b
[24;14HHoly body   5b 32 34 3b 31 34 48 48 6f 6c 79 20 62 6f 64 79
           : 800   20 20 20 20 20 20 20 20 20 20 20 3a 20 38 30 30
.[24;42H.t.....O   1b 5b 32 34 3b 34 32 48 b8 74 bc e4 a4 a7 a4 4f
 .[24;55HPure po   20 1b 5b 32 34 3b 35 35 48 50 75 72 65 20 70 6f
wer          : 8   77 65 72 20 20 20 20 20 20 20 20 20 20 3a 20 38
00...[57m.....[5   30 30 0d 0a 1b 5b 35 37 6d c5 aa ae d1 1b 5b 35
5m...r.[0m .[24;   35 6d c3 d1 a6 72 1b 5b 30 6d 20 1b 5b 32 34 3b
14HLiterature      31 34 48 4c 69 74 65 72 61 74 75 72 65 20 20 20
       : 800.[24   20 20 20 20 20 20 20 3a 20 38 30 30 1b 5b 32 34
;42H.[1;37m.t...   3b 34 32 48 1b 5b 31 3b 33 37 6d b8 74 a5 fa ac
..[0m .[24;55HHo   de 1b 5b 30 6d 20 1b 5b 32 34 3b 35 35 48 48 6f
ly shield          6c 79 20 73 68 69 65 6c 64 20 20 20 20 20 20 20
  : 800...[1;37m   20 20 3a 20 38 30 30 0d 0a 1b 5b 31 3b 33 37 6d
.v...N.[2;37;0m    aa 76 c0 f8 b3 4e 1b 5b 32 3b 33 37 3b 30 6d 20
.[24;14HHeal spe   1b 5b 32 34 3b 31 34 48 48 65 61 6c 20 73 70 65
ll          : 80   6c 6c 20 20 20 20 20 20 20 20 20 20 3a 20 38 30
0.[24;42H...t.O.   30 1b 5b 32 34 3b 34 32 48 af ab b8 74 a4 4f b6
q .[24;55HHoly p   71 20 1b 5b 32 34 3b 35 35 48 48 6f 6c 79 20 70
ower          :    6f 77 65 72 20 20 20 20 20 20 20 20 20 20 3a 20
800.......N .[24   38 30 30 0d 0a ac e8 c3 ab b3 4e 20 1b 5b 32 34
;14HPray           3b 31 34 48 50 72 61 79 20 20 20 20 20 20 20 20
        : 800.[2   20 20 20 20 20 20 20 20 3a 20 38 30 30 1b 5b 32
4;42H...R.H.. .[   34 3b 34 32 48 b9 aa bb 52 ab 48 a4 df 20 1b 5b
24;55HEncourage    32 34 3b 35 35 48 45 6e 63 6f 75 72 61 67 65 20
          : 800.   20 20 20 20 20 20 20 20 20 20 3a 20 38 30 30 0d
......N .[24;14H   0a a7 f4 bf a3 b3 4e 20 1b 5b 32 34 3b 31 34 48
Confine spell      43 6f 6e 66 69 6e 65 20 73 70 65 6c 6c 20 20 20
    : 800.[24;42   20 20 20 20 3a 20 38 30 30 1b 5b 32 34 3b 34 32
H.C.Z .            48 bc 43 b3 5a 20 1b
Top

Posted by JY.Chang   Taiwan  (15 posts)  Bio
Date Reply #9 on Thu 15 Dec 2011 03:02 PM (UTC)
Message
part1-3:


Incoming packet: 13 (999 bytes) at 星期四, 十二月 15, 2011, 11:46:21 下午

[24;55HSwordmast   5b 32 34 3b 35 35 48 53 77 6f 72 64 6d 61 73 74
er         : 700   65 72 20 20 20 20 20 20 20 20 20 3a 20 37 30 30
...t...... .[24;   0d 0a b8 74 a5 fa b5 b2 ac c9 20 1b 5b 32 34 3b
14HLight aura      31 34 48 4c 69 67 68 74 20 61 75 72 61 20 20 20
       : 680.[24   20 20 20 20 20 20 20 3a 20 36 38 30 1b 5b 32 34
;42H.k...N .[24;   3b 34 32 48 c2 6b c1 d9 b3 4e 20 1b 5b 32 34 3b
55HReturn spell    35 35 48 52 65 74 75 72 6e 20 73 70 65 6c 6c 20
       : 642...[   20 20 20 20 20 20 20 3a 20 36 34 32 0d 0a 1b 5b
1;36m.....@...[0   31 3b 33 36 6d a4 f4 a4 a7 c5 40 ac de 1b 5b 30
m .[24;14HWaters   6d 20 1b 5b 32 34 3b 31 34 48 57 61 74 65 72 73
hield         :    68 69 65 6c 64 20 20 20 20 20 20 20 20 20 3a 20
600.[24;42H.|...   36 30 30 1b 5b 32 34 3b 34 32 48 a5 7c ae c9 bc
C.k .[24;55H4-se   43 aa 6b 20 1b 5b 32 34 3b 35 35 48 34 2d 73 65
ason slash         61 73 6f 6e 20 73 6c 61 73 68 20 20 20 20 20 20
: 600...[1;32m.q   3a 20 36 30 30 0d 0a 1b 5b 31 3b 33 32 6d b9 71
.....[0m .[24;14   a5 fa ae b1 1b 5b 30 6d 20 1b 5b 32 34 3b 31 34
HThunder fist      48 54 68 75 6e 64 65 72 20 66 69 73 74 20 20 20
     : 500.[24;4   20 20 20 20 20 3a 20 35 30 30 1b 5b 32 34 3b 34
2H.[1;37m.H.B.x.   32 48 1b 5b 31 3b 33 37 6d b4 48 a6 42 b4 78 1b
[0m .[24;55HCold   5b 30 6d 20 1b 5b 32 34 3b 35 35 48 43 6f 6c 64
er fist            65 72 20 66 69 73 74 20 20 20 20 20 20 20 20 20
: 500...[1;35m.R   3a 20 35 30 30 0d 0a 1b 5b 31 3b 33 35 6d bb 52
...Z.[0m .[24;14   bb f1 b3 5a 1b 5b 30 6d 20 1b 5b 32 34 3b 31 34
HPhoenix-recipe    48 50 68 6f 65 6e 69 78 2d 72 65 63 69 70 65 20
     : 500.[24;4   20 20 20 20 20 3a 20 35 30 30 1b 5b 32 34 3b 34
2H.[1;31m.....x.   32 48 1b 5b 31 3b 33 31 6d a4 f5 b6 b3 b4 78 1b
[0m .[24;55HFire   5b 30 6d 20 1b 5b 32 34 3b 35 35 48 46 69 72 65
cloud fist         63 6c 6f 75 64 20 66 69 73 74 20 20 20 20 20 20
: 500.......E.o    3a 20 35 30 30 0d 0a bc e7 af e0 bf 45 b5 6f 20
.[24;14HTalent-a   1b 5b 32 34 3b 31 34 48 54 61 6c 65 6e 74 2d 61
rouse       : 40   72 6f 75 73 65 20 20 20 20 20 20 20 3a 20 34 30
1.[24;42H.[1;37m   31 1b 5b 32 34 3b 34 32 48 1b 5b 31 3b 33 37 6d
.....g.[0m .[24;   a9 f6 b5 ac b8 67 1b 5b 30 6d 20 1b 5b 32 34 3b
55HEgingin         35 35 48 45 67 69 6e 67 69 6e 20 20 20 20 20 20
       : 400....   20 20 20 20 20 20 20 3a 20 34 30 30 0d 0a c4 c6
.B.N .[24;14HFlo   af 42 b3 4e 20 1b 5b 32 34 3b 31 34 48 46 6c 6f
at spell           61 74 20 73 70 65 6c 6c 20 20 20 20 20 20 20 20
 : 300.[24;42H.I   20 3a 20 33 30 30 1b 5b 32 34 3b 34 32 48 a8 49
.q.N .[24;55HSil   c0 71 b3 4e 20 1b 5b 32 34 3b 35 35 48 53 69 6c
ence spell         65 6e 63 65 20 73 70 65 6c 6c 20 20 20 20 20 20
 : 300...[0;33m.   20 3a 20 33 30 30 0d 0a 1b 5b 30 3b 33 33 6d a4
g.t.k.N.[0m .[24   67 a8 74 aa 6b b3 4e 1b 5b 30 6d 20 1b 5b 32 34
;14HEarth spell    3b 31 34 48 45 61 72 74 68 20 73 70 65 6c 6c 20
        : 300.[2   20 20 20 20 20 20 20 20 3a 20 33 30 30 1b 5b 32
4;42H.[1;35m.d..   34 3b 34 32 48 1b 5b 31 3b 33 35 6d a4 64 b2 de
...[0m .[24;55HF   a4 e2 1b 5b 30 6d 20 1b 5b 32 34 3b 35 35 48 46
eather fist        65 61 74 68 65 72 20 66 69 73 74 20 20 20 20 20
   : 300...w...N   20 20 20 3a 20 33 30 30 0d 0a a6 77 bc be b3 4e
 .[24;14HPacify    20 1b 5b 32 34 3b 31 34 48 50 61 63 69 66 79 20
spell        : 3   73 70 65 6c 6c 20 20 20 20 20 20 20 20 3a 20 33
00.[24;42H.[1;33   30 30 1b 5b 32 34 3b 34 32 48 1b 5b 31 3b 33 33
m...t.k.N.[0m .[   6d ad b7 a8 74 aa 6b b3 4e 1b 5b 30 6d 20 1b 5b
24;55HWind spell   32 34 3b 35 35 48 57 69 6e 64 20 73 70 65 6c 6c
          : 300.   20 20 20 20 20 20 20 20 20 20 3a 20 33 30 30 0d
..@...N .[24;14H   0a c5 40 a5 d2 b3 4e 20 1b 5b 32 34 3b 31 34 48
Armor spell        41 72 6d 6f 72 20 73 70 65 6c 6c 20 20 20 20 20
    : 300.[24;42   20 20 20 20 3a 20 33 30 30 1b 5b 32 34 3b 34 32
H...[.j.... .[24   48 b0 ae a9 5b a4 6a ae bf b2 be 20 1b 5b 32 34
;55HHandpower      3b 35 35 48 48 61 6e 64 70 6f 77 65 72 20 20 20
        : 200...   20 20 20 20 20 20 20 20 3a 20 32 30 30 0d 0a 1b
[51m.K.[57m...[5   5b 35 31 6d bf 4b 1b 5b 35 37 6d a5 fa 1b 5b 35
3m.....[0m .[24;   33 6d bb d9 be c0 1b 5b 30 6d 20 1b 5b 32 34 3b
14HLigh            31 34 48 4c 69 67 68
Top

Posted by JY.Chang   Taiwan  (15 posts)  Bio
Date Reply #10 on Thu 15 Dec 2011 03:05 PM (UTC)
Message
part1-4:
Incoming packet: 14 (407 bytes) at 星期四, 十二月 15, 2011, 11:46:22 下午

t wall             74 20 77 61 6c 6c 20 20 20 20 20 20 20 20 20 20
: 100.[24;42H.t.   3a 20 31 30 30 1b 5b 32 34 3b 34 32 48 c0 74 ac
....\ .[24;55HKa   a3 ae f0 a5 5c 20 1b 5b 32 34 3b 35 35 48 4b 61
mekameha           6d 65 6b 61 6d 65 68 61 20 20 20 20 20 20 20 20
  : 100.........   20 20 3a 20 31 30 30 0d 0a ae f0 af e0 c2 e0 b4
. .[24;14HInterc   ab 20 1b 5b 32 34 3b 31 34 48 49 6e 74 65 72 63
hange         :    68 61 6e 67 65 20 20 20 20 20 20 20 20 20 3a 20
100.[24;42H.F.O.   31 30 30 1b 5b 32 34 3b 34 32 48 c6 46 a4 4f aa
Z.. .[24;55HSpir   5a be b9 20 1b 5b 32 34 3b 35 35 48 53 70 69 72
iten               69 74 65 6e 20 20 20 20 20 20 20 20 20 20 20 20
: 100...p......    3a 20 31 30 30 0d 0a b2 70 a5 d0 a7 de a5 a9 20
.[24;14HHeavry     1b 5b 32 34 3b 31 34 48 48 65 61 76 72 79 20 20
            : 43   20 20 20 20 20 20 20 20 20 20 20 20 3a 20 34 33
....* .[1;37mhel   0d 0a 0d 0a 2a 20 1b 5b 31 3b 33 37 6d 68 65 6c
p skill .....^..   70 20 73 6b 69 6c 6c 20 a7 de af e0 ad 5e a4 e5
.W .[0m.i.H.....   a6 57 20 1b 5b 30 6d a5 69 a5 48 ac dd a8 ec a7
............* .[   de af e0 aa ba bb a1 a9 fa 2e 0d 0a 2a 20 1b 5b
1;37mskill -g xx   31 3b 33 37 6d 73 6b 69 6c 6c 20 2d 67 20 78 78
x .[0m.i.H.u....   78 20 1b 5b 30 6d a5 69 a5 48 a5 75 ac dd a8 ec
.A........ xxx .   a7 41 a9 d2 b2 df a6 b3 aa ba 20 78 78 78 20 a4
..|.........* .[   bd b7 7c aa ba a7 de af e0 2e 0d 0a 2a 20 1b 5b
1;37mskill -stat   31 3b 33 37 6d 73 6b 69 6c 6c 20 2d 73 74 61 74
 xxx .[0m.i.H.u.   20 78 78 78 20 1b 5b 30 6d a5 69 a5 48 a5 75 ac
....A...........   dd a8 ec a7 41 a9 d2 b2 df a6 b3 aa ba a6 b3 a5
[ xxx ..........   5b 20 78 78 78 20 c4 dd a9 ca aa ba a7 de af e0
...> ..            2e 0d 0a 3e 20 ff f9


The information below shows in another window.
part2:


Sent  packet: 12 (9 bytes) at 星期四, 十二月 15, 2011, 11:46:21 下午


Sent  packet: 13 (9 bytes) at 星期四, 十二月 15, 2011, 11:46:21 下午

....r....          ff fa 1f 00 72 00 18 ff f0
....r....          ff fa 1f 00 72 00 19 ff f0


Thank you very much for everything you've for this. :)
Top

Posted by Nick Gammon   Australia  (23,100 posts)  Bio   Forum Administrator
Date Reply #11 on Thu 15 Dec 2011 07:40 PM (UTC)
Message
What font are you using? I can't find one that makes it look like Chinese characters.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by JY.Chang   Taiwan  (15 posts)  Bio
Date Reply #12 on Fri 16 Dec 2011 12:43 AM (UTC)

Amended on Fri 16 Dec 2011 05:04 AM (UTC) by JY.Chang

Message
Nick Gammon said:

What font are you using? I can't find one that makes it look like Chinese characters.


I'm using the Traditional Chinese font "MingLiu". I hope the link below can give you some information about "MingLiu".

http://www.microsoft.com/download/en/details.aspx?id=10109
Top

Posted by Nick Gammon   Australia  (23,100 posts)  Bio   Forum Administrator
Date Reply #13 on Fri 16 Dec 2011 04:43 AM (UTC)
Message
Well I finally worked out what was going on... :)

I wasted a lot of time trying to get the Unicode characters to display, until I realized it isn't Unicode. It is just encoded using a Chinese character code page.

The reason it lines up in zMud is because the MUD is sending down cursor addressing, namely (for example):


Esc [24;55H


That is, move the cursor to column 55 of line 24.

MUSHclient does not support cursor addressing for various reasons. One main one is that it isn't really easy or meaningful to get the line in parts (eg. column 20 to 30, then columns 5 to 7).

If it really bothers you, you could make a trigger that matches those lines, eg.


<triggers>
  <trigger
   custom_colour="2"
   enabled="y"
   match="^(.*)\s+\: (\d+)(.*)\s+\: (\d+)$"
   omit_from_output="y"
   regexp="y"
   send_to="12"
   sequence="100"
  >
  <send>ColourNote ("white", "", string.format ("%%-30s : %%5d %%-30s : %%5d", Trim ("%1"), %2, Trim ("%3"), %4))</send>
  </trigger>
</triggers>


Template:pasting For advice on how to copy the above, and paste it into MUSHclient, please see Pasting XML.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Nick Gammon   Australia  (23,100 posts)  Bio   Forum Administrator
Date Reply #14 on Fri 16 Dec 2011 04:47 AM (UTC)
Message
Example using your test data:


- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


57,909 views.

This is page 1, subject is 2 pages long: 1 2  [Next page]

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.