Greg, I'm sorry to hear that you ran out of painkillers. It's amazing sometimes how there seem to be plenty in the bottle one day, and then you realize that you're almost out, it's the weekend, and you hadn't thought about your supply over a week. It can happen with any kind of medication. Sometimes it's not such a big deal, but when you've been taking serious painkillers for a long time, your body adapts to them -- just like if you drink lots of coffee all week, it adapts to the caffeine, and gives you a headache if you go cold-turkey on the weekend.
When you're ready to get off the opiates, you need to give your body a fair chance at adapting back (which it will do if given half a chance). This means that you cut back on the amount you're taking at one time, or that you space the pills out more. Getting off these pills can be painless -- almost a complete non-event -- if you do it over the course of a week (or more) instead of going cold turkey.
Since it's still not safe to put any weight on that hip, I suspect that you're not ready to be entirely off the painkillers, but keep it in mind for next time. For that major surgery like that, most people find that they just naturally need slightly less, and then less again, meds after the bone has finished mending, until they're taking very little, so I suspect that the process will be fairly simple when it's time.
-w. (who's going to go count her famciclovir pills now, because shingles is no fun.

)