When i type /h directly on my headless it give the following error: " type /h or /help for more help about commands
This happens with any command i tried. Works fine if i us the command on a client.
[0.14.2][posila]Commands not working directly on Headless
Re: [0.14.2] Commands not working directly on Headless
I don't have a headless factorio server anywhere to try it but this would be my first guess. What about if you don't include the slash? So just type h or help.
I know in the past, at least, that with Minecraft server you actually had to omit the slash as everything was assumed to be a command. So typing /h on the server would be typing //h in the client. Think now that with newer editions of minecraft server either form is supported. Might be wrong haven't managed a minecraft server in years now.
I know in the past, at least, that with Minecraft server you actually had to omit the slash as everything was assumed to be a command. So typing /h on the server would be typing //h in the client. Think now that with newer editions of minecraft server either form is supported. Might be wrong haven't managed a minecraft server in years now.
Re: [0.14.2] Commands not working directly on Headless
Can't reproduce. All commands works just fine for me.
Are you doing something weird with that console window? Or anything else that might cause this?
Are you doing something weird with that console window? Or anything else that might cause this?
Re: [0.14.2] Commands not working directly on Headless
I didn't change anything on the bat-file when i upgrade from 0.13 to 0.14 and it was working with 0.13 without a problem. Just in case here are the Lines i use in the bat-file.
I deleted my old folder and downloaded 0.14.2 from the website again. Still not working and showing up the same error.
Code: Select all
@echo off
TITLE Factorio Vanilla
Factorio.exe --start-server-load-latest --autosave-interval 10 --autosave-slots 3 --port 27016 --allow-commands false --server-setting C:\Users\Administrator\Desktop\factorioMods2\data\server.json --rcon-port XXXX --rcon-password XXXXXXX
PAUSE
Re: [0.14.2] Commands not working directly on Headless
Do believe that is going to be your issue.--allow-commands false
Re: [0.14.2] Commands not working directly on Headless
No not really. I'm talking about administrative commands like /player /kick /ban /help etc. they worked in 0.13.x without an issue regardless of the line you mentioned. But in 0.14 they stopped working for me and i get the error seen in the screenshot. If i connect via Factorio the commands work without any problems.credomane wrote:Do believe that is going to be your issue.
Re: [0.14.2][posila]Commands not working directly on Headless
Thanks for the report. Fixed for 0.14.3
This issue occurs only in headless mode on Windows.
This issue occurs only in headless mode on Windows.