fantasia
Members-
Posts
13 -
Joined
-
Last visited
fantasia's Achievements
Newbie (1/14)
6
Reputation
-
Matenia reacted to a post in a topic: Learning C#
-
Matenia reacted to a post in a topic: Learning C#
-
Is there a good way to make the bot not get stuck in the environment? One really annoying area is the class trainer building in Razor Hill. It has 4 braziers in it. I get stuck in them all the time, I tried adding small blacklisted spot on them and it still goes straight through them both to go to trainer and bag vendor and to go out. Normally it can unstuck itself but this time it tried to unstuck itself 7 times and kept getting stuck so I stopped the bot. When I set blacklisted spots it also makes the pathing go really out of the way, if I set a 5yd blacklist then it tries to go something like 20yd away from it (it makes it look so stupid when it basically goes in a large C shape to go around the blacklisted spot). It feels like I have to do a lot of the pathfinding myself (for razorhill maybe I should record a path of me going into and out of the trainer building and only enter it with code).
-
Sometimes when the mobs at a hotspot is already dead (so there is nothing to attack upon reaching it) it causes the bot to spin around there for a long time. I let it spin around for around 1 min before stopping bot and it happened at atleast 2 locations for me so far. Is there any solution to this? It makes it so obvious that you are a bot. This happens both on single and multiple hotspots (on single hotspots I think SmoothMove bugs it out so it spins, not sure if it does that without it or just wait for mob). On multiple hotspots it can stay at the hotspot without mobs (and spin around) instead of going to another hotspot.
-
fantasia reacted to a post in a topic: trying to use ItemsManager.HasItemById but with a stack
-
zze reacted to a post in a topic: trying to use ItemsManager.HasItemById but with a stack
-
trying to use ItemsManager.HasItemById but with a stack
fantasia replied to zze's topic in Developers assistance
Maybe you use Sleep somewhere that blocks the code from running (not sure if it would block the pathfinding from running its code). Maybe you need to enclose your buff and combat code in a "if (!ObjectManager.Me.IsDeadMe)". That is the only 2 things I can come up with that could possibly affect it. -
trying to use ItemsManager.HasItemById but with a stack
fantasia replied to zze's topic in Developers assistance
It should path back by default. Is it your fight class that blocks it? Maybe try to see if it can path back without a fight class or with some xml fight class to see if the issue is your fight class -
zze reacted to a post in a topic: trying to use ItemsManager.HasItemById but with a stack
-
trying to use ItemsManager.HasItemById but with a stack
fantasia replied to zze's topic in Developers assistance
I have not tried this, but I think this would work: ItemsManager.GetItemCountById(6265) <= 10 HasItemById is just a bool (true/false if we have it or not) -
I noticed that the default drinking behavior doesn't work for feral druids. I looked at one feral druid fight class and it cancelled cat or bear form if mana was low and the bot was out of combat to get the mana bar out so the default drinking behavior works. I was thinking of making my own feral druid fight class and disable the default drinking/eating and instead make it use the items in my code. I could make it drink like this (but a little bit smarter, just some test code). if (ObjectManager.Me.ManaPercentage < 35 && !ObjectManager.Me.HaveBuff("Drink")) { ItemsManager.UseItem(159); } But is there any way I could make it pause its movement and targetting until it has fullfilled some criterias (enter combat or full mana or lost drink buff).
-
I have only used wrobot for a week so I haven't done very much with it yet. (a plugin that detects nearby players and display a warning on screen, a plugin that assigns talents automatically on level up in the order I specified and just some fight classes for low lvl characters playing solo with some behavior to stop trying to pull their current target if they have aggro from a nearby mob to make it less likely to pull big packs) I think c# feels a lot easier to write and understand, I am not used to lua but I don't like it but others might think it is good. I looked at the Holy Grail c# fight class. It looks like it handles healing party members without targetting them by using focus. (I have not tested the code I took from it, but it seems really useful). In "WhatsGoingOn" plugin you can check how to make and edit frames ingame. (I used its frame and just customized it so it goes small when noone is nearby and big with a warning when anyone is within range) "AutoSelectFoodDrink" is a good plugin to use as a framework for a plugin that runs code every x amount of seconds.
-
Grevlen reacted to a post in a topic: Learning C#
-
I am not very good at programming but I would recommend: 1. Learn the fundamentals if you haven't already (learn about things like variables, loops, conditions and other basic things). 2. Download every cs fight class and plugin you can find on here. They are great to see how other people have solved the issues. 3. Use the intellisense in visual studio to see what methods you have access to. Also "Go to definition" and "Find all references" is 2 useful options in the right click menu when right clicking a method or class. 4. Search for what you want to do on here (wrobot related things) or on google (lua or c# related things).
-
I was botting on 5 accounts when the bans started happening and they are still fine but I think they didn't get banned because they are low lvl. I know they ban in waves (they can collect reports for more than a week then they handle them all at once), it could be that some people have been reporting a lot (when I manually levelled my first char I saw ~40 bots just while lvling in northrend, a lot of people don't hide that they bot, many that just grind with default movement on full BoE equipped lvl 80s on a lvl 7x quest area and stealing the quest mobs from normal people). But considering so many people say they got banned on most/all the accounts they used and noone (on wotlk) have said they have old account that they have botted on now and that those accounts hasn't been banned, then it is almost guaranteed it is the bot that is detected. Considering they updated wotlk on 13th of september it seems even more likely that they pushed some anti bot detection at the same time.
-
Ì recently started using wrobot, I don't know if there is a good solution. It feels bad that you can't "drag" or select multiple lines to get moved up. I would make multiple profiles and then just load the next profile when done with the current one. Then the list will be smaller and you won't have so many npcs and quests so will be easier to make changes. [x] LoadProfile > Profilename.xml
-
Matenia reacted to a post in a topic: Issues with combat after ressing when using C# fight class
-
Issues with combat after ressing when using C# fight class
fantasia replied to fantasia's topic in Developers assistance
It was a different but similar situation. I used some code that someone else made that would pause the bot for a while if it was a pvp death. But it was written wrong so it only paused the fight class not the entire bot and it triggered if the enemy wasn't same faction as the bot (which caused it to trigger on mobs since they are not same faction...). I should have checked their code better, somehow it sounded like it was good in my head when I read it but ofcourse it isn't. -
I have only been using the bot for a few days, I tried making my own fight class in C#. It works fine except when it decides to pull a big pack of mobs and dies. When it ress it stops running my fight class code, it just runs to the mob auto attacking, not using any spell and the log shows nothing at the time of death or ressurection, not even when showing debug. Dying: :54 - [Fight] Player Attacked by ... :55 - [Fight] Fight stopped :56 - [Resurrect] Player dead Ressing: :46 - [Resurrect] Player retrieve corpse :47 - [Fight] Player Attacked by ... :55 - [Resurrect] Player dead I tried twice to stop and start the bot while dead and then it works fine, it is then able to ress and use abilities right away. But everytime it dies and try to ress without a restart it won't use any abilities, just auto attack. Could it be that somehow the fight class is "crashing" when it dies? It doesn't say anything about any issues with it and I don't think it really would do that. I haven't had any issues with this with the xml fight classes you make with the GUI. Any idea what is causing the bot to not use any abilities unless it is restarted after dying?