My thought on pain goes two ways.
-Most of the time we don't understand as modern day humans that we will endure some pain with a severe injury, meds or not. Suffer a little bit. Your body is broken. Opiates will not make you feel "fixed".
-Don't "self help" by concocting some scheme, like cough syrup or some nonsense (feel like an acetaminophen overdose? take more than your prescribed dose of vicoden and cough syrup then). Ask your doctor and be honest. You cannot sleep, AT ALL, because of the pain. You would be surprised how many people say they can't sleep because of pain when getting triaged in the ER because it sounds dramatic, then fall asleep in the waiting room because its a four hour wait at 3 am. The doctor fully expects to see you looking/sounding like shit when you clearly ask for more pain meds. HOWEVER, doctors really have no problems giving out more pain meds to deserving people. If thats whats needed, do not feel guilty or hesitant to go back to your doctor for advice/further treatment regarding your pain.
To help the situation though, I do advocate RICE, ibuprofen for swelling/pain (as long as ok'd by doctor), and possible blowjobs from gf and or masturbation to take your mind off your leg.