Author Topic: Frag stats updated  (Read 5771 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:

Costigan_Q2

November 11, 2024, 06:41:06 AM
"Stay cozy folks.

Everything is gonna be fine."

There'll be no excuses for having TDS after January 20th, there'll be no excuses AT ALL!!!
 

|iR|Focalor

November 06, 2024, 03:28:50 AM
 

RailWolf

November 05, 2024, 03:13:44 PM
Nice :)

Tom Servo

November 04, 2024, 05:05:24 PM
The Joe Rogan Experience episode 223 that dropped a couple hours ago with Musk, they're talking about Quake lol.

Costigan_Q2

November 04, 2024, 03:37:55 PM
Stay cozy folks.

Everything is gonna be fine.
 

|iR|Focalor

October 31, 2024, 08:56:37 PM

Costigan_Q2

October 17, 2024, 06:31:53 PM
Not activated your account yet?

Activate it now! join in the fun!

Tom Servo

October 11, 2024, 03:35:36 PM
HAHAHAHAHAHA
 

|iR|Focalor

October 10, 2024, 12:19:41 PM
I don't worship the devil. Jesus is Lord, friend. He died for your sins. He will forgive you if you just ask.
 

rikwad

October 09, 2024, 07:57:21 PM
Sorry, I couldn't resist my inner asshole.

Show 50 latest
Welcome, Guest. Please login or register.
November 22, 2024, 08:21:52 PM

Login with username, password and session length