Versions: newest versions of both
Networking: port forwarding
Description: while trying to install a dedicated server im getting an error that says a patch in sptcustomplugin failed the type initializer for spt.custom.easyassetspatch threw an exception subsequent patches have not loaded
#installing dedicated server
99 messages · Page 1 of 1 (latest)
@lament stratus please attach any applicable log files and mod lists while waiting for help!
there are no mods installed as this is a new install for the fika dedicated server
[Error :SPT.Custom] A PATCH IN SPTCustomPlugin FAILED. SUBSEQUENT PATCHES HAVE NOT LOADED
[Error :SPT.Custom] SPTCustomPlugin: System.TypeInitializationException: The type initializer for 'SPT.Custom.Patches.EasyAssetsPatch' threw an exception. ---> System.BadImageFormatException: Could not resolve field token 0x04000004, due to: Could not load type of field 'SPT.Reflection.Utils.PatchConstants:_backEndSession' (10) due to: Could not resolve type with token 01000010 (from typeref, class/assembly ISession, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null) assembly:Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null type:ISession member:(null) signature:<none> assembly:D:\SPT Server\BepInEx\plugins\spt\spt-reflection.dll type:PatchConstants member:(null) signature:<none>
at SPT.Custom.Patches.EasyAssetsPatch..cctor () [0x00000] in <b688b79dfa8e47c69c0abbc5c464e98a>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
at SPT.Custom.SPTCustomPlugin.Awake () [0x00010] in <b688b79dfa8e47c69c0abbc5c464e98a>:0
that is the entire error message
Dedicated server or client?
The error you threw is related to EFT being launched.
IIRC the most common issue of this specific thing is when client getting stuck on loopback, aka you try to connect your SPT server that is in local machine by using external IP.
this is dedicated server setup on the same machiene ill be playing on
for my friends to join that one
Can you just show up your setup and guide you're following?
yeah
PSA: ONLY install AI mods (SAIN, Waypoints, etc.) on the Server install.
Do NOT install AI mods on the Client install.
All other mods are safe to install on the Client install.
If you wish to join the optimization megathread (where this video came from) and provide feedback (not required), click this link: https://discord.com/channels/87568476...
thats the guide
and what do you mean by setup
like how i have spt installed?
is it maybe because i have both my client and server installed into the same directory?
there not in the same folder just both on my d drive
So, the guide you dropped is for Dedicated Client.
It is an optional thing and not really intended to be used within same machine.
The issue you have is most likely relevant to your network settings within Dedicated Client.
we want the dedicated because 2 people cannot access there port forwarding settings so theyd be able to host raids as well the dedicated made it so they dont have to edit there port forwarding
like there isps dont allow them to access there modems
Dedicated Client should be as a separate folder from your usual Client, because it is supposed to run different set of plugins, including dedicated plugin, SPT installation may not matter in this aspect, you can run from either of installations or have the server structure installed independently (if you know how).
Anyway, back to my main concern - which ip you use to connect dedicated to SPT server?
i cant even get to the point of connnecting to the server it throws that error before the dedicated ever even start
this video explained that i have to use my ipv4
not my public ip for the dedicated side
but when i got to connect since its local i have to use 127.0.0.1
at least thats how i understood it from the guide
the normal server runs but when i try to start the dedicated it throws that error
im gonna try to just do a reinstall on a different drive and see if that changes anything
Alrite, show your dedicated settings and server settings you've set.
Changing drive defo won't change a thing.
dang well ill lyk when i get back to that issue i kinda jumped the gun to quick my b
its already done installing spt so should only be like 5 min till i get back to that
smh
yeah im an ass i know lol
what's the point of asking for help if you act regardless
i apologize i jumped the gun to quick
In your case you do need to leave it on 127.0.0.1.
Meanwhile, guide exist with FAQ related to it
#1267842049357643837 message
With exact issue of yours
^
I should've looked there in the first place, oh well
all good g i just got back to that issue any way
thank you for peeping that ill correct that now
i changed that and im still getting the same error
Well then we're back to square one huh?
the last thing its asking for before it throws that code is spt.custom
#1290175641211113578 message
Albeit surprising it did worked for a user within same setup.
Anyway, you still haven't provided the settings you have.
What did you set in fika server config and dedicated fika core settings?
and do not use phone for screenshots, you have PC for that
I did exactly what the guide told me I'll send screenshots of both
fika settings
Well, start with having 0.0.0.0 in both.
Second, you could have just dropped the files here instead of screenshoting the piece of them
because i cannot see what ip you took in scripts zone
@lament stratus, that file extension is not allowed! 
Allowed extensions: .png, .jpeg, .webp, .gif, .mp4, .webm, .mp3, .wav, .json, .txt, .log
If your text files are being rejected, verify that the charset is 'utf-8'
Huh, lul
it tried to, but jsonc is blocked by the bot, lul
Alrite, guess we're back to pics, just send the rest of the thing.
Ok, as being said by the guide.
set to 127.0.0.1, and in http.json - set Backend IP to 0.0.0.0
restart everything, run the server, run the dedi
so in fika.jsonc put that as 127.0.0.1
For now, yeah.
should i also restart the pc?
no
kk
I feel like i'm 911 operator
so still the same error
Did you changed http.json as well and restarted SPT server?
yeah
Ok, IIRC there should be a .bat file with launch options, including IP.
What settings did you set there?
the only .bat file i see is for the dedicated server start
DEDICATED CLIENT.
The names are confusing but you gotta call things what they are
is there supposed to be another batch file
No, that one bat you're supposed to run to get dedicated client going.
I'm just not sure should you change it or not, since i'm not accustomed with dedicated setup, plus as i said before - you weren't suppose to run it on same machine.
The guide you follow also made for 2 machines.
i have another pc i use for servers its just underpowered for a tarkov client
its a mini pc so intergrated gpu not gonna run this game the right way i already had a server for fika on it just not dedicated
this dedicated stuff is a handfull ngl and thank you for being patient with me
Eh fuck it, i need to see whole setup to form a picture of what is the cause.
Let's go to VC
kk
Ticket solved: User did not split dedicated and main copy.