Jump to content

Marsbar

Elite user
  • Posts

    411
  • Joined

  • Last visited

Posts posted by Marsbar

  1. 12 minutes ago, infamous11 said:

    It still gives me a compile error:
     

    How can I add the System.Windows.Forms.dll to the program as reference, so it could use its namespace?

    Rightclick references, under the Assemblies category on the left find System.Windows.Forms and tick it in the list

    Edit: Sorry I misunderstood. Add using System.Windows.Forms; to the top of the file

    Edit2: Or did i?

  2. 1 hour ago, Matenia said:

    If you're not good enough to press 3 buttons for your PvE rotation or want to script in PvP because you've failed to git gud, you won't find much help here.

    I don't think that's fair.
    There are some endgame rotations in the downloads section, but they are few and far between. You may also want to mention what expansion you're playing on!

  3. 20 minutes ago, Droidz said:

    I'll try to resolve this problem in bot, can you confirm than list of bags is complete here? https://www.wowhead.com/icon=133581/inv-misc-ammo-bullet-01#used-by-item:0+14-2 (items type Bag)? 

    Also can you let me know once you've resolved it? Then I can get rid of https://wrobot.eu/files/file/1766-free-ammo/

     

  4. 7 minutes ago, Droidz said:

    I'll try to resolve this problem in bot, can you confirm than list of bags is complete here? https://www.wowhead.com/icon=133581/inv-misc-ammo-bullet-01#used-by-item:0+14-2 (items type Bag)? 

    https://wotlk.evowow.com/?items=11

    all types of hunter quiver/ammobags. These were removed cata onwards so it's only needed for WOTLK, TBC and Vanilla

  5. On 1/27/2019 at 4:53 AM, bodacias said:

    I have been creating my own fight class for a rogue, & then testing it in game to work out any kinks/errors -I'm having trouble applying some of the Spell Conditions successfully, for example: Trying to prevent the bot from Spamming [Sinister Strike], I tried adding the Condition: Combo Point to the spell [Eviscerate] to Equal & 5,  I have also tried to use other conditions to prevent this, such as adding a Timer to [Sinister Strike] & lowering the Priority -Is the Combo Point condition working? or perhaps I'm missing something - any help is appreciated 

    You're trying to prevent it from spamming sinister.. are you saying it's only using sinister and not eviscerate? Sinister should be at the bottom of the priority list, as long as evis is above it, it will use that instead (if its conditions are met). 
    In regards to your cc breaking, there should also be one called is rooted, try that one maybe? Otherwise yes you could go through the painstaking task of adding the debuffs.

    The fightclass creator is there for basic fightclasses, you wont be able to get a very advanced fightclass out of it without adding some c# at which point you might as well make the whole FC in C#.

  6. On 12/15/2018 at 9:10 AM, Matenia said:

    @Marsbar you can do this completely automatically:
     

    Works at least vanilla => WotLK. So you can turn that into a free plugina nd post it here ?

    couldn't actually get this to work so using this instead:

    return Lua.LuaDoString<int>(@"
                    for slot = 20,23 do
                        local link = GetInventoryItemLink('player', slot);
                        if link then
                            local _, _, _, _, _, itemType = GetItemInfo(link);
    			if itemType == 'Quiver' then
                                return slot - 19; -- gets back slot
                            end
                        end
                    end    
                "); 

     

  7. Try this plugin, I made it ages ago for a friend, i think it does what you're after, you just have to give it the correct bag slot id, id 1 is the first bag next to your backpack, then its 2, 3, 4.

    AmmoV2.cs

    edit: if it works for you let me know and I'll post it for other people, i thought there was another plugin or something that covers this but can't find anything atm.

  8. https://marsbars.gitlab.io/unoffical-wrobot-api-docs/api/wManager.Wow.Helpers.Lua.html#wManager_Wow_Helpers_Lua_LuaDoString_System_String_System_Boolean_

    Using your code:

    for (int i = 0; i < 100; i++)
            {
                wManager.Wow.Helpers.Lua.LuaDoString("if atbmi==nil then atbmi=1 end atbni=GetInboxNumItems() if atbmi>atbni then atbmi=1 end atbit=GetInboxInvoiceInfo(atbmi) if atbit==\"seller_temp_invoice\" then GetInboxText(atbmi); DeleteInboxItem(atbmi) else atbmi=atbmi+1 end");
                wManager.Wow.Helpers.Lua.LuaDoString("if atbmi==nil then atbmi=1 end atbni=GetInboxNumItems() if atbmi>atbni then atbmi=1 end atbit=GetInboxInvoiceInfo(atbmi) if atbit==\"seller_temp_invoice\" then GetInboxText(atbmi); DeleteInboxItem(atbmi) else atbmi=atbmi+1 end");
                Thread.Sleep(100); 
            }

     

  9. 17 hours ago, Damply said:

    Sometimes it does though and works correctly

    ^ can you elaborate? As in sometimes it does drink or sometimes it just sits there and waits for mana?

    Couple of things you could try:

    • Disable "Search in bag for best food/drink item available."
    • Changing a setting that I don't seem to see in the GUI called SkipRegenIfFlaggedInCombat, it's set to true in your log but I have no idea what it actually does (so maybe ignore this one). You can set it to false by going into the development tools and running (set it to c#) 
      wManager.wManagerSetting.CurrentSetting.SkipRegenIfFlaggedInCombat=false;

      Guidance on devtools can be found here.

    • Make sure to check if you have your exact current drink using the dev tools 

      var haveCurrentDrink = Bag.GetBagItem().Select(x => x.Name).Contains(wManager.wManagerSetting.CurrentSetting.DrinkName);
      robotManager.Helpful.Var.SetVar("dbgOutput", haveCurrentDrink);

      it will return true if you have the drink that you set in the settings in your inventory.

×
×
  • Create New...