I'm a Biomedical Scientist. First off - your body has a biological clock. It basically runs on ~25 hour clock via circadian rhythms. Now as it is a rhythm it is a pattern - you go to sleep at 10pm, naturally wake up ~8hours later.. If you jump into the deep end and throw out the clock you will get all sorts of adverse results and fail at the task. It's like a marathon. No one goes out and just runs 42KM, they get a taxi first

coz who honestly wants to run that far

.If you are on school break try going to bed at 4am, 12am, just random times and screw your clock up a bit. Do this for at least 2 weeks.
As far as diet/drinks go - the secret here is do it inline with what your doing.. Do a high risk activity that keeps you alert, gets all the chemicals that make you lala up and running, when you're doing boring shit, smash down a couple of V drinks to spike all the fancy chemicals that make you not pass out

You also need 2 types of food. Slow releasing and fast releasing - So healthy shit when your feeling ok, and sugary goodness when your slumping followed by healthy stuff- apples are good.
Next FFS please stand up and stretch, or atleast stretch your legs out when you play (EVERYONE SHOULD DO THIS) at least once an hour for 5 mins. Blood pools at the bottom of your legs.. How do you think it gets back up? If you don't your legs will drop off.
Plus no offence but im pretty sure supernerds pull 72 hour sessions gaming as part of their morbidly simple life. The longest recorded time for anyone to stay awake is 264 hours or 11 days without caffeine.. L M F A O !! fuck that lolol.. so in all seriousness you won't be able to do it in the comfort of your own home in nice warm conditions.. Go to a lab, and be a guinea pig. Sit in the middle of a room with a computer and chair (or converted gaming chair/toilet) with guinea pig sucklers coming down from the ceiling and letting you suckle on 1gm caffeine every 4 hours, whilst playing on a giant 55" LCD with all the best gaming equipment and music cranking Seinheisser or Candy headphones.
P.p.s at least play a game that won't put you to sleep after 3 minutes. Try and beat tetris or something.