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

auto loot

Romann

New Member
Joined
Sep 10, 2014
Messages
6
Reaction score
0
tell me what's necessary to fix that worked

Code:
using System;
using System.Windows.Forms;
using System.Threading;
using System.Collections.Generic;
using System.Linq;
using ArcheBuddy.Bot.Classes;

namespace YourNamespace
{
   public class YourClass : Core
   {      
       public Creature pikupDrop()
       {
            foreach (var obj in getCreatures())
            {
                if ( obj.dropAvailable )
                {
                    PickupAllDrop(obj);
                }
            }
       }

       public void PluginRun()
       { 
           while (true)
           {
               pikupDrop();
               Thread.Sleep(100);  
           }
       }
   }
}
 
If you want to pickup only near your character:
Code:
public void PickUpNearMe()
        {
            if (me.isAlive())
            {
                foreach (var m in getCreatures())
                {
                    if (m.dropAvailable && dist(m) < 3)
                    {
                        PickupAllDrop(m);
                        Thread.Sleep(100);
                    }
                }
            }
        }

And loop this in PluginRun.
If you want to cometo before:
Code:
public void PickUpNearMe()
        {
            if (me.isAlive())
            {
                foreach (var m in getCreatures())
                {
                    if (m.dropAvailable)
                    {
                        ComeTo(m, 2.5);
                        PickupAllDrop(m);
                        Thread.Sleep(100);
                    }
                }
            }
        }
 
If you want to pickup only near your character:
Code:
public void PickUpNearMe()
        {
            if (me.isAlive())
            {
                foreach (var m in getCreatures())
                {
                    if (m.dropAvailable && dist(m) < 3)
                    {
                        PickupAllDrop(m);
                        Thread.Sleep(100);
                    }
                }
            }
        }

And loop this in PluginRun.
If you want to cometo before:
Code:
public void PickUpNearMe()
        {
            if (me.isAlive())
            {
                foreach (var m in getCreatures())
                {
                    if (m.dropAvailable)
                    {
                        ComeTo(m, 2.5);
                        PickupAllDrop(m);
                        Thread.Sleep(100);
                    }
                }
            }
        }
подскажите как сделать рабочий плагин, чтобы авто лут был всегда, включил плагин играешь и не надо к мобам бегать они сами лутаются как в оконке, пошел на кракена или еще куда отключил плагин, если будет авто лут я откажусь от оконки и буду пользоваться вашим софтом

tell me how to make a working plugin to auto loot was always plugged into plug and play no need to run to the mobs they Lut in okonke went on Kraken or something has disabled the plugin will auto loot if I refuse okonki and will use your software

перестал тупить все сделал удалите этот пост спасибо за подсказку
 
Last edited:
подскажите как увеличить радиус подбора надо почти в плотную подбегать
 
So can someone show what top paste into the editor top get this to work. I really don't understand this programming sorry. where do we fit these 2 examples into the 1st code?
 
It's not that hard. All the answers are there.

You have like Out already coded:
Code:
public void PickUpNearMe()
        {
            if (me.isAlive())
            {
                foreach (var m in getCreatures())
                {
                    if (m.dropAvailable && dist(m) < 3)
                    {
                        PickupAllDrop(m);
                        Thread.Sleep(100);
                    }
                }
            }
        }
And then you loop it:
Code:
public void PluginRun()
       {   
          while (true)
          {
              PickUpNearMe();
              Thread.Sleep(100);
          }
       }
I obvious don't take credits for this.
 
Doesn't it need all the
Code:
using System;
using System.Windows.Forms;
using System.Threading;
using System.Collections.Generic;
using System.Linq;
using ArcheBuddy.Bot.Classes;

namespace YourNamespace

stuff 1st?

I really don't write code, was just after a plugin for auto loot. Sorry for being a pain, but I have no idea how to insert this new bit of code into the original script.
 
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 Combat {
	public class PrimevalCombat : Core {
		public static string GetPluginAuthor() { return "iGM"; }
 		public static string GetPluginVersion() { return "0.1.0"; }
		public static string GetPluginDescription() { return "Auto looting plugin"; }
		
		public void PluginRun() {
			BlockClientDice(true);
 			onLootDice += item => item.Dice(true);
			while(true) {
				Pulse();
				Thread.Sleep(50);
			}
		}

		public void Pulse() {
			try {
				foreach (var obj in getCreatures()) {
					if (obj.dropAvailable && me.dist(obj) < 4) PickupAllDrop(obj);
				}
			} catch {}
		}
	}
}

This is what I've been using for a bit now while manually playing. It just loots whatever is in range and rolls everything.
 
is there a plug in were it just rolls on everything? if your in a group and someone already picked it up and you have 40 peop rolling on it it takes awhile and your character sits there for like 1 min trying to pick it up.
 
Back
Top