For starting i just tried collecting the jade with my script, which i run sometimes to gather resources on open land through a keypress. It works nicely with player:harvest() outside, but in the instance after pressing keypad + it collects 1 jade and when i move on to next spot and try collecting again, it says in mm window "no harvestable found". I am direct near it. If i restart the script it finds again only once and then never again. Is that an object update problem ? How could i find the error with debugging ?
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints type="RUN">
-- Transparent Jade Collecting in Arcane Chamber of Sathkur ----------
<onLoad>
changeProfileOption("HARVEST_DISTANCE", 120)
-- Main loop
while (true) do
if( keyPressed( key.VK_ADD ) ) then
player:target_Object(112801,6000,true);
end
end
</onLoad>
</waypoints>