Saturday, July 3, 2010

psycopg2 needing mx.datetime?

psycopg2 needing mx.datetime? Not sure why? Try running this...

easy_install -i http://downloads.egenix.com/python/index/ucs4/ egenix-mx-base

Notes regarding the "Golden Wrench" in Team Fortress 2

The following is a "conversation" created from a set of emails sent between some users on the Steam forum and Valve employees. The lines starting with a dash are TF2 players, while anything in quotes is something that Valve said. Anything in squared brackets, however, is a note that I have taken in regard to the previous statement. Also, take note that in the first response from Robin the first character of each sentence together spells LIMITED. Here we go:

- What does this mean...
"%s1 has found Golden Wrench no.%s2!" and
"%s1 has destroyed Golden Wrench no. %s2!"?
"Let's think about something else for a moment.
I think the Java beans are stuck in a loop.
[Java beans are components in Java]
Maybe we could fix with some HTML cookies.
[Where are these cookies?]
I could eat cookies.
[Heavy/sandvich update maybe?]
There goes our web 1.0
[Could "web 1.0" be a reference to the telnet days?]
Early huh?
[The latest blog post was released very early]
Developers are mad."
- Was the "error" of putting the mini-Engi updates on the wrong date a clue to the Engi update, or did you guys simply screw up? It's on the 119th update page, it says the mini-Engi updates of the level 3 tele's was posted on January 7th, but in reality it was sometime in December. Thanks for responding, if you will.
Robin, "Our web design team is living in the past.
[Should we be looking in a past update for new updates?]
That's why our web pages are still all web 1.0.
I asked them about Java the other day,
and they said they'd love a coffee.
[A statement which reminds me of this. Note the "Red" milk carton.]
Rediculous."
[Misspelled. What is the significance of Red? Maybe in past updates?]
- Maybe it's time to fire them all?
Robin, "Hey Shawn, you're fired again.
[Was he fired a first time? Is this a hint?]
Take your telnet & gopher manuals with you this time.
[This is going to require that we use telnet and/or gopher]
Robin."
- Only one? This is out of character.
Shawn, "Seriously? Again?
Looks like it's time for me to head back to web design school:
http://lolworld.com/
[I'm betting this is a red herring]"
My theory here:
There's an HTTP cookie somewhere that Valve has placed (possibly on teamfortress.com, possibly somewhere completely different; IE, the wiki) and it will provide us some clue (or address) which will lead us to a server that we will have to get telnet and/or gopher access to get the golden wrench (or possibly something that is completely different).

Friday, July 2, 2010

Damage broken in Valve's Source SDK?

You probably started from template and don't have teamplay enabled. Don't worry, though - there's an easy fix. Just go to line 586 of sdk_player.cpp. You should see this:


if ( bFriendlyFire || ( bCheckFriendlyFire && pInflictor->GetTeamNumber() != GetTeamNumber() ) || pInflictor == this || info.GetAttacker() == this )


Now, take add an extra conditional check at the start of this:


if ( !gpGlobals->teamplay || bFriendlyFire || ( bCheckFriendlyFire && pInflictor->GetTeamNumber() != GetTeamNumber() ) || pInflictor == this || info.GetAttacker() == this )


Problem solved. Hope this helps people looking for a fix.