Jump to content

TheSmokie

Banned
  • Posts

    1215
  • Joined

Posts posted by TheSmokie

  1. i think it should be @blackrockspeculator is so bad, i have ran muti bots and not die, you need to make your own profile. if you dont want problems. Or pay someone like @Bambo or @Matenia for help doing what you want it to do. stop making stupid posts blaming the bot when you are the one who doesnt know how to config the bot or make your own shit.

     

    Note  Matenia charges 30$ per hour of his help. idk about bambo.

     

  2. I know this is a old thread but i came across it when trying to find a method to bender item by name, i was able to make a method that vender ALL item by the name, i thought I'd share.

     

    public static class Toolbox
    {
        public static void Sellitem(string ItemName)
        {
            Lua.LuaDoString(string.Format(@"
            local ItemToSell = '{0}'
            for bag = 0,4,1 do 
            for slot = 1, GetContainerNumSlots(bag), 1 do
                    local name = GetContainerItemLink(bag, slot);
                    if name and string.find(name, ItemToSell) then
                    if (MerchantFrame:IsShown() ) then
                         ShowMerchantSellCursor(1)
                        UseContainerItem(bag, slot)
                       end
                    end
                end
            end", ItemName));
        }
    }
    
    if (wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(x, y, z), NpcID, 1))
            {
                Toolbox.Sellitem("Name of item");
            }

     

  3. Hello, This code works for your quest. Thank you @droidz for the idea of removing u.IsMyPet. (Tested,)

     

    public sealed class Abduction : QuestClass
    {
    	public Abduction()
    	{
    		Name = "Abduction";
    		QuestId.Add(11590);
    		Step.AddRange(new[] { 1, 0, 0, 0, 0 });
    	}
    
    	public override bool IsComplete()
    	{
    		if(ObjectManager.GetObjectWoWUnit().Count(u => u.Name == "Captured Beryl Sorcerer") == 1)
            {
    			Conditions.ForceIgnoreIsAttacked = false;
    		}
    		return ObjectManager.GetObjectWoWUnit().Count(u => u.Name == "Captured Beryl Sorcerer") == 1 &&
    					Conditions.ForceIgnoreIsAttacked == false;
    	}
    	public override bool Pulse()
    	{
    		string TarName = "Beryl Sorcerer";
    		var  HostleNpc = ObjectManager.GetNearestWoWUnit(ObjectManager.GetWoWUnitByEntry(25316));
    
    		var hotspots = new List<Vector3>()
    		{
    			new Vector3(3486.18f, 6074.44f, 65.86797f),
    			new Vector3(3362.955f, 6091.348f, 66.686f)
    		};
    		Conditions.ForceIgnoreIsAttacked = true;
    		if (HostleNpc != null && HostleNpc.IsValid && !ObjectManager.Me.InCombat)
    		{
    			GoToTask.ToPositionAndIntecractWithNpc(HostleNpc.Position, HostleNpc.Entry);
    			return true;
    		}
    		if (ObjectManager.Target.Name == TarName)
    		{
    			if (ObjectManager.Me.InCombat)
    			{
    				Lua.LuaDoString("AttackTarget();");
    				if (ObjectManager.Target.HealthPercent <= 55)
    				{
    					Lua.LuaDoString("StopAttack();");
    					ItemsManager.UseItem(34691);
    					return true;
    				}
    			}
    			return true;
    		}
    		GoToTask.ToPositionAndIntecractWithNpc(hotspots[Others.Random(0, hotspots.Count - 1)], 29488, 1);
    		return true;
    	}
    }

     

  4. hello, 

    i am deeply sorry i was late, I've been busy with work and irl, here is what you are looking for ? Hope you and others enjoy.

    function PickItemUp(SearchItemName)
        i=(SearchItemName)d=1 for x=0,4 do for 
            y=1,GetContainerNumSlots(x) do if (d>0) then 
                l=GetContainerItemLink(x,y) 
                   if l and GetItemInfo(l)==i 
                       then PickupContainerItem(x,y) 
                         d=d-1 
                    end 
                end 
            end 
        end
    end
    
    function GemSocketing(ItemSlotID, GemName, slotID)
        if ( not ItemSocketingFrame:IsShown() ) then
            SocketInventoryItem(ItemSlotID)
        end
    
        if (ItemSocketingFrame:IsVisible() == nil) then
            SocketInventoryItem(ItemSlotID)
        end
        PickItemUp(GemName)
        if ( CursorHasItem() ) then
            ClickSocketButton(slotID) 
        end
        AcceptSockets() 
        if ( ItemSocketingFrame:IsShown() ) then
            HideUIPanel(ItemSocketingFrame);
        end
    end
    
    GemSocketing(2, "Accurate Huge Citrine", 1)
    		//armor slot number, Gem name, gem frame slot number
    armor slots : 
    0 = ammo
    1 = head
    2 = neck
    3 = shoulder
    4 = shirt
    5 = chest
    6 = belt
    7 = legs
    8 = feet
    9 = wrist
    10 = gloves
    11 = finger 1
    12 = finger 2
    13 = trinket 1
    14 = trinket 2
    15 = back
    16 = main hand
    17 = off hand
    18 = ranged
    19 = tabard
    20 = first bag (the rightmost one)
    21 = second bag
    22 = third bag
    23 = fourth bag (the leftmost one)

     

  5. If you tell me if he is your pet (use Dev tools, C# and past this code,) i can make you a custom code for this quest like i used for ponys in my death knight profile, i just need to know if he returns as a pet or not and quest info like what item you use on him etc.

    run this code and look at logs to see if he returns as a pet or not after you use pet on him.

    if(ObjectManager.GetObjectWoWUnit().Count(u => u.IsMyPet && u.Name == "Put name here"))
    {
    Logging.Write("Yes");
    }
    else
    Logging.Write("no");

     

  6. Hello, thanks @Talamin for the tag,

    try to check if you have everything downloaded properly. 

     

    i downloaded everything new (to test if i get this error) i do not, these are my logs.

    [D] 21:01:42 - [Quester] RunCode[0]: AutoUpdater.CheckUpdate();
                Thread.Sleep(500);
    [D] 21:01:43 - [NpcScan] Add npc to database: Repair - Huklah
    21:01:46 - New version found, try to update file
    21:01:46 - [Auto Updater]The version on your pc is the latest updated version.

     

  7. 11 minutes ago, Zyaga177 said:

    Hello, recently EWT got detected and everyone got permanently banned. Could that happen with that Version of PQR aswell? Anyone using that got banned recently? Thanks in Advance! I've tried it on Blackrock and it works very well, with no Issues. But im scared that maybe the same Thing as with EWT could happen. (On Warmane / Icecrown).

    No, you wont get banned unless warmane finds a way to detect a random variable name changes per each launch, each time you launch this pqr the all functions and frames change names, pretty much removing all PQR names in the program, 

    Warmane use PQR_FrameEvent so this changes per launch to make undetected.

×
×
  • Create New...