• Rcon does not work 3.
    33 replies, posted
Hi there, i think i have no luck at all, getting this error in the server console while connecting with telnet to the rcon. [CODE]EndOfStreamException: Failed to read past end of stream. at System.IO.BinaryReader.ReadByte () [0x00000] in <filename unknown>:0 at System.IO.BinaryReader.ReadSByte () [0x00000] in <filename unknown>:0 at Facepunch.RCon+RConClient.ReadNullTerminatedString (System.IO.BinaryReader read) [0x00000] in <filename unknown>:0 at Facepunch.RCon+RConClient.Update () [0x00000] in <filename unknown>:0 at Facepunch.RCon+RConListener.UpdateClients () [0x00000] in <filename unknown>:0 at Facepunch.RCon+RConListener.Cycle () [0x00000] in <filename unknown>:0 at Facepunch.RCon.Update () [0x00000] in <filename unknown>:0 at ServerMgr.DoTick () [0x00000] in <filename unknown>:0 UnityEngine.Debug:Internal_LogException(Exception, Object) UnityEngine.Debug:LogException(Exception, Object) ServerMgr:DoTick()[/CODE]
I could be incorrect, but as far as I'm aware.. You cannot simply use telnet. You will need to use a tool or library that uses Source RCON protocol. [url]https://developer.valvesoftware.com/wiki/Source_RCON_Protocol[/url]
And where does i get such a tool ?
[QUOTE=SirEb;45608786]Hi there, i think i have no luck at all, getting this error in the server console while connecting with telnet to the rcon. [CODE]EndOfStreamException: Failed to read past end of stream. at System.IO.BinaryReader.ReadByte () [0x00000] in <filename unknown>:0 at System.IO.BinaryReader.ReadSByte () [0x00000] in <filename unknown>:0 at Facepunch.RCon+RConClient.ReadNullTerminatedString (System.IO.BinaryReader read) [0x00000] in <filename unknown>:0 at Facepunch.RCon+RConClient.Update () [0x00000] in <filename unknown>:0 at Facepunch.RCon+RConListener.UpdateClients () [0x00000] in <filename unknown>:0 at Facepunch.RCon+RConListener.Cycle () [0x00000] in <filename unknown>:0 at Facepunch.RCon.Update () [0x00000] in <filename unknown>:0 at ServerMgr.DoTick () [0x00000] in <filename unknown>:0 UnityEngine.Debug:Internal_LogException(Exception, Object) UnityEngine.Debug:LogException(Exception, Object) ServerMgr:DoTick()[/CODE][/QUOTE] try using HLSW
Rust Experimental has the same RCON protocol, you can just use Rusty or something.
I tried rusted.cc , says that there is no rust server running, i tried hlsw, but it never sent me an activation code ( different mail providers tested )
[QUOTE=Gachl;45609576]Rust Experimental has the same RCON protocol, you can just use Rusty or something.[/QUOTE] Rusty will not work, it uses the legacy protocol.. Experimental is using SOURCE RCON, you'll need a tool like hlsw as suggested.
Legacy Rust was built to be protocol-compatible with Source rcon. I don't know what you think changed when it was time for Garry to write rcon into experimental.
One of the legacy admin tools did connect and communicate to it in testing.
hi garry, can you tell us which tool it is ? I've been searching with "source rcon tool", but got nothing else than hlsw and this site doesn't send me activation.
Have you tried Rusty? Like, actually downloaded and run it to see if it works, tried?
This was the tool: [url]http://facepunch.com/showthread.php?t=1350623[/url]
so is anybody able to get Rusty to work? I cant even get a confirmation email from the hlsw folks.
Rusty says no connection [CODE]RustDedicated.exe -batchmode +server.port 28022 -logFile Server.log +rcon.port 28023 +rcon.password "393858" +server.maxplayers 100 -load +server.seed 0[/CODE] [editline]7th August 2014[/editline] Is it working on someone else?
I was able to get Rusty to connect.. I confirmed this in my server's console. However, Rusty tended to stop responding on me. I tried a very simple RCON library/client and I was able to connect using this. Their very simplstic sample app was able to send commands via RCON.
And where to get such a thing ? / How did you get rusty work ? On me, i do not get any confirmation or error in the console, so is there something wrong in my start - line ?
Why don't you read the Rusty thread in Rust GD for more information on the correct usage of Rusty?
Got also rusty working now, but after entering the first command ( and executed ) the client field stops responding, i remember that garry said the [QUOTE]+rcon.port 28023 +rcon.password [/QUOTE] is right, but somehow it's still [QUOTE]-rcon.port 28023 -rcon.password [/QUOTE] so for our purposes rusty is "shit", you can execute one command, disconnect , reconnect, execute the next one ... Now getting [CODE][RCON] Auth: 94.*.*.*:65208[/CODE] on every rcon command
Now I know its out Im working on it but I am having problems getting the rcon port open, perhaps its what you have mentioned. (I made Rusty)
[QUOTE=Boback;45625330]Now I know its out Im working on it but I am having problems getting the rcon port open, perhaps its what you have mentioned. (I made Rusty)[/QUOTE] Boback you got the links Garry put up about the rcon ? (There is not much but might help) [url]http://rustdev.facepunchstudios.com/dedicated-server[/url] Also although I could not afford to donate to you last rcon rusty app I used it and would like to say thanks. If you make another rcon client for rust experimental would you consider making an android app that would be cool.
[QUOTE=Boback;45625330]Now I know its out Im working on it but I am having problems getting the rcon port open, perhaps its what you have mentioned. (I made Rusty)[/QUOTE] At least rusty is the only tool working currently with the experimental branch, the problem is just it can't get an answer from the server, but if im looking into the cmd of the server, i see that it's actually executing the command, so if you have the output.log refreshing in another window, you acutally can see the reply ^^ , but there should be a function like auto refreshing the rusty connection after executing the command, if it is currently impossible to get this "freezing like" waiting for reply fixed.
[QUOTE=kulan;45625543]Boback you got the links Garry put up about the rcon ? (There is not much but might help) [url]http://rustdev.facepunchstudios.com/dedicated-server[/url] Also although I could not afford to donate to you last rcon rusty app I used it and would like to say thanks. If you make another rcon client for rust experimental would you consider making an android app that would be cool.[/QUOTE] I will be releasing a web based version soon that works on all plat forms :) Thanks for the link but I saw that, not sure whats going on! [QUOTE=SirEb;45627521]At least rusty is the only tool working currently with the experimental branch, the problem is just it can't get an answer from the server, but if im looking into the cmd of the server, i see that it's actually executing the command, so if you have the output.log refreshing in another window, you acutally can see the reply ^^ , but there should be a function like auto refreshing the rusty connection after executing the command, if it is currently impossible to get this "freezing like" waiting for reply fixed.[/QUOTE] Could you show me what command line you are using to get it up and running? [editline]8th August 2014[/editline] Ok I have it working, what seems to be happening is that rust no longer sends back the acknoledgment packets but Im digging in to find out :) [editline]8th August 2014[/editline] I have a working version for experimental, it may be unstable I have only tested it on an empty server for about 2 minutes. There are still issues as it expects commands to be there that are no longer there but the console feed should work. [url]http://goo.gl/NuMupU[/url]
Hi, with [CODE]RustDedicated.exe -batchmode +server.port 28022 -logFile Server.log -rcon.port 28023 -rcon.password "393858" -rcon.ip SERVERIP +server.maxplayers 100 -load +server.seed 0[/CODE] i can actually connect with rusty, just for one command as i said, without -rcon.ip you are not able to connect outsite from localhost, even if that is the only ip the machine has ( lol ?! :dance: ) [editline]8th August 2014[/editline] I tested your experimental, it works like the previous version, there is a problem with the answering from the server, so it sends and executes the command right, but it can not handle the reply.
[QUOTE=SirEb;45629169]Hi, with [CODE]RustDedicated.exe -batchmode +server.port 28022 -logFile Server.log -rcon.port 28023 -rcon.password "393858" -rcon.ip SERVERIP +server.maxplayers 100 -load +server.seed 0[/CODE] i can actually connect with rusty, just for one command as i said, without -rcon.ip you are not able to connect outsite from localhost, even if that is the only ip the machine has ( lol ?! :dance: ) [editline]8th August 2014[/editline] I tested your experimental, it works like the previous version, there is a problem with the answering from the server, so it sends and executes the command right, but it can not handle the reply.[/QUOTE] Hmm mine does not seem to be having the problem, what commands are you using and trying out? Nevermind, im reproducing it now, sorry. It seems that there is no real reply coming back from every command only things that fail. Please redownload from the same link ive updated it :)
Hi, now i do not need to "refresh", but still on commands like "status" "users" .. no reply made, but for now, for any admin just doing stuff like kick annoying people, or something else, where you need no output, it's fine. [editline]8th August 2014[/editline] Just an idea, if the actual thing with reply does not work, you know that ftp chats in visual basic ? There are a lot users, which are having a custom ftp on the server, so they could link in the output.log and tadaaaa ... they have the response ... just if it isn't possible otherwise. [editline]8th August 2014[/editline] Do you have skype ? For faster communication
Ok, another new version is up I see what you mean now. Derp. I do have skype, its in the main post. As for the chat, if its not being sent by the server then Rusty wont have it, It would be a nightmare for me to explain how to setup ftp's etc and I have enough issues with getting people to just put in their server details :P
Got a question.. related to RCON... Is there a such a tool (or library) that is essentially a "telnet" like interface out there that I can modify? I like Rusty a lot, but I don't want all the extra function/GUI it has. All I want is a simple RCON tool which opens up a console session where I can execute commands. (I would also prefer to have the source as well, so I can expand on it as necessary). Thanks. EDIT: Guess I found this, [url]https://github.com/aiusepsi/SourceRcon[/url] as a start.. Its old but it might work as a starting point.
Hello, as far as the rust experimental build does not make such good or response at all, such a tool would be a nice thing. Maybe @garry can handle the response for rcon as soon as he has time for it ? Would be great :D
"I have enough issues with getting people to just put in their server details" lulz
[QUOTE=theeggman;45630541]Got a question.. related to RCON... Is there a such a tool (or library) that is essentially a "telnet" like interface out there that I can modify[/QUOTE] I made something too and as far as I have tested it, it works with experimental. [url]https://github.com/Gachl/RustRcon[/url]
Sorry, you need to Log In to post a reply to this thread.