Triang3l / WebQuake

HTML5/WebGL source port of Quake
623 stars 98 forks source link

auto-connect to multiplayer server at launch #45

Open 589290 opened 2 years ago

589290 commented 2 years ago

If a multiplayer server (ip:port) is set in the configuration file -- automatically connect to this server at startup / launch.

If this is already possible, how to configure such a setting is not readily findable in the documentation.

SpiritQuaddicted commented 1 year ago

Readme says:

To launch the game with command line arguments, add ? after the address and put the arguments after it in the same format as you use for Quake.

so have you tried ?+connect ws://ip:port?

589290 commented 1 year ago

Readme says:

To launch the game with command line arguments, add ? after the address and put the arguments after it in the same format as you use for Quake.

so have you tried ?+connect ws://ip:port?

That works great @SpiritQuaddicted !! Thank you.

I've updated my docs to reflect the autoconnect URL string: https://github.com/589290/webquake-docker

Please consider this issue resolved 💯