n0la / rcon

Source RCON client for command line
BSD 2-Clause "Simplified" License
140 stars 18 forks source link

It does not return after sending the command #10

Closed MGW14 closed 5 years ago

MGW14 commented 5 years ago

Hey, when im running the command it wont return... Ive waited 5 Minutes and nothing happens. Please help

n0la commented 5 years ago

Please try adding the -1 or --1packet option to the command line.

MGW14 commented 5 years ago

Now there is standing Peer: Connection closed

n0la commented 5 years ago

What game are you trying this on? It doesn't seem to abide by the specification.

MGW14 commented 5 years ago

Im trying to stop a minecraft server

n0la commented 5 years ago

Did the command work once you passed -1?

MGW14 commented 5 years ago

No, never

n0la commented 5 years ago

I have no minecraft server for testing, so I cannot really say what's wrong. Would you be interested in debugging this issue?

MGW14 commented 5 years ago

Yes, i could do it. There is one: With the -1 arg. in my minecraft Server log is standing RCON connection from 127.0.0.1. Sorry for my bad English. Im only speaking german

n0la commented 5 years ago

Feel free to email me (email is in my profile). You can also reach me there in German.

MGW14 commented 5 years ago

WOW Danke :D

sfxworks commented 5 years ago

I am also having this issue.

sfxworks commented 5 years ago

[02:35:22] [RCON Listener #1/INFO]: Rcon connection from: /0:0:0:0:0:0:0:1 Regardless if I get the password right or not, it just hangs.

n0la commented 5 years ago

Have you tried the -1 option?

MGW14 commented 5 years ago

I think he used it, because when im doing it without -1 nothing is standig in the Console. Watch upper Comments.

sfxworks commented 5 years ago

-1 resulted in the same event. It also did not output anything extra.

sfxworks commented 5 years ago

Used sponge vanilla for my test if that helps.

MGW14 commented 5 years ago

I need Sponge because my Full BungeeCord Network needa plugins

n0la commented 5 years ago

Technically minecraft supports Source RCON, but I have no minecraft server (I don't own this game) to test my implementation on. Maybe minecraft does something different, or deviates from the standard in a way that I am not aware of. I will look into it.

MGW14 commented 5 years ago

Wait... it works now, just use the external Ip adress as Host! localhost or 127.0.01 doesn‘t work for me. Now i used mgnet.work and it works! Still using -1. I think you should add a proxy argument. :D