Conversationalist Bug

Discussion in 'Ink NPC Dialogue Composition' started by Owsley, Jan 14, 2021.

  1. Owsley

    Owsley Avatar

    Messages:
    63
    Likes Received:
    41
    Trophy Points:
    8
    Gender:
    Male
    I think I've identified a bug where text is being dropped after a user input selection and a branch to a knot occurs.

    BTW The script works correctly in the Inky tool and seems to be SOTA implementation related.

    This test script drops the line of text in _Usercode when [Try Again] is selected in the _Invalid knot:
    Code:
    Teletype hums and suddenly comes to life.
    <> Lights flash and the click click click of the machine tells me,,,
    ->_Usercode
    
    =_Usercode
     Enter Usercode:
    + [User 1]->_User1
    + [User 2]->_User2
    
    =_User1
    User1 Selected
    Correct
    ->_Usercode
    
    =_User2
    User2 Selected
    Incorrect
    ->_Invalid
    
    =_Invalid
    Invalid Usercode/password
    +[Try Again]->_Usercode
    +[Give Up] ->END
    
    As a workaround I added a branch to another knot, _Retry, which contains a dummy line of text, and then branches to _Usercode. The dummy text is swallowed and not displayed but the text in _Usercode is now displayed:
    Code:
    Teletype hums and suddenly comes to life.
    <> Lights flash and the click click click of the machine tells me,,,
    ->_Usercode
    
    =_Usercode
     Enter Usercode:
    + [User 1]->_User1
    + [User 2]->_User2
    
    =_User1
    User1 Selected
    Correct
    ->_Usercode
    
    =_User2
    User2 Selected
    Incorrect
    ->_Invalid
    
    =_Invalid
    Invalid Usercode/password
    +[Try Again]->_Retry
    +[Give Up] ->END
    
    =_Retry
    Retry
    ->_Usercode
     
    Last edited: Jan 14, 2021
    Anpu, Aldo and craftymethod like this.