Author Topic: Frag stats updated  (Read 6225 times)

Offline console

  • Brobdingnagian Member
  • ***
  • Posts: 4518
  • "Man, this is the way to travel," said my attorney
    • View Profile
    • tastyspleen.net
  • Rated:
Re: Frag stats updated
« Reply #15 on: June 09, 2006, 12:35:18 PM »
Without any disrespect intended at all.. that sounds like a horrible and inefficient hack

No worries.  I've been programming for 24 years.  But I'm always open to discussing better/alternate solutions.  And I don't invest much ego in my particular approaches.  :evilalien:

If Wallfly drops, so will ssh (perhaps less often, but still..).

Wallfly drops for different reasons.  ssh connections stay up for months at a time for me with no problems.  And if ssh did drop, it's no problem... I plan to remember the last log line I parsed, and when I start up again, I can just have my tail command begin with a little backlog, e.g. "tail -n 5000 -f vanilla.log" and ignore lines I've already seen, and pick up again wherever I last left off.

You're introducing yet another open connection on each box, plus the cpu resources required to encrypt data that you really needn't encrypt, plus the overhead of a parsing script that has to select() or poll() ~20 streams.

From my experiences so far, I expect that overhead to be negligible.  I mean, hell, I already run tastyspleen.net backups using rsync over ssh pumping out 500k/sec of encrypted data. I'm not worried about data from several logfiles at a few hundred bytes/sec each.  (I do run the quake servers at nice -10 and everything else on the system at nice 19 though. :) )

Seems clear to me that adding a few lines of ODBC to Wallfly is half as hard and complex.

Wallfly is a rude, crude hack of the id 3.21 client.  (If I were to do it over again, I'd start with r1ch's tiny 'conesole' quake2->irc bot... or preferably implement the equivalent in ruby. But wallfly ain't broke, so...)

But anyway, I'm not looking to modify the wallfly client code at all.  And again, my preference is to use the direct server logs where possible, because wallfly will miss capturing some frags.  Sometimes other players enter the server before wallfly does; and sometimes wallfly gets kicked for stupid reasons by q2admin, etc.

I'm a database programmer by profession, just offering my $.02.

Excellent.  I need to check out the schema you came up with for tracking all this info.  I have some database experience but it's not my main thing.


Regards,

:mrgreen:

  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline Jay Dolan

  • Swanky Member
  • *****
  • Posts: 644
    • View Profile
    • Quetoo.org
  • Rated:
Re: Frag stats updated
« Reply #16 on: June 09, 2006, 09:31:02 PM »
Hehe, there's not a lot to it.  But of course, you're welcome to whatever's there.   :rockon:

Offline [BTF]Sigma

  • Phenomenally Prodigious Member
  • **
  • Posts: 3059
    • View Profile
  • Rated:
Re: Frag stats updated
« Reply #17 on: November 19, 2006, 04:23:27 PM »
:bump: more
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

 

El Box de Shoutamente

Last 10 Shouts:

 

RyU

June 29, 2025, 06:27:46 PM
Q2 must never die  :)
 

|iR|Focalor

May 26, 2025, 01:17:30 PM
 

-Unh0ly-

May 22, 2025, 05:45:28 PM
 

Yotematoi

May 17, 2025, 08:33:15 AM
Yo desde el año 2007 me enfermé de Q2, es incurable  
Morir y revivir es costumbre, lástima q el QT estaba bueno
 

ImperiusDamian

May 12, 2025, 01:45:35 AM
Quake II is not 27 years old. I refuse to accept THAT much time has gone by.
 

|iR|Focalor

May 11, 2025, 02:33:39 PM
 

-Unh0ly-

May 03, 2025, 08:02:46 AM
198.179.6.200:30634
 

Yotematoi

May 02, 2025, 10:27:47 AM
Note for Player-4109 "Remember, the Guinness Book of Records does not include cowards who shot at someone by treachery." :D

Show 50 latest
Welcome, Guest. Please login or register.
July 03, 2025, 10:38:57 PM

Login with username, password and session length