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

Simple plugins example

Всем привет!
Как можно узнать уровень физической/магической защиты другого игрока (не оббегая циклом и не суммируя физическую защиту каждой одетой шмотки), есть ли функция ?

Machine translation.
Hi!
How can I find the physical protection of another player? Is there a function?
 
Out, can I have a get and complete quests plugin example plz? For Example, complete the initial green quests.
 
Out, can I have a get and complete quests plugin example plz? For Example, complete the initial green quests.
You can review questing plugin sources, that included with AB update
 
You can review questing plugin sources, that included with AB update

I do still get the QuestingSources.zip for an older version than the current one. Can you provide the latest sources?
 
Привет, самый простой скрипт по сбору в миру:

Code:
while(true)
            {
                RoundZone zone = new RoundZone(me.X,me.Y,120); 
                CollectItemsInZone("Бобы","Собрать урожай (3 оч. работы)", zone);
            }

То есть, сканирует радиус, ищет выросшую траву, идет ее собирать, собирает. Но если вдруг в зоне видимости находится чье-то пугало\дом с таким же посаженным растением, то бежит к нему и пытается собрать его с чужого пугала. И так пытается бесконечно.

Вижу два решения проблемы:

1) Проверять траву на "чужое пугало", и если она ничья(или своя) - идти собирать, иначе переходить к следующей траве.
2) Бежать собирать даже чужую траву, после неудачной попытки помечать ее, как невозможную(и не бегать к ней в будущем), и переключаться к следующей.

Как это осуществить?
 
Planting and gathering on your scarecrow:
Code:

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

namespace YourNamespace{
public class YourClass : Core
{
public void PluginRun()
{
PlantItemsAtFarm("Cedar sapling","YourCharacterName");
CollectItemsAtFarm("Cedar tree","Logging: Spend up to 10 Labor to chop down a tree.","YourCharacterName");

//Same but in random zone
RoundZone z = new RoundZone(me.X,me.Y,25);
PlantItemsInZone("Cedar sapling", z);
CollectItemsInZone("Cedar tree","Logging: Spend up to 10 Labor to chop down a tree.",z);
}
}
}

Can someone help me to make it to plant in rectangle instead of round zone ? Tried to change roundzone to rectanglezone , still planting in round. I'm totally new to that thing.
 
Can someone help me to make it to plant in rectangle instead of round zone ? Tried to change roundzone to rectanglezone , still planting in round. I'm totally new to that thing.

You would need to put in the coords of the rectangle i would imagine since roundzone plants in a circle around the x, y in the roundzone but rectanglezone uses a set of coords with all 4 corners from what i can see.
 
Back
Top