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

[Plugin] Patron Loyalty Token Retriever

tictoc

Member
Joined
Sep 21, 2012
Messages
380
Reaction score
5
I have adapted the Divine Blessings Coin Retriever from DerpProgrammer for the new Patron Loyalty Token's.
You should be able to use it with auto-start.
 

Attachments

here is addon for this one that will use them for you if you have a stack of them

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 Extractor {
	public class Extractor : Core
	{
	public static string GetPluginAuthor()
	{
	return "fred";
	}

	public static string GetPluginVersion()
	{
	return "0.1";
	}

	public static string GetPluginDescription()
	{
	return "Use loyalty tokens";
	}

//Call on plugin start
	public void PluginRun()
	{ 
		List<Item> inventory = getAllInvItems();
		foreach (Item myitem in inventory)
		{ 
			if (myitem.name == "Loyalty Token x 1" || myitem.name == "Loyalty Token x 3)
			{ 
			var itemcount = itemCount(myitem.name);
			while (itemcount > 0)
				{
				Log("number of " + myitem.name + "(s) = " + itemcount);
				UseItem(myitem.name, false);
				Thread.Sleep(2000);
				itemcount = itemcount - 1;
				} 
			}
		}
	}
	}
}

it does seem to only do about 100 of them before it stops for some reason although why you would have more then 100 is another story but you can just restart it if that happens :)
Updated to also do the new ones that give 3 tokens
 
Last edited:
Hi can someone update this plugin please loyalty token have been update and now it not clicking it anymore.

thank you
 
yeah i just noticed that to its because it gives 3 now per click and maybe named dif now
 
The AB API call is currently broken, we have to wait until Out has fixed it.
 
Back
Top