OUTDATED
Hello everyone , i know everyone has huge hype to have a trade run plugin working so i decided to make one for all of you.
For the moment it will do the following for Solzreed Dried Food Trade run :
- walk/ usage of Dash(sprint)
-Use mount Black Donkey
-Use carrots until you have none left
-Craft Trade Pack
- Run to Gold Trader and sell it
- Use recall skill if available ( cooldown) You need to set your home point at Lacton
- Use portal book to return to lacton
- Repeat until you have no material to craft
TODO LIST :
- Add Car possibility
- Add more trade run
- Buying required mats from AH / general merchant
Please test it and let me know errors, i tested it for 2-3 runs and it was running fine.
link to download the path (.db3) : solzreedtest.db3 :: Free File Hosting - File Dropper: File Host for Mp3, Videos, Music, Documents.
I RECOMMEND YOU TO MAKE YOUR OWN PATH, TRY TO MAKE IT SIMILAR TO MINE IF YOU WANT TO AVOID BAN HAMMER(if it ever happen)
Log : 26-09-2014
Added Walk/Sprint support in case you dont have a donkey
Map for the route :
Hello everyone , i know everyone has huge hype to have a trade run plugin working so i decided to make one for all of you.

For the moment it will do the following for Solzreed Dried Food Trade run :
- walk/ usage of Dash(sprint)
-Use mount Black Donkey
-Use carrots until you have none left
-Craft Trade Pack
- Run to Gold Trader and sell it
- Use recall skill if available ( cooldown) You need to set your home point at Lacton
- Use portal book to return to lacton
- Repeat until you have no material to craft
TODO LIST :
- Add Car possibility
- Add more trade run
- Buying required mats from AH / general merchant
Please test it and let me know errors, i tested it for 2-3 runs and it was running fine.
link to download the path (.db3) : solzreedtest.db3 :: Free File Hosting - File Dropper: File Host for Mp3, Videos, Music, Documents.
I RECOMMEND YOU TO MAKE YOUR OWN PATH, TRY TO MAKE IT SIMILAR TO MINE IF YOU WANT TO AVOID BAN HAMMER(if it ever happen)
Log : 26-09-2014
Added Walk/Sprint support in case you dont have a donkey
Code:
using System;
using System.Drawing;
using System.Windows.Forms;
using System.Threading;
using System.Collections.Generic;
using System.Linq;
using ArcheBuddy.Bot.Classes;
namespace DefaultNameSpace{
public class DefaultClass : Core
{
private Gps gps;
bool SprintActivated = false;
public static string GetPluginAuthor()
{
return "etb";
}
public static string GetPluginVersion()
{
return "1.0.0.0";
}
public static string GetPluginDescription()
{
return "Trade Run Solzreed Dried Food";
}
//Call on plugin start
public void PluginRun()
{
int NBPack = maxItemsWeCanCraft(6228) ;
while((NBPack > 0) || (isEqiped("Solzreed Dried Food") ) )
{
if(!isEqiped("Solzreed Dried Food"))
{
DespawnMount();
Thread.Sleep(1500);
MountDonkey();
MoveToCraft() ;
DespawnMount();
Thread.Sleep(8000);
}
while(!isEqiped("Solzreed Dried Food"))
{
MoveToCraft() ;
CraftItems("Solzreed Dried Food", 1);
Thread.Sleep(1000);
}
Thread.Sleep(3000);
DespawnMount();
Thread.Sleep(1500);
MountDonkey();
MoveToGoldTrader();
DespawnMount();
Thread.Sleep(2000);
SellBackpack(true);
Thread.Sleep(1500);
returnToCraft() ;
NBPack = maxItemsWeCanCraft(6228);
}
}
public void returnToCraft()
{
if(CanUseRecall())
{
UseSkill("Recall");
Thread.Sleep(15000);
return;
}
if( HaveHereafterstones() == true)
{
UsePortalBook() ;
Thread.Sleep(5000);
return;
}
else
{
long RecallCooldown = skillCooldown("Recall");
Thread.Sleep(900000);
UseSkill("Recall");
}
}
public bool CanUseRecall()
{
long RecallCooldown = skillCooldown("Recall");
if(RecallCooldown > 0) return false;
return true;
}
public void UsePortalBook()
{
foreach (var port in me.portalBook.getDistricts())
{
if (port.name == "Lacton")
{
port.OpenPortal();
Thread.Sleep(1000);
while (me.isCasting || me.isGlobalCooldown)
Thread.Sleep(100);
Thread.Sleep(2500);
UsePortal(getMyPortal());
break;
}
}
}
public Creature getMyPortal()
{
foreach (var creat in getCreatures())
{
if (creat.db.id == 3891 && creat.ownerUniqId == me.uniqId)
return creat;
}
return null;
}
public void MountDonkey()
{
if(HaveDonkey() == true)
{
UseItem("Black Donkey");
Thread.Sleep(2000);
var d = getMount();
if (d != null)
SitToMount();
}
}
public void MoveToCraft()
{
gps = new Gps(this);
gps.LoadDataBase(Application.StartupPath + "\\plugins\\tradequest\\solzreedtest.db3");
// gps.onGpsPreMove -= gpsPreMove;
gps.GpsMove("Solzreed Workbench");
}
public void MoveToGoldTrader()
{
gps = new Gps(this);
gps.LoadDataBase(Application.StartupPath + "\\plugins\\tradequest\\solzreedtest.db3");
gps.onGpsPreMove += gpsPreMove;
gps.GpsMove("Gold Trader");
}
public void gpsPreMove(GpsPoint point)
{
long carrotCooldown = buffTime(getMount(),"Dreaming Donkey");
if(HaveDonkey() == false)
{
if((SprintActivated == false) && (me.mpp > 50))
{
SprintActivated = true;
UseSkill("Dash");
}
if((SprintActivated == true) && (me.mpp < 5))
{
SprintActivated = false;
}
}
else
if((HaveDonkey()== true) && (carrotCooldown == 0) && (HaveCarrots() == true))
{
UseSkill("Dreaming Donkey");
}
}
public bool HaveCarrots()
{
List<Item> inventory = getAllInvItems() ;
foreach(Item myitem in inventory)
{
if( myitem.name == "Carrot")
{
return true;
}
}
return false;
}
public bool HaveHereafterstones()
{
List<Item> inventory = getAllInvItems() ;
foreach(Item myitem in inventory)
{
if( myitem.name == "Hereafter Stone")
{
return true;
}
}
return false;
}
public bool HaveDonkey()
{
List<Item> inventory = getAllInvItems() ;
foreach(Item myitem in inventory)
{
if( myitem.name == "Black Donkey")
{
return true;
}
}
return false;
}
public bool hasDashBuff()
{
List<Buff> mybuffs = me.getBuffs() ;
foreach(Buff mbuff in mybuffs)
{
if( mbuff.name == "Dash")
{
return true;
}
}
return false;
}
//Call on plugin stop
public void PluginStop()
{
}
}
}
Map for the route :

Last edited: