yet an other.

What do you want to see in Armagetron soon? Any new feature ideas? Let's ponder these ground breaking ideas...
QUARG
Round Winner
Posts: 223
Joined: Thu Sep 14, 2006 2:38 pm
Location: montreal

yet an other.

Post by QUARG »

it would be nice to be able to check player ips with having to kick them.
/admin ip_player 1 or some sort of variation. because kicking reveals the fact that youre checking up on them.

epsy
Adjust Outside Corner Grinder
Posts: 2006
Joined: Tue Nov 07, 2006 6:02 pm
Location: paris
Contact:

Post by epsy »

i would find its place better in /players personally

QUARG
Round Winner
Posts: 223
Joined: Thu Sep 14, 2006 2:38 pm
Location: montreal

Post by QUARG »

/players would inclue the players #, name and ip. true this would be more efficient.

User avatar
DDMJ
Reverse Outside Corner Grinder
Posts: 1882
Joined: Thu Jun 08, 2006 12:15 am
Location: LA, CA, USA, NA
Contact:

Post by DDMJ »

ladderlog.txt?

QUARG
Round Winner
Posts: 223
Joined: Thu Sep 14, 2006 2:38 pm
Location: montreal

Post by QUARG »

like im gonna take the time to spec open the ladderlog.text, search it for a player(s). it would be so much more efficient to have it in game. and besides the info is already available in the server why not include it in the admin functions?
also i have been wondering why the server logs everything but the chat logs. it wouldnt be much bigger than the ladderlog.text file. and the ladderlog.text doesnt have to save all the points, just the players ips and names. the rest is useless for an admin. i know its probably used by the ladder and won_round and matches but why not split it up into more user friendly files. example:

ladder.txt
won_rounds.txt
won_matches.txt
score.txt
chat.txt (would inlude player names ips, and maybe even include the change of times and dates for futur ref.)
ip.txt (would only keep each ip one time in memory)
bans.txt
players.txt
highscores.txt (never knew what this was for)

User avatar
Lucifer
Project Developer & Local Moonshiner
Posts: 8610
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas
Contact:

Post by Lucifer »

If you run the server in linux from the included init script, you get chatlogs.
Image

Be the devil's own, Lucifer's my name.
- Iron Maiden

QUARG
Round Winner
Posts: 223
Joined: Thu Sep 14, 2006 2:38 pm
Location: montreal

Post by QUARG »

i run a mac server. though i wish i ran a linux server. there seems to be alot more support for linux version.

User avatar
Jonathan
A Brave Victim
Posts: 3392
Joined: Thu Feb 03, 2005 12:50 am
Location: Not really lurking anymore

Post by Jonathan »

That's because more people use it. But it's really similar. You can build the dedicated server from source the same way and get the same scripts and config files in the same locations. Or you can probably look for the desired script in the source and use it.
ˌɑrməˈɡɛˌtrɑn

User avatar
philippeqc
Long Poster - Project Developer - Sage
Posts: 1526
Joined: Mon Jul 12, 2004 8:55 am
Location: Stockholm
Contact:

Post by philippeqc »

QUARG wrote:like im gonna take the time to spec open the ladderlog.text, search it for a player(s).
Of course not! That is why there is grep.

Code: Select all

grep -i player_name ladderlog.txt
-i is to ignore case during the search, quite useful with players mixing case in their nick.

/ph
Canis meus id comedit.

User avatar
Z-Man
God & Project Admin
Posts: 11253
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne, Jabber: [email protected]
Contact:

Post by Z-Man »

The primary purpose of ladderlog.txt is to build a third party parser and analyzer that generages a custom ladder. That's why the scores and what we have for player identification are in there, and chat is not.

QUARG
Round Winner
Posts: 223
Joined: Thu Sep 14, 2006 2:38 pm
Location: montreal

Post by QUARG »

and grep is input into the terminal?

and why is there no chat logs?

User avatar
Z-Man
God & Project Admin
Posts: 11253
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne, Jabber: [email protected]
Contact:

Post by Z-Man »

QUARG wrote:and grep is input into the terminal?
Yeah, grep is a console application, it has to be run from the terminal. We Linux folks tend to treat OSX like a plain old Unix system with fancy stuff around that we neither want nor need :)
QUARG wrote:and why is there no chat logs?
Because chat is already echoed to the output and you can catch and log it yourself, for example starting the server like this:

Code: Select all

armagetronad-dedicated | tee serverlog.txt

QUARG
Round Winner
Posts: 223
Joined: Thu Sep 14, 2006 2:38 pm
Location: montreal

Post by QUARG »

Code: Select all

./armagetronad-dedicated | tee serverlog.txt 
so this would be the command that i would use instead of this command which i use to boot the server in treminal?

Code: Select all

./armagetronad-dedicated --datadir . --configdir .
the server boots but were exactly does it output to? i did a search for the serverlog.text file after having entered my server and sent a few chat lines through it and cant seem to find were it is.

User avatar
Jonathan
A Brave Victim
Posts: 3392
Joined: Thu Feb 03, 2005 12:50 am
Location: Not really lurking anymore

Post by Jonathan »

Code: Select all

./armagetronad-dedicated --datadir . --configdir . | tee serverlog.txt
, probably. serverlog.txt would end up in the current directory, which is the directory where armagetronad-dedicated is located if the command you mentioned works. You do need write permission there, of course.
ˌɑrməˈɡɛˌtrɑn

QUARG
Round Winner
Posts: 223
Joined: Thu Sep 14, 2006 2:38 pm
Location: montreal

Post by QUARG »

O.O it works!!!
God i need to learn treminal language. I understand the structure of the command now that you clarified it. Im quite sure what the | tee is.
Ill have to put terminal 101 off till i get my other projects done.:)
Thankyou for your help guys.

Post Reply