Code Monkey home page Code Monkey logo

Comments (16)

SpikeHimself avatar SpikeHimself commented on May 26, 2024

Hi, thanks for reporting!

Please could you double check the log? It seems to cut off early:

image

from xportal.

BooMaLiCiOuS avatar BooMaLiCiOuS commented on May 26, 2024

Sorry about that. Here you go.
LogOutput.log

from xportal.

SpikeHimself avatar SpikeHimself commented on May 26, 2024

Thanks!

There are 3 things I can see that are going wrong:

  1. When XPortal loads you're getting a warning from HarmonyX. I'm not sure why this is happening, but I don't think this is related to the problem you are experiencing. I've had this message reported from one other player a few days ago, but I didn't get enough feedback to diagnose it properly. EDIT - This has now been fixed, see: #31

  2. As soon as a player joins, the server is trying to build a list of all portals so that it can send that to the player. This immediately goes wrong, because the server is failing to retrieve the portal colour (this is a new feature in the latest version and I am beginning to suspect that this doesn't work on dedicated servers).

    • This error is the root cause of your issue, as at this point XPortal "crashes" and does not continue with updating portals. Any future attempts will fail for the same reason.
  3. Immediately after this, you are getting an error from Valheim Plus. I can't say anything about that though, because I am not familiar with how Valheim Plus works.

Just to confirm, this was the logfile of your dedicated server, right? Could you also send me the log file of your client session (i.e. your own game)?

from xportal.

BooMaLiCiOuS avatar BooMaLiCiOuS commented on May 26, 2024

I have enabled debug mode per your reply and restarted the server. Here is the updated log from the dedicated server.
LogOutput.log

Here is a log of my personal, but I was not on when the portals lost their names.
LogOutput.log

from xportal.

SpikeHimself avatar SpikeHimself commented on May 26, 2024

I have enabled debug mode per your reply and restarted the server. Here is the updated log from the dedicated server.

There are no errors in this new logfile. Did the problem not occur this time?

In my previous comment I hinted at the possibility that dedicated servers are simply not capable of getting the colour from a portal, but this turns out to be incorrect: I've just run a test on my own dedicated server, and everything is working fine for me.

Could you try disabling Valheim Plus and see if the problem still occurs?

from xportal.

BooMaLiCiOuS avatar BooMaLiCiOuS commented on May 26, 2024

Here is the latest log file. When I logged in, the portals were reset back to no name again.
LogOutput.log

Here is with Valheim Plus disabled.
LogOutput_WithVP_Disabled.log

from xportal.

SpikeHimself avatar SpikeHimself commented on May 26, 2024

Here is with Valheim Plus disabled.

Two issues here:

  1. Nobody connected so the error didn't happen
  2. Valheim Plus is still enabled:
    [Info : BepInEx] Loading [Valheim Plus 0.9.9.11]

p.s. - just for clarity: Your portal names are not reset. They are still there. But as xportal crashes, it doesn't load or display them. Once this issue is resolved you'll have all your names back - they are permanently stored in your world file.

from xportal.

BooMaLiCiOuS avatar BooMaLiCiOuS commented on May 26, 2024

So I disabled valheim plus and connected to the server. The portals do have their tags as you stated they should.

from xportal.

SpikeHimself avatar SpikeHimself commented on May 26, 2024

Right, so something in Valheim Plus is causing a conflict. Now we have to figure out what :)

I've never used Valheim Plus but I think it has sections you can turn on and off? Is that something you could try out?

In the meantime I'll try to have a look at Valheim Plus' code to see if I can find anything.

from xportal.

SpikeHimself avatar SpikeHimself commented on May 26, 2024

In the meantime I'll try to have a look at Valheim Plus' code to see if I can find anything.

This didn't turn out very fruitful. I can't discover anything by studying the V+ code.

Did you discover anything with the various settings?

from xportal.

BooMaLiCiOuS avatar BooMaLiCiOuS commented on May 26, 2024

I have not. :(

from xportal.

SpikeHimself avatar SpikeHimself commented on May 26, 2024

Does that mean you haven't had time or you were not able to discover anything? In case of the latter, what have you tried? I want to fix this issue but I don't want to install VH+ on my machine, so you're going to have to be my eyes and ears for this one.

In the meantime I did make some changes which may or may not help. I have attached a debug build to this comment. The .zip contains 3 files, they go where XPortal.dll sits - replacing it and adding 2 new files.

(edit: file removed because it is outdated)

Could you try to reproduce the problem with this debug version, and share a new logfile with me?

from xportal.

SpikeHimself avatar SpikeHimself commented on May 26, 2024

That file is now outdated. I have released 1.2.7 just a few moments ago.

Please let me know when you have time to do further testing, so I can create a new debug file for you, with the latest changes.

from xportal.

SpikeHimself avatar SpikeHimself commented on May 26, 2024

Hi @BooMaLiCiOuS, it's been a week since the release of 1.2.7. Are you still experiencing this issue?

from xportal.

SpikeHimself avatar SpikeHimself commented on May 26, 2024

Leaving this open because clearly a problem exists, but without further information I cannot work on it. If anyone else sees this who wants to dive in, give me a shout!


Steps to take to help with testing

  • Download the latest Debug release of XPortal
  • Enable debug logging in your BepInEx config
  • Install Valheim Plus and the latest Debug release of XPortal on a dedicated server
  • Run the server with a world that already has portals (or create one first)
  • Join the server
  • Share the server's LogOutput.log

from xportal.

SpikeHimself avatar SpikeHimself commented on May 26, 2024

This issue is dated and nobody else brought it up, I am closing this as assumed-solved.

from xportal.

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.