What is timing set at on idle? And no bent valves won't cause it to ping..

BTW are you sure it is pinging for starters? example. does it sound like a tin can with coins inside shaking.. thats the closes example of pinging noise i can do..

I would be looking into the igniton side of things.