Wrote my script (autolog and autouse single item) and tested it on new acc, got banned after couple hours, seems like automatically. Ru server. What for i get banned - for the code or what?
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 DefaultNameSpace{
public class DefaultClass : Core
{
//Call on plugin start
public void PluginRun()
{
while (true)
{
if (gameState == GameState.ServerSelect)
{
//Find our game world
var myWorld = getWorlds().Find(w => w.name == "YourWorld");
if (myWorld == null || (myWorld != null && !myWorld.EnterGameServer()))
{
Log("Invalid game world name or error while we try to enter game server!");
return;
}
//Wait while we enter game world
while (gameState != GameState.CharacterSelect)
Thread.Sleep(510);
foreach (var i in myWorld.getCharacters())
{
i.EnterGame();
while (gameState != GameState.Ingame)Thread.Sleep(10000);
Thread.Sleep(1100);
UseItem("Itemname");
Thread.Sleep(1100);
LeaveWorldToCharacterSelect();
Thread.Sleep(15010);
}
}
Thread.Sleep(1000);
}
}
//Call on plugin stop
public void PluginStop()
{
}
}
}