Si I've started to play again and I have some problems with my fishing script (wich worked fine before).
Droping boots of fishes in particular. So drops fishes and boots fine till a moment when it drops the fishes or the boots, and they go right back to the backpack.
So it enters in an infinite loop.
sub dropBoots
set %bootsType TVI_ZVI_ZVI_PVI_NVI
finditem %bootsType C_ , #backpackID
while #findKind <> -1
{
exevent drag #findID #findStack
wait 1s
exevent dropg #charPosX #charPosY #charPosZ
wait 1s
finditem %bootsType C_ , #backpackID
}
return
So now I've made a change in this part and it generates a random number (0 or 1) in order to drop the items right at my feet or a tile before:
sub dropBoots
set %bootsType TVI_ZVI_ZVI_PVI_NVI
finditem %bootsType C_ , #backpackID
while #findKind <> -1
{
set %dropPosY #charPosY - #random % 2
exevent drag #findID #findStack
wait 1s
exevent dropg #charPosX %dropPosY #charPosZ
wait 1s
finditem %bootsType C_ , #backpackID
}
return
That works better but still it gets stuck droping fishes or boots, but much less times.
When this happens I've tried stoping the script and write a little one in order to drop the items and it happens the same, unless I change the tile I'm droping them.
Any idea why this could be happening?
I've stop playing for almost a year and I'm playing in the same server.