Well, i also realised i was wrong in multiple aspects, here you go, more detailed guide:
1) Prepare a setup, Install SPT on PC1 (That means install EFT with AKI on it)
2) Install AKI on PC2, you don't need game files for that.
3) On PC2 - Change IP and Port, IP is your internal one, you can check it via Win-x > System>Network>Adapter>Settings>Status, something like that, i have a different default language so i can't tell you exact names.
And any port, there is no firewall really in LAN, just don't go above limits, take a simple one, like 3456 or 7777, you may leave it as it is
4) Launch server in PC2, take generated certs from PC2 and put it in PC1 into user/certs, or maybe any folder you'll use next step on. (that's where i was wrong on previous post)
5) Use certutil as guided above
6) Run Launcher on PC1, get in settings, set up your URL, launch the game.
If it's that perfect it'll work, maybe it's not, it's all my assumptions, i don't have 2nd pc as of now to try, sorry.
Maybe someone will give you more detailed instructions on back-end side.
Posts by GhostFenixx
-
-
If it is possible:
You'd set your internal (not local) IP and any port in AkiConfig(If it worked) or in aki_data/database/server.json
I really don't know what you suppose to do with certificate, but i guess you need to make a folder in PC2, put a same certificate as server on PC1 has (it's in user/certs) and use windows utility to add it on PC2.Open Command Prompt (Windows key + R)
inside of it enter : certutil.exe -f -addstore Root <yourgamepath>\user\certs\cert.pem
Here's an example if you feel you need one:
certutil.exe -f -addstore Root D:\Games\Tarkov\user\certs\cert.pem In our case you can use any folder..i guess? no one is really informative sadly.
Start the server on PC1 and try to connect via PC2. -
Here's for Eresh(I bet she'll see this eventually):
You don't need those checks - (X !== Y) [if it's same - don't override it]
Because nothing would change, so why won't just not override in any case? [X = Y]
Except you want to add fancy Logger.log(); outs in server, not the case in your code, but i'll give you a tip, use 'try -catch'
Here, you know what to do with this.
DatabaseServer.tables.server.ip = Config.Server.ip
DatabaseServer.tables.server.port = Config.Server.portYou're welcome.
Turns out, server already writes the same thing intoitself like this
Inside src/server/HttpServer.js.
It won't work neither if you try to change value into HttpConfig or in DatabaseServer.tables.server.
So i bet it's impossible to write that value onto launched server(Because loading queue), and should be written manually beforehand. -
First of all, Eresh Config still doesn't override actual IP and PORT, because she still tries to override one from source configs rather the one Senko've made in database/server.json
Here's proof of my words
It was like that on previous versions, got removed, now she does the same again.
(Task Manager>Network>Netstat -an, no showings on my internal ip.)
So don't use AkiConfig, go straight to where Senko pointed out, can confirm it works.Second of all, i wouldn't be sure if i haven't tried myself.
It won't go past connect, I bet it's caused either because of certificates or because server can't handle external connections or because it requires a files within same system, i don't know, not even in guilded to know.
Maybe if you have a LAN network, you can try, but i highly doubt it'll work anyway
JET in another hand have servers for remote connections, yet those only rumours i heard. -
Not possible. There is no need for that either.
Server itself doesn't eat cpu power nor ram, if you want to transfer character between multiple PC's just make a cloud storage and throw profile there.
It's in user/profiles. -
I thought Senko cut off the tail with Chinese lads, my bad then, checked 'Rules" already and noticed same link.
-
Also, be advised you may be refused in help(or banned) if you use 3rd party downloaders.
I don't care, i'm not from moderation, but even i got stumped by the server.log -
Most likely you've generated certificate key and moved folder, or something else.
Solution:
1)Easy onein Gamefolder/user/certs delete both certs and keys
Launch server again with admin mode and try to play again, (getting in character menu is enough to look for server and see is notifier is still spamming)
2)Complicated one
Open Command Prompt (Windows key + R)inside of it enter : certutil.exe -f -addstore Root <yourgamepath>\user\certs\cert.pem
Here's an example if you feel you need one:
certutil.exe -f -addstore Root D:\Games\Tarkov\user\certs\cert.pem
Be advised CMD should run in admin mode to do the thing. -
game starts up but will not excute a full load in tried reinstalling nothing changed i do have one server error
SyntaxError: Unexpected token in JSON at position 0
at JSON.parse (<anonymous>)
at Function.deserialize (D:\SPT-AKI\obj\bundle.js:50770:17)
at Function.loadProfile (D:\SPT-AKI\obj\bundle.js:50556:49)
at Function.load (D:\SPT-AKI\obj\bundle.js:50537:18)
at Object.load [as aki-save] (D:\SPT-AKI\obj\bundle.js:41670:16)
at Function.load (D:\SPT-AKI\obj\bundle.js:50597:27)
at Function.main (D:\SPT-AKI\obj\bundle.js:40117:9)
at Object.142../Lib.js (D:\SPT-AKI\obj\bundle.js:40122:9)
at o (D:\SPT-AKI\obj\bundle.js:1:265)
at D:\SPT-AKI\obj\bundle.js:1:316
Profile got corrupted, most likely because of power outtage or some sorts of PC crash.
You can check by yourself by looking into it:
user/profile/longID.json
If it's empty, then it's dead.
Delete it, make a new one and you're good to go -
If you feel like you're 100% confident it's memory, sure, Then we have 2 issues on a single person, check the server logs.
Even if you manage to diagnose this issue, he would run into another.I bet you know how channel/create spam end up - Exactly buffer and out of memory issues, but i agree it's more of a hang rather crashes.
I'll go along solution of yours.
For stable gameplay you might need at least 16GB of RAM and setted Pagefile for at least half of your RAM settings, the more the better(but don't go more than 4x), preferably on SSD.
if you don't know what pagefile is Read about it on google, it's easier way than me trying to instruct you to it. -
Fresh Install, Online, and Crashes
look here at my posts. -
For addition, you can use certmgr.msc (via Win-R) to see if there certificate we need exists, the one you need goes with 127.0.0.1, should be in a second folder.
(might be helpful if you entered in certutil and want to check is it written ok)
Be advised, tinkering within certmgr is quite volatile, so i won't take any responsobility for any action you'll do there -
I wouldn't think you'll get much of a help with that huge mod list, this is not something someone could repro properly.
there is one repeatable error that goes in client with `Object reference is not an instance` blah-blah with that parent ID
5447bedf4bdc2d87278b4568 which stands for grenade launcher class IIRC that has any relation to this: 6b271382195647a2a6195ae3f04704d8So i would start looking for mod that add sort of GL and see if it's ok/up-to-date/remove it for a test.
Item with id [Nade] has not been found in FlatItemsToTree
Maybe this debug message will give you a hint.
I'd look for it in Profile and would try to remove 2nd id, see if it can be helped.
-
- [8584c8df4dba56d37a407ffb][127.0.0.1] /client/notifier/channel/create
- [8584c8df4dba56d37a407ffb][127.0.0.1] /client/notifier/channel/create
- [8584c8df4dba56d37a407ffb][127.0.0.1] /client/notifier/channel/create
This is the reason, your certificate gone borked, there is 2 options on how to solve this.
Lucky way or manual adding way.
Lucky way:
First, delete the files within gamefolder/user/certs/Second, launch the server in admin mode(it may require that to generate and sign a cert key)
To see is it actually fixed, enter the character page in the game (basically your inventory), if you see lines being spammed like the one at the start of this post in server terminal, then the issue still persists.The second solution should be in FAQ, but since Eresh didn't manage to look for it, to give you a solution i'll just post it here.
Manual add:Don't touch certs folder this time, be sure they are generated there (aka there is 2 files)
Open Command Prompt (Windows key + R)
inside of it enter : certutil.exe -f -addstore Root <yourgamepath>\user\certs\cert.pem
Here's an example if you feel you need one:
certutil.exe -f -addstore Root D:\Games\Tarkov\user\certs\cert.pem
Be advised CMD should run in admin mode to do the thing.If you're accustomed to the PC, but can't make CMD to work on admin mode for some reason, you can make a .bat file and run it via right click - run as admin.
hope it helps. -
Servers changes doesn't work on Aki Config as these changes are made after the server is launched.
Question is, why are they are there?
-
That explain why then, here's more info and possible solution.
By compiling server.exe myself with a change of port, it does listen to it, same with hex-editing value in existing server. -
Even more updates,
first of all, BackendUrl that being generated by Eresh mod goes nowhere since there is no variable for that in ConfigHttp, it's just exist iirc.
changing values via that mod shows on the server terminal that is changed, but by netstat in cmd it clearly doesn't, it still listening for classic 443. -
Aki-Configurator mod by ereshkigal, that's all you need to know.
But be advised, if you change port via config, launcher will refuse to connect.
Probably caused byhttps protocolvariable itself.
Since launcher doesn't take port for a connection, aka just 127.0.0.1 -
there is no client or backend logs.
Only application, errors, nvidia and traces.
https://codepaste.sp-tarkov.co…jkqzVK5s3dqWbYKryV1mThCWV Error one.
https://codepaste.sp-tarkov.co…vNhcpvMuznQXD8yiQYgWUAnbp Application one.
Nothing new in traces, since it repeats both error and application one in one file.
Edit 1:i saw thing above for too late, it's not really hijackin' since he posted same error in embed file
Edit 2: gonna do what Andrulis said, we'll see what's changed, yet having both official EFT and SPT is quite `irrational`
Edit 3: It did work when you have a separate official game, whoever thought it's a good idea never had issues with disk storage. -
Same issue here, New game, instead of copyin' live one i just changed the name folder then put aki in.
no issues on server logs,
On both error and traces the last line are this:0.12.10.1.11661|Info|backend|---> Request URL: https://127.0.0.1:443/client/game/start:
0.12.10.1.11661|Error|backend|<--- Error! URL: https://127.0.0.1:443/client/game/start, responseCode:0, error text: Unknown Error
0.12.10.1.11661|Error|backend|<--- Error! URL: https://127.0.0.1:443/client/game/start, responseCode:0, error text: Unknown Error
`Original (Live) version should still be present and it should not be edited in any way.` Is this really necessary now? had no issues on 10532.