| View previous topic :: View next topic |
| Author |
Message |
DanielC Voice
Joined: 05 Apr 2007 Posts: 2
|
Posted: Thu Apr 05, 2007 9:17 am Post subject: wierd characters when dcc chatting |
|
|
I've just set up my partyline on the most recent eggdrop version. When I initiate the dccchat all is fine. But the text appears weird. A small portion of what it does is | Quote: | -09:17:57- (Bob) Hey [1mDaniel |
hotrs Voice
Joined: 03 Apr 2007 Posts: 13
|
Posted: Thu Apr 05, 2007 10:08 am Post subject: |
|
|
try
in the chat console.
But I still search a way to modify it permanent ...
hth,
hotrs |
|
| Back to top |
|
 |
DanielC Voice
Joined: 05 Apr 2007 Posts: 2
|
Posted: Thu Apr 05, 2007 10:18 am Post subject: |
|
|
| Thanks hotrs. Worked like a charm. |
|
| Back to top |
|
 |
Fire-Fox Master

Joined: 23 Sep 2006 Posts: 270 Location: /dev/null
|
Posted: Thu Jan 15, 2009 7:34 am Post subject: |
|
|
Did not work for me  _________________ GreatZ
Fire-Fox | Denmark
Scripts: Relay | Store Text | TvMaze |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Thu Jan 15, 2009 10:32 am Post subject: |
|
|
@Fire-fox: with some older eggies you might have to use the command twice in a row due to a bug (only applies to ansi/mirc-style controlcodes).
@hotrs: you could use the chon binding and call *dcc:fixcodes manually, with something like this (also adds a new dcc command, fixme, to toggle auto-switching on a user basis).
| Code: | bind chon - * DoFixcodes
proc DoFixcodes {hand idx} {
if {[getuser $hand XTRA fixcodes] == 1} {
*dcc:fixcodes $hand $idx ""
}
}
bind dcc - fixme DccFixcodes
proc DccFixcodes {hand idx txt} {
if {[getuser $hand XTRA fixcodes] == 1} {
setuser $hand XTRA fixcodes 0
*dcc:fixcodes $hand $idx $txt
} {
setuser $hand XTRA fixcodes 1
*dcc:fixcodes $hand $idx $txt
}
} |
_________________ NML_375, idling at #eggdrop@IrcNET
Last edited by nml375 on Thu Jan 15, 2009 11:23 am; edited 1 time in total |
|
| Back to top |
|
 |
Fire-Fox Master

Joined: 23 Sep 2006 Posts: 270 Location: /dev/null
|
Posted: Thu Jan 15, 2009 10:50 am Post subject: |
|
|
should this just be placed in a .tcl and load it? _________________ GreatZ
Fire-Fox | Denmark
Scripts: Relay | Store Text | TvMaze |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
|
| Back to top |
|
 |
Fire-Fox Master

Joined: 23 Sep 2006 Posts: 270 Location: /dev/null
|
Posted: Fri Jan 16, 2009 5:17 am Post subject: |
|
|
Okay thanks  _________________ GreatZ
Fire-Fox | Denmark
Scripts: Relay | Store Text | TvMaze |
|
| Back to top |
|
 |
Fire-Fox Master

Joined: 23 Sep 2006 Posts: 270 Location: /dev/null
|
Posted: Sun Jan 18, 2009 3:10 pm Post subject: |
|
|
hey
mayby im lost here
But i have loaded the script. and nothing happens when the bot rehash?
mayby im missing something here? _________________ GreatZ
Fire-Fox | Denmark
Scripts: Relay | Store Text | TvMaze |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Mon Jan 19, 2009 1:05 pm Post subject: |
|
|
@fire-fox: Use the .fixme command that's added to toggle whether you'd like the .fixcodes command to be issued automatically upon connect. Also, be advised that this script was not written to counter the bug mentioned earlier, but as a response to hotrs' query to automate the process.. Hence, if you do suffer from this bug, you'll still have to use the .fixcodes command manually. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
Fire-Fox Master

Joined: 23 Sep 2006 Posts: 270 Location: /dev/null
|
Posted: Mon Jan 19, 2009 3:39 pm Post subject: |
|
|
Hey
thanks for the reply
But why the messed up text. haven't had this issue before i used eggdrop. but i didn't use SSL that time. could it have something to do with that? _________________ GreatZ
Fire-Fox | Denmark
Scripts: Relay | Store Text | TvMaze |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Mon Jan 19, 2009 8:58 pm Post subject: |
|
|
@Fire-fox:
It is most likely caused by that, yes.
Telnet clients and mIRC (and the likes) uses completely different controlcodes for bold, underline, etc. Telnet uses Ansi escape sequences wherease mirc uses single character controlcodes. Eggdrop does it best to try and guess whether you are connecting through telnet or dcc chat, and uses controlcodes based on that. Obviously, sometimes eggies get this wrong, and you see junk. That's what the .fixcodes command is there for. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
Fire-Fox Master

Joined: 23 Sep 2006 Posts: 270 Location: /dev/null
|
Posted: Wed Jan 21, 2009 2:06 am Post subject: |
|
|
@nml375
Thanks for the reply  _________________ GreatZ
Fire-Fox | Denmark
Scripts: Relay | Store Text | TvMaze |
|
| Back to top |
|
 |
|