unixoide / 5th-echelon

https://unixoide.github.io/5th-echelon/
76 stars 2 forks source link

Cannot Download Latest Multiplayer Data #27

Closed souhaibHadded03 closed 2 months ago

souhaibHadded03 commented 2 months ago

everything works, i launch the server then the game using the launcher, after setting the adress and everything of course, but i can't connect online i get the cannot download latest multiplayer data error :(

gsergeantGTHB commented 2 months ago

Same problem, ports forwarded and all but nothing, probably something missing from the instructions, idk if 127.0.0.1 even works, not sure what i should put in config server field and api server field on launcher

souhaibHadded03 commented 2 months ago

Same problem, ports forwarded and all but nothing, probably something missing from the instructions, idk if 127.0.0.1 even works, not sure what i should put in config server field and api server field on launcher

If you check the usage he says to replace that 127.0.0.1 woth your actual ip adress, for it to work, i did that but i still get the error for some reason, tgere should be something we're missing cause he already tested this, we should at least be able to get to the online menu

gsergeantGTHB commented 2 months ago

Maybe he knows and can show us how, instructions are a bit vague. back when servers were still partially working we used to just keep trying until the game let us get past this error.

EDIT: changed adapter to loopback pseudo interface and the game just quit, every adapter except main is disabled.

souhaibHadded03 commented 2 months ago

Maybe he knows and can show us how, instructions are a bit vague. back when servers were still partially working we used to just keep trying until the game let us get past this error.

I guess we have to wait for a reply, i think for this kind of servers it shouldn't take so many retries to connect, but who knows, let's wait for an explanation for now, I'm optimistic that this will end up working fine

unixoide commented 2 months ago

Sorry for the problems. I only have my machine to test with, so it is easy to forget something important after working on it for such a long time.

Can you try this and report back if it works (assuming the server runs on the same machine as the game):

  1. Replace all IP addresses in the service.toml file (was generated by the server) with 127.0.0.1
  2. Also use 127.0.0.1 in the launcher
  3. Use the DX9 game (this is important)

This should allow you to connect and start MP games fine, but no one else will be able to connect (as everything is local). Just to ensure that it generally works.

If this works fine, we know that it might be networking/config issue.

unixoide commented 2 months ago

Also, can you upload the log files? One is server.log.json next to the server binary, the other bl-tracing.log in the games src/SYSTEM directory. Maybe I can find the issue there.

souhaibHadded03 commented 2 months ago

Sorry for the problems. I only have my machine to test with, so it is easy to forget something important after working on it for such a long time.

Can you try this and report back if it works (assuming the server runs on the same machine as the game):

  1. Replace all IP addresses in the service.toml file (was generated by the server) with 127.0.0.1
  2. Also use 127.0.0.1 in the launcher
  3. Use the DX9 game (this is important)

This should allow you to connect and start MP games fine, but no one else will be able to connect (as everything is local). Just to ensure that it generally works.

If this works fine, we know that it might be networking/config issue.

So i tried this, unfortunately i get the same error even when connecting locally, still not sure if it's a problem from our side or something is missing in the server itself, either way no need to appologize thank you for trying to save this game, i'm optimistic that this will be working very soon :)

souhaibHadded03 commented 2 months ago

Also, can you upload the log files? One is server.log.json next to the server binary, the other bl-tracing.log in the games src/SYSTEM directory. Maybe I can find the issue there.

Sure, i tried 10 times lol, so here are all the log files along with the modified service.toml that you asked us to modify to connect locally and see if the prblem is in our config [Uploading 5th-echelon.zip…]() EDIT: For some reason i uploaded the file but it can't be downloaded, i will sent it to you on your email instead UPDATE: Check Your Email You'll find a zip containing all logs, and the service.tom with all adresses changed to local 127.0.0.1, and also the bl tracing log

unixoide commented 2 months ago

Oh, I indeed forgot to include something in the zip file 🤦 can you create a folder data next to the server binary and put this file in it: https://github.com/unixoide/5th-echelon/blob/main/data/mp_balancing.ini

Then try again

souhaibHadded03 commented 2 months ago

Oh, I indeed forgot to include something in the zip file 🤦 can you create a folder data next to the server binary and put this file in it: https://github.com/unixoide/5th-echelon/blob/main/data/mp_balancing.ini

Then try again Once i get home i will try this and reach out to you again, thank you for your time and effort

souhaibHadded03 commented 2 months ago

Oh, I indeed forgot to include something in the zip file 🤦 can you create a folder data next to the server binary and put this file in it: https://github.com/unixoide/5th-echelon/blob/main/data/mp_balancing.ini

Then try again

Update:i just tried this and finally it's working i was able to connect to online mode successfully, so thank you so much for all this effort i hope i can help you to keep improving this by providing feedback and Wireshark recprds if that helps IMG_20240604_170738