Jump to content
This site uses cookies! Learn More

This site uses cookies!

By continuing to use this site, you agree to allow us to store cookies on your computer. :)

Droidz

Administrators
  • Content Count

    10709
  • Joined


Reputation Activity

  1. Like
    Droidz got a reaction from anarchia in [SUNWELL] Random Crashes?   
    if you can try with new update to check if crash problem are resolved
  2. Like
    Droidz reacted to anarchia in [SUNWELL] Random Crashes?   
    Looks good so far. Would have crashed already
  3. Like
    Droidz reacted to arrandir in [SUNWELL] Random Crashes?   
    yeap, seems better ūüôā¬†done a few fights, no crashes
  4. Thanks
    Droidz got a reaction from arrandir in [SUNWELL] Random Crashes?   
    if you can try with new update to check if crash problem are resolved
  5. Like
    Droidz got a reaction from nickname in Fisherbot Quest   
    Hello, use quest type "OverridePulseCSharpCode" with code:
    Vector3 fishPosition = new Vector3(-9387.61, -120.2896, 58.53797, "Flying"); float fishRotation = 4; if (!FishingTask.IsLaunched) { if (GoToTask.ToPosition(fishPosition, 1.5f)) { ObjectManager.Me.Rotation = fishRotation; FishingTask.LoopFish(); } } return true; (replace "-9387.61, -120.2896, 58.53797" by fishing position and 4 by fishing rotation (you can get position and rotation in WRobot tab "Tools" > "Dev... tools" > "Me/Target Position"))
    Don't forget to stop fishing, for it, after pulse fishing quest, in quests order add step type "RunCode" with code:
    wManager.Wow.Bot.Tasks.FishingTask.StopLoopFish();  
    Sample profile: FishingTest.xml
  6. Thanks
    Droidz got a reaction from OMGhixD in [TAURI] Wrobot detected   
    I worked today to try to resolve detection, seem good with the latest version  (but the Tauri team reacts quickly and does not lack ideas to detect the bot, I advise you not to use the bot on an important account for you)
  7. Like
    Droidz got a reaction from Talamin in [TAURI] Wrobot detected   
    I worked today to try to resolve detection, seem good with the latest version  (but the Tauri team reacts quickly and does not lack ideas to detect the bot, I advise you not to use the bot on an important account for you)
  8. Thanks
    Droidz got a reaction from Talamin in [SUNWELL] Insane detection system/incredibly active GMs?   
    Hello,
    I think Sunwell has found a way to detect (or at least partially, to flag suspicious accounts and GMs manually verificate).
    If someone can try with the new version (Wotlk only for now)
  9. Thanks
    Droidz got a reaction from Marsbar in [SUNWELL] Insane detection system/incredibly active GMs?   
    Hello,
    I think Sunwell has found a way to detect (or at least partially, to flag suspicious accounts and GMs manually verificate).
    If someone can try with the new version (Wotlk only for now)
  10. Like
    Droidz got a reaction from nickname in move back if... add code in fightclass editor   
    Hello,
    In fightclass general settings, in option "Additional C# code" add code like:
    static Main() { wManager.Events.FightEvents.OnFightLoop += (unit, cancelable) => { if (unit.IsValid && !ObjectManager.Me.IsCast && (unit.IsStunned || unit.Rooted)) { wManager.Wow.Helpers.Move.Backward(Move.MoveAction.PressKey, 1500); } }; } (code not tested)

  11. Like
    Droidz got a reaction from nickname in [Wotlk] Looking for WoW API   
    https://web.archive.org/web/20100726112636/http://wowprogramming.com/docs/api_categories
  12. Like
    Droidz got a reaction from nickname in Possible to search for object?   
    You can found some others source code here: http://wrobot.eu/files/category/26-plugins/
    I have write sample code (no tested):
    using System.Collections.Generic; using System.Threading; using System.Windows.Forms; using robotManager.Helpful; using robotManager.Products; using wManager.Plugin; using wManager.Wow.Helpers; using Timer = robotManager.Helpful.Timer; public class Main : IPlugin { private List<string> Names = new List<string> { "ObjNpc Name 1", "ObjNpc Name 2", "ObjNpc Name ...", }; private bool _isLaunched; public void Initialize() { _isLaunched = true; var timer = new Timer(1500); timer.ForceReady(); Logging.Write("[Search Objects] Loadded."); while (_isLaunched && Products.IsStarted) { try { if (timer.IsReady && Conditions.ProductIsStartedNotInPause) { foreach (var o in wManager.Wow.ObjectManager.ObjectManager.GetObjectWoWUnit()) { try { if (o.IsValid && !string.IsNullOrEmpty(o.Name) && Names.Contains(o.Name)) { // Code here where NPC found: MessageBox.Show("Npc found: " + o.Name); } } catch {} } foreach (var o in wManager.Wow.ObjectManager.ObjectManager.GetObjectWoWGameObject()) { try { if (o.IsValid && !string.IsNullOrEmpty(o.Name) && Names.Contains(o.Name)) { // Code here where object found: MessageBox.Show("Object found: " + o.Name); } } catch { } } timer.Reset(); } } catch { } Thread.Sleep(300); } } public void Dispose() { _isLaunched = false; Logging.Write("[Search Objects] Disposed."); } public void Settings() { MessageBox.Show("[Search Objects] No settings for this plugin."); } } (replace "ObjNpc Name ..." line 15 by object or npc name (case sensitivity))
  13. Like
    Droidz got a reaction from nickname in Snippets codes for quest profiles   
    Catch Zeppelin/Ship
    Quest profile: Catch Zeppelin and Ship Sample.xml
    // Sample of how to use Zeppelin/Ship // In this sample, WRobot catch Zeppelin from Kalimdor (Ogrimmard) to Northrend (Borean Tundra (Warsong Hold)) /* Quest settings: * Can condition: "return Usefuls.ContinentId == (int) ContinentId.Kalimdor;" * Is complete condition: "return Usefuls.ContinentId == (int) ContinentId.Northrend && !ObjectManager.Me.InTransport;" * Not required in quest log: "True" * Quest type: "OverridePulseCSharpCode" */ // You can get zeppelin/ship/player positions and entry ID in tab "Tools" > "Development Tools" > "Dump all informations" (or "Memory information"). // Settings: var zeppelinEntryId = 186238; // Zeppelin/Ship EntryId // From var fromZeppelinWaitPosition = new Vector3(1775.066, -4299.745, 151.0326); // Position where Zeppelin/Ship waits players (from) var fromPlayerWaitPosition = new Vector3(1762.322, -4282.175, 133.1072); // Position where the player waits Zeppelin/Ship (from) var fromPlayerInZeppelinPosition = new Vector3(1768.199, -4289.856, 133.1912); // Position where the player waits in the Zeppelin/Ship (from) // To var toZeppelinWaitPosition = new Vector3(2837.908, 6187.443, 140.1648); // Position where Zeppelin/Ship waits players (to) var toPlayerLeavePosition = new Vector3(2836.5, 6184.367, 121.9332); // Position to go out the Zeppelin/Ship (to) // Change WRobot settings: wManager.wManagerSetting.CurrentSetting.CloseIfPlayerTeleported = false; // Code: if (!Conditions.InGameAndConnectedAndProductStartedNotInPause) return true; if (Usefuls.ContinentId == (int)ContinentId.Kalimdor) { if (!ObjectManager.Me.InTransport) { if (GoToTask.ToPosition(fromPlayerWaitPosition)) { var zeppelin = ObjectManager.GetWoWGameObjectByEntry(zeppelinEntryId).OrderBy(o => o.GetDistance).FirstOrDefault(); if (zeppelin != null && zeppelin.Position.DistanceTo(fromZeppelinWaitPosition) < 1) { GoToTask.ToPosition(fromPlayerInZeppelinPosition); } } } } else if (Usefuls.ContinentId == (int)ContinentId.Northrend) { if (ObjectManager.Me.InTransport) { var zeppelin = ObjectManager.GetWoWGameObjectByEntry(zeppelinEntryId).OrderBy(o => o.GetDistance).FirstOrDefault(); if (zeppelin != null && zeppelin.Position.DistanceTo(toZeppelinWaitPosition) < 1) { GoToTask.ToPosition(toPlayerLeavePosition); } } } return true;  
  14. Like
    Droidz got a reaction from nickname in Hi ... Have you an easy tip for :   
    Hello,
     
    To get if it is enemy player:
    if (ObjectManager.Target.Type == WoWObjectType.Player) { if (((WoWPlayer) ObjectManager.Target).PlayerFaction != ObjectManager.Me.PlayerFaction) { // Is enemy player } } To interact with your current target (this is useless because it is already your target):
    Interact.InteractGameObject(ObjectManager.Target.GetBaseAddress); I ignore exactly what is your objective, but if you want search and interact with an enemy player you can use code like:
    List<WoWPlayer> enemyPlayerList; if (ObjectManager.Me.IsAlliance) enemyPlayerList = ObjectManager.GetWoWUnitHorde(); else enemyPlayerList = ObjectManager.GetWoWUnitAlliance(); WoWPlayer nearestPlayerEnemy = ObjectManager.GetNearestWoWPlayer(enemyPlayerList); if (nearestPlayerEnemy.IsValid && nearestPlayerEnemy.IsAlive && nearestPlayerEnemy.GetDistance < 150) { Interact.InteractGameObject(nearestPlayerEnemy.GetBaseAddress); if (ObjectManager.Me.Target == nearestPlayerEnemy.Guid) { // OK } } To get the nearest attackable NPC:
    List<WoWUnit> unitList = ObjectManager.GetObjectWoWUnit(); List<WoWUnit> enemyUnitList = new List<WoWUnit>(); foreach (var woWUnit in unitList) { if (woWUnit.IsValid && woWUnit.IsAlive && woWUnit.Reaction <= Reaction.Neutral && UnitCanAttack.CanAttack(woWUnit.GetBaseAddress, ObjectManager.Me.GetBaseAddress)) enemyUnitList.Add(woWUnit); } WoWUnit nearestUnitEnemy = ObjectManager.GetNearestWoWUnit(enemyUnitList); if (nearestUnitEnemy.IsValid && nearestUnitEnemy.IsAlive && nearestUnitEnemy.GetDistance < 150) { Interact.InteractGameObject(nearestUnitEnemy.GetBaseAddress); if (ObjectManager.Me.Target == nearestUnitEnemy.Guid) { // OK } }
  15. Like
    Droidz got a reaction from nickname in Checking if unit is hostile   
    Hello, you can check Reaction:
    wManager.Wow.ObjectManager.ObjectManager.Target.Reaction You can also use:
    wManager.Wow.ObjectManager.ObjectManager.Target.IsAttackable or use this lua code:
    Lua.LuaDoString<bool>("return UnitCanAttack('player', 'target');")  
  16. Like
    Droidz got a reaction from 79135 in Bug with start/stop thread   
    put abort beetween try/catch
    try 
        {
            startStop.Abort();
        }
        catch
        {
        }
     
    or don't use it
  17. Like
    Droidz got a reaction from Stresse in How To Handle Returning A Full Lua Table   
    hi,
    No tested, bu like that:
    var result = new Dictionary<int, string>(); var r = Lua.LuaDoString<List<string>>(@" local ClassyRaceAchievementIDs= {5163,5165,5160,6625,5161,5162,5164} local Races = {""Blood Elf"",""Goblin"",""Orc"",""Pandaren"",""Tauren"",""Troll"",""Undead""} local Classes = {""Death Knight"",""DemonHunter"",""Druid"",""Hunter"",""Mage"",""Monk"",""Paladin"",""Priest"",""Rogue"",""Shaman"",""Warlock"",""Warrior""} local RaceAchievementIDs= {[5163]=""Blood Elf"", [5165]=""Goblin"", [5160]=""Orc"", [6625]=""Pandaren"", [5161]=""Tauren"", [5162]=""Troll"", [5164]=""Undead""} local queries={} for i=1,#ClassyRaceAchievementIDs do local id = ClassyRaceAchievementIDs[i] local numCriteria= GetAchievementNumCriteria(id) local raceStr= RaceAchievementIDs[id] for c=1,numCriteria do local criteriaString, criteriaType, completed, quantity, reqQuantity, charName, flags, assetID, quantityString, criteriaID, eligible = GetAchievementCriteriaInfo(id,c) local classStrif tContains(Classes,criteriaString) then for i= 1,#Classes do if Classes[i] == criteriaStringthen classStr=Classes[i] end end end local query=""r-\""""..raceStr..""\"" c-\""""..classStr..""\"" 120"" if completed==false then tinsert(queries, id) tinsert(queries, query) end end end return unpack(queries) "); if (r.Count % 2 == 0) { for (int i = 0; i < r.Count; i += 2) { int q; if (robotManager.Helpful.Others.ParseInt(r[i], out q)) result.Add(q, r[i+1]); } }  
  18. Like
    Droidz got a reaction from nickname in Change fight class/load plugin/changing the type of the bot in questing profile using code   
    Hello,
    1:
    wManager.wManagerSetting.CurrentSetting.CustomClass = "fdsfsd.xml"; wManager.Wow.Helpers.CustomClass.DisposeCustomClass(); Thread.Sleep(1000); wManager.Wow.Helpers.CustomClass.LoadCustomClass(); 2: 
    wManager.Plugin.PluginsManager.DisposeAllPlugins(); foreach (var p in wManager.wManagerSetting.CurrentSetting.PluginsSettings) { if (p.FileName == "myplugin.cs") p.Actif = true; } wManager.Plugin.PluginsManager.LoadAllPlugins(); (but you can run c# code in your quest profile, it is better way http://wrobot.eu/forums/topic/5272-new-script-node-in-quester-profiles/#comment-24318
    3: You cannot
  19. Like
    Droidz got a reaction from Pata in Wotlk Relogger   
    yes
  20. Like
    Droidz got a reaction from Messerboogie in [Gatherer] Farm Specific Ore only   
    Hello, disable option harvest mine and in advanced general settings tab "Looting & Farming..." add mine name in "Harvest object..." list
  21. Like
    Droidz got a reaction from Chiffon in Wrotation Auto Attack Delay   
    Hello, in your fight, add spell:
    Name:
    RunMacroText("/startattack") Spell Settings:
    Not spell, is lua script > True
    Once per Target > True
    Add condition:
    Have Target > Value = True
    (you can add more conditions if you want)
    startattack.xml
  22. Like
    Droidz got a reaction from Kamogli in Following: The begining of the end of WRobot for official servers   
    Hello,
    Following the "The begining of the end of WRobot for official servers" , I'll stop to sell subscriptions of WRobot for official servers the 24 June 2018, and I'll remove and stop support of this version the 24 July 2018 (or before if blizz release the BfA pre-patch earlier).
    This don't affected versions of WRobot for private servers.
    Kind regards
     
    EDIT: Subscriptions removed from the store¬†ūüė™
     

    View full article
  23. Thanks
    Droidz got a reaction from elbruce01 in Wrobot stopped working !   
    Yes problem is resolved, I added two days to all active subscriptions.
    Sorry again for the inconvenience.
  24. Thanks
    Droidz reacted to Zer0 in Calling for developers and testers   
    An All-In-One Fightclass for TBC has been released. 9 classes included, 1-70. Enjoy.
     
  25. Thanks
    Droidz got a reaction from Rudikuul in Wrobot stopped working !   
    Yes problem is resolved, I added two days to all active subscriptions.
    Sorry again for the inconvenience.
√ó
√ó
  • Create New...