Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Caled
Sorcerer


Joined: 21 Oct 2000
Posts: 821
Location: Australia

PostPosted: Wed Nov 07, 2007 7:13 am   

[2.10] PSUB oddity
 
Standard prompt
H:3223|3199 100|100 100% Exp:56 <csdb> <eb> <lr> < 06:48:46:265 >
Code:
<trigger priority="9770" prompt="true" id="977">
  <pattern><![CDATA[H:%d~|%d %d~|%d %d~% Exp:%d <(%x)> <(%x)> <(%x)>]]></pattern>
  <value>pstats=%1
eqbal=%2
#PSUB {@tleftarm @trightarm @tleftleg @trightleg} %x3</value>
</trigger>

New prompt after PSUB
H:3145|2953 100|100 100% Exp:56 <csdb> <eb> <1 1 1 1> < 06:46:30:31 >

Code:

Ready to fell more lumber, a burly lumberjack appears from the north.
H:3223|3199 100|100 100% Exp:56 <csdb> <eb> <1 1 1 1>  < 06:47:01:62 >1 1 1 1
(The Society): Osifer says, "Also, I think I'm addicted to caffeine like Vasi."
H:3223|3199 100|100 100% Exp:56 <csdb> <eb> <1 1 1 1>  < 06:47:11:531 >
A buckawn enters silently from the north.
H:3223|3199 100|100 100% Exp:56 <csdb> <eb> <1 1 1 1>  < 06:47:17:968 >              1 1 1 1
(The Society): Vasilus says, "Headaches?"
H:3223|3199 100|100 100% Exp:56 <csdb> <eb> <1 1 1 1>  < 06:47:18:312 >
(The Society): Osifer says, "I had the worst --oday because I didn't get a chance to go buy some energy drinks."
H:3223|3199 100|100 100% Exp:56 <csdb> <eb> <1 1 1 1>  < 06:47:22:734 >                             1 1 1 1
(The Society): Vasilus says, "Ya :/."
H:3223|3199 100|100 100% Exp:56 <csdb> <eb> <1 1 1 1>  < 06:47:25:609 >
(The Society): Osifer says, "So I substituted with iced coffee."
H:3223|3199 100|100 100% Exp:56 <csdb> <eb> <1 1 1 1>  < 06:47:27:656 >                                            1 1 1 1
(The Society): Vasilus says, "It sucks."
H:3223|3199 100|100 100% Exp:56 <csdb> <eb> <1 1 1 1>  < 06:47:28:703 >
(The Society): Osifer says, "And it went away."
H:3223|3199 100|100 100% Exp:56 <csdb> <eb> <1 1 1 1>  < 06:47:30:140 >                                                           1 1 1 1
(The Society): Vasilus says, "The worst part is."
H:3223|3199 100|100 100% Exp:56 <csdb> <eb> <1 1 1 1>  < 06:47:36:93 >
A buckawn leaves silently to the north.
H:3223|3199 100|100 100% Exp:56 <csdb> <eb> <1 1 1 1>  < 06:47:36:468 >                                                                          1 1 1 1
(The Society): Vasilus says, "For me."
H:3223|3199 100|100 100% Exp:56 <csdb> <eb> <1 1 1 1>  < 06:47:38:31 >
(The Society): Vasilus says, "I know exactly why I have the headache."
H:3223|3199 100|100 100% Exp:56 <csdb> <eb> <1 1 1 1>  < 06:47:46:281 >                                                                                         1 1 1 1
A buckawn enters silently from the north.
H:3223|3199 100|100 100% Exp:56 <csdb> <eb> <1 1 1 1>  < 06:47:49:93 >
(The Society): Vasilus says, "It's li---ts. I could really use a soda.'"
H:3223|3199 100|100 100% Exp:56 <csdb> <eb> <1 1 1 1>  < 06:47:53:46 >                                                                                                         1 1 1 1
(The Society): Osifer says, "It didn't quite dawn on me. I thought I just strained my eyes playing GH3."
H:3223|3199 100|100 100% Exp:56 <csdb> <eb> <1 1 1 1>  < 06:48:03:421 >
A buckawn leaves silently to the southwest.
H:3223|3199 100|100 100% Exp:56 <csdb> <eb> <1 1 1 1>  < 06:48:07:765 >                                                                                                                       1 1 1 1

(Sorry that the quoted bit is inane chat, but this is the best example).
I wanted to bold the odd bits, but can't as I need to put it in a code block to preserve the spaces. All of the "1 1 1 1" that are erroneously appended to the end of my prompt, have more and more spaces between them and the end of the prompt. In addition, the lines from the (The Society) channel are coloured a shade of dark blue, and whenever that line is sent, the "<1 1 1 1>" (that is, the correctly PSUBbed one) that precedes the channel tell, shows up in the same colour as that channel.

I played around with %ansi(reset) in the #PSUB, but was unable to fix the colour issue. Nothing I've tried has fixed the extra "1 1 1 1" thingies either.

This was not happening last night, but this is also the first time I have done that #psub in 2.10 (I play around with new versions for a few days before I actually play on them).
Code:

#10 %null

H:3223|3199 100|100 100% Exp:56 <cspdb> <eb> <1 1 1 1>  < 07:08:30:15 >
H:3223|3199 100|100 100% Exp:56 <cspdb> <eb> <1 1 1 1>  1 1 1 107:08:30:718 >
H:3223|3199 100|100 100% Exp:56 <cspdb> <eb> <1 1 1 1>  < 07:08:31:15 >
H:3223|3199 100|100 100% Exp:56 <cspdb> <eb> <1 1 1 1>  < 07:08:31:15 >1 1 1 1
H:3223|3199 100|100 100% Exp:56 <cspdb> <eb> <1 1 1 1>  < 07:08:31:15 >
H:3223|3199 100|100 100% Exp:56 <cspdb> <eb> <1 1 1 1>  < 07:08:31:15 >               1 1 1 1
H:3223|3199 100|100 100% Exp:56 <cspdb> <eb> <1 1 1 1>  < 07:08:31:15 >
H:3223|3199 100|100 100% Exp:56 <cspdb> <eb> <1 1 1 1>  < 07:08:31:15 >                              1 1 1 1
H:3223|3199 100|100 100% Exp:56 <cspdb> <eb> <1 1 1 1>  < 07:08:31:15 >
H:3223|3199 100|100 100% Exp:56 <cspdb> <eb> <lr>  < 07:08:31:15 >                                             1 1 1 1

(Just another, clearer example of the strange behaviour. Additionally, every time I do this test, the #PSUB does not work on the final prompt.)


Does anyone have ideas? Suggestions for better tests?
_________________
Athlon 64 3200+
Win XP Pro x64
Reply with quote
Caled
Sorcerer


Joined: 21 Oct 2000
Posts: 821
Location: Australia

PostPosted: Wed Nov 07, 2007 7:21 am   
 
I tried to find a way to quote this, but when left the spaces betweeen the end of the prompt and the "1 1 1 1" get to be so many, that it begins upsetting CMUD's autowrap to the point where some things that get said on various channels get wrapped to have 1 word per line.

Not sure how helpful that bit of info is.
_________________
Athlon 64 3200+
Win XP Pro x64
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net