Jump to content

Droidz

Administrators
  • Posts

    12432
  • Joined

  • Last visited

Reputation Activity

  1. Thanks
    Droidz got a reaction from reapler in GetHashCode() & Equals() position implementation   
    Hello, thank you,
    I added it, wait next update:
    public override int GetHashCode() { try { return (X.GetHashCode() * 397 ^ Y.GetHashCode()) * 397 ^ Z.GetHashCode(); } catch { } return 0; } public override bool Equals(object obj) { try { var v = obj as Vector3; if (v == null) return false; return X == v.X && Y == v.Y && Z == v.Z; } catch { } return false; }  
  2. Like
    Droidz got a reaction from reapler in "[MovementManager] Think we are stuck" while stunned   
    Hello, wait next update, I'll check more info before to move ("!IsCast && !Influenced && !IsStunned && !IsOnTaxi" instead only "!IsCast")
  3. Thanks
    Droidz got a reaction from Abyeus in AFK   
  4. Like
    Droidz got a reaction from burnimation in AFK Spam   
    https://wrobot.eu/forums/topic/10132-afk-loop-spam/?do=findComment&comment=47690
  5. Like
    Droidz got a reaction from burnimation in AFK Spam   
    Changed Status to Fixed
    Changed Version to All
  6. Like
    Droidz got a reaction from Mike Mail in Silverwing Grove broken pathfinding   
    Hello, Can you share your log file please ( https://wrobot.eu/forums/topic/1779-how-to-post-your-log-file-with-your-topic/ ).
  7. Thanks
    Droidz got a reaction from burnimation in STOP RUNNING PATHFINDER ON A SECOND SERVER AND ADD THE FUCKING PATHFINDER TO THE BOT !!!   
    Hello,
    Sorry for the inconvenience, I worked on it to avoid to get the problem again once more.
    Except when the pathfinder server bug or is overload, it is better for users than use pathfinder server instead the pathfinder integrated to WRobot, I have generated meshes with better details, you use less RAM (this depend of current continent and used profile, but you can on big continent if you request big profile you can use more than 500mb of ram only for pathfinder (and of course your CPU)), you save time (you don't need to download meshes, this can take a lot of time (several minutes) for big path when you are on new continent), you save disk space ("Kalimdor" continent is ~500mb compressed and 9100 files).
    My advantage, yes crack WRobot is more hard (but it is benefit to you also, more there are bots, the more the gold/items loses value and the more the server is able to find protection), but it is the only advantage for me.
    I get problems only with Vanilla server, and it is not all time the more used. Last problem with pathfinder was the July 4 (and several times some days before July 4), but before and after pathfinder was stable, I hope than this time it is the last.
    Again sorry for the inconvenience.
  8. Thanks
    Droidz got a reaction from Garub in Wrobot is stopping working   
    Next time, can you target in game mob, and in wrobot go to tab "tools" > "Dev... tools" > click on "Target info" and share result here 
  9. Like
    Droidz reacted to Maximilian Sjutti in Wow Vanilla Grinder - Record Path   
    I think i fixed the problem since it wasn't in windowmode, but in maxwindowmode.. But it works great now and i found great farming spots for leveling ?
  10. Like
    Droidz got a reaction from Matenia in [All] GetDistance getter method for WoWUnit   
    GetDistance is good it is distance from the center of player to the center of the unit.
    I use PositionWithoutType to avoid useless step (check if fly or swimming) (for performance, but that does not change the result).
    I'll add: 
    public float GeHitBoxtDistance { get { try { var d = PositionWithoutType.DistanceTo(ObjectManager.Me.PositionWithoutType) - CombatReach - ObjectManager.Me.CombatReach; if (d < 0) d = 0; return d; } catch (Exception e) { Logging.WriteError("WoWUnit > GeHitBoxtDistance: " + e); return 0; } } } Current, for spell.isgooddistance I use:
    public bool IsDistanceGood { get { try { if (ObjectManager.ObjectManager.Target.IsValid) { float combatReach = 0; if (wManagerSetting.CurrentSetting.CalcuCombatRange) combatReach = ObjectManager.ObjectManager.Target.CombatReach; if (ObjectManager.ObjectManager.Target.GetDistance <= MaxRange + combatReach && (ObjectManager.ObjectManager.Target.GetDistance >= MinRange - combatReach)) { return true; } } return false; } catch (Exception exception) { Logging.WriteError("Spell > IsDistanceGood: " + exception); return true; } } } And to get player combat range (from fightcalss settings):
    public static float GetRange { get { try { if (_instanceFromOtherAssembly != null) { float range; if (_instanceFromOtherAssembly.Range < 6.5f) { range = 2.7f; if (wManagerSetting.CurrentSetting.CalcuCombatRange && ObjectManager.ObjectManager.Target.IsValid) { range += ObjectManager.ObjectManager.Target.CombatReach; } if (range < 3.5) range = 3.5f; } else { range = _instanceFromOtherAssembly.Range; if (wManagerSetting.CurrentSetting.CalcuCombatRange && ObjectManager.ObjectManager.Target.IsValid) { range += ObjectManager.ObjectManager.Target.CombatReach - 1; } } return range; } return 4.5f; } catch (Exception exception) { Logging.WriteError("CustomClass > GetRange: " + exception); return 5.0f; } } } I will check that (GetRange and isgooddistance), I take note
  11. Like
    Droidz got a reaction from BetterSister in [TBC] Memory leak?   
    Change continent (dead? logout?) seem to clean objectmanager.
    Can you try with the new update and tell me if this change something about CPU usage.
  12. Like
    Droidz got a reaction from Inf3ctious in Bot does not always loot skinned mobsa   
    Hello, increment min/max latency in advanced general settings
  13. Like
    Droidz reacted to prestonjacobs in Search Distance doesnt affect Z axis   
    thanks, working perfectly so far
  14. Thanks
    Droidz got a reaction from Findeh in Pathing not working on Vanilla servers anymore   
    Sorry, problem resolved
  15. Like
    Droidz got a reaction from fihuvwix in Pathing not working on Vanilla servers anymore   
    Sorry, problem resolved
  16. Sad
    Droidz got a reaction from Garub in Machine learning combat   
    Hello,
    I haven't capacity to add feature like that.
  17. Thanks
    Droidz got a reaction from tonycali in Regen before looting   
    Hello, by default WRobot regen before to loot, you are probably tagged in combat (server bug?), try to use this plugin: DontSkipRegenIfFlaggedInCombat.cs
    public class Main : wManager.Plugin.IPlugin { public void Initialize() { wManager.wManagerSetting.CurrentSetting.SkipRegenIfFlaggedInCombat = false; } public void Dispose() { } public void Settings() { } }  
  18. Like
    Droidz got a reaction from Wicked Guardian in Regen before looting   
    Hello, by default WRobot regen before to loot, you are probably tagged in combat (server bug?), try to use this plugin: DontSkipRegenIfFlaggedInCombat.cs
    public class Main : wManager.Plugin.IPlugin { public void Initialize() { wManager.wManagerSetting.CurrentSetting.SkipRegenIfFlaggedInCombat = false; } public void Dispose() { } public void Settings() { } }  
  19. Like
    Droidz got a reaction from Wicked Guardian in Wrobot Windows just Black in remote control (teamviewer)   
    https://wrobot.eu/forums/topic/1381-repairinstall-wrobot/?do=findComment&comment=42784
  20. Thanks
    Droidz got a reaction from sleeez in Wrobot Windows just Black in remote control (teamviewer)   
    https://wrobot.eu/forums/topic/1381-repairinstall-wrobot/?do=findComment&comment=42784
  21. Like
    Droidz got a reaction from Ordush in Range Calculater for WoW Vanilla is off   
    CombatReach is calculed by server and he is in relation to the mob size ( https://github.com/mangoszero/server/blob/52454825c7e1435ff53f32f9edf9fe7dca10ec08/src/game/Object/Unit.cpp#L8842  ). I think than server send bad value (or when you cast spell he don't check distance like Wow).
  22. Like
    Droidz reacted to Leetkangaroo in Leave shadowform when dismount   
    Thanks. Can confirm this is no longer an issue for me now.
  23. Like
    Droidz got a reaction from eniac86 in Range Calculater for WoW Vanilla is off   
    Hello,
    spell.IsDistanceGood (and distance check option in fightclasses editor) test only max distance (not min spell distance).
    I tested this code and he seem to works:
    float min = 8, max = 35; var cMin = ObjectManager.Target.GetDistance - ObjectManager.Target.CombatReach - ObjectManager.Me.CombatReach; var cMax = ObjectManager.Target.GetDistance + ObjectManager.Target.CombatReach + ObjectManager.Me.CombatReach; bool inRange = cMin >= min && cMax <= max; Logging.Write("cMin = " + cMin + " - cMax" + cMax + " - inRange= " + inRange);  
    One line (for xml fightclass): 
    ((ObjectManager.Target.GetDistance - ObjectManager.Target.CombatReach - ObjectManager.Me.CombatReach) >= 8 && (ObjectManager.Target.GetDistance + ObjectManager.Target.CombatReach + ObjectManager.Me.CombatReach) <= 35)  
  24. Like
    Droidz reacted to valetine in Switch offhand weapons during fishing   
    I had tried with weapon without ' in the name,the bot will not equip any weapon.
  25. Like
    Droidz got a reaction from w0t in Bot is not skinning looted mobs.   
    try to increment  your min/max latency  in advanced general settings tab "Others"
×
×
  • Create New...