Solved Writing to BungeeCord input stream

Discussion in 'BungeeCord Help' started by EpicKnarvik97, Jun 23, 2016.

  1. I am having trouble writing to BungeeCord's input stream.
    I can read the output stream just fine, but when I try to write to the input stream, nothing happens.

    I am reading and writing to BungeeCord's streams using AutoIt.

    Working example for Spigot: http://pastebin.com/Gz9Rqjkn
    Non-working example for BungeeCord: http://pastebin.com/Cg2EM7Qf

    So; Why isn't BungeeCord accepting the input stream? How can I make it accept the input stream?
     
  2. I don't know anything about the language but could it be that you forgot to add something in front of the end command?
    Spigot:
    @CRLF & "stop" & @CRLF

    Bungee:
    "end" & @LF
     
  3. I have tried a lot of variations, but the thing is; Whatever I send, doesn't seem to reach BungeeCord.
    The @LF, @CRLF and @CR are different types of newline characters, which will basically send an enter press.
    Even if I do this:
    StdinWrite($BungeeID, @CRLF & "end" & @CRLF)
    StdinWrite($BungeeID, @CRLF & "end" & @CR)
    StdinWrite($BungeeID, @CRLF & "end" & @LF)
    StdinWrite($BungeeID, @CR & "end" & @CRLF)
    StdinWrite($BungeeID, @CR & "end" & @CR)
    StdinWrite($BungeeID, @CR & "end" & @LF)
    StdinWrite($BungeeID, @LF & "end" & @CRLF)
    StdinWrite($BungeeID, @LF & "end" & @CR)
    StdinWrite($BungeeID, @LF & "end" & @LF)
    StdinWrite($BungeeID, "end" & @CRLF)
    StdinWrite($BungeeID, "end" & @CR)
    StdinWrite($BungeeID, "end" & @LF)
    StdinWrite($BungeeID, @CRLF & ">end" & @CRLF)
    StdinWrite($BungeeID, @CRLF & ">end" & @CR)
    StdinWrite($BungeeID, @CRLF & ">end" & @LF)
    StdinWrite($BungeeID, @CR & ">end" & @CRLF)
    StdinWrite($BungeeID, @CR & ">end" & @CR)
    StdinWrite($BungeeID, @CR & ">end" & @LF)
    StdinWrite($BungeeID, @LF & ">end" & @CRLF)
    StdinWrite($BungeeID, @LF & ">end" & @CR)
    StdinWrite($BungeeID, @LF & ">end" & @LF)
    StdinWrite($BungeeID, ">end" & @CRLF)
    StdinWrite($BungeeID, ">end" & @CR)
    StdinWrite($BungeeID, ">end" & @LF)

    Nothing happens, so I believe the problem is that BungeeCord either never receives the request, or it denies the request.
     
  4. Tux

    Tux

    Specify -Djline.terminal=jline.UnsupportedTerminal
     
    • Useful Useful x 1
  5. Thank you. Everything works now.