Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. LAN Mode On Dedicated Server

LAN Mode On Dedicated Server

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
5 Posts 4 Posters 342 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Tann3r_undefined Offline
    Tann3r_undefined Offline
    Tann3r_
    wrote on last edited by
    #1

    Just have a few questions regarding modding server side.

    1. Seems like I can only connect to my server through online mode. LAN gives me an authentication error "could not verify ticket "offline" for user with id 28772: invalid length".
      So does this mean I can only connect through online mode? Even if it's just through my local network? Any mods I put in %localappdata% shouldn't get me banned, right? I'm just a little confused on that part.

    2. I'm trying to get a mod menu working for me and someone who shares the same local network with me on a dedicated server (not port forwarded). I've modified the menu so it gives everyone who connects cohost, verified, VIP, and admin, but for some reason the other person on my network can't use the mod menu. This has been the same for a handful of other menus too. Tried it with him being host and I couldn't access the mod menu anymore. Which leads me into question 3:

    3. If I have a mod on a server (like the mod menu), does everyone else have to download that mod too and put it in their client mod folder?

    Here's the code I use to give everyone cohost, verified, vip, etc.

    onplayerspawned()
    {
    	self endon("disconnect");
    	level endon("game_ended");
    	for(;;)
    	{
    		self waittill("spawned_player");
    		self freezecontrols(false);
    		self.Verified=true;
    		self.VIP=true;
    		self.Admin=true;
    		self.CoHost=true;
    		self.MyAccess="^1Host";
    		self thread BuildMenu();
    	}
    }
    
    JezuzLizardundefined Resxtundefined 2 Replies Last reply
    0
    • JezuzLizardundefined Offline
      JezuzLizardundefined Offline
      JezuzLizard Plutonium Staff
      replied to Tann3r_ on last edited by
      #2

      Tann3r_ You don't need to use a dedicated server to run GSC mods. You can load the mod in localappdata, and it will only be active if you are host. I recommend trying the unmodified version of the mod menu when you are hosting a game.

      1 Reply Last reply
      0
      • Resxtundefined Offline
        Resxtundefined Offline
        Resxt Plutonium Staff
        replied to Tann3r_ on last edited by
        #3

        Tann3r_ Are you really sure you need a dedicated server? Dedicated server is for 24/7 public servers. If you just wanna play with a mod menu with your friends it's way easier to just create a custom game which will automatically give you the mod menu (since you will be the host) and then give it to your friend via the mod menu Player sub menu.

        I'm not sure if the mod menu you linked allows the host to give the menu to other players.
        If that's not the case you can find another or try this one that I posted that has the feature https://forum.plutonium.pw/topic/15934/zm-hells-vengeance-v2-mod-menu

        Tann3r_undefined 1 Reply Last reply
        0
        • Tann3r_undefined Offline
          Tann3r_undefined Offline
          Tann3r_
          replied to Resxt on last edited by Tann3r_
          #4

          @lResxt I don't necessarily need a dedicated server, no. I primarily just set it up because I wanted to do some mod development. I've been programming for almost a decade now. Figured it'd be fun to see what I can make in bo2.

          I tried that mod menu before, but I have the same problem with trying to give people host. They'll be able to open the menu, but then it will bug out. No items show up, the menu freezes on screen, etc. That mod menu also causes a crash for some reason.

          1 Reply Last reply
          0
          • Bean5undefined Offline
            Bean5undefined Offline
            Bean5
            wrote on last edited by
            #5

            For anyone else coming across this post like I did, concerning point number 1, it seems the server should be in LAN mode if any clients are connecting in LAN mode. Edit the start server bat file and add the -lan flag when starting the server

            1 Reply Last reply
            1

            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Donate