Jump to content

MrBottie

Members
  • Posts

    48
  • Joined

  • Last visited

Posts posted by MrBottie

  1. 11 hours ago, Pasterke said:

    You can try :

    string[] result = Lua.LuaDoString<string>("local name, rank, icon, count, debuffType, duration, expirationTime, unitCaster, isStealable, shouldConsolidate, spellId=what you want to check",0);

    then result[0] should contains name, result[1] rank etc ...

    I just want to know if it's possible to integrate the Time To Die LUA functions above in C#

    And if so... how? :)

  2. API GetCurrentMapContinent
    continent = GetCurrentMapContinent()
    

     

    -1 - if showing the cosmic map or a Battleground map. Also when showing The Scarlet Enclave, the Death Knights' starting area.
    0 - if showing the entire world of Azeroth
    1 - if showing Kalimdor, or a zone map within it.
    2 - if showing Eastern Kingdoms, or a zone map within it.
    3 - if showing Outland, or a zone map within it.
    4 - if showing Northrend, or a zone map within it.
    5 - if showing the Maelstrom, or a zone map within it (such as Kezan or the Lost Isles.)
    6 - if showing Pandaria, or a zone map within it.
    7 - if showing Draenor, or a zone map within it.
    8 - if showing the Broken Isles, or a zone map within it.
  3. 1 minute ago, eeny said:

    Is your druid special in some way outside of the 200 other people reporting the exact same thing on the forums before you?

    Not to mention his great google translate copy paste style!

  4. 14 hours ago, iMod said:

    With what kind of error? ;)

    Well you can create a method that targets what you want and use it in the spellstate engine.
    For the automate target you could write a small plugin that targets for you.

    private readonly Spell MarkedforDeath = new Spell("Marked for Death");
    
    States = new List<State>
                            {
    ...
    new SpellState("Marked for Death", 23, context => testMarkForDeath() == 1, false, true, false, false, false, false, false, false, 0, true, false, false, false, false, false, wManager.Wow.Helpers.FightClassCreator.YesNoAuto.Yes, "Combopoints Instant (Talent)", "none", true, true, false),
    ...
      
                            }
      
      
        public int testMarkForDeath()
        {
            int mfd = 0;
            Logging.WriteFight("MFD TEST");
            if (ObjectManager.Me.TargetObject.IsDead && MarkedforDeath.IsSpellUsable && ObjectManager.Me.HaveBuff("Blade Flurry"))
            {
                // Settings
                int range = 10;
                WoWObjectType objectType = WoWObjectType.Unit;
    
                // Get target
                WoWUnit unit = ObjectManager.GetWoWUnitHostile().OrderBy(o => o.HealthPercent).FirstOrDefault(u => u.Type == objectType && u.IsAlive && (u.GetDistance <= range) && u.IsAttackable);
    
                if (unit != null)
                {
                    Logging.WriteFight("AOE UNIT FOUND");
                    Interact.InteractGameObject(unit.GetBaseAddress);
                    
                }
                mfd = 1;
            }
            return mfd;
        }

    Can you tell me why it's not doing what I want? :)
    So when I'm doing AOE damage I want it to target the lowest Health mob of the pack and put MFD on his head when it's available...

  5. 38 minutes ago, iMod said:
    
                    if (ObjectManager.Me.TargetObject.IsDead && ObjectManager.Me.TargetObject.HaveBuff("Mark For Death") && new Spell("MFD ").IsSpellUsable)
                    {
    		    // Settings
                        int range = 10;
                        WoWObjectType objectType = WoWObjectType.Unit;
    
    		    // Get target
                        WoWUnit unit = ObjectManager.GetWoWUnitHostile().OrderBy(o => o.HealthPercent).FirstOrDefault(u => u.Type == objectType && u.IsAlive && (u.GetDistance <= range) && u.IsAttackable);
    
                        if (unit != null)
                        {
                            Interact.InteractGameObject(unit.GetBaseAddress);
                        }
                    }

    You need to correct the spell names but something like this should work i took it out of my library so maybe something is missing and it is not tested like this. Hope that was something that will answer your question o.O

    Not entirely sure how to add this in my spellstate list in C#...

    Last time i used Interact.InteractGameObject(unit.GetBaseAddress, true); and this crashed the game :-(

     

  6. 23 minutes ago, Bugreporter said:

    Targets Level is simple: UnitLevel

    But how to do it in realtime? I want some kind of "debug" result when I target something, I want to write the unitlevel to the log for example :)

    About the interrupts, it's only possible with LUA code?

    I'm trying to tweak your Rogue Outlaw profile to get It raid ready (love it)

  7. Hi there,

    Im currently testing some fight classes and creating/modifiying new/old ones. It's all going fine but I have some questions...

    Interrupts
    When I add an interupt condition (enemy is casting or check if it can be interrupted), the wrotation is fast as lightning and sometimes interrupts the cast within half a second. To make it look more "humanized", I want to add a small delay (an extra 0.5 sec for example).
    Is this possible?

    Ingame Debug/Test
    For example, I want to know the current target's level and distance. How can I use the developer tools to see this on the fly?

    Thanks in advance!

    Love this piece of software! <3
     

  8. 1 hour ago, bael666 said:

    Make your own - it takes 5 mins.

     

    I've just leveled my first char 1-70 using only self made grinder profiles - I'm not keen on the idea of sharing as it can only lead to people following the same paths making it obvious we're botting.

     

    It takes 5 mins to make your own profile.

    Hey, I found your Google code repository I guess, if it's the same Baelz of course ;)

  9. Hey you all,

    I'm slowely pacing towards level 30 on my priest but I face some annoying problems I'd like to report over here.

    • Whenever i'm out of drinks/food, I manually have to buy them at the vendor while I setup the amount & food/drink name in the settings.
    • Some Flight paths are incorrect in the taxi db (Ratched & Barrens share same coordinates) and he marks them as "inactive" each time I visit a flightmaster...
      • Is there some way to import all 3.3.5 flight paths at once? (Anyone want to share the .xml?)

    Can someone explain me what the Automaton just does and on which conditions? I know it purely grinds to level but does it automatically find for best XP/mop/level combo?

    Thanks in advance,

    Bottie

  10. 1 hour ago, Seumas said:

    Just restart you're router it will change your IP thus you will be able to reconnect if they banned you by IP.

    I'm pretty sure it's not that easy for every ISP. I know for instance, in Belgium, you need some tricks to obtain a new IP address (Telenet ISP)

  11. Hi there,

    I've been using the bot since Friday, some hours during the weekend with manual intervention from time to time.
    I'm leveling a Shadow Priest with BetterSister's Quest profiles, I'm between 15-20 at the moment but I have some questions.

    Whats the usual initial setup to do? As i'm leveling priest, i had to configure some things before starting:

    - Get some bigger bags
    - Make sure to buy enough food/drinks each time you vendor stuff (I was OOM constantly). Is there a way to buy "highest available food/drinks" at vendor automatically?
    - Add minerals/herbs to list NOT TO VENDOR!! (are there any premade lists with all the ores/stones/gems/herbs??)

    When you check for herbs+mines first 15 levels, I died multiple times because I was running in mob packs... Is this normal?

    I want to level a Warrior as well now as I think it's easier to bot with it than a Priest (No mana issues)
    Can you guys give me more advice how to do the initial setup for a warrior 1-60 questing/grinding bot?

    I'm pretty sure I'll buy the full version of this bot this week as I think the makers are doing a great job!

    /Peace

×
×
  • Create New...