1. Hello all, how to connect to server from commandline?

    For rust legacy, i write to cfg\favourites.cfg line like net.connect 127.0.0.1:28015 And if i enter the game. my game autoconnect to server 127.0.0.1:28015. And how to make autoconnect in Rust Experimental?
     
  2. just "connect"
    or connect localhost
    or connect 127.0.0.1:yourport
     
  3. its for console, i need commandline
     
  4. You cant connect to a server from the console only from your client
     
  5. thanks gues...
     
  6. i dont understand where is rust protocol?
    [DOUBLEPOST=1485793150][/DOUBLEPOST]can you write a example ?
     
  7. Wulf

    Wulf Community Admin

    If you are trying to make your server connect when you start it, try adding:
    Code:
    connect SERVERIP:PORT
    to your cfg/client.cfg where your Rust client is installed. No guarantees that it'll work though.
     
  8. If you want to connect to 5.9.150.72:27105 for example, you need to use:
    Steam://connect/5.9.150.72:27015
    You need to have steam client installed on your pc
     
  9. i try. not work...
     
  10. Could you try this way:
    Create a html file into your desktop. Add the following code:

    Code:
    </html>
    <a href="steam://connect/127.0.0.1:27015"> Server A </i></a><br />
    <a href="steam://connect/xxx.xxx.xxx.xxx.xxx:28015"> Server B </i></a><br />
    <a href="steam://connect/DNS:port"> Server C </i></a>
    </html>
    Change the values with your data.
    Save it then try to connect from the link. I think you can also create a shortcut steam://connect/.... but i'm mot sure that's works in this way. I can't try on this moment
     
  11. Ok. I tried creating a shortcut on the desktop and it works fine. The steam protocol identify the game, open it and connect the game to the specific server