Where are all the files?

Post here if you need help setting up your server, etc.
Post Reply
User avatar
ROCK
Average Program
Posts: 76
Joined: Fri Feb 18, 2005 4:03 am

Where are all the files?

Post by ROCK »

It's driving me mad, I can't find the log files, i'm not even totally sure whats loged these days but i'm looking mostly for the score ladder, and if it exists ip addresses and chat logs, does anyone know where to find these in linux, or atleast what they might be called so i can run a search? I also would like some info on cronjobs while we're at it. :o :D
User avatar
Lucifer
Project Developer
Posts: 8751
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas

Post by Lucifer »

There's only one log, and only one way it happens. You have to redirect the output of the armagetronad-dedicated process to a file, and *that* is your log. It has everything in it.

If you run it under certain conditions (like I do), then you get logged into syslog. It's not ideal, but it's better than nothing.

For cron, google "crontab", learn whatever you can about it, then come back and ask specific questions. :)
Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN

Be the devil's own, Lucifer's my name.
- Iron Maiden
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6712
Joined: Thu Dec 18, 2003 7:03 pm

Post by Tank Program »

look for the var/ directory. that has your ladders and a basic scorelog of who killed who...
Image
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

The var directory Tank is referring to is inside ~/.armagetronad in Unix.

But it all depends how you run the server. There are three ways:
1) Build it and run it from the directory of the build. Then, the var directory is right there.
2) Build it and install it ( make install ), or install it via RPM. Start it with "armagetronad-dedicated" from anywhere, best from a "screen" virtual session. Then, all data is in ~/.armagetronad.
3) Like 2), but use the system init/exit scripts from /usr/local/armagetronad/rc.d ( like /usr/local/armagetronad/rc.d/... start ). Then, the standard output will already be logged to a file in /var/log/armagetronad/.
Post Reply