Jump to content

Nosferatuepic

Members
  • Posts

    77
  • Joined

  • Last visited

Posts posted by Nosferatuepic

  1. On 8/6/2014 at 11:44 PM, Droidz said:
    Hello,
     
    Tame pets is not easy, WRobot is not make for it.
     
    I have coded quickly an "Custom profile" to detect NPC by id (this custom profile play an sound and show on map (in wrobot window tab "Map") NPC detected).
     
    To add/remove NPCs at detect, edit custom profile with notepad here:
    
        // Id of NPCs at detect:
        private readonly List<int> _detectNpc = new List<int>
                                        {
                                            38453, // Arcturis: http://www.wowhead.com/npc=38453
                                            54319, // Magria: http://fr.wowhead.com/npc=54319
                                        };
        // Play sound when npc detected:
        private readonly bool _playSound = true;
    (for the moment I have put only two pet).
     
    To install this custom profile, download Npc detector.zip and extract zip file in folder "WRobot\Profiles\Custom Profile\".
     
    ps: I have noted your suggestion to add "tame pet" feature, but I'll don't add it quickly.

     

    how i create quester tame profile?

  2. On 10/11/2018 at 12:08 PM, Mike Mail said:
    
    /run for bag=0,4,1 do for slot=1,36,1 do local name=GetContainerItemLink(bag,slot);if (name and string.find(name,"Item1")) or (name and string.find(name,"Item2")) then PickupContainerItem(bag,slot);DeleteCursorItem();end;end;end

     

    thanks, it is work for classic wow?

  3. 15 hours ago, Andoido said:

    This was my code i used in my Gnome profile. It basically spams the train button, as there is usually 3-4 things that need training on some classes.

    What your seeing is a Double Redundancy. The bot will go to Position, click trainer, spam the staticpopupbutton1  4x. Then he will redo it using a different code. I found this to be more efficient, in case the bot skips a step.

     

    
        <QuestsSorted Action="If" NameClass="ObjectManager.Me.Level >= 10 && ObjectManager.Me.Level <=13 && (wManager.Wow.Helpers.Usefuls.MapZoneName == "Stormwind City")" />
        <QuestsSorted Action="RunCode" NameClass="var position = new Vector3(-8796.12f, 613.003f, 96.77357f);
    int npcEntryId = 11867; 
    wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(position, npcEntryId);" />
        <QuestsSorted Action="Wait" NameClass="1000" />
        <QuestsSorted Action="RunCode" NameClass="Lua.LuaDoString("GossipTitleButton1:Click();");" />
        <QuestsSorted Action="Wait" NameClass="1000" />
        <QuestsSorted Action="RunCode" NameClass="Lua.LuaDoString("StaticPopup1Button1:Click();");" />
        <QuestsSorted Action="RunCode" NameClass="Lua.LuaDoString("StaticPopup1Button1:Click();");" />
        <QuestsSorted Action="RunCode" NameClass="Lua.LuaDoString("StaticPopup1Button1:Click();");" />
        <QuestsSorted Action="RunCode" NameClass="Lua.LuaDoString("StaticPopup1Button1:Click();");" />
        <QuestsSorted Action="RunCode" NameClass="wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(-8796.12f, 613.003f, 96.77357f), 11867);" />
        <QuestsSorted Action="Wait" NameClass="1000" />
        <QuestsSorted Action="RunCode" NameClass="Lua.LuaDoString("GossipTitleButton1:Click();");" />
        <QuestsSorted Action="Wait" NameClass="1000" />
        <QuestsSorted Action="RunCode" NameClass="Lua.LuaDoString("ClassTrainerTrainButton:Click();");" />
        <QuestsSorted Action="Wait" NameClass="1000" />
        <QuestsSorted Action="RunCode" NameClass="Lua.LuaDoString("StaticPopup1Button1:Click();");" />
        <QuestsSorted Action="EndIf" NameClass="" />

     

    thanks, if 1 button crossbow, 2 button swords i need only swords, then Lua.LuaDoString("StaticPopup1Button2:Click(); ?

  4. 1 hour ago, Zan said:

    "The Absent Minded Prospector"

    and change all questid to questname to avoid confusion.

    local questId = The Absent Minded Prospector;
    for i=1,GetNumQuestLogEntries() do
        local _, _, _, _, _, _, _, id = GetQuestLogTitle(i);
        if id == The Absent Minded Prospector then
            SelectQuestLogEntry(i);
            SetAbandonQuest();
            AbandonQuest();
        end
    end

    this?

  5. 2 hours ago, Mike Mail said:
    
    local questId = 12345; <- "12345" Change to your quest id, if you havent already.
    for i=1,GetNumQuestLogEntries() do
    	local _, _, _, _, _, _, _, id = GetQuestLogTitle(i);
    	if id == questId then
    		SelectQuestLogEntry(i);
    		SetAbandonQuest();
    		AbandonQuest();
    	end
    end

    This code dont work at vanilla

  6. hello there, can you help me pls with abandon quest? for Vanilla wow, This code dont work

    local questId = 12345;
    for i=1,GetNumQuestLogEntries() do
    	local _, _, _, _, _, _, _, id = GetQuestLogTitle(i);
    	if id == questId then
    		SelectQuestLogEntry(i);
    		SetAbandonQuest();
    		AbandonQuest();
    	end
    end
  7. 1 minute ago, Jensen- said:
    
    if (wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new robotManager.Helpful.Vector3(-1150.26, 52.8149, 144.8369), 7089)) // replace 1, 2, 3 by position, and 12345 by npc entry id
     { 
     wManager.Wow.Helpers.Usefuls.SelectGossipOption(wManager.Wow.Enums.GossipOptionsType.trainer);
     wManager.Wow.Helpers.Trainer.TrainingSpell();
    }

    use this change cords and npc id

    As Runcode? I use easy quest editor

  8. On 9/30/2018 at 1:08 AM, naviomg said:
    
    wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(position, npcid);
    Lua.LuaDoString("GossipTitleButton1:Click();");
    Lua.LuaDoString("ClassTrainerSkill1:Click();");

    run this as RunCode

    dont work

    wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(-8796.12f, 613.003f, 96.77357f,11867);
    Lua.LuaDoString("GossipTitleButton1:Click();");
    Lua.LuaDoString("ClassTrainerSkill1:Click();");

  9. 12 hours ago, naviomg said:
    
    wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(position, npcid);
    Lua.LuaDoString("GossipTitleButton1:Click();");
    Lua.LuaDoString("ClassTrainerSkill1:Click();");

    run this as RunCode

    Thank you, with this code he learn all skills from trainer right?

  10. 4 minutes ago, fantasia said:

    Ì 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

    For convenience in use it will be better in one profile

×
×
  • Create New...