Headless Server - how to run a Lux room from the command line
Re: Headless Server - how to run a Lux room from the command line
Hmm, I recall the server enforcing certain settings for the weekend, I's have to look more into it. What's happening for you now?
Re: Headless Server - how to run a Lux room from the command line
SecondTermMistake wrote: ↑Sun Mar 21, 2021 6:59 pmHow do you make a host switch to shuffle ranked on Sundays? Or even how do you do it manually?
Yo, SecondTermMistake; basic chat command line functions:
/setshuffle 1 :: ✱ Player order has been set to 'random' for the next game ✱
/setshuffle 2 :: ✱ Player order has been set to 'random, but winner stays' for the next game ✱
/setshuffle 3 :: ✱ Player order has been set to 'highest ranked first' for the next game ✱
/setshuffle 4 :: ✱ Player order has been set to 'cycle out losers' for the next game ✱
(dustin saying that he "enforces certain settings for the weekend" only means that ranked games, despite saying they're ranked in the main tracker, will default to shuffle -- random, and no winner stays -- outside of the last 48 hours of the week, but who knows if that still works given the recent Sillysoft server timezone shift; might now be off by six hours.)
- SecondTermMistake
- Lux Moderator
- Posts: 175
- Joined: Sun Nov 07, 2004 8:05 pm
Re: Headless Server - how to run a Lux room from the command line
Yea, I'm using -shuffle3 when I run from the command line.
Which from what I can tell is the same as -shuffle4, except for on the weekends? when it turns into 'highest ranked first'
I guess it seems this past weekend the timing of that was goofed.
Which from what I can tell is the same as -shuffle4, except for on the weekends? when it turns into 'highest ranked first'
I guess it seems this past weekend the timing of that was goofed.
Re: Headless Server - how to run a Lux room from the command line
Point being, you don't have to quit and reopen a room to change setting; command line switch.
-
- Lux Newbie
- Posts: 2
- Joined: Wed Mar 31, 2021 8:21 pm
Re: Headless Server - how to run a Lux room from the command line
Hey Dustin, I’m getting this weird error when I try to specify all the agents in a game via the preferences file. I managed to edit the “playerTypes” array in the preferences xml, but whenever I try to launch the game all the agents load properly except the first one. It seems that the first agent is always the “Communist” one. Unfortunately, I can’t work around this by going into the UI since I’m trying to run the game headless.dustin wrote: ↑Thu Mar 04, 2021 7:35 pmThey get saved through the java preferences api. That location will be different depending on your platform.SecondTermMistake wrote: ↑Thu Oct 22, 2020 11:58 pmWhere do those settings get saved? Can I hack some file so it looks like I ran the GUI?
Re: Headless Server - how to run a Lux room from the command line
When a game starts with a human player in it, the first human should replace the Communist AI.
-
- Lux Newbie
- Posts: 2
- Joined: Wed Mar 31, 2021 8:21 pm
Re: Headless Server - how to run a Lux room from the command line
Would it be possible to do this with only bots?
Who is online
Users browsing this forum: Ahrefs [Bot] and 1 guest