Supplements are supplementary to the things you already need to be doing, such as eating properly, exercising, and getting enough rest. They don't help you bypass normal physiological processes - for that you need serious drugs.
If you absolutely need to keep going, then take some stimulants - caffeine, ephedrine, whatever. Otherwise, sleep. The only thing that'll help you recover from sleep deprivation is sleep. But as to the carb/protein question, eating some carbs might help you get to sleep.