dedicated server just reads cmds.txt and imputs it immediately?
confused and want clearification.
linux 0.2.8 sty+ct dedicated x32 .bin
python scripts output to cmds.txt
-
- Posts: 8
- Joined: Mon Sep 05, 2011 2:59 am
- Location: latitude 92`N longitutde TX`W
- Contact:
python scripts output to cmds.txt
Last edited by {~$|F|$~}phillip on Mon Jan 02, 2012 5:24 am, edited 1 time in total.
- kyle
- Reverse Outside Corner Grinder
- Posts: 1897
- Joined: Thu Jun 08, 2006 3:33 pm
- Location: Indiana, USA, Earth, Milky Way Galaxy, Universe, Multiverse
- Contact:
Re: python scripts output to cmds.txt
not 100% sure what you mean, you may need to explain a little more.
if you are using a cmds.txt file for your script to write to you will need to make sure that the server is reading it either by following it and piping it in, or by using the --input option
if you are using a cmds.txt file for your script to write to you will need to make sure that the server is reading it either by following it and piping it in, or by using the --input option
-
- Posts: 8
- Joined: Mon Sep 05, 2011 2:59 am
- Location: latitude 92`N longitutde TX`W
- Contact:
Re: python scripts output to cmds.txt
armaserver --input /home/me/.armaserver/var/cmds.txt
so does this make it constantly poll cmds.txt for changes?
so does this make it constantly poll cmds.txt for changes?
- kyle
- Reverse Outside Corner Grinder
- Posts: 1897
- Joined: Thu Jun 08, 2006 3:33 pm
- Location: Indiana, USA, Earth, Milky Way Galaxy, Universe, Multiverse
- Contact:
Re: python scripts output to cmds.txt
yes that should be what it does
-
- Posts: 8
- Joined: Mon Sep 05, 2011 2:59 am
- Location: latitude 92`N longitutde TX`W
- Contact:
Re: python scripts output to cmds.txt
the script is writing to the file properly, but the server isnt imputing it
at all
at all
- kyle
- Reverse Outside Corner Grinder
- Posts: 1897
- Joined: Thu Jun 08, 2006 3:33 pm
- Location: Indiana, USA, Earth, Milky Way Galaxy, Universe, Multiverse
- Contact:
Re: python scripts output to cmds.txt
are you appending to the cmds.txt file or are you wiping it out each time?
-
- Posts: 8
- Joined: Mon Sep 05, 2011 2:59 am
- Location: latitude 92`N longitutde TX`W
- Contact:
Re: python scripts output to cmds.txt
appending to it. .