Hopefully, for your sake, it's simply a long drawn out phase. I know I've suffered a long drought much similar to what you've described. Subsequent sessions of depression, laziness and overall a negative outlook on life. It's a complex situation with a few simple answers, man.
De-tach yourself from the computer, either slowly progressing off of it or quiting cold turkey and seek mental understanding. Either friend, relative, or stranger, you obviously need emotional sentiment in some shape or form.
You have to distinguish between leisure time and being active, make friends and try with all you have for a better outlook on life, despite not having a reason. It really does help, as mundane and ignorant as it sounds.
Not much I can say, internet help isn't always the best policy, especially from someone who don't even know. Seek someone to hear you out and hopefully you'll overcome your problems. Remember, we all have them and it's the strong who work through those problems to the end.
Everything worked out for me.