-lan starts game instead of server

Topic created · 6 Posts · 170 Views
  • Not much more to say. I only replaced the -dedicated launch option for -lan in order to run a local server that I can test on. My game launches instead of a server. -Dedicated works but I get server not authenticated error as expected. Windows 10.

  • I just discover this and figure it out myself.

    Try making a LAN.bat file and copy and paste this command line in notepad.

    @echo off
    .\bin\plutonium-bootstrapper-win32.exe iw5mp "C:\Program Files (x86)\Steam\steamapps\common\Call of Duty Modern Warfare 3" +name "ColouRz" -lan
    

    Place it in your C:\Users\YOURNAME\AppData\Local\Plutonium

    If your IW5 not in C:\Program Files (x86)\Steam\steamapps\common\Call of Duty Modern Warfare 3 then you need to change that line in the bat.

    Update: Might want to hold off on that.

  • @Fry said in -lan starts game instead of server:

    .\bin\plutonium-bootstrapper-win32.exe iw5mp "C:\Program Files (x86)\Steam\steamapps\common\Call of Duty Modern Warfare 3" -lan

    @echo off
    .\bin\plutonium-bootstrapper-win32.exe iw5mp "C:\Program Files (x86)\Steam\steamapps\common\Call of Duty Modern Warfare 3" +name "YEET" -lan
    

    Just change YEET to whatever name you want. That will fix the error.

  • Ah thanks.

    You can also do connect on the command too

    +name "Fry" +connect ip:port -lan
    
  • @ColouRz said in -lan starts game instead of server:

    Not much more to say. I only replaced the -dedicated launch option for -lan in order to run a local server that I can test on. My game launches instead of a server. -Dedicated works but I get server not authenticated error as expected. Windows 10.

    If you want a server in lan mode, you need to specify both -dedicated and -lan. If you only specify -lan, it will start the game in lan mode.

  • Thanks, this worked:
    +name "blabla" -dedicated -lan

    The game didn't start from the launcher when a lan server was up, but it works if you start the game first The client can possibly be started with a .bat even when the server is up but if anyone needs to do that just experiment with it a bit.

Log in to reply