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

Plutonium

  1. Home
  2. BO2 Server Hosting Support
  3. [Guide] [Debian] T6 Server on Linux VPS/Dedicated Server

[Guide] [Debian] T6 Server on Linux VPS/Dedicated Server

Scheduled Pinned Locked Moved BO2 Server Hosting Support
74 Posts 31 Posters 10.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • brolpztundefined brolpzt

    VZLAxSmoke Are you having cpu usage problem with wine? Here the usage is pretty high too. Just turning on the container already takes up 50% of a cpu core.

    This on strong processors like Ryzen 7 5800X.

    I think the way here will be to run on windows..

    I wanted to avoid having to pay the license fee, but there's no way around it hehe

    VZLAxSmokeundefined Offline
    VZLAxSmokeundefined Offline
    VZLAxSmoke
    wrote on last edited by
    #44

    brolpzt

    but you can use windows free or that your provider can put your own iso or you buy a license for 6 $ I can pass you a page where they sell cheap licenses

    my discord
    VZLAxSmoke#8458

    brolpztundefined 1 Reply Last reply
    0
    • VZLAxSmokeundefined VZLAxSmoke

      brolpzt

      but you can use windows free or that your provider can put your own iso or you buy a license for 6 $ I can pass you a page where they sell cheap licenses

      my discord
      VZLAxSmoke#8458

      brolpztundefined Offline
      brolpztundefined Offline
      brolpzt
      wrote on last edited by
      #45

      VZLAxSmoke I understood. Thanks.

      Did you manage to solve the CPU problem?

      1 Reply Last reply
      0
      • VZLAxSmokeundefined Offline
        VZLAxSmokeundefined Offline
        VZLAxSmoke
        wrote on last edited by
        #46

        no friend and you always when executing the server is already consuming 40 to 50% when it is full add more %

        brolpztundefined 1 Reply Last reply
        0
        • brolpztundefined Offline
          brolpztundefined Offline
          brolpzt
          wrote on last edited by
          #47
          This post is deleted!
          1 Reply Last reply
          0
          • VZLAxSmokeundefined VZLAxSmoke

            no friend and you always when executing the server is already consuming 40 to 50% when it is full add more %

            brolpztundefined Offline
            brolpztundefined Offline
            brolpzt
            wrote on last edited by
            #48

            VZLAxSmoke I still haven't been able to solve it. But I did one thing that relieved the CPU which was to limit the amount of cores a container can use. Consumption has been greatly reduced.

            VZLAxSmokeundefined 1 Reply Last reply
            0
            • brolpztundefined brolpzt

              VZLAxSmoke I still haven't been able to solve it. But I did one thing that relieved the CPU which was to limit the amount of cores a container can use. Consumption has been greatly reduced.

              VZLAxSmokeundefined Offline
              VZLAxSmokeundefined Offline
              VZLAxSmoke
              wrote on last edited by
              #49

              brolpzt

              that's good my bro I'm a bit nob in linux but if it's with a series of commands you'll be great

              brolpztundefined 1 Reply Last reply
              0
              • VZLAxSmokeundefined VZLAxSmoke

                brolpzt

                that's good my bro I'm a bit nob in linux but if it's with a series of commands you'll be great

                brolpztundefined Offline
                brolpztundefined Offline
                brolpzt
                wrote on last edited by brolpzt
                #50

                VZLAxSmoke I'm using pterodactyl, so just define that you will use 1 or two cores and you can configure if you will use 50~100$ of this core when creating the server.

                But, you can see in docker how to constrain the container.

                https://docs.docker.com/config/containers/resource_constraints/

                1 Reply Last reply
                0
                • VZLAxSmokeundefined Offline
                  VZLAxSmokeundefined Offline
                  VZLAxSmoke
                  wrote on last edited by
                  #51

                  the truth is I don't use that panel I could never understand how to use another panel to run the game

                  1 Reply Last reply
                  0
                  • A Former User? Offline
                    A Former User? Offline
                    A Former User
                    wrote on last edited by A Former User
                    #52

                    For those who try to use Ubuntu 20.04 / Ubuntu 20.04.1 LTS Here are the WINE Setup for you!

                    # Allow i386 Architecture
                    dpkg --add-architecture i386 && \
                    apt-get update && \
                    apt-get install wget gnupg2 software-properties-common -y
                    
                    apt install -y apt-transport-https
                    
                    # We will now setup the winehq key and repository
                    wget -nc https://dl.winehq.org/wine-builds/winehq.key
                    
                    apt-key add winehq.key && \
                    apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
                    
                    # Setup key and repository for dependency of wine
                    wget -nc https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_20.04/Release.key
                    
                    apt-key add Release.key && \
                    apt-add-repository 'deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_20.04 ./'
                    
                    # Update repository 
                    apt-get update
                    
                    ## Now we will install wine
                    apt-get install -y --install-recommends winehq-stable
                    
                    # Remove key files
                    rm winehq.key Release.key
                    

                    Also remeber to use a BareMetal / Dedicated server. VPS Server are not good and may decrease some performance and stability issues!

                    brolpztundefined 1 Reply Last reply
                    0
                    • A Former User? A Former User

                      For those who try to use Ubuntu 20.04 / Ubuntu 20.04.1 LTS Here are the WINE Setup for you!

                      # Allow i386 Architecture
                      dpkg --add-architecture i386 && \
                      apt-get update && \
                      apt-get install wget gnupg2 software-properties-common -y
                      
                      apt install -y apt-transport-https
                      
                      # We will now setup the winehq key and repository
                      wget -nc https://dl.winehq.org/wine-builds/winehq.key
                      
                      apt-key add winehq.key && \
                      apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
                      
                      # Setup key and repository for dependency of wine
                      wget -nc https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_20.04/Release.key
                      
                      apt-key add Release.key && \
                      apt-add-repository 'deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_20.04 ./'
                      
                      # Update repository 
                      apt-get update
                      
                      ## Now we will install wine
                      apt-get install -y --install-recommends winehq-stable
                      
                      # Remove key files
                      rm winehq.key Release.key
                      

                      Also remeber to use a BareMetal / Dedicated server. VPS Server are not good and may decrease some performance and stability issues!

                      brolpztundefined Offline
                      brolpztundefined Offline
                      brolpzt
                      wrote on last edited by brolpzt
                      #53

                      @NomexPlayZ Hey friend,

                      I will test with this configuration. I'm using docker and a container with only the server on (no players) easily consumes 70% of a CPU core (or 35% of two cores), probably some incompatibility of plutonium-bootstraper-win32.exe with wine, since it was probably written for windows.

                      I did a test on windows, the server on (without players) hardly consumes more than 5% of cpu.

                      I'm using a bare metal server with Ryzen 3600X + 500GB NVMe and 32gb ram

                      1 Reply Last reply
                      0
                      • CelliXzundefined Offline
                        CelliXzundefined Offline
                        CelliXz
                        wrote on last edited by CelliXz
                        #54

                        I try to start the Sever and get this error:

                        ./T6Server.sh

                        ./T6Server.sh

                        Visit plutonium.pw | Join the Discord (plutonium) for NEWS and Updates!
                        Server CelliXz | TDM | will load dedicated.cfg and listen on port 4976 UDP!
                        To shut down the server close this window first!
                        2022-05-22_17:39:18 CelliXz | TDM | server started.
                        002c:err:winediag:getaddrinfo Failed to resolve your host name IP
                        0050:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
                        0050:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
                        0050:err:systray:initialize_systray Could not create tray window
                        Loading fastfile code_pre_gfx_mp
                        0024:err:system:NtUserChangeDisplaySettings Restoring all displays to their registry settings returned -1.
                        [DW][Auth] Handling authentication request...
                        0024:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
                        0024:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.

                        And idea how i can fix this?

                        nocat.undefined 1 Reply Last reply
                        0
                        • CelliXzundefined CelliXz

                          I try to start the Sever and get this error:

                          ./T6Server.sh

                          ./T6Server.sh

                          Visit plutonium.pw | Join the Discord (plutonium) for NEWS and Updates!
                          Server CelliXz | TDM | will load dedicated.cfg and listen on port 4976 UDP!
                          To shut down the server close this window first!
                          2022-05-22_17:39:18 CelliXz | TDM | server started.
                          002c:err:winediag:getaddrinfo Failed to resolve your host name IP
                          0050:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
                          0050:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
                          0050:err:systray:initialize_systray Could not create tray window
                          Loading fastfile code_pre_gfx_mp
                          0024:err:system:NtUserChangeDisplaySettings Restoring all displays to their registry settings returned -1.
                          [DW][Auth] Handling authentication request...
                          0024:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
                          0024:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.

                          And idea how i can fix this?

                          nocat.undefined Offline
                          nocat.undefined Offline
                          nocat.
                          wrote on last edited by
                          #55

                          CelliXz I am also getting this error, did you end up finding a way around it?

                          flopanaundefined 1 Reply Last reply
                          0
                          • nocat.undefined nocat.

                            CelliXz I am also getting this error, did you end up finding a way around it?

                            flopanaundefined Offline
                            flopanaundefined Offline
                            flopana
                            wrote on last edited by
                            #56

                            @nocat Had the same problem

                            apt install xvfb
                            echo -e 'export DISPLAY=:0' >> ~/.bashrc
                            source ~/.bashrc
                            Xvfb $DISPLAY -screen 0 1024x768x16 &
                            

                            But im stuck here

                            Plutonium r3043> ^7Loading fastfile code_pre_gfx_mp
                                             ^7[STEAM] 1 calls ready, running...
                                             ^7[STEAM] running call 1
                                             [DW][Auth] Handling authentication request...
                            

                            There is no heartbeat send and i cant find my server online

                            flopanaundefined 1 Reply Last reply
                            0
                            • flopanaundefined flopana

                              @nocat Had the same problem

                              apt install xvfb
                              echo -e 'export DISPLAY=:0' >> ~/.bashrc
                              source ~/.bashrc
                              Xvfb $DISPLAY -screen 0 1024x768x16 &
                              

                              But im stuck here

                              Plutonium r3043> ^7Loading fastfile code_pre_gfx_mp
                                               ^7[STEAM] 1 calls ready, running...
                                               ^7[STEAM] running call 1
                                               [DW][Auth] Handling authentication request...
                              

                              There is no heartbeat send and i cant find my server online

                              flopanaundefined Offline
                              flopanaundefined Offline
                              flopana
                              wrote on last edited by flopana
                              #57

                              flopana Update

                              I've got it now running and sending heartbeats (I forgot to add the symlinks). But for some reason the server always tries to load a _rank.gsc which doesn't exist and throws an error

                              Setting net_port to "4976" from command line.
                              bound socket to localhost:4976
                              Loading fastfile patch_ui_mp
                              Loading fastfile ui_mp
                              Loading fastfile ffotd_tu13_mp_147
                              Loading fastfile common_mp
                              Loading fastfile common_patch_mp
                              scanning for plugins...
                              Rotating to map "mp_dockside"!
                              server is changing maps, resetting stored team states...
                              Sending heartbeat...
                              Loading fastfile dlc0_load_mp
                              Loading fastfile dlc1_load_mp
                              Loading fastfile dlc2_load_mp
                              Loading fastfile dlc3_load_mp
                              Loading fastfile dlc4_load_mp
                              Loading fastfile dlc0dd_load_mp
                              Loading fastfile seasonpass_load_mp
                              Loading fastfile mp_dockside
                              Loading fastfile faction_seals_mp
                              Loading fastfile faction_pla_mp
                              Heartbeat successful.
                              
                              
                              **** 1 script error(s):
                              **** Unresolved external :  "totalplayercount" with 0 parameters in "maps/mp/gametypes/_rank.gsc" at line 1 ****
                              
                              
                              Synthundefined 1 Reply Last reply
                              0
                              • flopanaundefined flopana

                                flopana Update

                                I've got it now running and sending heartbeats (I forgot to add the symlinks). But for some reason the server always tries to load a _rank.gsc which doesn't exist and throws an error

                                Setting net_port to "4976" from command line.
                                bound socket to localhost:4976
                                Loading fastfile patch_ui_mp
                                Loading fastfile ui_mp
                                Loading fastfile ffotd_tu13_mp_147
                                Loading fastfile common_mp
                                Loading fastfile common_patch_mp
                                scanning for plugins...
                                Rotating to map "mp_dockside"!
                                server is changing maps, resetting stored team states...
                                Sending heartbeat...
                                Loading fastfile dlc0_load_mp
                                Loading fastfile dlc1_load_mp
                                Loading fastfile dlc2_load_mp
                                Loading fastfile dlc3_load_mp
                                Loading fastfile dlc4_load_mp
                                Loading fastfile dlc0dd_load_mp
                                Loading fastfile seasonpass_load_mp
                                Loading fastfile mp_dockside
                                Loading fastfile faction_seals_mp
                                Loading fastfile faction_pla_mp
                                Heartbeat successful.
                                
                                
                                **** 1 script error(s):
                                **** Unresolved external :  "totalplayercount" with 0 parameters in "maps/mp/gametypes/_rank.gsc" at line 1 ****
                                
                                
                                Synthundefined Offline
                                Synthundefined Offline
                                Synth
                                wrote on last edited by
                                #58

                                flopana How did you fix this?

                                flopanaundefined 1 Reply Last reply
                                0
                                • Synthundefined Synth

                                  flopana How did you fix this?

                                  flopanaundefined Offline
                                  flopanaundefined Offline
                                  flopana
                                  wrote on last edited by
                                  #59

                                  Synth How did I fix what?

                                  1 Reply Last reply
                                  0
                                  • DoctorCoctorundefined Offline
                                    DoctorCoctorundefined Offline
                                    DoctorCoctor
                                    wrote on last edited by
                                    #60

                                    I had as couple other unresolved externals, but i could get the server up and running, just not connect to it. (awaiting connection ... xx) then booted out to lobby. Even after updating plutonium using the plutonium-updater executable, same problem.

                                    lukypundefined 1 Reply Last reply
                                    1
                                    • DoctorCoctorundefined DoctorCoctor

                                      I had as couple other unresolved externals, but i could get the server up and running, just not connect to it. (awaiting connection ... xx) then booted out to lobby. Even after updating plutonium using the plutonium-updater executable, same problem.

                                      lukypundefined Offline
                                      lukypundefined Offline
                                      lukyp
                                      wrote on last edited by
                                      #61

                                      DoctorCoctor Same issue

                                      1 Reply Last reply
                                      0
                                      • lukypundefined Offline
                                        lukypundefined Offline
                                        lukyp
                                        wrote on last edited by lukyp
                                        #62

                                        Ok looks like the issue is only with T6 Server, I manually created a server by myself and it works.
                                        Just make sure to create in the %localappdata% wine folder, the right server files, the right permissions, etc.

                                        Oh, and use winehq-stable, not staging, as it looks like there are some regressions.

                                        I did a lot of trial&error since I did not know where to put everything but okay.

                                        Edit: Dedicated.cfg must be put under rootgamefiles/main, otherwise is not being read somehow...

                                        Idk why?

                                        c933f375-5b09-45ec-9bdd-d99fbad0b22a-image.png

                                        23708f55-3501-422c-bb2b-c6c88e201e06-image.png

                                        1 Reply Last reply
                                        1
                                        • olie304undefined olie304

                                          Thanks for putting this all in one spot, I have been running a server on a AWS free tier box and it seems to be holding up just fine. 👍

                                          GhostieSpookundefined Offline
                                          GhostieSpookundefined Offline
                                          GhostieSpook
                                          wrote on last edited by
                                          #63

                                          olie304 I know this is a year later but how well did the AWS hold and if it did good what one did you use?

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • Login

                                          • Don't have an account? Register

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