Hi guys i hope this help lazy people like me you want gift but don't want work...
You need to create your own simple loop in GPS . You must rename the point where are the crates with numbers (1,2,3,4 ..)
Remember to edit map path and number of crates you have to open
have fun
You need to create your own simple loop in GPS . You must rename the point where are the crates with numbers (1,2,3,4 ..)
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
{
public Gps gps;
public static string GetPluginAuthor()
{
return "Plugin Author Leone";
}
public static string GetPluginVersion()
{
return "1.0.0.0";
}
public static string GetPluginDescription()
{
return "GiftCollector";
}
public List<DoodadObject> items = new List<DoodadObject>();
//Call on plugin start
public void PluginRun()
{
ClearLogs();
int test = 0;
while (test==0)
{
//YOUR CORRECT MAP PATH
gps = new Gps(this);
gps.LoadDataBase(Application.StartupPath + "\\Plugins\\giftcollector\\giftmappa1.db3");
string luogo;
// 10 is the number of crate i have i my loop , please change to your
for (double k = 1; k < 10 ; k++)
{
luogo = k.ToString();
gps.GpsMove(luogo);
items = getDoodads();
Log(DateTime.Now.ToLongTimeString() + " : founded " + items.Count);
double distanza = 9999;
for (int i = 1; i < items.Count ; i++)
{
if (items[i].dist(me)<5 && items[i].name=="Winter Maiden Gift Crate")
{
Log("Name:" + items[i].name + " Dist:" + items[i].dist(me));
distanza = items[i].dist(me);
var skills = items[i].getUseSkills();
UseDoodadSkill(skills[0].id, items[i], true);
}
}
}
}
}
}
}
Remember to edit map path and number of crates you have to open
have fun