79135
-
Posts
336 -
Joined
-
Last visited
Content Type
Forums
Articles
Bug Tracker
Downloads
Store
Posts posted by 79135
-
-
2 hours ago, Matenia said:
overrideCSharpPulse
The method inside this gets called OVER AND OVER by wRobot (basically anytime the quester pulse state is called).
If you initialize the path list inside that mehod, its state gets reset every time wRobot restarts the state...
See my explanation above//bad pseudo code: bool reachedP1 = false; if(!reachedP1) { wManager.Wow.Bot.Tasks.GoToTask.ToPosition(p1); } //p1 is reached here if(ObjectManager.Me.Position.DistanceTo(p1) < 5) { reachedP1 = true; } wManager.Wow.Bot.Tasks.GoToTask.ToPosition(p2); wManager.Wow.Bot.Tasks.GoToTask.ToPosition(p...); wManager.Wow.Bot.Tasks.GoToTask.ToPosition(pN);
If I put the pause and after start bot again running to p1 if he stay < 5 yards from p1.
Do you can write code like Droidz wrote for WRobot in Quester Follow path?
-
On 8/1/2018 at 1:09 PM, Droidz said:
why not use quest type followpath?
var path = new List<Vector3>() {
new Vector3(891.3235, -259.2199, -45, "None"),
new Vector3(881.2866, -271.8759, -45, "None"),
new Vector3(880.6079, -280.9656, -45, "None"),
new Vector3(888.381, -293.3022, -45, "None"),
new Vector3(890.4747, -304.1179, -45, "None"),
};var min = path[0];
for(int i = 0; i < path.Count; i++)
{
if(ObjectManager.Me.Position.DistanceTo(min) < ObjectManager.Me.Position.DistanceTo(path))
min = path;
else if(i > 0)
path.Remove(path);
}
foreach(var p in path)
wManager.Wow.Bot.Tasks.GoToTask.ToPosition(p);Bot run to 2nd point in the path.Why it don't work? Write please working code for Bot go to min distance in the path.
-
In the one step I create many actions with many conditions. Goto follow path + use stealth + use item + again follow path... + ... . Me so feel more comfortable than a large number of steps in quest profile
-
1 hour ago, Droidz said:
Hello,
When I use the code, bot running into first position, how to do what bot run to the nearby point?
-
how to write in C++ format the usual follow path like quester profile. I need it for create quester profile(RunCode). So the bot ran to the nearest point and not the starting point of the code. if I write this:
wManager.Wow.Bot.Tasks.GoToTask.ToPosition(p1);
wManager.Wow.Bot.Tasks.GoToTask.ToPosition(p2);
wManager.Wow.Bot.Tasks.GoToTask.ToPosition(p...);
wManager.Wow.Bot.Tasks.GoToTask.ToPosition(pN);
the bot will always start from the first point of the route.
-
5 hours ago, Droidz said:
Hello, wait next update and tell me if problem is resolved
today there was an update, but it, unfortunately, did not fix the error of resurrection in the dungeons, the bot also stands on the mountain, trying to resurrect
-
2 minutes ago, Droidz said:
Hello, wait next update and tell me if problem is resolved
Okay, thank you
-
The character is dead in the dungeon and tries to rise above the mountain, but can't. How to fix this error? You can correct the error of the resurrection of the dungeon, or at least help to solve this local problem? Dungeon is Wailing Caverns, Wow vanilla. Sorry for a bad video.
-
On 6/19/2018 at 1:28 PM, Droidz said:
Hello,
robotManager.Events.FiniteStateMachineEvents.OnRunState += (engine, state, cancelable) => { if (ObjectManager.Me.IsDeadMe && state.DisplayName == "Regeneration" && ObjectManager.Me.PositionCorpse.DistanceTo(ObjectManager.Me.Position) > 40) { cancelable.Cancel = true; // You code to follow path here } };
public class Main : IPlugin
{
private bool _isLaunched;public void Initialize()
{
_isLaunched = true;
robotManager.Events.FiniteStateMachineEvents.OnRunState += (engine, state, cancelable) =>
{
if (ObjectManager.Me.IsDeadMe && Usefuls.ContinentId != (int)ContinentId.WailingCaverns)
{
cancelable.Cancel = true;
IEnumerable<Vector3> paths = new List<Vector3>() {
new Vector3(-852.5135, -2170.376, 92, "None"),
new Vector3(-849.0024, -2036.948, 80, "None"),
new Vector3(-748.3444, -2059.984, 71, "None"),
new Vector3(-621.9654, -2026.705, 63, "None"),
new Vector3(-591.3438, -2135.192, 51, "None"),
new Vector3(-588.2389, -2123.332, 50, "None"),
new Vector3(-628.1954, -2185.471, 48, "None"),
new Vector3(-745,-2210,16, "None")
};
if (ObjectManager.Me.IsDeadMe)
{
// Process waypoints
foreach (Vector3 waypoint in paths)
{
// Move to the given position
MovementManager.Go(PathFinder.FindPath(waypoint), false);// Loop
while (MovementManager.InMovement && Conditions.InGameAndConnectedAndProductStartedNotInPause && ObjectManager.Me.Position.DistanceTo2D(waypoint) > 1.5 && Usefuls.ContinentId != (int)ContinentId.WailingCaverns)
{
// Wait follow path
Thread.Sleep(10);
}
}// Stop movement
MovementManager.StopMove();// End Movement
}
}};
It is badly work. Char sometimes run back , sometimes stop. How is right to write?
-
On 6/19/2018 at 1:28 PM, Droidz said:
Hello,
robotManager.Events.FiniteStateMachineEvents.OnRunState += (engine, state, cancelable) => { if (ObjectManager.Me.IsDeadMe && state.DisplayName == "Regeneration" && ObjectManager.Me.PositionCorpse.DistanceTo(ObjectManager.Me.Position) > 40) { cancelable.Cancel = true; // You code to follow path here } };
I want what bot go to my path, how insert in the code my path, write please .. I need: Point1 - wManager.Wow.Bot.Tasks.GoToTask.ToPosition(new Vector3(1,2,3)); Point2 - wManager.Wow.Bot.Tasks.GoToTask.ToPosition(new Vector3(2,3,4)); I don't know how write follow path, I need example.
-
2 minutes ago, Findeh said:
Please tell me that you have answered "Challenge accepted" before got banned )
unfortunately I do not have time, he was afraid of that answer)
-
3 hours ago, CocoChanel said:
.Is this a thing? I have spoken with some pserver admins, and they have told me that their server uses a system like this to catch botters/exploiters, but I dont know if Lightshope is doing it since I have been able to bot 8 characters at the same time for hours without any bans
Atm I got 3 ban , GM TP in GM room in same time my 3 bots, I too use proxy. Before ban GM write me "Do not attempt to bot on Light's Hope. You cannot hide from us." xD
-
-
On 6/29/2018 at 11:39 AM, Droidz said:
All sessions create log, read this to share your logs
I too run 28 session (my key 30 session) but random session gets closed
-
7 minutes ago, Droidz said:
use like this
ItemsManager.UseItem((uint)idMount);
(or uint idMount = 0;)
Thank you , Droidz
-
int idMount = 0;
if(ObjectManager.Me.PlayerRace == PlayerFactions.Human ||
ObjectManager.Me.PlayerRace == PlayerFactions.Dwarf||
ObjectManager.Me.PlayerRace == PlayerFactions.NightElf ||
ObjectManager.Me.PlayerRace == PlayerFactions.Gnome)
idMount = 25472;
//use mount id for add it in the spellbook
for(int i = 0; i < 4; i++)
{
ItemsManager.UseItem(idMount);
Thread.Sleep(Usefuls.Latency + 1000);
}It's one of the parts a code
-
-
Hello, I use Quester profile. I need control under char when it is ghost(with help Plugin). Explain, please, how to force char go to my path when it ghost?
-
12 hours ago, Droidz said:
Hello, in advanced general settings, but if you want do it in C#:
wManagerSetting.CurrentSetting.DoNotSellList.Clear();
Yes, I was need command "wManagerSetting.CurrentSetting.DoNotSellList.Clear();" Thanks a lot!
-
When I start botting on another computer , if char have items in the bags it item add "don't sell list". What command clear all that list?
-
I want to do it in quester profile with commands, but I don't know what command need (plugin iEquip). Please look the video:
-
-
[E] 00:30:57 - Utility > ResizeAndMoveWindow(Process process, Rectangle rectangle): System.InvalidOperationException: Нет процессов, связанных с этим объектом.
в System.Diagnostics.Process.EnsureState(State state)
в System.Diagnostics.Process.EnsureState(State state)
в System.Diagnostics.Process.get_MainWindowHandle()
в Relogger.IsirimoIjideibuc.Eluedixofisap(Process agimoucequEciu, Rectangle afuiruakou)Why after the error in the log of relogger game start 2 time?
-
4 minutes ago, Droidz said:
try
string stepName = "MyStepName"; var p = wManager.Wow.Helpers.Quest.QuesterCurrentContext.Profile as Quester.Profile.QuesterProfile; if (p != null) { for (int i = 0; i < p.QuestsSorted.Count; i++) { if (p.QuestsSorted[i].Action == wManager.Wow.Class.QuestAction.StepName && p.QuestsSorted[i].NameClass == stepName) { wManager.Wow.Helpers.Quest.QuesterCurrentContext.CurrentStep = i; break; } } }
Eee, thanks a lot again)
Select target
in General discussion
Posted
Hello,
var listUnit = new List<WoWUnit>();
listUnit.AddRange(ObjectManager.GetWoWUnitHostile().Where(u => u.GetDistance2D <= 5).OrderBy(u => u.GetDistance));
foreach (var woWUnit in listUnit)
Interact.InteractGameObject(woWUnit.GetBaseAddress, true);
The code select target, but char begin attack the "woWUnit" , how just select target without autoattack?