The permanent presence of Malayan police boats in the Straits of Malacca is having an effect: the number of pirate attacks has been decreasing since 2004.