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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
alluran
Adept


Joined: 14 Sep 2005
Posts: 223
Location: Sydney, Australia

PostPosted: Fri May 27, 2011 4:12 am   

GAGSPACE bug?
 
I'm trying to understand why my capture script isn't successfully eliminating all additional whitespace when channel data is received from the MUD. All I can come up with is that perhaps the GMCP messages are interfering with #GAGSPACE, though I'm not certain about that either...

Code:

       | i  Aardwolf *{chan ch=newbie}<ESC>[1;33m[<ESC>[1;35mNewbie<ESC>[1;33m] <ESC>[0;37m(<ESC>[1;31m9<ESC>[0;37m) <ESC>[1;33mLinkalegend: true<ESC>[0;37m<LF><CR>
0.0000 | <IAC><SB><201>comm.channel { "chan": "newbie", "msg": "<ESC>[1;33m[<ESC>[1;35mNewbie<ESC>[1;33m] <ESC>[0;37m(<ESC>[1;31m9<ESC>[0;37m) <ESC>[1;33mLinkalegend: true<ESC>[0;37m", "player": "Linkalegend" }<IAC><SE><LF><CR>
0.0012 | f  Aardwolf |GMCP: ^comm\.channel
0.0033 | f  Aardwolf |Pattern: ^\{chan ch\=(.*?)\} : (%1="newbie")
0.0008 | g  Aardwolf |-> Line 168 gagged
0.0005 | g  Aardwolf |-> Line 168 gagged
0.8837 | i  Aardwolf *{chan ch=newbie}<ESC>[1;33m[<ESC>[1;35mNewbie<ESC>[1;33m] <ESC>[0;37m(<ESC>[1;31m55<ESC>[0;37m) <ESC>[1;33mSeshiro: try it and u'll see what Anaristos:said :)<ESC>[0;37m<LF><CR>
0.0000 | <IAC><SB><201>comm.channel { "chan": "newbie", "msg": "<ESC>[1;33m[<ESC>[1;35mNewbie<ESC>[1;33m] <ESC>[0;37m(<ESC>[1;31m55<ESC>[0;37m) <ESC>[1;33mSeshiro: try it and u'll see what Anaristos:said :)<ESC>[0;37m", "player": "Seshiro" }<IAC><SE><LF><CR>
0.0016 | f  Aardwolf |GMCP: ^comm\.channel
0.0034 | f  Aardwolf |Pattern: ^\{chan ch\=(.*?)\} : (%1="newbie")
0.0008 | g  Aardwolf |-> Line 168 gagged
4.0092 | i  Aardwolf *<IAC><SB><201>comm.tick {}<IAC><SE>
0.0007 | f  Aardwolf |GMCP: ^comm\.tick
18.448 | i  Aardwolf *{chan ch=newbie}<ESC>[1;33m[<ESC>[1;35mNewbie<ESC>[1;33m] <ESC>[0;37m(<ESC>[1;31m9<ESC>[0;37m) <ESC>[1;33mLinkalegend: i have lol. total fail<ESC>[0;37m<LF><CR>
0.0000 | <IAC><SB><201>comm.channel { "chan": "newbie", "msg": "<ESC>[1;33m[<ESC>[1;35mNewbie<ESC>[1;33m] <ESC>[0;37m(<ESC>[1;31m9<ESC>[0;37m) <ESC>[1;33mLinkalegend: i have lol. total fail<ESC>[0;37m", "player": "Linkalegend" }<IAC><SE><LF><CR>
0.0013 | f  Aardwolf |GMCP: ^comm\.channel
0.0033 | f  Aardwolf |Pattern: ^\{chan ch\=(.*?)\} : (%1="newbie")
0.0008 | g  Aardwolf |-> Line 169 gagged
0.0022 | g  Aardwolf |-> Line 169 gagged
10.233 | i  Aardwolf *<ESC>[1;31mINFO: The True Source floods Krynn with Power.<ESC>[0;37m<LF><CR><LF><CR>
1.4881 | i  Aardwolf *<IAC><SB><201>comm.tick {}<IAC><SE>
0.0017 | f  Aardwolf |GMCP: ^comm\.tick
6.5258 | i  Aardwolf *{chan ch=newbie}<ESC>[1;33m[<ESC>[1;35mNewbie<ESC>[1;33m] <ESC>[0;37m(<ESC>[1;31m55<ESC>[0;37m) <ESC>[1;33mSeshiro: Linkalegend killed by training dummy :P<ESC>[0;37m<LF><CR>
0.0000 | <IAC><SB><201>comm.channel { "chan": "newbie", "msg": "<ESC>[1;33m[<ESC>[1;35mNewbie<ESC>[1;33m] <ESC>[0;37m(<ESC>[1;31m55<ESC>[0;37m) <ESC>[1;33mSeshiro: Linkalegend killed by training dummy :P<ESC>[0;37m", "player": "Seshiro" }<IAC><SE><LF><CR>
0.0034 | f  Aardwolf |GMCP: ^comm\.channel
0.0044 | f  Aardwolf |Pattern: ^\{chan ch\=(.*?)\} : (%1="newbie")
0.0097 | g  Aardwolf |-> Line 171 gagged
0.0015 | g  Aardwolf |-> Line 171 gagged
14.406 | i  Aardwolf *{chan ch=newbie}<ESC>[1;33m[<ESC>[1;35mNewbie<ESC>[1;33m] <ESC>[0;37m(<ESC>[1;31m92<ESC>[0;37m) <ESC>[1;33mOstanes: There's no way to undo a train is there?<ESC>[0;37m<LF><CR>
0.0000 | <IAC><SB><201>comm.channel { "chan": "newbie", "msg": "<ESC>[1;33m[<ESC>[1;35mNewbie<ESC>[1;33m] <ESC>[0;37m(<ESC>[1;31m92<ESC>[0;37m) <ESC>[1;33mOstanes: There's no way to undo a train is there?<ESC>[0;37m", "player": "Ostanes" }<IAC><SE><LF><CR>
0.0031 | f  Aardwolf |GMCP: ^comm\.channel
0.0045 | f  Aardwolf |Pattern: ^\{chan ch\=(.*?)\} : (%1="newbie")
0.0019 | g  Aardwolf |-> Line 171 gagged
1.4835 | i  Aardwolf *{chan ch=newbie}<ESC>[1;33m[<ESC>[1;35mNewbie<ESC>[1;33m] <ESC>[0;37m(<ESC>[1;31m9<ESC>[0;37m) <ESC>[1;33mLinkalegend: no, it never did any damage to me<ESC>[0;37m<LF><CR>
0.0000 | <IAC><SB><201>comm.channel { "chan": "newbie", "msg": "<ESC>[1;33m[<ESC>[1;35mNewbie<ESC>[1;33m] <ESC>[0;37m(<ESC>[1;31m9<ESC>[0;37m) <ESC>[1;33mLinkalegend: no, it never did any damage to me<ESC>[0;37m", "player": "Linkalegend" }<IAC><SE><LF><CR>
0.0033 | f  Aardwolf |GMCP: ^comm\.channel
0.0043 | f  Aardwolf |Pattern: ^\{chan ch\=(.*?)\} : (%1="newbie")
0.0023 | g  Aardwolf |-> Line 172 gagged
0.0015 | g  Aardwolf |-> Line 172 gagged
7.6560 | i  Aardwolf *<IAC><SB><201>comm.tick {}<IAC><SE>
0.0018 | f  Aardwolf |GMCP: ^comm\.tick
27.196 | i  Aardwolf *{chan ch=newbie}<ESC>[1;33m[<ESC>[1;35mNewbie<ESC>[1;33m] <ESC>[0;37m(<ESC>[1;31m55<ESC>[0;37m) <ESC>[1;33mSeshiro: help train, help forget and rebuild<ESC>[0;37m<LF><CR>
0.0000 | <IAC><SB><201>comm.channel { "chan": "newbie", "msg": "<ESC>[1;33m[<ESC>[1;35mNewbie<ESC>[1;33m] <ESC>[0;37m(<ESC>[1;31m55<ESC>[0;37m) <ESC>[1;33mSeshiro: help train, help forget and rebuild<ESC>[0;37m", "player": "Seshiro" }<IAC><SE><LF><CR>
0.0032 | f  Aardwolf |GMCP: ^comm\.channel
0.0043 | f  Aardwolf |Pattern: ^\{chan ch\=(.*?)\} : (%1="newbie")
0.0045 | g  Aardwolf |-> Line 172 gagged
2.9822 | i  Aardwolf *<IAC><SB><201>comm.tick {}<IAC><SE>
0.0018 | f  Aardwolf |GMCP: ^comm\.tick
21.472 | i  Aardwolf *<ESC>[1;32mCLAN: <ESC>[1;33mDeparting for an alternate reality, <ESC>[1;37mSpeedster<ESC>[1;33m eagerly awaits the Great Lord's command to return.<ESC>[0;37m<ESC>[0;37m<LF><CR>
0.0000 | <IAC><SB><201>comm.channel { "chan": "claninfo", "msg": "<ESC>[1;32mCLAN: <ESC>[1;33mDeparting for an alternate reality, <ESC>[1;37mSpeedster<ESC>[1;33m eagerly awaits the Great Lord's command to return.<ESC>[0;37m<ESC>[0;37m", "player": "" }<IAC><SE><LF><CR>
0.0032 | f  Aardwolf |GMCP: ^comm\.channel
8.7813 | i  Aardwolf *<IAC><SB><201>comm.tick {}<IAC><SE>
0.0017 | f  Aardwolf |GMCP: ^comm\.tick
_________________
The Drake Forestseer
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion 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