Jump to content

CnCNet Forums

Search In
  • More options...
Find results that contain...
Find results in...

Recommended Posts

 

Running CnCNet server using systemd (Linux x64)

 

wget downloads.cncnet.org/tunnel.sh
sh tunnel.sh 200 "Unnamed Server"

If you're unsure what linux distro to choose, just take the latest version of Ubuntu

 

 

Using the above method you can run both CnCNet servers as a service and they will continue to run even after the server restarted.

 

Alternatively you can also run the servers individually (see below):

 

 

 

 

 

New Server (All Games)

 

 

Linux x64 example:

wget -c https://downloads.cncnet.org/cncnet-server.tgz -O - | tar -xz

nohup ./cncnet-server --name "My cool server" --maxclients 200 --port 50001 --portv2 50000 > cncnet-server.log 2>&1 &

Linux ARM

 

 

Windows:

On XP, Vista and 7 make sure .NET 4.0 is installed: https://www.microsoft.com/en-US/download/details.aspx?id=17113

Download the server and start it: http://downloads.cncnet.org/cncnet-server-gui.exe

 

 

Note: Servers are chosen automatically by CnCNet and are only used in case 2 players fail to establish a Peer-To-Peer connection. Yuri's Revenge players can select a specific server via the advanced settings while hosting a game room.

 

 

 

 

 

Old Server (Yuris Revenge only)

 

 

Linux (Ubuntu) example:

sudo apt-get install default-jre

wget http://downloads.cncnet.org/cncnet-tunnel.exe

nohup java -jar cncnet-tunnel.exe -name "My cool server" -maxclients 200 -port 50000 -headless > cncnet-tunnel.log 2>&1 &

 

 

Windows:

Download the server and start it: http://downloads.cncnet.org/cncnet-tunnel.exe

 

 

Note:  To use a specific server you'll have to select it via the advanced settings while hosting a game room.

 

 

 

 

 

The servers will not show up instantly on the website, it can take up to 4 hours

 

 

 

  • Like 4

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Similar Content

    • By Thewou
      getting this error Runtime error C++ every time i try and play online or offline games 
      i installed new C++ files and still giving me the same error 
      what can i do 

    • By idennek
      Hi there,
      I finally discovered I can still play RA2/YR online with CNCNET, but after installing I try to open it and I get the following error:

      Anyone know what this might mean?
    • By Ou_Daiki
      Hi,folks
      I added a new map to my client,copied the waypoint code in the map to the map setting ini,then i got this,waypoints are messed up.
      I know how to adjust a wapoint one by one to the right place(the red square),but it's tiring,you know,this is one of those other maps i need to fix.Are there any more efficient ways?
      Are there tutorials i haven't found yet?
    • By bk57
      Finnaly learned to use SHP. editor and after cople of days of hard work made some new skins for Tiberian Sun
      They could be used on cncnet even after modifying files you will still be able to play multiplayer

      Download: GDI sidec01.mix - Nod sidec02.mix
      Put them in "...TiberianSun_Online\MIX\put_here" replace "sidec01.mix" and "sidec02.mix".
      Backup files before in case you change your mind to use old ones after again. Enjoy!
      ____________GDI____________



      ___________Nod___________



      Note: I found sample templates online all I had to do was photoshop for some time.
    • By MisterRobota
      Hello
      I'd been playing LAN on the CnCNET client just fine for the past few weeks but just today I started getting this error
      I tried reinstalling, re-updating and nothing works! It was working just fine and now it's not.
      Any clue or help is much appreciated!
      Oh also, online works just fine. Only LAN has this issue
      The error is :
      KABOOM
      A socket operation was attempted to an unreachable host
      I was told on the Discord server that it is " something else using the port maybe? " but I couldn't find anything. It is possible I didn't have enough networking experience to figure it out on my own and that's why I'm very desperate for anyone to help





  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...