Jump to content

Pudge

WRobot user
  • Posts

    348
  • Joined

  • Last visited

Posts posted by Pudge

  1. 44 minutes ago, TheSmokie said:

    Hey @pudge, i did something like this a long time ago, I've found it to be be to long, and it would slow down quester because loading all the vectors then move too. idk could be because i had it very long or somewhat. but you wanna make the MovementManager.go into a while loop. so it keeps moving.

     

    I don't know how it will be work, I haven't tested it yet, code looks like this:

            var anton = ObjectManager.GetObjectWoWUnit().FirstOrDefault(g => g.Entry == 24291);
    
            if (anton == null)
            {
                Lua.LuaDoString("print('searching for npc')");
                wManager.Wow.Bot.Tasks.GoToTask.ToPosition(path[0]);
                MovementManager.Go(path);
            }
    
            if (anton != null)
            {
              
              if (Is.In path) // checking if it moves in "path" need to do
              {
              MovementManager.StopMove();
              }
              
                Lua.LuaDoString("print('npc founded')");
                if (wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(anton.Position), anton.Entry))
                {
                    wManager.Wow.Helpers.Vendor.BuyItem("Fresh Pound of Flesh", 1);
                    Thread.Sleep(3000);
                }
            }

     

    As I understand it, I need to add another check that will check it is in the "path", and stop movement?
    How can i do this?
    if (Is.In path)
    {
    MovementManager.StopMove();
    }

  2. Hello, I need a little help. 

    How can I make this function to use pathfinder to find the first/nearest position in the list of vector3? Because it goes in a straight line at start, and only use pathfinder after getting stuck. I would like to make a search path for the required NPC in the override quest type, and then interact with it when it appears, but the bot goes to this path in a straight line through sea.

     

    var path = new List<Vector3>() {
    new Vector3(134.4189f, -4571.758f, 268.0376f, "None"),
    new Vector3(146.1211f, -4538.368f, 261.461f, "None"),
    new Vector3(150.3505f, -4503.114f, 256.2892f, "None"),
    new Vector3(146.0072f, -4467.485f, 253.9808f, "None"),
    new Vector3(139.8191f, -4433.039f, 254.3852f, "None"),
    new Vector3(140.4656f, -4397.381f, 255.7277f, "None"),
    new Vector3(151.0651f, -4363.204f, 256.8899f, "None"),
    new Vector3(163.2112f, -4330.521f, 257.0603f, "None"),
    new Vector3(180.1993f, -4299.34f, 251.8035f, "None"),
    new Vector3(207.5983f, -4277.318f, 248.4619f, "None"),
    new Vector3(240.8512f, -4264.621f, 249.7808f, "None"),
    new Vector3(268.6209f, -4242.891f, 251.4492f, "None"),
    new Vector3(289.0244f, -4213.805f, 253.3416f, "None"),
    new Vector3(309.0491f, -4184.992f, 257.0113f, "None"),
    new Vector3(336.7352f, -4162.454f, 259.8828f, "None"),
    new Vector3(369.5115f, -4150.962f, 256.6224f, "None"),
    new Vector3(404.9132f, -4145.873f, 253.9392f, "None"),
    new Vector3(438.0468f, -4133.036f, 250.3237f, "None"),
    new Vector3(467.8514f, -4115.109f, 247.1384f, "None"),
    new Vector3(495.5876f, -4100.673f, 245.6649f, "None"),
    };
    
    MovementManager.Go(path);
    //MovementManager.GoLoop(path);


    image.thumb.png.274a302f40e55f6e4a9a6dd4ba708757.png

     

  3.  

    Hello, please tell me what code you need to use in the quest to load another quest profile using Runcode?

    Quester.Bot.QuesterSetting.CurrentSetting.ProfileName = "ProfileName.xml";

     

    when trying to use something similar, the code only fires after restarting the bot.

  4. The problem is quite acute. All the checkboxes are marked with the code from the previous post, and here is what happens: bot just goes from flightmaster to flightmaster in an endless loop. He interacts with the flightmaster, all the nodes that he needs are open, and that's what is in the log:

    17:13:48 - [FlightMaster] Cannot found npc of taxi node Orgrimmar, Durotar, disable it.
    17:13:48 - [FlightMaster] Try to take taxi at 
    17:14:07 - [FlightMaster] Try to take taxi node Splintertree Post, Ashenvale to Valormok, Azshara, go to npc.
    17:16:40 - [FlightMaster] Try to take taxi at Vhulgra
    17:16:45 - [FlightMaster] No found useful destination on FlightMaster Vhulgra, skip it.
    17:16:45 - [FlightMaster] Cannot take taxi, Blacklist flightmaster 30 min and taxi node for session.
    17:16:46 - [Mount] Mounting ground mount Summon Charger
    17:16:46 - [FlightMaster] Try to take taxi node Splintertree Post, Ashenvale to Valormok, Azshara, go to npc.
    17:16:48 - [FlightMaster] Cannot found npc of taxi node Splintertree Post, Ashenvale, disable it.
    17:16:48 - [FlightMaster] Try to take taxi at 
    17:16:56 - [FlightMaster] Try to take taxi node Splintertree Post, Ashenvale to Valormok, Azshara, go to npc.
    17:17:04 - [FlightMaster] Cannot found npc of taxi node Splintertree Post, Ashenvale, disable it.
    17:17:04 - [FlightMaster] Try to take taxi at 
    17:17:05 - [FlightMaster] Try to take taxi node Orgrimmar, Durotar to Valormok, Azshara, go to npc.
    17:17:51 - [Mount] Mounting ground mount Summon Charger
    17:20:49 - [FlightMaster] Try to take taxi at Doras
    17:20:59 - [FlightMaster] No found useful destination on FlightMaster Doras, skip it.
    17:20:59 - [FlightMaster] Cannot take taxi, Blacklist flightmaster 30 min and taxi node for session.
    17:20:59 - [Mount] Mounting ground mount Summon Charger
    17:20:59 - [FlightMaster] Try to take taxi node Orgrimmar, Durotar to Valormok, Azshara, go to npc.
    17:21:02 - [FlightMaster] Cannot found npc of taxi node Orgrimmar, Durotar, disable it.
    17:21:02 - [FlightMaster] Try to take taxi at 
    17:22:03 - [FlightMaster] Try to take taxi node Orgrimmar, Durotar to Valormok, Azshara, go to npc.
    17:23:10 - [FlightMaster] Cannot reach position of taxi node , disable it.
    17:23:10 - [FlightMaster] Try to take taxi node Orgrimmar, Durotar to Valormok, Azshara, go to npc.
    17:23:12 - [FlightMaster] Cannot found npc of taxi node Orgrimmar, Durotar, disable it.
    17:23:12 - [FlightMaster] Try to take taxi at 
    17:23:31 - [FlightMaster] Try to take taxi node Splintertree Post, Ashenvale to Valormok, Azshara, go to npc.
    17:23:54 - [Mount] Dismount
    17:24:06 - [Mount] Mounting ground mount Summon Charger
    17:26:17 - [FlightMaster] Cannot reach position of taxi node , disable it.
    17:26:17 - [FlightMaster] Try to take taxi node Splintertree Post, Ashenvale to Valormok, Azshara, go to npc.
    17:26:19 - [FlightMaster] Cannot found npc of taxi node Splintertree Post, Ashenvale, disable it.
    17:26:19 - [FlightMaster] Try to take taxi at 
    17:27:14 - [FlightMaster] Try to take taxi node Splintertree Post, Ashenvale to Valormok, Azshara, go to npc.
    17:28:09 - [FlightMaster] Cannot reach position of taxi node , disable it.
    17:28:09 - [FlightMaster] Try to take taxi node Splintertree Post, Ashenvale to Valormok, Azshara, go to npc.
    17:28:10 - [FlightMaster] Cannot found npc of taxi node Splintertree Post, Ashenvale, disable it.
    17:28:10 - [FlightMaster] Try to take taxi at 
    17:28:11 - [FlightMaster] Try to take taxi node Orgrimmar, Durotar to Valormok, Azshara, go to npc.
    17:31:52 - [FlightMaster] Cannot reach position of taxi node , disable it.
    17:31:58 - [FlightMaster] Try to take taxi node Orgrimmar, Durotar to Valormok, Azshara, go to npc.
    17:31:59 - [FlightMaster] Cannot found npc of taxi node Orgrimmar, Durotar, disable it.
    17:31:59 - [FlightMaster] Try to take taxi at 
    17:32:24 - [FlightMaster] Try to take taxi node Orgrimmar, Durotar to Valormok, Azshara, go to npc.
    17:32:50 - [FlightMaster] Cannot found npc of taxi node Orgrimmar, Durotar, disable it.
    17:32:50 - [FlightMaster] Try to take taxi at 
    17:33:08 - [FlightMaster] Try to take taxi node Splintertree Post, Ashenvale to Valormok, Azshara, go to npc.
    17:35:45 - [FlightMaster] Cannot reach position of taxi node , disable it.
    17:35:45 - [FlightMaster] Try to take taxi node Splintertree Post, Ashenvale to Valormok, Azshara, go to npc.
    17:35:47 - [FlightMaster] Cannot found npc of taxi node Splintertree Post, Ashenvale, disable it.
    17:35:47 - [FlightMaster] Try to take taxi at 
    17:39:11 - [FlightMaster] Try to take taxi at Kroum
    17:39:16 - [FlightMaster] No found useful destination on FlightMaster Kroum, skip it.
    17:39:16 - [FlightMaster] Cannot take taxi, Blacklist flightmaster 30 min and taxi node for session.
    17:39:17 - [Mount] Mounting ground mount Summon Charger
    17:39:17 - [FlightMaster] Try to take taxi node Valormok, Azshara to Emerald Sanctuary, Felwood, go to npc.
    17:39:19 - [FlightMaster] Cannot found npc of taxi node Valormok, Azshara, disable it.
    17:39:19 - [FlightMaster] Try to take taxi at 
    17:39:20 - [FlightMaster] Try to take taxi node Orgrimmar, Durotar to Emerald Sanctuary, Felwood, go to npc.
    17:41:10 - [FlightMaster] Try to take taxi node Splintertree Post, Ashenvale to Orgrimmar, Durotar, go to npc.

     

    Settings:
    [F] 12:56:38 - NewUserSettings = False ; LastProductSelected = Quester ; CustomClass = pal_default.cs ; DetectEvadingMob = True ; FightInteractTargetMinDistance = 30 ; IgnoreFightWhenInMove = True ; DismountLandGroundDistance = 20 ; SkipRegenIfFlaggedInCombat = False ; TryToUseBestBagFoodDrink = True ; EquipAvailableBagIfFreeContainerSlot = True ; FoodMaxPercent = 89 ; DrinkMaxPercent = 72 ; LootAndHarvestRangeQuickly = True ; LootInCombat = False ; SkipNodesInWater = False ; MaxUnitsNearMobs = 1 ; MaxUnitsNearObjects = 50 ; SearchRadiusMobs = 50 ; SearchRadiusObjects = 300 ; MaxZDistanceAttack = 150 ; MaxZDistanceIsAttacked = 150 ; MaxZDistanceFarm = 2000 ; BlacklistTaxiDefaultTimeMs = 1800000 ; BlacklistUnitDefaultTimeMs = 120000 ; BlacklistGameObjectDefaultTimeMs = 120000 ; MaxTryPerNode = 2 ; MaxCheckIfGoodMouseShortcutsWhenInteract = 2 ; HearthstoneAfterXBlockagesLatest10Minutes = 10 ; HearthstoneNameOrIdAfterXBlockagesLatest10Minutes = 6948 ; RecordChatInLog = True ; UseSpiritHealerAfterXDeathsLatest10Minutes = 0 ; IgnoreFightWithPlayer = False ; WaitWhenBuffWaitingToResurrect = False ; UseCTM = True ; AcceptOnlyProfileNpc = True ; PathFinderServerSeemDownPauseBotTimeSec = 10 ; PathFinderRequestLog = False ; PathFinderFromServer = True ; OffMeshConnectionsSearchDistance = 1600 ; PathFinderRequestTimeoutMs = 80000 ; TryToAvoidEnemyGroupsRatio = 0 ; IgnoreServerRoadsWater = False ; SmoothPath = False ; SmoothPathDistance = 1 ; KeyboardToTurn = False ; ReadObjectManagerFTS = 8 ; ForceAutoLoot = False ; RetrieveCorpseMaxDistance = 40 ; KeyBindingMacro = P ; EventsLuaWithArgsWaitTime = 150 ; DismountWhenStuck = True ; NpcScanRepair = False ; NpcScanAuctioneer = True ; NpcScanVendor = False ; NpcScanMailboxes = True ; SkipInOutDoors = False ; RandomJumping = True ; SizeWidth = 535 ; SizeHeight = 375 ; SaveWindowPosition = False ; WindowPosX = 0 ; WindowPosY = 0 ; MyMacro1 = wManager.wManagerSetting+MyMacro ; MyMacro2 = wManager.wManagerSetting+MyMacro ; MyMacro3 = wManager.wManagerSetting+MyMacro ; MyMacro4 = wManager.wManagerSetting+MyMacro ; PluginsSettings = auto_accept.cs = False, auto_decline.cs = False, ChatTradersAlert.cs = False, DungeonHelper.dll = False, Multi_Pull_V2.cs = False, RequestHandler.cs = False, Roboalert.dll = True, TotemKiller.dll = False, UsefulPluginV2 - Copy.cs = False, UsefulPluginV2.cs = True, UseStuckWhenStuck.cs = False, WhisperReply.dll = False, WhoreKiller.dll = False, Multi_Pull_V2_OLD.cs = False ; CurrentSetting = wManager.wManagerSetting ; AssignTalents = False ; TrainNewSkills = False ; CanAttackUnitsAlreadyInFight = False ; DontStartFighting = False ; UseSpiritHealer = False ; UseMount = True ; UseGroundMount = True ; GroundMountName = Summon Charger ; MountDistance = 37 ; IgnoreFightGoundMount = True ; FlyingMountName = ; UseFlyingMount = False ; AquaticMountName = ; FoodName = Holy Light ; FoodPercent = 59 ; DrinkName = ; DrinkPercent = 30 ; RestingMana = False ; FoodIsSpell = True ; DrinkIsSpell = False ; LootMobs = True ; DetectNodesStuck = True ; LootChests = True ; SkinMobs = False ; SkinNinja = True ; HarvestMinerals = True ; HarvestHerbs = True ; HarvestTimber = False ; HarvestAvoidPlayersRadius = 50 ; MaxUnitsNear = 25 ; SearchRadius = 175 ; HarvestDuringLongMove = True ; Smelting = False ; Prospecting = False ; ProspectingInTown = False ; ProspectingTime = 15 ; ProspectingList = ; Milling = False ; MillingInTown = False ; MillingTime = 15 ; MillingList = ; BlackListHarvestByName = ; ListHarvestByName = ; Relogger = False ; AccountEmail = ; AccountPassword = ; BNetName = ; FoodAmount = 0 ; DrinkAmount = 0 ; MinFreeBagSlotsToGoToTown = 0 ; UseMammoth = False ; ToTownTimer = 40 ; ToTownTimerActivated = False ; Repair = True ; Selling = True ; SellGray = True ; SellWhite = True ; SellGreen = True ; SellBlue = True ; SellPurple = True ; DoNotSellList = Tankard O' Terror, Wodin's Lucky Necklase, Belt of the Lonely Noble, Leggings of Dubious Charms, Harbinger's Bone Band, Ring of Rotting Sinew, King's Square Bracers, Saronite Defender, Saronite Bulwark, Cloak of Bloodied Waters, Aviary Guardsman's Hauberk, Tattered Castle Drape, Skullcage of Eternal Terror, Swiftarrow Shoulderguards, Swiftarrow Hauberk, Swiftarrow Helm, Swiftarrow Belt, Swiftarrow Boots, Swiftarrow Bracers, Swiftarrow Gauntlets, Swiftarrow Leggings, Refined Ore Gloves, Crusader's Square Pauldrons, Berserker's Sabatons, Savage Saronite Bracers, Savage Saronite Gauntlets, Savage Saronite Hauberk, Savage Saronite Legplates, Savage Saronite Pauldrons, Savage Saronite Skullshield, Savage Saronite Waistguard, Savage Saronite Walkers, Belt of Tasseled Lanterns, Titansteel Destroyer, Dragonstompers, Cast Iron Shackles, Whale-Stick Harpoon, Eviscerator's Facemask, Spored Tendrils Spaulders, Corehound Fang Shoulderpads, Belt of Tasseled Lanterns, Swiftarrow Belt, Eviscerator's Waistguard, Dark Arctic Leggings, Eviscerator's Legguards, Leggings of Visceral Strikes, Boots of the Terrestrial Guardian, Drake-Champion's Bracers, Eviscerator's Bindings, Eviscerator's Gauntlets, Emerald Choker, Burning Skull Pendant, Cloak of Bloodied Waters, Ink of the Sea, Snowfall Ink, Virtuoso Inking Set, Fishing Pole, Simple Grinder, Cardinal Ruby, King's Amber, Majestic Zircon, Ametrine, Mining Pick, Arcane Crystal, Star Ruby, Mithril Ore, Truesilver Ore, Fel Iron Ore, Adamantite Ore, Khorium Ore, Primal Fire, Eternium Ore, Cobalt Ore, Saronite Ore, Titanium Ore, Chalcedony, Eternal Life, Eternal Earth, Eternal Air, Eternal Fire, Eternal Shadow, Adder's Tongue, Lichbloom, Cobalt Bar, Saronite Bar, Titanium Bar, Titansteel Bar, Mithril Bar, Fel Iron Bar, Khorium Bar, Eternium Bar, Dream Shard, Abyss Crystal, Infinite Dust, Oily Blackmouth, Stranglekelp, Blackmouth Oil, Skinning Knife, Borean Leather, Heavy Borean Leather, Arctic Fur, Borean Leather Scraps, Netherweave Bag, Frostweave Bag, Sky Sapphire, Scarlet Ruby, Autumn's Glow, Twilight Opal, Forest Emerald, Monarch Topaz, Nerubian Chitin, Icy Dragonscale, Rune of Portals, Heart of the Wild, Icecap, Mountain Silversage, Primal Might, Runic Mana Potion, Corpse Dust, Devout Candle, Flask of Endless Rage, Noggenfogger Elixir, Drums of Forgotten Kings, Pygmy Oil, Indestructible Potion, Runescroll of Fortitude, Drums of the Wild, Free Action Potion, Lesser Flask of Toughness, Swiftness Potion, Heavy Frostweave Bandage, Runic Mana Injector, Runic Healing Injector, Savory Deviate Delight, Cobalt Frag Bomb, Symbol of Kings, Dragonfin Filet, Briny Hardcheese, Grilled Sculpin, Frostbite Bullets, Terrorshaft Arrow, Living Action Potion, Mead Basted Caribou, Shadowmourne, Death's Choise, Death's Verdict, Penumbra Pendant, Deathbringer's Will, Sharpened Twilight Scale, Bryntroll, the Bone Arbiter, Apocalypse's Advance, Skeleton Lord's Circle, Winding Sheet, Corroded Skeleton Key, Whispering Fanged Skull, Havoc's Call, Blade of Lordaeron Kings, Bloodsurge, Kel'Thuzad's Blade of Agony, Coldwraith Links, Fleshrending Gauntlets, Ring of the Kirin Tor, Garrosh's Rage, Might of Blight, Agin's Crushing Carapace, Avool's Sword of Jin, Banner Slicer, Belt of Crystalline Tears, Blade-Binding Bulwark, Bloodwood Greatstaff, Bracers of Accurate Fire, Bracers of Sizzling Heat, Bracers of Unmitigated Larceny, Bulge-Concealing Breastplate, Charlotte's Chastizing Pauldrons, Cloak of the Agile Mind, Condor-Bone Chestguard, Cracklefire Wristguards, Draconic Choker of Ferocity, Dragonjaw Mauler, Gauntlets of Disembowelment, Girdle of Unerring Flight, Gnarled Shovelhorn Spaulders, Greathelm of the Unyielding Bull, Grips of the Warming Heart, Gwyneth's Runed Dragonwand, Je'Tze's Bell, Leggings of the Water Moccasin, Leggings of Violent Exsanguination, Legguards of the Forlorn Seas, Lydia's Sharpened Swordbreaker, Melia's Magnificent Scepter, Namlak's Supernumerary Sticker, Nixod's Chain-Threshed Spaulders, Petrified Ironwood Smasher, Raine's Choker of Combustion, Raine's Signet of Blasting, Rhie-Ay's Clutching Gauntlets, Roc-Feather Longbow, Ryft's Deathgaze, Sash of Jordan, Shimmerthread Girdle, Signet of Edward the Odd, Skullcage of Eternal Terror, Torta's Oversized Choker, Twisted Puzzle-Ring, Wapach's Spaulders of Solidarity, Wristguards of Verdant Recovery, Zabra's Misplaced Staff, Zoe's Comforting Cape, Zom's Crackling Bulwark, Frozen Orb, 44695, Corroded Faceguard, Dimensional Ripper - Everlook, Dimensional Ripper - Area 52, Ultrasafe Transporter: Toshley's Station, Ultrasafe Transporter: Gadgetzan, World Enlarger, Hearthstone ; ForceSellList = ; BuyList = ; UseMail = False ; UseMollE = False ; MailRecipient = ; MailSubject = Hey ; MailGray = False ; MailWhite = True ; MailGreen = True ; MailBlue = True ; MailPurple = True ; DoNotMailList = ; ForceMailList = ; CloseIfFullBag = False ; CloseIfReached4000HonorPoints = False ; CloseIfPlayerTeleported = False ; CloseAfterXLevel = 100 ; CloseIfWhisperBiggerOrEgalAt = 1000 ; CloseAfterXBlockagesLatest10Minutes = 25 ; CloseAfterXMin = 2880 ; SecurityPauseBotIfNerbyPlayer = False ; SecurityRecordWhisperInLogFile = True ; SecuritySongIfNewWhisper = False ; UsePathsFinder = True ; NpcMailboxSearchRadius = 10000 ; HelpingGroupMembers = True ; AttackElite = True ; CloseAfterXBlockagesActive = True ; CloseAfterXDeathsActive = False ; CloseAfterXDeathsLatest10Minutes = 5 ; CloseAfterXMinActive = False ; AttackBeforeBeingAttacked = False ; SpellRotationSpeed = False ; IgnoreFightDuringFarmIfDruidForm = False ; WaitResurrectionSickness = False ; BlackListZoneWhereDead = False ; DisableNearPlayerToTown = False ; GoToTownHerbBags = False ; GoToTownMiningBags = False ; CalcuCombatRange = False ; UnlockMaxFps = False ; IgnoreCombatWithPet = True ; UseLuaToMove = False ; SecurityPauseBotIfNerbyPlayerRadius = 1000 ; SecurityPauseBotIfNerbyPlayerTime = 20 ; SecurityShutdownComputer = False ; LatencyMin = 283 ; LatencyMax = 283 ; AddToNpcDb = False ; BlackListTrainingDummy = True ; AvoidWallWithRays = True ; FlyAboveGroundHeight = 1.5 ; AvoidBlacklistedZonesPathFinder = True ; BlackListIfNotCompletePath = True ; WallDistancePathFinder = 0.6 ; PathFinderPostionOffset = 1 ; FlightMasterDiscoverRange = 500 ; FlightMasterTaxiDistance = 500 ; FlightMasterTaxiUse = True ; FlightMasterTaxiUseOnlyIfNear = False ;

  5. Hello!

    How does this setting do? It is for looting mob coprses or ressurect the bot? I wanna make the bot resurrect as far from the corpse as it possible. I changed the value to the maximum possible to resurrect (40f) but nothing changes (bot keeps resurrect at melee distance from the corpse). This setting is probably not what I need? ?

  6. As a result, this is what I have in the bot settings:

     

    <?xml version="1.0" encoding="utf-8"?>
    <QuesterSetting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ProfileName>profile.xmll</ProfileName>
      <BlackListWhereIAmDead>false</BlackListWhereIAmDead>
      <SaveModifiedGeneralSettings>true</SaveModifiedGeneralSettings>
      <SkipPickUpQuestAfterXSecondes>50000</SkipPickUpQuestAfterXSecondes>
      <ProfilesUserSettings />
    </QuesterSetting>


    and what I have in logs:

     

    15:57:35 - [Quester] He's trying to pickup quest Quest Name for more than 120 secondes, go to next step (if you get this problem again, you can disable profile step '125'.

     

  7. 8 hours ago, Droidz said:

    Hi,

    
    robotManager.Helpful.Display.ShowWindow(obj.CurrentWowProcess.MainWindowHandle);
    
         public static void ShowWindow(IntPtr mainWindowHandle)
            {
                Native.ShowWindow(mainWindowHandle, Native.SwRestore);
                Native.SetForegroundWindow(mainWindowHandle);
            }

     

    The name 'obj' does not exist in the current context, please can I ask for the reference for 'obj'? Cant find where the CurrentWowProcess located in the libraries.

  8. A few days ago before reading this thread, I added this:

    wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithGameObject(new Vector3(-1880.28, 5357.53, -12.4281), 183321);
    MovementManager.StopMove();
    Thread.Sleep(new System.Random().Next(1000, 3000));
    robotManager.Products.Products.InPause = true;
    Thread.Sleep(new System.Random().Next(1000, 3000));
    robotManager.Products.Products.InPause = false;
    return true;

    But it seems this shit still appears again with a little chance.

    Thanks for replies! I will try your ways guys.
     

  9.      // off before quest
            wManager.wManagerSetting.CurrentSetting.MyMacro1.Actif = false;
            wManager.wManagerSetting.CurrentSetting.MyMacro2.Actif = false;
            wManager.wManagerSetting.CurrentSetting.MyMacro3.Actif = false; //4 5 6 etc

     

            //on after quest
            wManager.wManagerSetting.CurrentSetting.MyMacro1.Actif = true;
            wManager.wManagerSetting.CurrentSetting.MyMacro2.Actif = true;
            wManager.wManagerSetting.CurrentSetting.MyMacro3.Actif = true; //4 5 6 etc

    Use Runcode before and after quest, where u need off macros. Shoud work

  10. wManager.Wow.Helpers.SpellManager.UpdateSpellBook();
    if(wManager.Wow.Helpers.SpellManager.ExistSpellBook("White Kodo")) 
    { 
    Logging.Write("Exist");
    wManager.wManagerSetting.CurrentSetting.GroundMountName = "White Kodo"; 
    }
    

    or use lua check

    
    if (Lua.LuaDoString<bool>(@"for i=1,GetNumCompanions('MOUNT') do _,creatureName = GetCompanionInfo('MOUNT', i) if creatureName == 'White Kodo' then return true end end"))
    { 
    Logging.Write("Exist");
    wManager.wManagerSetting.CurrentSetting.GroundMountName = "White Kodo"; 
    }

    both should work

×
×
  • Create New...