Jump to content

Recommended Posts

Posted

According to Bored, when I went to check the status of the recipe that was not yet complete, it tried to put a literal newline in the chat, which broke the chat.

 

Steps to reproduce:

 

Open the cake tin.

Start making cake.

Add some ingredients (but not all).

Click "Check status" on the cake tin.

Posted (edited)

The chat error that pops up when that happened. (was there at the gazebo when they were making the cake.)

 

[log=Error]

        var chatobj = document.getElementById('livechat');
        chatobj.innerHTML = "<div class='chatlistitem'><strong><a target='userdetails' href='../dlg/dlg.userdetails_arena.php?eid=aW87J_YEmhmBsk7quA3d3eJql0b6HkOZISWmZiYX-ir6WDNudyWR6iIrNmU37xmS'><font color='#BC9434'></font></a>: </strong> <em style='color:#669966;'>We are currently preparing cake. We still need: 2 Unidentified plants. (Already provided:
Water, Aromatic herbs, Rainbow candy by WittyLeWat)</em></div><div class='chatlistitem'><strong><a target='userdetails' href='../dlg/dlg.userdetails_arena.php?eid=acoYOAaNGsEzIhduJExURuJql0b6HkOZISWmZiYX-ir6WDNudyWR6iIrNmU37xmS'><font color='#BC9434'>I am Bored</font></a>: </strong>.</i></font></div><div class='chatlistitem'><strong><a target='userdetails' href='../dlg/dlg.userdetails_arena.php?eid=acoYOAaNGsEzIhduJExURuJql0b6HkOZISWmZiYX-ir6WDNudyWR6iIrNmU37xmS'><font color='#BC9434'>I am Bored</font></a>: </strong>.</i></font></div><div class='chatlistitem'><strong><a target='userdetails' href='../dlg/dlg.userdetails_arena.php?eid=acoYOAaNGsEzIhduJExURuJql0b6HkOZISWmZiYX-ir6WDNudyWR6iIrNmU37xmS'><font color='#BC9434'>I am Bored</font></a>: </strong>.</i></font></div><div class='chatlistitem'><strong><a target='userdetails' href='../dlg/dlg.userdetails_arena.php?eid=acoYOAaNGsEzIhduJExURuJql0b6HkOZISWmZiYX-ir6WDNudyWR6iIrNmU37xmS'><font color='#BC9434'>I am Bored</font></a>: </strong>.</i></font></div><div class='chatlistitem'><strong><a target='userdetails' href='../dlg/dlg.userdetails_arena.php?eid=pA2ExGn2peCYh0jYtvUdw7dijfjiD7ORrZQu0kRb3g5Cwwi9t_oQNmCMKwMxbcVM'><font color='#BC9434'>WittyLeWat</font></a>: </strong> (<font color='#888888'><i>my messages a not loloading anymore</i></font>) </i></font></div><div class='chatlistitem'><strong><a target='userdetails' href='../dlg/dlg.userdetails_arena.php?eid=acoYOAaNGsEzIhduJExURuJql0b6HkOZISWmZiYX-ir6WDNudyWR6iIrNmU37xmS'><font color='#BC9434'>I am Bored</font></a>: </strong>.</i></font></div><div class='chatlistitem'><strong><a target='userdetails' href='../dlg/dlg.userdetails_arena.php?eid=acoYOAaNGsEzIhduJExURuJql0b6HkOZISWmZiYX-ir6WDNudyWR6iIrNmU37xmS'><font color='#BC9434'>I am Bored</font></a>: </strong>.</i></font></div><div class='chatlistitem'><strong><a target='userdetails' href='../dlg/dlg.userdetails_arena.php?eid=acoYOAaNGsEzIhduJExURuJql0b6HkOZISWmZiYX-ir6WDNudyWR6iIrNmU37xmS'><font color='#BC9434'>I am Bored</font></a>: </strong>.</i></font></div><div class='chatlistitem'><strong><a target='userdetails' href='../dlg/dlg.userdetails_arena.php?eid=acoYOAaNGsEzIhduJExURuJql0b6HkOZISWmZiYX-ir6WDNudyWR6iIrNmU37xmS'><font color='#BC9434'>I am Bored</font></a>: </strong>.</i></font></div><div class='chatlistitem'><strong><a target='userdetails' href='../dlg/dlg.userdetails_arena.php?eid=acoYOAaNGsEzIhduJExURuJql0b6HkOZISWmZiYX-ir6WDNudyWR6iIrNmU37xmS'><font color='#BC9434'>I am Bored</font></a>: </strong>.</i></font></div><div class='chatlistitem'><strong><a target='userdetails' href='../dlg/dlg.userdetails_arena.php?eid=acoYOAaNGsEzIhduJExURuJql0b6HkOZISWmZiYX-ir6WDNudyWR6iIrNmU37xmS'><font color='#BC9434'>I am Bored</font></a>: </strong>.</i></font></div><div class='chatlistitem'><strong><a target='userdetails' href='../dlg/dlg.userdetails_arena.php?eid=acoYOAaNGsEzIhduJExURuJql0b6HkOZISWmZiYX-ir6WDNudyWR6iIrNmU37xmS'><font color='#BC9434'>I am Bored</font></a>: </strong>.</i></font></div><div class='chatlistitem'><strong><a target='userdetails' href='../dlg/dlg.userdetails_arena.php?eid=acoYOAaNGsEzIhduJExURuJql0b6HkOZISWmZiYX-ir6WDNudyWR6iIrNmU37xmS'><font color='#BC9434'>I am Bored</font></a>: </strong>.</i></font></div>";

[/log]

Edited by Assira the Black
Posted

That isn't the full error Assira, but it does have the part that matters. In the middle of that, you'll notice the newline after " (Already provided:", it is this newline that causes the error. A <br/> should be used instead.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Forum Statistics

    17.5k
    Total Topics
    182.1k
    Total Posts
  • Recently Browsing

    • No registered users viewing this page.
  • Upcoming Events

    No upcoming events found
  • Recent Event Reviews

×
×
  • Create New...