pg9182 / northstar-dedicated

Docker image for the Northstar dedicated server.
https://ghcr.io/pg9182/northstar-dedicated
zlib License
101 stars 17 forks source link

Game wont initialize #31

Closed blockbuster206 closed 2 years ago

blockbuster206 commented 2 years ago

I copied the files from a install of Titanfall 2 and slimmed it down, I made sure that I didn't remove any of the file that I wasn't supposed to remove. The dedicated server is stuck on "Loading the game..." and I have no idea how to make it work, I read a reddit post saying that I have to launch the game but I cannot do that.

Log:

1-tf2.0.11.0: Pulling from pg9182/northstar-dedicated
Digest: sha256:918c8d69ce10d13d30ca87913dcf5ded36dc0226757cb56321707e6a4d940eb9
Status: Image is up to date for ghcr.io/pg9182/northstar-dedicated:1-tf2.0.11.0
Northstar Dedicated Server - Docker (hostname: f29b2e1539d3)

    https://northstar.tf
    https://northstar.tf/discord
    https://github.com/R2Northstar/Northstar
    https://github.com/pg9182/northstar-dedicated

Merging files...

    Bind mounts:
        /mnt/titanfall ext4 ro,relatime,discard

Merging configuration...

    Extra arguments:
        -port
        37015
    Config:
        +base_tickinterval_mp "0.016666667" (from default)
        +everything_unlocked "1" (from default)
        +host_skip_client_dll_crc "1" (from default)
        +net_chan_limit_mode "2" (from default)
        +net_chan_limit_msec_per_sec "100" (from default)
        +net_data_block_enabled "0" (from default)
        +ns_auth_allow_insecure "0" (from default) (NS_INSECURE)
        +ns_erase_auth_info "1" (from default)
        +ns_masterserver_hostname "https://northstar.tf" (from default) (NS_MASTERSERVER_URL)
        +ns_player_auth_port "8081" (from default) (NS_PORT_AUTH)
        +ns_report_server_to_masterserver "1" (from default) (NS_MASTERSERVER_REGISTER)
        +ns_report_sp_server_to_masterserver "0" (from default) (NS_MASTERSERVER_REGISTER)
        +ns_server_desc "" (from env:NS_SERVER_DESC) (NS_SERVER_DESC)
        +ns_server_name "[AUS] Sam" (from env:NS_SERVER_NAME) (NS_SERVER_NAME)
        +ns_server_password "" (from default) (NS_SERVER_PASSWORD)
        +ns_should_return_to_lobby "1" (from default)
        +sv_max_snapshots_multiplayer "300" (from default)
        +sv_minupdaterate "20" (from default)
        +sv_querylimit_per_sec "15" (from default)
        +sv_updaterate_mp "20" (from default)

Starting Northstar...
nswrap: a78158a513220f6529cbab613f8ffcc88b8714f6b57895b10462240ec2f2f494
nswrap:
nswrap: config
nswrap:   PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
nswrap:   HOME=/home/northstar
nswrap:   USER=(null)
nswrap:   HOSTNAME=f29b2e1539d3
nswrap:   DISPLAY=xvfb
nswrap:   WINEPREFIX=/home/northstar/.wine
nswrap:   WINEDEBUG=(null)
nswrap:   WINESERVER=(null)
nswrap:
nswrap: system info:
nswrap:   kernel: Linux f29b2e1539d3 5.13.0-1023-azure #27~20.04.1-Ubuntu SMP Mon Apr 25 22:39:07 UTC 2022 x86_64
nswrap:   processor: 2 cores
nswrap:   memory: 8340144128 total, 1530220544 free, 1097728 shared, 28057600 buffer
nswrap:   swap: 0 total, 0 free
nswrap:
nswrap: using WINEDEBUG='fixme-secur32,fixme-bcrypt,fixme-ver,err-wldap32'
nswrap: warning: currently, at least 3 cores are required, but only 2 were found
nswrap: starting xvfb
nswrap: xvfb started on display :0 with pid 14
nswrap: starting wine
002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (2).
[*] Loading stubs
[*]   Loading GFSDK_SSAO.win64.dll
[*]   Loading GFSDK_TXAA.win64.dll
[*]   Loading d3d11.dll
[*] Loading tier0.dll
[*] Loading Northstar
[2022-05-15 02:12:47.937] [info] Profile was not found in command line arguments. Using default: R2Northstar
0024:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems
0024:err:winediag:ntlm_check_version ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0024:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems
[02:12:47] [info] Enabling hook GetCommandLineAHook
[02:12:47] [info] Enabling hook LoadLibraryExAHook
[02:12:47] [info] Enabling hook LoadLibraryAHook
[02:12:47] [info] Enabling hook LoadLibraryExWHook
[02:12:47] [info] Enabling hook LoadLibraryWHook
[02:12:47] [info] Command line: "Z:\tmp\ns2258892549\NorthstarLauncher.exe" -dedicated -port 37015 +setplaylist private_match
0024:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (00000000007CF100 1 C) semi-stub
[02:12:47] [info] NorthstarLauncher version: 1.7.0.0
[02:12:48] [warning] Could not find any plugins. Skipped loading plugins
[*] Loading launcher.dll
[*] Launching the game...
nswrap: warning: watchdog: watchdog did not receive enough title updates for initialization: only received 0/10 initial ticks less than 60s apart within 240s
pg9182 commented 2 years ago

You don't have enough cores. Northstar currently requires 3.

blockbuster206 commented 2 years ago

Oh really? Well thanks for letting me know. I was scratching my head for hours trying to figure out why it wasnt working, and all along it was my core count.