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 AndrewFord
      on the CncNet5 (RA, TS, TD version) there is usually a flashing green button that says "streaming" whenever someone is live on twitch but it doesn't show anymore. When shall this be fixed.
    • By Genio
      I want to edit the vehicle and building graphics. Where do I find the original graphics and where do I have to place the edited ones in cnc to replace the original?
       
      Greetings and thank you
    • By sk0rp
      I was just wondering but is this an issue that is on the team's radar?
       
      If you take my name Bane_ for example on this month's RA ladder, there is a total mix of average fps for my games (as low as 43 fps even...). By way of comparison, if I'm playing normally on CnCNet I can quite happily be in 8 player games with it running at full speed without any issues at all. Multiple other people suffer from the same issue if you go checking through the names so I'm not sure what's up really.
       
      It isn't lag but when a game decides it's going to average more around say 40-50 fps, you experience it as a periodic hitching all the way through the match (right from the word go so it doesn't worsen as more and more units and structures are built) and it leads to a pretty unpleasant game as it messes around with your build timings and Q and so on in what should be a fast-paced game.
       
      Is there any obvious culprit that could be causing dropped frames like that? Restarts don't seem to help, neither does running the quickmatch client directly with CnCNet closed and as few other programs open as possible.
    • By NHG(N_HuyGamingVN)
      Can someone find music.ini for RA1 to me
      I try to add some music but i didn't find any ini files yet.....
       
      THANK YOU,
      NHGVN
    • By ConstructionWorker
      I've been wanting to play red alert for a while but i don't know which version to download. I am currently using macOS Catalina 
       
      If someone can help me I would appreciate it.
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...