Herewith Graham's advice:...
Problem 1: Check basic setting on TPS switch, must be at point 0.50mA. Idle compensation valve must be set to 20%. Distributor must be set to 5 degrees. All must be set when car is at running temperature.
Problem 2: This should sorted by correctly settings for problem 1.
Problem 3: Knock sensor is on the right side of the engine under the intake manifold but a electronic diagnostic test can check if this is faulty.
P.S. All petrol Patrols should be running on the highest octane fuel available in this country or even better put in Octane boost on every tank of fuel.
Thanks, hope this helps. If not, an if you're in the area, bring it in, and I will do these checks for you.
Graham & Vanessa