What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Farm Cart Trade Runs ?

Status
Not open for further replies.

datguy

New Member
Joined
Sep 9, 2014
Messages
109
Reaction score
0
I know that jungler could do tractor runs, and tractors were way more expensive than farm carts, are people just not releasing plugins for carts or is it impossible with AB ?
 
Im just gonna guess that none of the scripters own farm carts and that's why they havent made a plugin for it.
 
You can do it with MoveTo\GpsMove, but traktor and farmcart have ugly movements now
 
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 better
 
Is Core.MoveLeft/MoveRight strafing? If so a TurnLeft/TurnRight could be useful (I assume current turn() method doesn't work for vehicles)

And in another game (Firefall) I was able to automate motorbike racing while driving at 50-100Km/h so writing a cart plugin with good movement should be easy
 
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 :|.
 
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 :|.

If you have a farm cart, contact Poopiedoopie and let him use it and he'll be able to get it on his plugin.
 
I am trying to figure out how to load it, then everything is set.
 
If you have a farm cart, contact Poopiedoopie and let him use it and he'll be able to get it on his plugin.
It has nothing to do with the script. It's the GPS Move issue.
The OWN GPS Move Function needs to be changed. Out needs to talk with the devs so that Boats/Carts/Vehicles don't go on full speed when turning.
 
Oh okay I see, hopefully that can be implemented soon. Will have enough to buy a farm cart in next day or so.
 
yes, I would. But I cant find any command to load /unload the cart ^^ Everything else would work -.-
 
yes, I would. But I cant find any command to load /unload the cart ^^ Everything else would work -.-

How did you get the movement of the farm cart to work? That seems to be all the other coders problem.
 
No, he said the only thing he hasn't figured out was loading and unloading the cart.
yes, I would. But I cant find any command to load /unload the cart ^^ Everything else would work -.-
But yeah. Loading it is easy :P. More of a problem Unloading it tbh since u will have to move to the trade pack and to the gold Trader
 
well i tested quite a few runs now, the movement seems to work fine. A little whacky, but it works. But i might immagine that if you start in a crowded place, that the cart wont be able to get out^^
I started in arcum iris and solis headlands, easy to navigate without any blocking farms or stuff!
 
Last edited:
Loading and unloading (for traktor on ru servers)

Help stuff (you should change IDs)
Code:
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;
        }


Loading
Code:
 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();
                }


Unloading and sell
Code:
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();
                }
 
Status
Not open for further replies.
Back
Top