Help with pre ignition ping

ok so if the engine doesn't run very strong and pings... the cam might be degreed wrong.
I would have to see how many key slots are availabel and which was used.
If the cam / crank relation isn't right you can screw around with the distributer forever and never cure it.