Skip to content

External Editor API crashes#9

Open
Plecra wants to merge 1 commit into
tts-community:masterfrom
Plecra:patch-1
Open

External Editor API crashes#9
Plecra wants to merge 1 commit into
tts-community:masterfrom
Plecra:patch-1

Conversation

@Plecra
Copy link
Copy Markdown

@Plecra Plecra commented Jan 27, 2021

This adds a technical description of the problem to be used (and updated) by devtools developers.

For most modders, the problem will be their editor misbehaving. I know the community has identified a few instances of this happening in atom (something about having multiple files open?). We should document these and how to fix them.

This adds a technical description of the problem to be used (and updated) by devtools developers.
Comment thread _docs/05-known-issues.md
Things get weird when a connection
stays open for 3 seconds
without sending any packets.
In this case,
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another way to crash the API:

    let mut conn = net::TcpStream::connect("127.0.0.1:39999")?;
    conn.write_all(br#"{ "messageID": 1, "scriptStates": [{ "guid": "-1", "script": "", "ui": "" }] }"#)?;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant