Jump to content

Apexx

Elite user
  • Posts

    332
  • Joined

Reputation Activity

  1. Like
    Apexx got a reaction from happiness7 in Looking for assistance with a method idea   
    Looking back at this thread today and here is a rough method that I came up with:
    public float TargetTimeToDie; private double damagePerSecond; private double targetPreviousHealth; private Timer timerDPS = new robotManager.Helpful.Timer(1000);  
    private void FightEvents_OnFightLoop(WoWUnit unit, System.ComponentModel.CancelEventArgs cancelable) { if (timerDPS.IsReady) { if (ObjectManager.Target.Health < targetPreviousHealth) { //How much damage was done since the last second //Helpers.LogDebug($"targetCurrentHealth({ObjectManager.Target.Health}) - previousHealth({previousHealth})"); damagePerSecond = System.Math.Abs(targetPreviousHealth - ObjectManager.Target.Health); TargetTimeToDie = (float)System.Math.Round(ObjectManager.Target.Health/ damagePerSecond, 1); Helpers.LogDebug($"Target will die in ~{TargetTimeToDie} second(s)."); } targetPreviousHealth = ObjectManager.Target.Health; } }  
    Usage (Maybe you do not want to use large cooldowns on the target if they will die in such time. Or do not place totems, etc..):
    if (TargetTimeToDie < 10.0f) return;
  2. Like
    Apexx got a reaction from vodkalol in Official WRobot API Documentation   
    This has been long awaited for! Thank you everyone for your dedicated work towards the project! 
  3. Like
    Apexx got a reaction from Talamin in Looking for assistance with a method idea   
    Looking back at this thread today and here is a rough method that I came up with:
    public float TargetTimeToDie; private double damagePerSecond; private double targetPreviousHealth; private Timer timerDPS = new robotManager.Helpful.Timer(1000);  
    private void FightEvents_OnFightLoop(WoWUnit unit, System.ComponentModel.CancelEventArgs cancelable) { if (timerDPS.IsReady) { if (ObjectManager.Target.Health < targetPreviousHealth) { //How much damage was done since the last second //Helpers.LogDebug($"targetCurrentHealth({ObjectManager.Target.Health}) - previousHealth({previousHealth})"); damagePerSecond = System.Math.Abs(targetPreviousHealth - ObjectManager.Target.Health); TargetTimeToDie = (float)System.Math.Round(ObjectManager.Target.Health/ damagePerSecond, 1); Helpers.LogDebug($"Target will die in ~{TargetTimeToDie} second(s)."); } targetPreviousHealth = ObjectManager.Target.Health; } }  
    Usage (Maybe you do not want to use large cooldowns on the target if they will die in such time. Or do not place totems, etc..):
    if (TargetTimeToDie < 10.0f) return;
  4. Like
    Apexx reacted to Talamin in Looking for assistance with a method idea   
    hmm, your Spells have a Base Damage per Tick. 
    I would take the Basedamage and compare it to the actual health. Let´s say you have a Target with 1000 Health, but the Basedamage of your ShadowWord: Pain is 300 per Tick (total of 5 Ticks) it´s not worth to cast it. On the other side, when you "wand" the target down like every SPriest does while leveling, a DoT comes in Hand. So in General, there are different Ways to Achieve what you want:
    1. Read the dmg Output out of Combatlog of the Spell you desire and compare this against the enemy health
    2. Calculate the Base Damage of the Spell you want to see and compare this against the enemy health
    3. Limit your Dot´s, compared to the Health again, flat to the kind of Mob you are Facing (Normal Grind, Trash in Dungeon, Bossfight in Dungeon)
    4. Maybe some more...
    Actually i try to understand the Point of the Addon above. In the AIO we did Point 3. We checked for the kind of Target we have actually and this is the Trigger for the Rotation. Like in ShadowWord:Pain (Bossfight: Ignore Health, Trashmobs in Dungeon: 5%, Grindmobs outside Dungeon 30% <-- Because we Wand them down). 
    Hope i could give you a rough idea what i am talking about. If you need something more specific, let me know.
  5. Like
    Apexx got a reaction from Sye24 in Captcha on wowcircle (private server 3.3.5a) / Капча на wowcircle   
    It seems to me, it sounds like it is time to find a new server to enjoy WRobot on. That is obnoxiously intrusive on gameplay even if I was not botting, that would get annoying real quick!
  6. Thanks
    Apexx got a reaction from Olya in Fly mount bug   
    Yes this has been mentioned a few times. The best thing to do is re-record your flight path to avoid the area or possibly blacklisting the area where it happens.
  7. Like
    Apexx reacted to Droidz in bot going full retard on nodes in the water.   
    Hello,   I have added this feature in Wrobot (accept wrobot update) (don't forget to check if option "Detect Nodes Stuck" is activated in general settings).   Tell me if this works.
  8. Like
    Apexx reacted to RandomGuy0815 in Bot fly under water   
    @Droidz
    still no fix for this in the works?
  9. Like
    Apexx reacted to Mykoplazma in Bot fly under water   
    So ask Droidz for water detection/dismount ... that problem is here very long time.
  10. Confused
    Apexx reacted to Talamin in WRotation is stuck in icecrown gunship battle raid   
    This is fixed in our WOTLK AIO and can be achieved by taking a closer look into RelativePosition.
  11. Like
    Apexx reacted to Talamin in Looking for assistance with a method idea   
    could you be more specific what the point is behind this? You want to estimate if it´s worth to reapply your Dots on a Target? 
  12. Like
    Apexx got a reaction from Sleepwalker in Use certain spell when a certain number of mobs are in range?   
    Here's what I use to check attackers in range:
    public static int GetAttackerCountInRange(float yards) { int EnemyCountInRange = ObjectManager.GetUnitAttackPlayer().Count(t => t.IsAlive && t.IsValid && t.IsAttackable && t.InCombat && t.GetDistance <= yards); if (EnemyCountInRange > 0) { Logging.WriteDebug($"Enemy attacking count = {EnemyCountInRange}"); return EnemyCountInRange; } return 0; }  
  13. Like
    Apexx got a reaction from Zontir in Which server and version?   
    I have played Warmane on and off for a long time now and was never caught.. I cannot speak for other people's experiences though.
  14. Thanks
    Apexx got a reaction from Droidz in Official WRobot API Documentation   
    This has been long awaited for! Thank you everyone for your dedicated work towards the project! 
  15. Thanks
    Apexx reacted to Droidz in Official WRobot API Documentation   
    WRobot API Documentation
    Website: https://wrobot.eu/byme/doc/
    Offline documentation: https://wrobot.eu/byme/doc/WRobot.chm
    (from Wotlk version, Updated the 01 February 2021)
     
     Unofficial documentation is available here   , it is still very useful because it contains examples and descriptions that are not available in the official.
     
     
  16. Like
    Apexx reacted to Droidz in Happy New Year 2021   
    Wishing you a happy new year with the hope that you will have many blessings in the year to come.

    View full article
  17. Like
    Apexx reacted to Droidz in BfA version   
    Hi,
    is done, I released version for BfA (you need to redownload updater)
  18. Like
    Apexx reacted to Matenia in Detect Target Immunities (ie: Immune to Diseases)   
    I hardcode lists and partially rely on user feedback.

    Now you could parse combat log events, store the results per mob entry and maybe even serialize them. That way, you're good to go. Unfortunate though, if mobs are immune for only a few seconds and you never use certain spells anymore because they temporarily immuned thanks to a buff.

    Although I guess you could write some smart detection for a "buff state" in combination with the school/spell. Spell school can be ready from spell info and combatlog iirc.
  19. Thanks
    Apexx reacted to Zer0 in Detect Target Immunities (ie: Immune to Diseases)   
    This is how I do it (TBC).
    Although as Matenia pointed out, some mobs might only be temporary immune to a school. That being said, I'd rather handle those rare exceptions than random immunities that differ from server to server.
     
    EventsLuaWithArgs.OnEventsLuaWithArgs += LuaEventsHandler; private void LuaEventsHandler(LuaEventsId id, List<string> args) { if (args[11] == "IMMUNE")) { Logging.Write($"{ObjectManager.Target.Name} is immune to {args[9]}"); // Your code to handle spell ban // args[9] is the name of the spell } }  
  20. Haha
    Apexx got a reaction from ⎝͠҉̭̫͖̗͇ͅTraWin ̍̍̍̍̍̍̍̍̍ in Bot spiraling up as high as possible   
    Working on it now. Thanks!
  21. Like
    Apexx reacted to Droidz in Bot spiraling up as high as possible   
    If anyone has time to try with this file: robotManager.dll (move and replace file in the "Bin" folder and ignore the update request when the bot starts). This file will log when WRobot presses a key, with several log files I could have been a better idea of what is happening with Wotlk (do not use 'Use lua to move' option)
  22. Like
    Apexx got a reaction from Matenia in Authenticate Your Intellectual Property   
    I stumbled across a website the other day, while looking for an alternative to Rocketr to process payments, and validate plugins, fight classes, etc.
    when I found, cryptlex (Powerful software licensing API).
    Quick Start
    Using LexActivator with C#
    After working with the code a bit, I wanted to share a demo project, along with a demo product online, as well as license keys if anyone would like to test it out for themselves.
    This project may have bugs and may not work 100%. I am hoping if other programmers check out the code they can offer ideas, comments, and even
    constructive criticism using this method.
    There is a "WRobot" directory in the attached zip file that stores the files required to run the LexActivator C# wrapper as well as the plugin and the product.dat file.
    Extract the files into their appropriate directory.
    VirusTotal
    CryptlexAuthenticator.zip
  23. Thanks
    Apexx got a reaction from Xercses in Mage dont stop conjouring Water   
    In Settings -> Advanced Settings -> Other tab, make sure to match your in game latency. This may or may not help. If that doesn't fix it, it sounds like an issue inside the selected Fight Classes.
  24. Like
    Apexx got a reaction from TheSmokie in Authenticate Your Intellectual Property   
    I stumbled across a website the other day, while looking for an alternative to Rocketr to process payments, and validate plugins, fight classes, etc.
    when I found, cryptlex (Powerful software licensing API).
    Quick Start
    Using LexActivator with C#
    After working with the code a bit, I wanted to share a demo project, along with a demo product online, as well as license keys if anyone would like to test it out for themselves.
    This project may have bugs and may not work 100%. I am hoping if other programmers check out the code they can offer ideas, comments, and even
    constructive criticism using this method.
    There is a "WRobot" directory in the attached zip file that stores the files required to run the LexActivator C# wrapper as well as the plugin and the product.dat file.
    Extract the files into their appropriate directory.
    VirusTotal
    CryptlexAuthenticator.zip
  25. Like
    Apexx reacted to maukor in Grind if reputation isnt Friendly   
    Yeah, i saw your post, didnt got how it works, using Smokie ToolBox now, works fine : ) Thanks anyway
×
×
  • Create New...