d3kxn
Members-
Posts
15 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
d3kxn's Achievements
Newbie (1/14)
2
Reputation
-
Matenia reacted to a post in a topic: Hunter - ammo bags / loot and buying ammo
-
Hunter - ammo bags / loot and buying ammo
d3kxn replied to Showboat's topic in WRobot for Wow Vanilla - Help and support
I have something like this in my fight class to detect this situation: wManager.Events.LootingEvents.OnLootingTaskEnd += (cancelable) => { this.CheckBagStopConditions(); }; /* * Check whether or not to stop the bot when the inventory is full * or no ammonition is available anymore. * (The full bag detection of wrobot is broken (because of the quiver)) */ private void CheckBagStopConditions() { if (!this.HasBagSpaceFree() || !this.HasAmmonition()) { Logging.Write("Stop the bot!"); Products.ProductStop(); } } private bool HasBagSpaceFree() { int FreeTotal = wManager.Wow.Helpers.Bag.GetContainerNumFreeSlotsNormalType; int FreeQuiver = wManager.Wow.Helpers.Bag.GetContainerNumFreeSlotsByBagID(4); // TODO: Make configurable int FreeForLoot = FreeTotal - FreeQuiver; return FreeForLoot > 0; } private bool HasAmmonition() { if (MySettings.CurrentSetting.AmmonitionName == "") { return true; // disable this check } return ItemsManager.GetItemCountByNameLUA(MySettings.CurrentSetting.AmmonitionName) > 0; } It currently simply stops the bot. But you could use it to do anything else in this situation. You will need to replace MySettings.CurrentSetting.AmmonitionName with the name of the ammonition you use. -
I don't know exactly what the thread opener wanted to know, but I am also interested in how it works exactly: Is it allowed to walk through the blacklisted areas at all? Or only in specific situations (for traveling, looting, for attacking a mob, for fighting a mob being attacked from)? Is it allowed to attack a mob in a blacklisted area? Is it allowed to loot a mob in a blacklisted area?
-
Movement: Follow path strafing or running backwards
d3kxn replied to d3kxn's topic in Developers assistance
Hey thanks! The destination coordinate calculation based on robotManager.Helpful.Math.GetPosition2DOfAngleAndDistance looks interesting. I just tried the snippet, needs more fine tuning, but could be a base for a solution. The one thing I thought about is not done with this snippet: Follow a path while walking backward or strafing. The toon is always turning arround and follwing the path looking straight away from the mob. A human player would either turn 90 degrees and strafe away (to move faster) or simply strafe away to the right or left. Turning 180 degrees around and run away with the back pointing to the mob is not done pretty often by human players. Any ideas? -
Movement: Follow path strafing or running backwards
d3kxn replied to d3kxn's topic in Developers assistance
I am using the current version of wrobot for vanilla private server. But I am not sure whether or not I explained my question right. What I want to archieve is that I can tell my toon to follow a path to a specific position running backward instead of running forward. I don't mean to reverse a path. So instead of, for example this: wManager.Wow.Helpers.Move.MoveInject(wManager.Wow.Enums.Keybindings.MOVEBACKWARD, false); Thread.Sleep(1000); wManager.Wow.Helpers.Move.MoveInject(wManager.Wow.Enums.Keybindings.MOVEBACKWARD, true); I want to do something like this: MovementManager.GoBackward(PathFinder.FindPath(NewPosition), false); Please note the imaginary GoBackward() method. Have you an idea how to realize this? -
Hi folks, I am working hard to improve the movement of my C# fight class based hunter. Currently I am tuning some infight moves. At the moment I have some routine which makes the toon to get away from near enemies. It works pretty well in simple situations. It walks away by simulating press/release of movement keys. This movement approach is not easy to manage when it comes to stuck detections and resolution, for example when the bot is going backward and moves against a wall. I think it would be much easier to solve this issue when the movement was managed with paths. The problem I have with paths is that the toon always follows the paths by turning the back to the mob and running forward. Is it somehow possible to make the toon follow the path strafing or going backward?
-
Distance / Attack range not checked correctly
d3kxn replied to d3kxn's topic in WRobot for Wow Vanilla - Help and support
Just walked cross some lvl 5 mobs with level 10 char. It started charging the mobs with a distance of 11-12. But this was only working when focussing the mobs manually before. For other mobs the char was passing this did not work even when being next to them with a distance of 11. Ideas? -
Distance / Attack range not checked correctly
d3kxn replied to d3kxn's topic in WRobot for Wow Vanilla - Help and support
Is there anything I can do about the "attack before being attacked issue"? The behavior I see here is a really bottish one. When I use the "Development tools" to check the distance between the mob the char is moving to, the distance is always less than 10 before the log message appears and the char starts focusing. Is it possible to workaround this using a plugin or something? Btw. I am currently trying a warrior (lvl 10 at the moment). -
Distance / Attack range not checked correctly
d3kxn replied to d3kxn's topic in WRobot for Wow Vanilla - Help and support
Oh, wow. Good to know. Never imagined that this could be the issue. Thanks for your answer! But one thing which really seems to be wrong is the "start fighting before being attacked" setting. In the log I see the message "attacking ... before being attacked". In the same moment I see the char stop to focus and fight the spotted mob. But before the attack is initiated the mob becomes agro and attacks the char. To me this seems as the detection range is a bit too low. -
Arcangelo reacted to a post in a topic: Distance / Attack range not checked correctly
-
I am currently trying to use Wrobot on vanilla with a mage for leveling. I am at level 9 at the moment. I tried to use the horde profile of arcangelo I have set "attack before being attacked" option set.. The bot seems to have some issues detecting the distance between the player and hostile units. It always runs next to the mobs, then stops, faces the target to attack it. But before start casting the hostile units start attacking the player. Since the spells of the mage have a far wider range, it would be much better to start the attack from a higher distance. I tried iMage-Basic and Legion Fire mage leveling by BetterSister fight classes. The XML profile I tried has a range of 39 set in the general properties. I tried to change it, but it didn't seem to change anything. This is a huge problem when sending the bot to hostile npc camps where the bot should act carefully. But this is also a problem when the bot tries to move to a target and comes in range of another hostile npc. In most cases the bot is attacked while moving. Is this some problem of the fight classes, some wrong setting or some problem in the bot?
-
The bot is configured to pause when players are nearby, but is told to ignore the setting when going to town. When starting the bot e.g. in orgrimmar with these settings, the bot is initializing and starting for some seconds and then pauses (logs that players are nearby). I guess there is some kind of timer used for checking. And I guess that the bot does not know that he is currently in town. Would be nice if there was some kind of detection. In case this can not be done with the available map information, it can possibly be detected based on nearby npcs or something.
-
I already renamed the whole meshes folder and restarted wrobot, no success. This is the log: 23:09:40 - [Quester] Started [N] 23:09:40 - [Path-Finding] Mesh file "Kalimdor\Kalimdor_36_36.mesh.gz" downloaded. [N] 23:09:40 - [Path-Finding] Load finish: E:\wow\WRobot\Data\Meshes\\Kalimdor\Kalimdor_36_36.mesh.gz [N] 23:09:41 - [Path-Finding] Mesh file "Kalimdor\Kalimdor_35_36.mesh.gz" downloaded. [N] 23:09:41 - [Path-Finding] Load finish: E:\wow\WRobot\Data\Meshes\\Kalimdor\Kalimdor_35_36.mesh.gz [N] 23:09:41 - [Path-Finding] Mesh file "Kalimdor\Kalimdor_36_35.mesh.gz" downloaded. [N] 23:09:41 - [Path-Finding] Load finish: E:\wow\WRobot\Data\Meshes\\Kalimdor\Kalimdor_36_35.mesh.gz [N] 23:09:41 - [Path-Finding] Mesh file "Kalimdor\Kalimdor_35_35.mesh.gz" downloaded. [N] 23:09:41 - [Path-Finding] Load finish: E:\wow\WRobot\Data\Meshes\\Kalimdor\Kalimdor_35_35.mesh.gz [N] 23:09:42 - [Path-Finding] Mesh file "Kalimdor\Kalimdor_37_36.mesh.gz" downloaded. [N] 23:09:42 - [Path-Finding] Load finish: E:\wow\WRobot\Data\Meshes\\Kalimdor\Kalimdor_37_36.mesh.gz [N] 23:09:42 - [Path-Finding] Mesh file "Kalimdor\Kalimdor_37_35.mesh.gz" downloaded. [N] 23:09:42 - [Path-Finding] Load finish: E:\wow\WRobot\Data\Meshes\\Kalimdor\Kalimdor_37_35.mesh.gz [N] 23:09:43 - [Path-Finding] Mesh file "Kalimdor\Kalimdor_36_37.mesh.gz" downloaded. [N] 23:09:43 - [Path-Finding] Load finish: E:\wow\WRobot\Data\Meshes\\Kalimdor\Kalimdor_36_37.mesh.gz [N] 23:09:43 - [Path-Finding] Mesh file "Kalimdor\Kalimdor_35_37.mesh.gz" downloaded. [N] 23:09:43 - [Path-Finding] Load finish: E:\wow\WRobot\Data\Meshes\\Kalimdor\Kalimdor_35_37.mesh.gz [N] 23:09:43 - [Path-Finding] Path Count: 5 [N] 23:09:43 - [Path-Finding] Mesh file "Kalimdor\Kalimdor_37_37.mesh.gz" downloaded. [N] 23:09:44 - [Path-Finding] Load finish: E:\wow\WRobot\Data\Meshes\\Kalimdor\Kalimdor_37_37.mesh.gz [N] 23:09:44 - [Path-Finding] Path Count: 4 [N] 23:09:44 - [Path-Finding] Path Count: 2 [N] 23:09:44 - [Path-Finding] Mesh file "Kalimdor\Kalimdor_36_38.mesh.gz" downloaded. [N] 23:09:44 - [Path-Finding] Load finish: E:\wow\WRobot\Data\Meshes\\Kalimdor\Kalimdor_36_38.mesh.gz [N] 23:09:44 - [Path-Finding] Mesh file "Kalimdor\Kalimdor_35_38.mesh.gz" downloaded. [N] 23:09:44 - [Path-Finding] Load finish: E:\wow\WRobot\Data\Meshes\\Kalimdor\Kalimdor_35_38.mesh.gz [N] 23:09:44 - [Path-Finding] Path Count: 2 [N] 23:09:44 - [Path-Finding] Path Count: 2 [N] 23:09:45 - [Path-Finding] Mesh file "Kalimdor\Kalimdor_34_37.mesh.gz" downloaded. [N] 23:09:45 - [Path-Finding] Load finish: E:\wow\WRobot\Data\Meshes\\Kalimdor\Kalimdor_34_37.mesh.gz [N] 23:09:45 - [Path-Finding] Mesh file "Kalimdor\Kalimdor_34_36.mesh.gz" downloaded. [N] 23:09:45 - [Path-Finding] Load finish: E:\wow\WRobot\Data\Meshes\\Kalimdor\Kalimdor_34_36.mesh.gz [N] 23:09:45 - [Path-Finding] Path Count: 2 [N] 23:09:45 - [Path-Finding] Path Count: 4 [N] 23:09:45 - [Path-Finding] Path Count: 2 [N] 23:09:46 - [Path-Finding] Mesh file "Kalimdor\Kalimdor_34_35.mesh.gz" downloaded. [N] 23:09:46 - [Path-Finding] Load finish: E:\wow\WRobot\Data\Meshes\\Kalimdor\Kalimdor_34_35.mesh.gz [N] 23:09:46 - [Path-Finding] Mesh file "Kalimdor\Kalimdor_36_34.mesh.gz" downloaded. [N] 23:09:46 - [Path-Finding] Load finish: E:\wow\WRobot\Data\Meshes\\Kalimdor\Kalimdor_36_34.mesh.gz [N] 23:09:46 - [Path-Finding] Mesh file "Kalimdor\Kalimdor_35_34.mesh.gz" downloaded. [N] 23:09:46 - [Path-Finding] Load finish: E:\wow\WRobot\Data\Meshes\\Kalimdor\Kalimdor_35_34.mesh.gz [N] 23:09:46 - [Path-Finding] Path Count: 8 23:09:46 - [Fight] Player Attack Wandering Barrens Giraffe (lvl 18) [N] 23:09:47 - [Path-Finding] Mesh file "Kalimdor\Kalimdor_37_34.mesh.gz" downloaded. [N] 23:09:47 - [Path-Finding] Load finish: E:\wow\WRobot\Data\Meshes\\Kalimdor\Kalimdor_37_34.mesh.gz [N] 23:09:47 - [Path-Finding] Mesh file "Kalimdor\Kalimdor_38_36.mesh.gz" downloaded. [N] 23:09:47 - [Path-Finding] Load finish: E:\wow\WRobot\Data\Meshes\\Kalimdor\Kalimdor_38_36.mesh.gz [N] 23:09:48 - [Path-Finding] Mesh file "Kalimdor\Kalimdor_38_35.mesh.gz" downloaded. [N] 23:09:48 - [Path-Finding] Load finish: E:\wow\WRobot\Data\Meshes\\Kalimdor\Kalimdor_38_35.mesh.gz [N] 23:09:48 - [Path-Finding] Mesh file "Kalimdor\Kalimdor_38_34.mesh.gz" downloaded. [N] 23:09:48 - [Path-Finding] Load finish: E:\wow\WRobot\Data\Meshes\\Kalimdor\Kalimdor_38_34.mesh.gz [N] 23:09:48 - [Path-Finding] Mesh file "Kalimdor\Kalimdor_37_33.mesh.gz" downloaded. [N] 23:09:48 - [Path-Finding] Load finish: E:\wow\WRobot\Data\Meshes\\Kalimdor\Kalimdor_37_33.mesh.gz [N] 23:09:49 - [Path-Finding] Mesh file "Kalimdor\Kalimdor_36_33.mesh.gz" downloaded. [N] 23:09:49 - [Path-Finding] Load finish: E:\wow\WRobot\Data\Meshes\\Kalimdor\Kalimdor_36_33.mesh.gz [N] 23:09:49 - [Path-Finding] Path Count: 19 [N] 23:09:52 - [Path-Finding] Mesh file "Kalimdor\Kalimdor_38_33.mesh.gz" downloaded. [N] 23:09:52 - [Path-Finding] Load finish: E:\wow\WRobot\Data\Meshes\\Kalimdor\Kalimdor_38_33.mesh.gz [N] 23:09:53 - [Path-Finding] Mesh file "Kalimdor\Kalimdor_35_33.mesh.gz" downloaded. [N] 23:09:53 - [Path-Finding] Load finish: E:\wow\WRobot\Data\Meshes\\Kalimdor\Kalimdor_35_33.mesh.gz [N] 23:09:53 - [Path-Finding] Mesh file "Kalimdor\Kalimdor_39_35.mesh.gz" downloaded. [N] 23:09:53 - [Path-Finding] Load finish: E:\wow\WRobot\Data\Meshes\\Kalimdor\Kalimdor_39_35.mesh.gz [N] 23:09:53 - [Path-Finding] Mesh file "Kalimdor\Kalimdor_39_36.mesh.gz" downloaded. [N] 23:09:53 - [Path-Finding] Load finish: E:\wow\WRobot\Data\Meshes\\Kalimdor\Kalimdor_39_36.mesh.gz [N] 23:09:53 - [Path-Finding] Path Count: 11 23:09:56 - [Fight] Player Attack Wandering Barrens Giraffe (lvl 18) [N] 23:09:56 - [Path-Finding] Path Count: 19 [N] 23:10:00 - [Path-Finding] Path Count: 12 23:10:03 - [Fight] Player Attack Wandering Barrens Giraffe (lvl 18) [N] 23:10:03 - [Path-Finding] Path Count: 19 [N] 23:10:08 - [Path-Finding] Mesh file "Kalimdor\Kalimdor_34_34.mesh.gz" downloaded. [N] 23:10:09 - [Path-Finding] Load finish: E:\wow\WRobot\Data\Meshes\\Kalimdor\Kalimdor_34_34.mesh.gz [N] 23:10:09 - [Path-Finding] Mesh file "Kalimdor\Kalimdor_39_34.mesh.gz" downloaded. [N] 23:10:09 - [Path-Finding] Load finish: E:\wow\WRobot\Data\Meshes\\Kalimdor\Kalimdor_39_34.mesh.gz [N] 23:10:09 - [Path-Finding] Mesh file "Kalimdor\Kalimdor_38_37.mesh.gz" downloaded. [N] 23:10:09 - [Path-Finding] Load finish: E:\wow\WRobot\Data\Meshes\\Kalimdor\Kalimdor_38_37.mesh.gz [N] 23:10:09 - [Path-Finding] Path Count: 11 23:10:13 - [Fight] Player Attack Wandering Barrens Giraffe (lvl 18) [N] 23:10:13 - [Path-Finding] Path Count: 19 [N] 23:10:16 - [Path-Finding] Path Count: 12 23:10:21 - [Fight] Player Attack Wandering Barrens Giraffe (lvl 18) [N] 23:10:21 - [Path-Finding] Path Count: 19 [N] 23:10:25 - [Path-Finding] Path Count: 11 23:10:29 - [Fight] Player Attack Wandering Barrens Giraffe (lvl 18) [N] 23:10:29 - [Path-Finding] Path Count: 19 [N] 23:10:33 - [Path-Finding] Path Count: 12 23:10:34 - [Fight] Player Attack Wandering Barrens Giraffe (lvl 18) [N] 23:10:34 - [Path-Finding] Path Count: 22 [N] 23:10:37 - [Path-Finding] Path Count: 12 23:10:38 - [Pause] started
-
It would be nice to be able to clear the chat messages window, just like the log.
-
When opening the log tab of the wrobot dialog for the first time the log lines are visibly scrolling down. Seems like all lines are rendered to the widget from the start of the log file. This is especially annoying when having the bot open for a longer time. Normally one is interested in the last lines. Maybe it would be better to render the lines from the end or first render the last N lines, show them to the user so that they fill the whole visible widget and then render the rest of the log in the background. Or something similar.