 |
|  |
|
Ex-CTer
| CT Rank: Not a CTer |
| Field's place: |
| Grid Name: |
| GID: Not working |
| CT Wild Fort Rank: |
| Joined: 05 Apr 2006 |
| Posts: 2W36104 Posts |
Location: Ottawa, ON, Canada
|
|
Posted: Mon May 01, 2006 10:22 pm |
|
Ummm, this should work in perl... I believe the $line = TAILLOG will block until a new line is printed by tail.
Just FYI
while (1)
{
open (TAILLOG, "| tail -n1 -f <logfile") || die "Crap, no tail? $!";
$line = TAILLOG;
#<do stuff>
}
close TAILLOG;
|
-- EDIT --
There's some good perl mysql objects with description on http://search.cpan.org/search?query=dbi&mode=all. Usually perl5 comes shiped with the dbi modules needed to do mysql. |
|
_________________ echo "Robed"; fortune;
|
|
Friend
| CT Rank: Not a CTer |
| Field's place: attack |
| Grid Name: flea |DpG| |
| GID: flea@ct/public |
| CT Wild Fort Rank: na |
| Joined: 28 Apr 2006 |
| Posts: G3616 Posts |
Location: /bin/sh
|
|
Posted: Tue May 02, 2006 3:01 am |
|
so glad to see you all working toward a solution (bash is what i had in mind also) but as z-man kinda shut me down i didnt pursue it :/
its such a dam head-ache in there atm, i mean, if u all would like to post some ip's of who u [know] are the probs, i'm sure certain members here [ahem] wouldnt have any probs poking into their life. |
_________________ http://respwn.us
|
|
Ex-CTer
| CT Rank: Not a CTer |
| Field's place: |
| Grid Name: |
| GID: Not working |
| CT Wild Fort Rank: |
| Joined: 05 Apr 2006 |
| Posts: 3J36127 Posts |
Location: Edinburgh, UK
|
|
Posted: Tue May 02, 2006 1:03 pm |
|
And what memebers would you be talking about?  |
|
_________________ Karma is a bitch with a bazooka
|
|
Friend
| CT Rank: Not a CTer |
| Field's place: |
| Grid Name: |
| GID: Not working |
| CT Wild Fort Rank: |
| Joined: 02 May 2006 |
| Posts: O3624 Posts |
Location: Sallanches, France
|
|
Posted: Wed May 03, 2006 10:39 am |
|
Hello, I am new here and discovered armagetron in december, 2005
Many of you complain about newbies, I think you are wrong : when I was a newbie (sure I have no real skill yet), I was happy to see that *not all* people react like that.
Being a newbie is a necessary stage for becoming better... and sure all of you have been
Let's accept newbies, give advices, but dont admit such people who insult someone just because he (thinks he) has skills, this is easy, not fair and destroys the armagetron free spirit.
Hope this will not be held for agressivity, it would be so nice if armag would be just for fun, not for quarell
And sorry for my bad english, I am french...
----------------------------------
Next, I have a problem with config files on Linux Ubuntu 5.10
I would like to do a map rotation using everytime.cfg
in armagetron-advanced 0.2.8.1 (not dedicated)
config files (those I found) are located in /etc/armagetron (sym link to /usr/etc/games/armagetronad)
I did not modify settings.cfg, and setup a "MAP_FILE ..." line in autoexec.cfg, which works fine
But when I tried the same in everytime.cfg (which, if I'm right, should load at every round), it does not work at all (I modify it by hand when armag is running, for test)
So here are my questions :
- can the map rotations work in *not* dedicated ?
- what can be wrong with the file (location ?)
- why autoexec.cfg works and not everytime.cfg ?
I have some other questions, but just answer that for the moment
Thanks all |
_________________ LinuX, un noyau...
...Window$, des pépins !
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 2 of 2
|
|
|
|
|  |