Conversationalist Bug

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

Thread Status:
Not open for further replies.
  1. Owsley

    Owsley Bug Hunter

    Messages:
    346
    Likes Received:
    483
    Trophy Points:
    43
    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.
Thread Status:
Not open for further replies.