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 rishain
      i want to make a map where spots are auto allied, if any one knows the code for allying in a map or just flat out knows how to do this plz let me know.
       
       
      i saw anothere thread where they said  to set the waypoints to =a team (a or b) but taht didnt work when i tied it. 
    • By vasha
      I'm helping a friend that still runs windows 7 (2 gb ram/ 32bit) on his computer. When I install the latest CNCNet Installer for Yuri's Revenge, I get "System out of Resources" error. While it can be installed forcibly by ignoring the error, after the installation, it wont start the game without prompt/error message. I tried both the .net, dx and xna version, no luck. I also tried installing the older version of CNCNet that doesn't prompt the "System out of resources", the xna client worked, but after finishing the latest update, same result, no prompt/error or whatsoever (nothing happens). I know that there is a big chance of running the game if I upgrade my friend's OS to windows 10, but its not my computer to decide and I'm just helping him remotely via TeamViewer. and of course a 2gb ram pc wouldn't be a good idea for windows 10. But i'm sure his pc specs can run the game natively. it is just that the cncnet client won't cooperate and probably demanding higher specs of computer.

    • By lostfrost
      i have this error for three days now and i dont know what to do i tried to reinstall then install but still the same error . what should i do ?

    • By RICE
      Hi,
      So after the last update I cant play yr anymore everytime I try to update it or redownload it says "system out of resources" 
       
      In the ss it says: An error occured while updating. Returned error was: The process cant open the file since its been used by another process

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...