LordManzana
New Member
- Joined
- May 2, 2015
- Messages
- 207
- Reaction score
- 0
Hello!
I created one simple plugin wich allow you log out your account when get suspected user buff.
Updated:
Added new buff's according to https://www.thebuddyforum.com/archebuddy-forum/222056-debuff-botting.html
Compile that code:
Hope will help you
Buy me a coffe if you want apreciate my work with any donation 
I created one simple plugin wich allow you log out your account when get suspected user buff.
Updated:
Added new buff's according to https://www.thebuddyforum.com/archebuddy-forum/222056-debuff-botting.html
Compile that code:
Code:
using System;
using System.Drawing;
using System.Threading;
using System.Collections.Generic;
using System.Linq;
using ArcheBuddy.Bot.Classes;
using System.Media;
namespace BadBuff4Free
{
/*
* That Plugin is being under the Creative Commons BY-NC-SA v4.0
* More information about licence here: https://creativecommons.org/licenses/by-nc-sa/4.0/
*/
public class BadBuff4Free : Core
{
//Start edit zone, you can edit values.
//Interval (in seconds) used to check if you have or not the bot debuff.
int checkDebuff = 1;
//End edit zone, don't touch nothing more if you don't know what are you doing
bool imPlaying = true;
public static string GetPluginAuthor()
{
return "LordManzana";
}
public static string GetPluginVersion()
{
return "1.0.1.1";
}
public static string GetPluginDescription()
{
return "Awesome BadBuff checker";
}
public void PluginStop()
{
Log("Awesome BadBuff checker closed");
}
public void PluginRun()
{
onFoundGameMaster += GameMasterFound;
while (imPlaying)
{
if (me.isAlive())
{
foreach (Buff buff in me.getBuffs())
{
//Get buff's id from
//https://www.thebuddyforum.com/archebuddy-forum/community-developer-forum/220208-updated-weekend-buff-name-id-list.html
if (!me.inFight && (buff.id == 4861 || buff.id == 4862 || buff.id == 631 || buff.id == 4876 || buff.id == 14713))
{
Log("Suspected buff detected, you will be disconnected");
LeaveWorldToCharacterSelect();
imPlaying = false;
}
}
Thread.Sleep(checkDebuff * 1000);
}
}
}
private void GameMasterFound(Creature ob)
{
Log("Game Master was detected. Logging off");
//LeaveWorldToCharacterSelect();
CloseGame();
}
}
}
Hope will help you



Last edited: