Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cambiar el -public por -crossplay #49

Open
Azzlaer opened this issue Feb 13, 2023 · 1 comment
Open

Cambiar el -public por -crossplay #49

Azzlaer opened this issue Feb 13, 2023 · 1 comment

Comments

@Azzlaer
Copy link

Azzlaer commented Feb 13, 2023

Hola se que todos dejan su comentario en ingles pero bueno soy un latino que viene aportar algo al proyecto por si gustan en usarlo ya que es muy bueno.

Para solucionar que la aplicacion utilize el -public y use ahora el -crossplay debemos bajar el proyecto y editar el archivo "ValheimServer.cs" y vamos a la linea: 938
Correctamente debemos buscar esta linea:
string arguments = $"-nographics -batchmode -name \"{this.Name}\" -port {this.Port} -world \"{this.World}\" -public {Convert.ToInt32(Public)}";

Entonces hacemos el cambio para que ahora el servidor de Valheim pueda usarse correctamente hasta la fecha del dia en que comente esto: 13/2/2023 que se permite jugar con usuarios de XBOX "consolas" con usuarios de PC y/o Steam.

El codigo deberia quedar asi:
string arguments = $"-nographics -batchmode -name \"{this.Name}\" -port {this.Port} -world \"{this.World}\" -crossplay {Convert.ToInt32(Public)}";

Y listo solucionado el servidor seguira abriendo en modo crossplay para que puedas jugar tranquilamente.

Hay un tema con el proyecto en que ahora no se como pero no detecta los usuarios online ni nada como se lo hacia antes y logre investigar y es porque ahora VALHEIM incorporo el PLAYFAB.
Habria que buscar alguna manera de solucionar el tema ya que me encanta la aplicacion y me encanta el uso que se le dio para incorportar WEBHOOK de DISCORD ya que no hay otra herramienta que lo haga.

Espero que mi respuesta les haya ayudado !! un saludo :)

@adrianoori
Copy link
Contributor

adrianoori commented Mar 14, 2023

I've published a pre-release version which supports crossplay via a checkbox found under:

Server context menu -> Details -> Settings -> Runtime Options

Please help test functionality with both crossplay enabled and disabled.

https://github.com/adrianoori/ValheimServerWarden/releases/tag/0.4.22.0

Although this version does not impact any existing features, note that enabling crossplay will break Discord webhooks and active player count (on server warden GUI). This is because crossplay runs the Playfab network, which assigns each player a new Playfab ID. This is different from the Steam ID, which ValheimServerWarden is programmed to use. Code must be refactored to incorporate the new ID system (as part of a new change request).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants