Make-Tarkov-Great-Again/MTGA-JS

No game launch from Web Gui

ASAPxCATZ opened this issue · 15 comments

I have followed all steps in the preparing your client guide and installing and running the server on windows and am able to get the server going and the web Gui to come up, I made an account and hit start tarkov but nothing happens. I get the following terminal readout in both VS code and Command prompt ( both ran as admin )

[SUCCESS] 2023-01-10 00:25:01 [WEBINTERFACE] Constructed
[SUCCESS] 2023-01-10 00:25:01

▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄ ▄▄▄ ▄▄ ▄▄ ▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄ ▄
▄ ▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄ ▄
▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄
▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄ ▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄ ▄
▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄ ▄▄▄▄▄ ▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄ ▄
▄ ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄ ▄▄▄▄ ▄
▄ ▄
▄ ▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄

[SUCCESS] 2023-01-10 00:25:02 Profile Database Loaded
[INFO] 2023-01-10 00:25:02 Loaded account data for profile: 63bc9fb6e23cdd0d980030d2
[19:25:02.541] INFO (13996): Server listening at https://127.0.0.1:443
[DEBUG] 2023-01-10 00:25:10 [WEBINTERFACE] Found sessionID cookie: 63bc9fb6e23cdd0d980030d2
[DEBUG] 2023-01-10 00:25:10 [WEBINTERFACE] Reading base file: ./assets/templates/webinterface/base.html
[19:25:10.916] INFO (13996): incoming request {"reqId":"req-1","req":"[GET] /"}
[19:25:10.931] INFO (13996): request completed {"reqId":"req-1","res":"200","responseTime":14.67249999998603}
[19:25:10.943] INFO (13996): incoming request {"reqId":"req-2","req":"[GET] /resources/dist/css/bootstrap.min.css"}
[19:25:10.943] INFO (13996): incoming request {"reqId":"req-3","req":"[GET] /resources/navbar-top-fixed.css"}
[19:25:10.944] INFO (13996): incoming request {"reqId":"req-4","req":"[GET] /resources/dist/js/bootstrap.bundle.min.js"}
[19:25:10.944] INFO (13996): incoming request {"reqId":"req-5","req":"[GET] /resources/webinterface.js"}
[19:25:10.946] INFO (13996): request completed {"reqId":"req-3","res":"200","responseTime":2.4428000000771135}
[19:25:10.947] INFO (13996): request completed {"reqId":"req-5","res":"200","responseTime":3.5364999999292195}
[19:25:11.054] INFO (13996): request completed {"reqId":"req-4","res":"200","responseTime":110.73159999994095}
[19:25:11.258] INFO (13996): request completed {"reqId":"req-2","res":"200","responseTime":315.32620000001043}
[DEBUG] 2023-01-10 00:25:13 [WEBINTERFACE] Found sessionID cookie: 63bc9fb6e23cdd0d980030d2
[DEBUG] 2023-01-10 00:25:13 [WEBINTERFACE] Launching EscapeFromTarkov.exe...
[DEBUG] 2023-01-10 00:25:13 [WEBINTERFACE] Reading base file: ./assets/templates/webinterface/base.html
[19:25:13.041] INFO (13996): incoming request {"reqId":"req-6","req":"[GET] /webinterface/weblauncher/start"}
[19:25:13.053] INFO (13996): request completed {"reqId":"req-6","res":"200","responseTime":11.018200000049546}
[19:25:13.068] INFO (13996): incoming request {"reqId":"req-7","req":"[GET] /resources/dist/css/bootstrap.min.css"}
[19:25:13.068] INFO (13996): incoming request {"reqId":"req-8","req":"[GET] /resources/navbar-top-fixed.css"}
[19:25:13.069] INFO (13996): incoming request {"reqId":"req-9","req":"[GET] /resources/dist/js/bootstrap.bundle.min.js"}
[19:25:13.069] INFO (13996): incoming request {"reqId":"req-a","req":"[GET] /resources/webinterface.js"}
[19:25:13.071] INFO (13996): request completed {"reqId":"req-8","res":"200","responseTime":2.922900000005029}
[19:25:13.071] INFO (13996): request completed {"reqId":"req-a","res":"200","responseTime":2.175500000012107}
[19:25:13.169] INFO (13996): request completed {"reqId":"req-9","res":"200","responseTime":100.73550000006799}
[19:25:13.375] INFO (13996): request completed {"reqId":"req-7","res":"200","responseTime":307.07579999999143}

I will also add that I am using the most current official client files copied to another directory and followed all prepare your client steps.

log from BEP

[Message: BepInEx] BepInEx 5.4.21.0 - EscapeFromTarkov (1/3/2023 8:24:08 PM)
[Info : BepInEx] Running under Unity v0.13.0.2153
[Info : BepInEx] CLR runtime version: 4.0.30319.42000
[Info : BepInEx] Supports SRE: True
[Info : BepInEx] System platform: Bits64, Windows
[Message: BepInEx] Preloader started
[Info : BepInEx] Loaded 1 patcher method from [BepInEx.Preloader 5.4.21.0]
[Info : BepInEx] 1 patcher plugin loaded
[Info : BepInEx] Patching [UnityEngine.CoreModule] with [BepInEx.Chainloader]
[Message: BepInEx] Preloader finished
[Message: BepInEx] Chainloader ready
[Message: BepInEx] Chainloader started
[Info : BepInEx] 1 plugins to load
[Info : BepInEx] Loading [MTGA 1.0.0]
[Info :MTGA.PatchConstants] MTGA:PatchConstants():Found GroupingType:GGroupManagement
[Info :MTGA.BotSystemHelpers] ProfileCreatorType:BotPresetClass
[Info :MTGA.BotSystemHelpers] LocationBaseType:SelectedLocation
[Info :MTGA.BotSystemHelpers] ProfileCreatorType:BotPresetClass
[Info :MTGA.BotSystemHelpers] LocationBaseType:SelectedLocation
[Info :MTGA.PatchConstants] FilterCustomization:GFilterCustomization1
[Info :MTGA.PatchConstants] C:\MTGA\MTGA client\EscapeFromTarkov.exe
[Error : MTGA] Plugin: System.NullReferenceException: Object reference not set to an instance of an object
at MTGA.PatchConstants.GetBackendUrl () [0x00015] in <47f8e26a36eb4d5cb2e20af37a01e3bf>:0
at MTGA.Plugin.Awake () [0x00002] in <47f8e26a36eb4d5cb2e20af37a01e3bf>:0
[Message: BepInEx] Chainloader startup complete

Try using develop branch backend, and the binaries from the latest release. https://github.com/Make-Tarkov-Great-Again/MTGA-Backend/tree/develop https://github.com/Make-Tarkov-Great-Again/MTGA-Binaries/releases/tag/21531-rc

Unfortunately this did not seem to work for me either. I am going to do a bit more investigating toady and will report back if i have any new findings.

Odd, latest everything (server/client binaries/client patch from Live EFT) works perfectly fine for me, you're able to actually go to the web-panel so it's not a networking issue.

Do you happen to have any external firewalls enabled? Or anything that would block the application from making connections?

If so, that might be worth looking into, try adding exclusions or turning any applicable firewalls off and see if that may change anything.

Another thing to note may be antiviruses, and anything else that may manipulate software connections/security.

Still working at the moment so I am unable to check right now but when I finish up I will double check all of the above and report back!

unfortunately that did not solve my problem. I'm over here scratching my head trying to figure out what I have done wrong. I have done fresh installs multiple times and in different locations as well. turned off windows defender firewall and no luck. server runs fine as far as i can tell, no errors. Just wont load the game when starting through the webgui. BEP generates its files and everything, mtga dll in plugins and replaced assembly dll in tarkov managed.

Have you attempted starting tarkov without the web-panel and see if it reports an error when it's not invoked by the web-panel? (Think there may also be tarkov logs, not just BEP? not entirely sure) This one's definitely beyond me in this case, cause I have no clue what it'd be otherwise, that's just wacky.

Below is the only error I get in the tarkov logs when manually running the .exe. not sure if this has to do with my issue or if this would be bypassed when launching from the server. One note, when manually launching the game does start then immediately closes, when launching from the server it does not even start the tarkov process as witnessed in task manager.

2023-01-10 17:32:04.656 -05:00|0.13.0.1.21531|Error|FilesChecker|Consistency ensurance failed. File size does not match. File: "EscapeFromTarkov_Data\Managed\Assembly-CSharp.dll". ElapsedMilliseconds:527

Yeah it's a checksum error, tarkov does that if files are modified (by default), or otherwise, I think it can also close if it doesn't detect a server available (e.g. it's no longer phoning tarkov, so therefor, it's nil).

I checked my client logs, it doesn't have any issues regarding filechecker, did you delete battleeye and stuff? I noticed that was giving me issues when I had deleted battleeye and other optional removals, and it caused issues with filechecker.

However, installing MTGA and not removing anything works perfectly fine as-is, and doesn't report any filechecker issues within my log files.

Definitely an installation issue, somehow.

hmm I have tried with and without deleting the optional files. That was actually one of my first troubleshooting steps i took before opening this ticket. lets try again, why not.

The issue primarily with removing things is it would cause tarkov to close prior to bepinex creating the files it needed, thus making bepinex un-installable, but if you somehow managed to get bepinex installed then I have no clue beyond that, that's the only issue I received when installing MTGA and solved it by simply just not removing anything from the tarkov copy lol.

ugh I feel cursed lol. I may just have to give up on MTGA for now and go back to AE. Bepinex seems to create its files the way it should.

it looks like patches didnt run properly are you using proper bepinex ?

  1. get Binaries (patch files a DLL file)
  2. get server
  3. https://github.com/BepInEx/BepInEx/releases/tag/v5.4.21 get this one depending on your PC x64 or x86 (but most likely x64...)
  4. get game files
  5. unpack bepinex ontop of the game
  6. put MTGA.dll into bepinex/plugins
  7. start server process with all it asks (installing certificate is required to start a game properly from a browser process can repeat after 3 days)
  8. 127.0.0.1 in browser
  9. create local account (doesnt rly matter what you type just to remember what you typed)
  10. locate game directory in settings then start game

closing this out as resolved. the only thing i didnt do was do a fresh reinstall of the official Tarkov and that seemed to fix my issue. thansk for all the help!