Arma isn't feeding my script ladderlog

Post here if you need help setting up your server, etc.
Post Reply
h4zard
On Lightcycle Grid
Posts: 22
Joined: Thu Mar 22, 2012 7:01 am

Arma isn't feeding my script ladderlog

Post by h4zard »

I've tried everything but arma refuses to feed my script ladderlog, I have ladderlog_write_all 1, intercept_unknown_commands 1, I've checked ladderlog it gets written to, I've done cat ladderlog.txt | ./myscript.pl to verify that it works which it indeed does. so arma must not be feeding ladderlog to my script. what am I doing wrong ? I can write commands with my script but only if it doesn't rely on a regex which means I'm not getting any input from ladderlog.
h4zard
On Lightcycle Grid
Posts: 22
Joined: Thu Mar 22, 2012 7:01 am

Re: Arma isn't feeding my script ladderlog

Post by h4zard »

Nevermind after about 3 days of ******* with it I finally remembered that print("some crap\n); won't work because it just prints won't work with piping with out some manual intervention, you have to use system("echo $somevar or SOME_COMMAND");


<--- IS A ******* MORON
Post Reply