Coder Social home page Coder Social logo

Comments (17)

Mydayyy avatar Mydayyy commented on July 25, 2024

Greetings,

I am already investigating the update breaking the mod.

In addition to those 2 logs - could you uppload your .mod.serversidemap.explored file which you'll find along the world save?

That file includes your exploration progress as well as the pin markers.

Best Regards
Mydayyy

from valheim-serversidemap.

GhostParticle avatar GhostParticle commented on July 25, 2024

Is this the file you need, if not let me know. Thank You

Had to upload in .zip file as it would not let me upload the type of file. If it doesn't unpack correctly let me know and ill repack it.

ServerMap.zip

from valheim-serversidemap.

Mydayyy avatar Mydayyy commented on July 25, 2024

Greetings,

could you test one thing:

Remove the SimpleRecycling Mod and try again? Scratch that, shouldn't be the issue
Also can you recheck that the clientside as well as serverside bepinex config has pins enabled?

Cheers

from valheim-serversidemap.

GhostParticle avatar GhostParticle commented on July 25, 2024

I did remove the other mod (client and server side) and restarted the server and retried, same issue, FYI.

I checked both configs and ill post them as well.
Configs.zip

from valheim-serversidemap.

Mydayyy avatar Mydayyy commented on July 25, 2024

Sorry for all those questions, I am trying to reproduce the issue but so far I have failed. Your map seems to work with my client.

One other interesting question to try to locate it further:

Inside your server log, the last logged connected player was at [Info : Unity Log] 04/18/2021 10:39:52:

while inside your client log the most recent connection is from [Info : Unity Log] 04/19/2021 17:31:58

Could it be that there is something missing from the server log? I am trying to see whether the server still sends the pins and the client ignores them or the server does not send them at all

Best Regards

from valheim-serversidemap.

GhostParticle avatar GhostParticle commented on July 25, 2024

My friend may have connected late last night but i was not around for that, so its possible. I disconnected last night around 1930ish. I relogged on today for the first time at the 1731 mark. So i wonder if its not seeing my player instance on the server for some reason. Let me do some troubleshooting from my end on that and i will get back with you tomorrow, time is limited for me. If you can think of anything to look for it would be very much appreciated. I do appreciate you looking at this with me.

from valheim-serversidemap.

Mydayyy avatar Mydayyy commented on July 25, 2024

I appreciate that.

Well, the good news is that the map file is not corrupt and all the pins (96 if we count them) are there, just a matter of finding out why they are not send.

The two most important lines regarding pins are:

Server log:
[Info :ServerSideMap] Packing pins: X

Client log:
[Info :ServerSideMap] Client received initial pin data by server. Pins: X

Depending on whether both or only one is missing we can infer whether the server is sending pins and the client ignores them, or the server does not send them at all. For this we just need to look at the server logs from an connection attempt.

Since the latest connection attempt you made does not appear inside the server log, two reasons I can think of:

  • The server never received the attempt (E.g did you accidentally connect to a local world, wrong server? Happened to me already)
  • The logs from the server were not flushed to file

I'll be heading to bed now, feel free to post an update I will check back asap

Best Regards
Mydayyy

from valheim-serversidemap.

GhostParticle avatar GhostParticle commented on July 25, 2024

So, after digging around a bit, I decided to try a few things.

  • deleted both client and server side mod including config file, did not delete the actual map file
  • re-uploaded updated version of the mod (client and server) and ran the game
  • closed out game and updated config file on client
  • server side never re-created config file
  • deleted both server and client mods, re-loaded game
  • added both server and client mods, re-loaded game
  • map still not showing and server did not create config file

at this point i'm at a loss, its almost like the server is not recognizing the mod or something
Files.zip

from valheim-serversidemap.

Mydayyy avatar Mydayyy commented on July 25, 2024

Greetings,

server not creating config file really sounds like the mod is just not loaded.

The server log you attached has the last entry which is
[Info : Unity Log] 04/19/2021 17:21:38: clone 566

Any chance you have the most recent logfile which also includes the most recent servers startups? Most interestingly would be to include a server starting up to see whether bepinex/ssm is still correctly loaded, I would guess it is not right now.

Cheers
Mydayyy

from valheim-serversidemap.

GhostParticle avatar GhostParticle commented on July 25, 2024

Well, this has been fun. If I wasn't an IT Professional I would have never gotten this fixed. The issue wasn't your mod, it was the server. I ended up nuking all of the mods including the framework and re-installing everything fresh. That didn't work off the start. Then I noticed that my worlds file had multiple .db files and I'm not sure which was breaking it, but I ended up deleting the ones I felt were not working. Good news is, I now have my map back, so that part is now working as intended. Bad news is for some reason I lost all of my current inventory, including my wishbone :-( .... I lost that before even deleting the .db files.

So, as it stands, its working correctly again at no fault of you or your mod. Just a glitch somewhere in the instance connections of the files. I really do appreciate all of your work creating the mod and the help you have provided me during this. You can close this out now. And again, thank you very much.

from valheim-serversidemap.

Mydayyy avatar Mydayyy commented on July 25, 2024

Greetings,

glad you could resolve it.

One world save is represented by one .db and as well as .fwl file containing metadata about the world. So if you for example rename them incorrectly, it might be that you spawn in a world that looks exactly like your old world, but is missing any progress.

The character save and inventory is not stored on the world at all, those are clientside and live in a separate file / location. So its a bit puzzling that your character lost items while your were taking care of the world issues. In any case, if you want, there are already character/inventory editors out there that could give you your wishbone back.

In any case, I'll be closing this here, thanks for the final update :)

Cheers
Mydayyy

from valheim-serversidemap.

labmonkey avatar labmonkey commented on July 25, 2024

Well, this has been fun. If I wasn't an IT Professional I would have never gotten this fixed. The issue wasn't your mod, it was the server. I ended up nuking all of the mods including the framework and re-installing everything fresh. That didn't work off the start. Then I noticed that my worlds file had multiple .db files and I'm not sure which was breaking it, but I ended up deleting the ones I felt were not working. Good news is, I now have my map back, so that part is now working as intended. Bad news is for some reason I lost all of my current inventory, including my wishbone :-( .... I lost that before even deleting the .db files.

So, as it stands, its working correctly again at no fault of you or your mod. Just a glitch somewhere in the instance connections of the files. I really do appreciate all of your work creating the mod and the help you have provided me during this. You can close this out now. And again, thank you very much.

@GhostParticle As I am having same issue could you tell me what did you do exactly in the server? Did you delete all the .db files but left only the most recent one? Is that all? And then when you logged you had your world with whole progress and the pins started working again? (Not asking here about that your character lost items because I suppose thats a different issue).

Also one more thing. I suppose that after all of this the server will start recreating the files? Did the issue happen again after that? Or so far you are good?

from valheim-serversidemap.

GhostParticle avatar GhostParticle commented on July 25, 2024

@labmonkey , Check the file dates before deleting any, make sure you use one that is close to the date you want. Mine had about 6 different files, some had .old and .new next to them, I ended up deleting all but the original because it had the most MBs and correct date. Once i did that i spun up the server and it ended up creating another .db file that i had to go and re-delete. Just make sure you save the files first before deletion just in case. If you delete all the files to let it re-create it will lose all progress in the world so make sure you keep at least 1 .db file and 1 .fwl file. But once i got to a point where it had only 1 .db and 1 .fwl file while it was running, all the map pins seemed to come back. Hopefully this helps. Let me know if you have any more questions.

from valheim-serversidemap.

Mydayyy avatar Mydayyy commented on July 25, 2024

Might want to just simply zip the entire save folder as a backup before proceeding, just as a safety measure

Cheers
Mydayyy

from valheim-serversidemap.

labmonkey avatar labmonkey commented on July 25, 2024

Actually what I did was to stop the server, move all those .db and .fwl files away to another directory besides the most recent one, start thbe server (it recreated some), stop the server again and override those files with those I just moved away, start the server. So it seems that server has rebuilt something while those files were away.

from valheim-serversidemap.

labmonkey avatar labmonkey commented on July 25, 2024

@GhostParticle Did this issue happen to you again? Because for me after deleting and replacing files it actually happened again some time later. If it did not happen to you then maybe I should just delete and not replace them just like you did...

from valheim-serversidemap.

GhostParticle avatar GhostParticle commented on July 25, 2024

@GhostParticle Did this issue happen to you again? Because for me after deleting and replacing files it actually happened again some time later. If it did not happen to you then maybe I should just delete and not replace them just like you did...

I have not had any additional issues since the original. But yes i deleted unused .db and .fwl files completely and only kept the ones i knew were the ones i wanted.

from valheim-serversidemap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.