Random pain in legs at night or when it’s cold?

Ever since I was little I’d get these TERRIBLE pains in my legs. It usually happens when it’s a little colder or at night. It’s like the bones in my legs ache and i used to wake up crying because of it when I was little. I still get it, although not as often, but it’s still extremely painful when it occurs. The pain will last for hours at a time, sometimes even all day, and there aren’t many things that help it. Keeping them warm and still helps but even then it takes about an hour for it to go away.

Anyone else get this? Anyone know what it could be?