Page 1 of 1

[0.14.2][posila]Commands not working directly on Headless

Posted: Wed Aug 31, 2016 6:59 am
by Xelephant
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.
FactorioBug.jpg
FactorioBug.jpg (58.57 KiB) Viewed 4093 times

Re: [0.14.2] Commands not working directly on Headless

Posted: Wed Aug 31, 2016 1:22 pm
by credomane
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.

Re: [0.14.2] Commands not working directly on Headless

Posted: Wed Aug 31, 2016 1:24 pm
by Oxyd
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?

Re: [0.14.2] Commands not working directly on Headless

Posted: Wed Aug 31, 2016 4:49 pm
by Xelephant
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.

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
I deleted my old folder and downloaded 0.14.2 from the website again. Still not working and showing up the same error.

Re: [0.14.2] Commands not working directly on Headless

Posted: Wed Aug 31, 2016 7:17 pm
by credomane
--allow-commands false
Do believe that is going to be your issue.

Re: [0.14.2] Commands not working directly on Headless

Posted: Wed Aug 31, 2016 8:03 pm
by Xelephant
credomane wrote:Do believe that is going to be your issue.
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.

Re: [0.14.2][posila]Commands not working directly on Headless

Posted: Thu Sep 01, 2016 12:26 pm
by posila
Thanks for the report. Fixed for 0.14.3
This issue occurs only in headless mode on Windows.