Arcen Games

General Category => A Valley Without Wind 1 & 2 => AVWW Technical Support => Topic started by: Lucki on August 27, 2014, 09:38:02 am

Title: How to start a server?
Post by: Lucki on August 27, 2014, 09:38:02 am
A friend and me tried to play together. We're both unable to host a server - connecting over IP failed, ports are open.

After creating a new world, we navigate in the main menu to "launch your own server". We choose our created world. Now the game goes into window mode, nothing else happens. The back-button brings fullscreen back. There aren't any new windows hidden or on other desktops. This happens with the first and the second 'valley without wind' title.

Any ideas?

We're both on ArchLinux - up to date. I'm on Gnome 3, he's on KDE. Steamfiles are verified without errors. Game runs great with "LANG=C %command%" startoption.
Title: Re: How to start a server?
Post by: Lucki on August 29, 2014, 07:35:50 am
I've finally found something in the FAQ (http://www.arcengames.com/mediawiki/index.php?title=AVWW_-_Multiplayer#How_Do_I_Host_An_AVWW_Server.3F) to manually start the server:
Quote
[…] on windows launch it as AVWW.exe -server -world "{name}" On OSX it works as open -a 'AVWW.app' -n --args -server -world "{name}".

Linux isn't mentioned. It works with
Code: [Select]
~/.local/share/Steam/SteamApps/common/A\ Valley\ Without\ Wind/AVWWLinux.x86_64 -server -world "Environ"  and
Code: [Select]
~/.local/share/Steam/SteamApps/common/A\ Valley\ Without\ Wind\ 2/Valley2Linux.x86_64 -server -world "Environ"
However, it doesn't work from the ingame menu. Maybe the game looks for an .exe or something…
But I'm not sure, how I stop the server correctly. The next time I start a game with that world, it's always locked with the "lock.dat".
Title: Re: How to start a server?
Post by: keith.lamothe on August 29, 2014, 12:31:28 pm
It probably is looking for an .exe, yea.  That (code and wiki) was written long before linux-support for any of our stuff.

Not sure on why it isn't unlocking the world on quit, though if you're sure the previous server instance is dead you can delete the lock.dat manually.  It is a pain, though.  I'll let Chris know and see if he has any ideas.
Title: Re: How to start a server?
Post by: x4000 on August 29, 2014, 12:48:49 pm
Sorry about that with the launching from the menu not working right!  That was totally an oversight on my part.  This is now fixed and released for both Valley 1 and Valley 2.  You can either use the in-game updater to get the new versions, or restart steam if you're using the steam version.

Thanks for the report!
Title: Re: How to start a server?
Post by: Lucki on August 29, 2014, 02:10:28 pm
Fix arrived and the server works from the ingame menu.

Thank you very much!
Title: Re: How to start a server?
Post by: x4000 on August 29, 2014, 02:10:47 pm
My pleasure!