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
  • 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
  • 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

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 CnCRedAlertFan
      How do I make a unit deploy like in RA2? I can't find an art.ini to tell the game which frames to use for deploy.
    • By Genio
      Hi,
       
      is there any possibility to make the AI build and use:
       
      1. Marine troops including ship yard
      2. Air troops (even if the human Player didnt build any air troops?
      3. Nuclear weapons?
       
      Thank you
    • By pizzahat
      Hey everyone.  I've been working on making the switch over to Manjaro and everything is great so far.  Unfortunately, I have been unable to get CNCnet working for Red Alert. I have tried the Manjaro package and the Windows package via Wine, and I have Wine mono and about as many other Wine packages that I can think of. I am running what is pretty much a fresh install of Manjaro XFCE on an AMD A8 based laptop with 8gb of RAM and plenty of space on the SSD. These are my two problems in more detail, I appreciate any advice or direction in advance:
      1. Manjaro Package Installer: Everything seems to process correctly up until the very end. The installer hangs at "Finishing Installation... Installing .NET framework 2.0" for about a minute then it just goes away and CNCnet will not open via the program shortcut. I've run the script at the bottom of my post a few times to retry the process, but no dice.
      2. Windows .exe installer via Wine. The installation goes on without a hitch, and Red Alert is able to open successfully.  Every time I pick the "Online" option, the application crashes without an error. I've tried selecting several different resolution and rendering options.
       
      rm -rf ~/.local/share/cncnet
    • By SVT_Mustang
      Hi guys,
      played this game for many years and have used the Cncnet client for RA1 for about 18-20 months. Recently purchased a new platform with Windows10. Same internet connection. Client loads okay but regularly I'm getting disconnected with the client showing "ping timeout". Internet settings have been re-booted, I don't have any firewall settings on at this present time but the problem persists. If I loads the client and go into the game lobby I have around a minute to get into a multiplayer game before none of my choices register with other players. Text, readying up etc etc.
      Some help would be greatly appreciated. I have removed the RA files a couple of times, tried most things but the same issue persists.
      When I do manage to get into a game, it lasts and for some reason I can hold out a game with no issues...….
       
      Many thanks,
       
    • By delly88
      Hello Everyone,
      Please can I get some help ?
      I have installed the full version of the above, from this website.
      I'm running Windows 10 home.
      Installation was fine, start up application, select play offline...
      Game starts but just the front screen then crashes.
      ctrl alt delete doesn't work, I have to restart computer.
       
      I had this game on Dosbox but for some reason it stopped loading new levels.
      So it may be an easy fix but I'm becoming easily exhausted of trying to get this game to run.
       
      Thanks in advance 😁
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...