How often are these parties? Can you eat on the lower end of your calorie range during the week to account for the food at parties? Can you stop going them for a while until you feel stronger? If you were addicted to alcohol, you'd stop going to parties for a while (maybe longer) while you got sober. Being addicted to food is similar.
It's about commitment, not motivation.