Open Source License for Commercial Application

So, I'm working on a game. It's a rather large project, and a commercial venture. However, I'd like to be able to talk about it. And openly discuss source code for the game. However, that said, it's something that contains a lot of proprietary work - hours upon hours of my life - and therefore, I just want to protect my rights to eventually, just maybe, hopefully, collect some small amount of recompense for my labor of passion.

That is, I don't want someone to read a thread where I've posted the most complicated bits and pieces of my source code, fix the couple bugs I was asking for public opinion on, and then sell it as their own.

What license would best protect my legal rights to the code and any derivatives, whilst simultaneously allowing me to actually pop the hood and get C&C on the innards?

Bonus question: What disclaimer should I make regarding contributions to the code, assuming that I don't want to monetarily pay out to each and every person that offers a passing tip? (That said, I'm down with a free copy :) )

Discuss.
It wouldn't be an open source licence, you'd be writing your own licence, just link to it under every source code you display.
An educational license would probably fit best.

If you have copyright on the software it would be something along the lines of:
This software is provided by the copyright holders and contributors "as is" and is 100% within the ownership of the copyright holders. Any modifications, contributions, suggestions and public improvements are provided in knowledge that it is good will and for the purposes of education and research and if proposed modifications are implemented; in now way does it give said contributor rights to the software, but is still held by the original holder if said contributions are within rights of public domain.

If you don't have copyright, just replace copyright holders with software developers.

If you have a lawyer, get them to write up a license to use as they would know how to cover one's arse.

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=76570