Jump to content

Sorcerer

WRobot user
  • Content Count

    12
  • Joined

  • Last visited

  1. Thank you! This is exactly what I was looking to forwards 🙂 . I took the npc coordinates and npc entry - I'm 100% sure this info is correct! When I launch bot, there is no error -- but still no moving to the npc / interacting which is the main issue. QuestType: OverridePulseCSharpCode Quest Order: ActionType: Pulse if(wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(4895.55, -2842.65 , 1442.897), 25024, 1)) // vectors of the npc, npc ID, Gossip { Vendor.BuyItem(ItemsManager.GetNameById(21215), 1); }
  2. Nothing wrong in using lua, if I get the food in my inventory then Tool.HasItem will find it regardless of the method I'm using to obtain it, and I think it's a very good method to obtain the item. I mean the C# for HasItem is even using lua to return item amount. The problem I'm having has nothing to do with this at all 😄 the bot is not even approaching the NPC to interact. The condition for NPC interaction is this: return Tool.HasItem("Graccu's Mince Meat Fruitcake") < 0; Naturally, a newly made character will fill this condition as it has none of that food. I don't und
  3. I'm just using SuperMacro (this is in my extend file) and have buying the food evented like so, works every time when I right click the vendor and I don't have food on me: BOTNET:RegisterEvent("MERCHANT_SHOW") function BOTNET:OnEvent() if event == "MERCHANT_SHOW" then if itemCount("Graccu's Mince Meat Fruitcake") < 1 and ((UnitName("target") == "Food Vendor")) then BuyMerchantItem(1,200); end end end BOTNET:SetScript("OnEvent", BOTNET.OnEvent)
  4. Thanks for trying to help, I did not figure it out!!! Basically I'm trying to right click on npc vendors (they are custom npcs in our private server) InteractWithNpcs.xml
  5. So like I did it was correct, simple, nothing complex there. Strange, my bot is not moving to interact with the npc what could I possibly be missing? Hmm 😄 maybe the Pulse part is my issue here, gonna look into that
  6. Oh yeah, I had 2 missing semicolons -- got that sorted Now I'm confused, the correct way to return is actually this? I'm getting no error if I added it like this: return Tool.HasItem("Graccu's Mince Meat Fruitcake") > 0; But I'm getting error when I add it like this: Tool.HasItem("Graccu's Mince Meat Fruitcake") > 0;
  7. I basically want to interact with custom NPC, as first quest. And my LUA code running from addon folder will take care of buying the item. But I want to tell the bot when the "quest" is complete! checking for the item with this (not sure if this is correct honestly): Tool.HasItem("Graccu's Mince Meat Fruitcake") > 0 Tool.HasItem("Graccu's Mince Meat Fruitcake") < 1 I can't get it to work, actually I get an error when launching This is precisely what I pasted into Custom Script: public class Tool { public static int HasItem(string itemName) {
  8. How can I even use these snippets? I can't figure out where to paste all of it as a whole, to be able to call these statements etc. I want to use for example HasItem as an "Can condition" and "Is Complete condition" in the Easy Quests Editor
  9. Problem solved: I'm stupid (ofc :D) I had entered wrong character name, 1 letter was wrong in the end. This is why bot didn't enter world. Now it's working normally!
  10. Still having this problem, bot farmed nothing the entire night. It might be related to relogger, I don't really know. It selects the character (I only use 1 character per acc) and just does nothing, not pressing Enter World button! So it keeps restarting the client over and over and over after waiting. If I press the Enter World by myself, then everything works... but I can't be pressing this for my bot all day lol!!! Any help? What should I do
  11. For some reason the server kicks me if I log in and wait in character list for 5 seconds. WRobot is not pressing "Enter World" but just keeps waiting, if I press it manually it enters world and loads rest of the bot. How can I solve it? Thank you
  12. I'm not sure what am I doing wrong? I just want to cast Cat Form when I enter combat, but nothing is happening. Please help! Here is my FightClass.xml <?xml version="1.0" encoding="utf-8"?> <FightClass xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <FightClassGeneralSettings> <FightClassName>Druid</FightClassName> </FightClassGeneralSettings> <FightClassSpells> <FightClassSpell> <FightClassConditions> <FightClassCondition> <Co
×
×
  • Create New...