Author Topic: How to start a server?  (Read 6712 times)

Offline Lucki

  • Newbie
  • *
  • Posts: 3
How to start a server?
« 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.

Offline Lucki

  • Newbie
  • *
  • Posts: 3
Re: How to start a server?
« Reply #1 on: August 29, 2014, 07:35:50 am »
I've finally found something in the FAQ 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".

Offline keith.lamothe

  • Arcen Games Staff
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
Re: How to start a server?
« Reply #2 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.
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: How to start a server?
« Reply #3 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!
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Lucki

  • Newbie
  • *
  • Posts: 3
Re: How to start a server?
« Reply #4 on: August 29, 2014, 02:10:28 pm »
Fix arrived and the server works from the ingame menu.

Thank you very much!

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: How to start a server?
« Reply #5 on: August 29, 2014, 02:10:47 pm »
My pleasure!
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

 

SMF spam blocked by CleanTalk