Jump to content

CnCNet Forums

Search In
  • More options...
Find results that contain...
Find results in...
  • -1
mpielke

LAN modus and local IRC server

Question

Good morning,

first of all I have to admit that cncnet is a great work! I have been playing red alert in the late 1990s as a teenager and it is fun to play the same game with my kids now nearly 25 years later... I am currently upgrading my kids' computers from WinXP to Win10 and while red alert still runs fine on Win10, there is one minor issue that I am trying to get around now:

The LAN cnc irc server (which is started when selecting the LAN modus on the launcher and no other server is running on the LAN) requires admin priviledges to be run. Now I do not want to grant these rights to my kids user accounts and I do not want to give the admin password to them for obvious reasons. One workaround would be to use the online mode whichs runs fine or to start red alert without the launcher but I am trying to fix this issue for me to benefit from the great work of the cncnet lobby.

I do have a local IRC server up and running which I can use to connect using the online-modus (by setting the server in the server file). But I would like to set this server to be used when seleting the LAN-mode. The local IRC server I have is not the one from cnc as I have set it up on a small linux home server - I am not able to use the cnc irc server there as I do not want to change this linux system significantly (no .net, no mono, no wine). The current irc server is running in a docker image which works great without altering the system itself.

So the question is: how do I tell the cncnet5 application to connect to a certain irc server (the local irc server) when selecting LAN mode?

Best regards

Martin

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 1

Your solution should actually work fine, just connect to a local server in online mode. The games are peer-to-peer, that means you will still be playing a LAN game like this (hover over the players nickname in a game room, ping should be 0).

 

The LAN server requires a firewall inbound rule on windows, otherwise no one could connect to it, hence why it requires admin rights. You can just run it once as admin and allow it in the firewall or you can also add the firewall rule on your own. Afterwards you could force it to run as invoker via a compat mode:

 

image.png

  • Thanks 1

Share this post


Link to post
Share on other sites
  • 0

Thanks for the reply ... the hint with the registry entry just works fine so the included LAN IRC server runs without the UAC query on a normal user account! I need to remember this when coming across UAC queries on other games... ;)

Just out ouf curiosity: would there be a way to force cncnet5.exe to connect to a certain (on local network but not the included one) IRC server when starting in LAN mode?

I.e. when starting in Online mode it would normaly connect to gamesurge unless overruled by server.ini in one of the subdirectories - is there a similar way for starting in LAN mode to override the start of the included server but connect to another IRC server?

regards

Martin

Share this post


Link to post
Share on other sites
  • 1
11 minutes ago, mpielke said:

Just out ouf curiosity: would there be a way to force cncnet5.exe to connect to a certain (on local network but not the included one) IRC server when starting in LAN mode?

I.e. when starting in Online mode it would normaly connect to gamesurge unless overruled by server.ini in one of the subdirectories - is there a similar way for starting in LAN mode to override the start of the included server but connect to another IRC server?

regards

Martin

 

Nope, you can't specify the server in LAN mode, CnCNet will search for a LAN server in your network automatically. It would be possible, kinda, but you would need to write a few lines of code to answer the broadcasts.

  • Upvote 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • By jesterrescue1
      I was trying to be careful and the map worked in its early versions. The version have now is causing myself and other players to desync about 5 minutes into the game with this custom map. The map is kinda fun and different. Tried to take inspiration from starcrafts style. Its not too radical. But
      I think my questions are what makes the red alert 1 (include aftermath) dsync online? Consider its custom map, unit alterations, image changes. Worse case scenario I'll release it as a single player skirmish map. I make use of the spawn file that holds images of c&c dawn units. The RAedit adds triggers. I tried deactivating the triggers and teams hopping that was the mighty fix. Well didn't seem to do it. 
    • By FunkyFr3sh
      We removed the macOS downloads since Apple dropped support for 32-bit applications in their latest version of macOS (10.15 Catalina).
      Downloads might be added again at a later point once there is a solution for supporting the new macOS Catalina.
       
       
       
      If you're running a older version of macOS you can still try to install the games (C&C / Red Alert / Tiberian Sun) manually:
       
      Step 1: Install wine-stable https://wiki.winehq.org/MacOS
      Step 2: Download the following script, right-click and select Open https://downloads.cncnet.org/cncnet.command.zip
       
       
       
      If you're running the new macOS Catalina 10.15:
       
      Use bootcamp: https://support.apple.com/en-us/HT201468
       
       
    • By SOL1981
      On a Mac running VMWare Fusion with Windows 10. 
      Game runs run, but whenever I go to "Play Online" CnCnet loads fine, I select online, and the chat window loads but never connects / no one is ever on it.
      Is this some network setting I need to change (I'm an Apple guy haven't used PC's in close to 20 years). Or is there another plugin or patch to install.
      Again the game runs fine and this loads, just can't seem to "connect" into the network.
      My father is running this same game on a Mac through the Wine Emulator and connects and plays online all the time.
      I had the same thing working but just upgraded to Mac Catalina today and it wiped out the game.
      Thanks for your help!

    • By FunkyFr3sh
      Updates
      Tiberian Sun Single-Player Campaign is now available on macOS and every Linux download.
      Red Alert Single-Player Campaign / Multiplayer downloads were merged together with Tiberian Sun into one download. 
      Downloads are now also available for Pacman-based Linux distributions (Antergos, Manjaro Linux, ...).
       
       
      Downloads
      Ubuntu, Linux Mint, ...                                  cncnet_1.0_all.deb
      Fedora, openSUSE, ...                                  cncnet-1.0-2.noarch.rpm
      Manjaro, Antergos, ...                                  cncnet-1.0-1-any.pkg.tar.xz
      macOS                                                           CnCNet.dmg
       
       
      Find all downloads here                            https://cncnet.org/download
       
       
      You may also be interested in the following snaps made by user [email protected] 
      Red Alert (Full Game)                               https://snapcraft.io/cncra
      Tiberian Sun (Full Game)                         https://snapcraft.io/cnctsun
       
       
    • By Siberian GRemlin
      In C&C: Red Alert vehicle named as "V2 Rocket" is a 9K52 "Luna-M" or "FROG-7" in NATO reported name.
      I suggest to improve the vehicle name or make it optional.
      Ingame vehicle model.

      "Luna-M" (FROG-7) – Soviet short-range artillery rocket system.

      V-2 – Nazi Germany long-range guided ballistic missile.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...