Latest Entries »

So yeah I just remembered I have this blog.
Bought a new PC so I can finaly enjoy running multiple instances of VMs and Visual Studio. Finally I can do some serious business!

Working on my world of warcraft bot. I’m using GIT to ensure I can rollback anytime and because why not. I know my previous post was about GIT too, but who cares. So I encountered a weird thing. I was commiting some changes to my local repo, when suddenly : BSOD. (Yes on my brand new 1400$ PC. Whatever.)
After the restart, opened my repo back, and noticed that it says that I dont have anything in there. I was shocked. I was getting so stressed. Being paranoid I don’t push my code anywhere, only storing it locally. (Yes making the same mistake, see my previous post.) I was devastated, I prepared myself for the worst, that I lost it all. But after some googleing I found a solution!!!

As it turned out I had 3 corrupted objects, that fucked up my whole GIT database. After I got rid of them, I was able to restore my GIT repo with manually modifing my HEAD file, and now it’s all dandy.

It was just another good reminder, how important is to make backups of your projects!

Here we go…

So after a year “depression” about my bot loss (Was completely destroyed a year ago, when my HDD’s head reader crashed.) , finally I’ve decided to start it all over again .
I like to pay attention to the details, so Iam starting with version string implentation with GIT. I came across a problem, that if you want your program to build with GIT’s revision numer, thats a little tricky.
http://pukkaone.github.com/2010/12/19/build-number-git-repository.html
http://www.tigraine.at/2009/10/27/simplifying-releases-through-git/

{Major}.{Minor}.{Build}.{Revison}

  • Revision SCM commit number.
  • Build Ever increasing number (no reset). It is an import number because the build server may have built the same source twice with a different set of parameters. Using the build number in conjunction with the source number allows you to identify what was built and how.
  • Minor Significant change. This number should be reset to zero when the Major number changes.
  • Major indicates what version of the product you are on.

PS: I am also planning on using CMake, however, I’ve never used it myself before :O
http://www.cmake.org/cmake/help/cmake_tutorial.html

Hello World!

Yoyoyoooo 🙂