Jump to content

headcrab

Members
  • Posts

    93
  • Joined

Posts posted by headcrab

  1. 2 hours ago, Matenia said:

    You will not be able to polymorph off-targets using the fightclass editor.

    Why not? Tricky but not impossible. Use c# condition like this

    new Func<bool>(() => {
      WoWUnit u = ObjectManager.GetWoWUnitHostile()
        .Where(u => ObjectManager.Me.Target != u && u.IsAlive && u.GetDistance<20 && bla bla bla)
        .OrderBy(u => u.GetDistance)
        .FirstOrDefault();
      if (u != null) {
        Interact.InteractGameObject(u.GetBaseAddress, true, false);
        return true;
      } else {
        return false;
      }
    }).Invoke

    this will switch target for cast current spell and return true (so, enable polymorph cast)

  2. I have freeze problems since february-march this year. Not playing often, so its not big problem, but before robot worked better. My notebook is old, but i am playing on private server, and it is good enough for pandaria (core i5, 12 gb ram, ssd, external video card, win7). WoW clients works fine until loading wrobot.

    I think something was changed in robot (maybe stronger protection, maybe new alghorythm), but this is fact: since february-march its really freezes on my notebook, random. I've saved old copies of robot, and run it in heavily loaded instanses.

  3. If you want to save this code, simply copy it to notepad and save to file. And yes,  if you open my plugin in notepad, you'll find almost the same code there.

    And why you want to save it? 1 time DE all your green trash and forget, because plugin will DE all your new trash

  4. So, what do you want? You have plugin with immediate DE after loot, and part of its code here to DE all your green trash. 1 time DE your trash and then use plugin and it will DE all new trash immediately. 

    You say plugin DE only 4-5 items at once - it can be, because wrobot runs many threads simultaneously, and any of this threads can interrupt long action like DE a few dozens of trash. No problem, simply wait until next loot, and plugin will try DE again.

  5. 1 hour ago, Soldatleblond said:

    Ok update on that one, Ive been testing your plugin several times and only 4-5 items in my bags gets DEd inside full bags of green stuff, have any options? trying to find a real pluggin for mass disenchant.

    This plugin keeps free space in your bags and DE items right after loot. You'll never loot full bags at once. But if you want DE already looted items, simply copy this C# code to developement tools and run it. It will return count of disenchanted items:

    Func<WoWItemQuality, int> disenchant = quality => {
    	int result = 0;
    	foreach (WoWItem item in Bag.GetBagItem()) {
    		if (!Lua.LuaDoString<bool>("return IsEquippableItem(" + item.Entry + ")")) continue;
    		ItemInfo info = item.GetItemInfo;
    		if (info.ItemRarity != (int)quality) continue;
    		Lua.LuaDoString("CastSpellByName(\"Disenchant\")");
    		Logging.Write("disenchant ["+info.ItemName+"] " + info.ItemRarity);
    		result++;
    		List<int> bagAndSlot = Bag.GetItemContainerBagIdAndSlot(info.ItemName);
    		Lua.LuaDoString("UseContainerItem(" + bagAndSlot[0] + "," + bagAndSlot[1]+")");
    		Usefuls.WaitIsCastingAndLooting();
    	}
    	return result;
    };
    wManager.DevelopmentTools.OutPutCSharp= disenchant(WoWItemQuality.Uncommon);

    If you want DE blue items, replace "Uncommon" to "Rare" in last string

  6. 12 hours ago, d2therak said:

    I am still having this issue any real fix? I have set min and max latency all over the place without any change

    This is not robot issue. On some servers you have to cast skinning spell before interact with skinnable mob. Use plugin, it has this skinning bug workaround: 

     

     

  7. You can add this function to your fightclass or to plugin and mill all herbs in bags at once. For example, you can add it to Profession Helper plugin and call it from craftTask:

    private bool milling() {
      string command = @"
      local function findherb()
        local function f(b,s)
          return select(7,GetItemInfo(GetContainerItemLink(b,s) or 0))==""Herb"" and select(2,GetContainerItemInfo(b,s))>=5
        end
        for i=0,4 do
          for j=1,GetContainerNumSlots(i) do
            if f(i,j) then return i,j end
          end
        end
      end
      local result = false
      while (true) do
        local b,s = findherb()
        if (not b or not s) then return result end
        result = true
        CastSpellByName(""Milling"")
        UseContainerItem(b,s)
      end";
      bool result = Lua.LuaDoString<bool>(command);
      Usefuls.WaitIsCastingAndLooting();
      return result;
    }

     

  8. 4 hours ago, manny80 said:

    with 2.1.0 plugin not work. he dont aceppt q and bring me when i enable thee plugin an error popup

    I think you got NullReferenceException because your plugin settings corrupted. Try new version 2.3.0

  9. 43 minutes ago, manny80 said:

    i dont became it to run. He dont join the q. And then he have desartour. Help me pls 

    You have to comment string Battleground.AcceptBattlefieldPort with slashes ( //). Only possible for 7.1.5 bot, because new versions protected and not copmilable (but can be patched)

×
×
  • Create New...