Defectuous
New Member
- Joined
- Dec 17, 2014
- Messages
- 238
- Reaction score
- 1
I through this together last night while half asleep.
I know it compiles and it looks like it'll work I have not tested it though.
Also I do not believe this constitutes as a radar plugin, but if i am wrong I do apologize.
The only thing it does do is say hey there is a chest 20 meters from you. It does not give any directions of other information like that.
I know it compiles and it looks like it'll work I have not tested it though.
Also I do not believe this constitutes as a radar plugin, but if i am wrong I do apologize.
The only thing it does do is say hey there is a chest 20 meters from you. It does not give any directions of other information like that.
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 ArcheBuddyDoodFinder{
public class DoodFinder : Core
{
public static string GetPluginAuthor()
{ return "Defectuous"; }
public static string GetPluginVersion()
{ return "1.0.0.0"; }
public static string GetPluginDescription()
{ return "WOPRKING NAME: PackFindee"; }
// START Config
string _item = "Sunken Treasure Chest"; // Sunken Treasure Chest ID 3484
//int _item = 3484;
bool _debug = true;
// END Config
//Call on plugin start
public void PluginRun()
{
ClearLogs();
while (true){
foreach(var dood in getDoodads())
{
if (dood.name.Contains(_item))
{
ClearLogs();
Log("*" +Time() + dood + dood.dist(me));
}
if (_debug == true )
{
Log(Time() + dood.name );
}
Thread.Sleep(10000);
}
}
PluginStop();
}
public string Time()
{
string A = DateTime.Now.ToString("[hh:mm:ss] ");
return A;
}
//Call on plugin stop
public void PluginStop()
{
}
}
}