Can't you use the tractors in mirage island to test ?You can do it with MoveTo\GpsMove, but traktor and farmcart have ugly movements now
Yep. Also i have tractor on RU. But i need time to do this movements betterYou can do it with MoveTo\GpsMove, but traktor and farmcart have ugly movements now
Well I tried with boats and it didn't work well at all lol.
I have a Trade Cart and haven't been able to get it work aswell :|.
I am trying to figure out how to load it, then everything is set.
It has nothing to do with the script. It's the GPS Move issue.If you have a farm cart, contact Poopiedoopie and let him use it and he'll be able to get it on his plugin.
yes, I would. But I cant find any command to load /unload the cart ^^ Everything else would work -.-
He said "would work" by that he hasn't event tried the movement yetHow did you get the movement of the farm cart to work? That seems to be all the other coders problem.
He said "would work" by that he hasn't event tried the movement yet
I am trying to figure out how to load it, then everything is set.
No, he said the only thing he hasn't figured out was loading and unloading the cart.
But yeah. Loading it is easyyes, I would. But I cant find any command to load /unload the cart ^^ Everything else would work -.-
private DoodadObject getBestDoodadForPack()
{
foreach (var d in getDoodads())
{
if (d.phaseId == 8264 && d.uniqOwnerId == me.uniqId)
return d;
}
return null;
}
private int getBestDoodadWithPackCount()
{
int result = 0;
foreach (var d in getDoodads())
{
if (d.phaseId == 8265 && d.uniqOwnerId == me.uniqId)
result++;
}
return result;
}
private DoodadObject getBestDoodadWithPack()
{
foreach (var d in getDoodads())
{
if (d.phaseId == 8265 && d.uniqOwnerId == me.uniqId)
return d;
}
return null;
}
public DoodadObject getBestPack()
{
double bestDist = 9999;
DoodadObject best = null;
foreach (var d in getDoodads())
{
if (d.phaseId == 21463 && d.uniqOwnerId == me.uniqId && dist(d) < bestDist)
{
best = d;
bestDist = dist(d);
}
}
return best;
}
var d = getBestDoodadForPack();
while (isAlive() && d != null)
{
Thread.Sleep(2000);
var p = getBestPack();
if (p == null)
return;
ComeTo(p, 1);
while (me.isMoving)
Thread.Sleep(100);
Thread.Sleep(1000);
UseDoodadSkill(11361, p, true);
Thread.Sleep(1000);
ComeTo(d, 2.5);
Thread.Sleep(1000);
UseDoodadSkill(15307, d, true);
Thread.Sleep(1000);
d = getBestDoodadForPack();
}
var d2 = getBestDoodadWithPack();
while (d2 != null)
{
ComeTo(d2, 2.3);
Thread.Sleep(1000);
if (me.getEquipedItem(31873) == null)
UseDoodadSkill(15309, d2, true);
Thread.Sleep(1500);
if (me.getEquipedItem(31873) != null)
SellBackpack(true);
Thread.Sleep(1500);
d2 = getBestDoodadWithPack();
}