...Lots of things could have caused you to lose your motivation. You may have found other more interesting things to occupy your time with, or perhaps the modding you we're doing did not provide enough of an interesting challenge for you anymore. Sometimes without a purpose or a goal things are not as entertaining...
All reasonable points. The weird thing about it is that I actually have no idea what I've spent all my time doing for the last few years. Well, not entirely true. The wife and kids have kept me busy, as has playing bass in a band.
...A colleague here spends a lot of time working on his own home automation software, simultaneously really cool and really useful...
Heh awesome. Cheaper than a wife although probably less cuddly.
...When you used to program outside of work what sort of things did you work on...
Heh. This will date me.
I've been scouring my HD for any remnants of the stuff I used to do without much success. From memory, I did a bunch of levels for Doom, weapons and stuff for Quake (my favourite was combining 3-Wave CTF with the off-hand grapple with my tweaked weapons). I wrote an n-team CTF mod for UT (the coolest thing about it was the ability to combine 2, 3, and 4 flag maps in the same map rotation and it would automatically change the number of teams).
Mazes. It feels like I've written lots of maze generation code. As well as bits and pieces to solve puzzles I've been given (the sort where you have to ensure that all adjacent sides have the same (or not the same) picture on.
I even wrote a text adventure engine once. And there was other stuff in C++ that I can't remember now (I had a fully licensed copy of C++ Builder version 1; still have 3.0 somewhere I think).
Sadly I don't have any of the code for any of it any more as the HD it was on died in a spectacular fashion. And I haven't written a line of C (or C++) for a decade (probably a bit over thinking about it).
Edit:Having listed all that I now suspect that my 8-9 years is probably only 5-6. It just feels like 8-9 years.
...what sort of things are you working on now?
I've currently got two projects on the go at the moment.
One is a save-game editor for Borderlands that I'm co-authoring with a friend (although to be fair, currently he's done most of the coding and I've done most of the file analysis).
The other is a UDK based game. My goal is to have a reasonably polished* game by 31st December this year. It's progressing OK although I've been really busy with real life stuff the last couple of weeks. My project manager head says, "The project is slipping. Get to it", and my developer head says, "It's still on track. It'll be fine".
I did take an evening out a couple of weeks ago to work out how to index data shaped in a triangle** in a flat array. That was a lot more interesting and fun that I thought it would be.
But the big difference is that I'm not loading up an IDE or looking at code and listessly scrolling it up and down before closing it to do something else. I am actually engaging with it.
(*)It has a decent user interface, and is stable, simple, fun with no game-breaking or obvious bugs or errors.
(**)row 0 has 1 column, row 1 has 2 columns, row 3 has 4 columns, etc.