← Back to team overview

mudlet-makers team mailing list archive

Re: [Bug 484214] [NEW] Echo() doesn't work after a couple of lines are executed.

 

Can you please run this code in an alias and check if the echo problem 
shows also.

echo("echo#1\n")

echo("\n-should be 1 empty line above - echo#2\necho#3\n")

echo("echo#4a")

echo("echo#4b(no linebreak in between)\n")

fg("blue")

bg("pink")

echo("echo#5\n")

fg("red")

echo("you need to end your last echo with a linefeed to place the cursor 
on the beginning of the line for the next output from the MUD\n")

resetFormat() -- otherwise the bg and fg color will stay until you
change


You need to finish echos that you do inside of alias scripts with a 
newline character (\n) to make sure that the cursor is place correctly 
on the beginning of the next line when the MUD sends new text.
About the strange colors:  As you can see in the script above fg and bg 
colors for echos stay unchanged until you changed them manually or reset 
them to default with resetFormat()
The strange colors in the beginning of a MUD session are obviously due 
litte initialization bug, but this should go away once you have set the 
colors yourself or call resetFormat()

thx

Heiko
Jaybles schrieb:
> <pre wrap>Public bug reported:
>
> Pre Mudlet 1.0.1
>
> http://www.mediafire.com/imageview.php?quickkey=ymvtzmmdnnz
>
> This shows the echo() from the statistics button being shown as a 
> black block instead of text.
> On further inspection, if one were to copy where the black block is, 
> it will be shown normally
>
> Mudlet 1.0.1
>
> This is the first script I run when opening Mudlet 1.0.1.
> This shows that the echo() problem only occurs after a couple of lines 
> are run
>
> http://www.mediafire.com/imageview.php?quickkey=zqkvdmj3moz
>
> It also shows \n characters shown as degree symbols
>
>
> http://www.mediafire.com/imageview.php?quickkey=hywyzk2lezw
> When I copy paste the black block (now the statistics block is colored 
> red.)
>
>
> http://www.mediafire.com/imageview.php?quickkey=timyaeyumy4
> This is when I set fg("red") on my echo().
>
> When I set bg("red") on the echo(), it remains black but when
> highlighted (inverted as well), it is shown normally.
>
> ** Affects: mudlet
>      Importance: Undecided
>          Status: New
>
> </pre></body>
> </html>
> </html>

-- 
Echo() doesn't work after a couple of lines are executed.
https://bugs.launchpad.net/bugs/484214
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.

Status in Mudlet the MUD client: New

Bug description:
Pre Mudlet 1.0.1

http://www.mediafire.com/imageview.php?quickkey=ymvtzmmdnnz

This shows the echo() from the statistics button being shown as a black block instead of text.
On further inspection, if one were to copy where the black block is, it will be shown normally

Mudlet 1.0.1

This is the first script I run when opening Mudlet 1.0.1.
This shows that the echo() problem only occurs after a couple of lines are run

http://www.mediafire.com/imageview.php?quickkey=zqkvdmj3moz

It also shows \n characters shown as degree symbols


http://www.mediafire.com/imageview.php?quickkey=hywyzk2lezw
When I copy paste the black block (now the statistics block is colored red.)





http://www.mediafire.com/imageview.php?quickkey=timyaeyumy4
This is when I set fg("red") on my echo().

When I set bg("red") on the echo(), it remains black but when highlighted (inverted as well), it is shown normally.



References