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

Sunken Treasure Chest Finder

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.

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()
        {
        }
    }
}
 
Nice

I like it, would be nice if it pointed you in a direction ... it also seems to shut off or stop working randomly
 
Can't goes against the radar rules I do believe that it would cause me greif
 
Is it meant to give feedback on small bloodstains and misc info? I kept getting the following feedback:
[01:10:36] Small Bloodstain
[01:10:46] Small Bloodstain
[01:10:56] Small Bloodstain
[01:11:06] Small Bloodstain
[01:11:16] Door
[01:11:26] Small Window
[01:11:36] Building Plaque
 
Back
Top