← Back to team overview

mudlet-makers team mailing list archive

[Bug 1212574] Re: major bugs in mudlet-lua cinsert(), decho(), hecho()

 

test script (see screenshot for faulty output):

echo("TEST PART1: C-API echo & insert functions: <blue>STARTING<light_blue> test#1<green>...\n")
echo("<red>red text<blue>blue text<green>and some green text\n")
moveCursor(10,getLineCount()-1)
insertText("***INSERTING***<orange>orange<pink>pink<purple>purple\ncontinuing on next line#1<green>test 2\ncontinuing on next line#2<blue>test3")

cecho("\nTEST PART2: mudlet-lua cecho & cinsert:<blue>STARTING<light_blue> test#1<green>...\n")
cecho("<red>red text<blue>blue text<green>and some green text\n")
moveCursor(10,getLineCount()-1)
cinsertText("***INSERTING***<orange>orange<pink>pink<purple>purple\ncontinuing on next line#1<green>test 2\ncontinuing on next line#2<blue>test3")

echo("\nRESULT: cinsert() doesn't respect inserted new lines\n")

echo("TEST PART3: testing cecho() showing various bugs\n")
cecho("<red>1Mudlet<green><<2>>Mudlet<blue>3Mudlet\n")
decho("<255,100,100>1Mudlet<255,2,3:0,200,0><<2>>Mudlet<1,1,200>3Mudlet\n")
hecho("|cff00bb,000,Mudlet0|abc,aabbccMudlet|c00ffbb,aabbcc2Mudlet|c00bbffbbaaff3Mudlet\n")
hecho("|cff00,000 documentation of hecho() needs to be changed to depend on double figure hex numbers\n")



** Changed in: mudlet
   Importance: Undecided => Critical

-- 
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.
https://bugs.launchpad.net/bugs/1212574

Title:
  major bugs in mudlet-lua cinsert(), decho(), hecho()

Status in Mudlet the MUD client:
  New

Bug description:
  Bugs:
  1. cinsert() doesn't process \n correctly
  2. (!) line breaks in cecho() show but the line order is reversed (!)
  3. <> problem in decho() compared to cecho() <<2>>
  4. hecho() documentation needs to be changed to only accept 3 8-bit double figure hex codes 000000 instead of 000

To manage notifications about this bug go to:
https://bugs.launchpad.net/mudlet/+bug/1212574/+subscriptions


References