Jump to content

PVP Lost target


libai

Recommended Posts


Vanilla server, during PVP, when I select a target and start an attack by Fight.StartFight(target.Guid,true,false,false) ,if the target player  counterattack me, i will lose the current target. I have to select the current target again and again ...

anyone can help thanks.

Link to comment
Share on other sites

Hello, try:

Fight.StartFight(target.Guid,false,false,false, false)

You haven't more informaiton in the log ? The bot should indicate the reason why it stopped the fight.

Link to comment
Share on other sites

16:27:13 - [Mount] Mounting ground mount 迅捷祖利安猛虎
16:27:13 - [BG] Started
16:27:14 - [Fight] Player Attacked by Domola (lvl 60)
[D] 16:27:16 - [Fight] BlackList Domola during 60 sec
16:27:16 - [Fight] Player Attacked by Domola (lvl 60)
[D] 16:27:17 - [Fight] Manually target change
[F] 16:27:18 - [Spell] Cast 压制 (Overpower)
[F] 16:27:18 - [Spell] Cast 断筋 (Hamstring)
[F] 16:27:18 - [Spell] Cast 刺耳怒吼 (Piercing Howl)
[F] 16:27:18 - [Spell] Cast 撕裂 (Rend)
[D] 16:27:18 - [Fight] BlackList Domola during 60 sec
16:27:18 - [Fight] Player Attacked by Domola (lvl 60)
[F] 16:27:19 - [Spell] Cast 狂暴姿态 (Berserker Stance)
[D] 16:27:20 - [Fight] BlackList Domola during 60 sec
[F] 16:27:20 - [Spell] Cast 鲁莽 (Recklessness)
[F] 16:27:21 - [Spell] Cast 狂暴之怒 (Berserker Rage)
16:27:22 - [Fight] Player Attacked by Domola (lvl 60)
[F] 16:27:23 - [Spell] Cast 鲁莽 (Recklessness)
[F] 16:27:23 - [Spell] Cast 战斗姿态 (Battle Stance)
[F] 16:27:24 - [Spell] Cast 压制 (Overpower)
[F] 16:27:24 - [Spell] Cast 狂暴姿态 (Berserker Stance)
[D] 16:27:24 - [Fight] BlackList Domola during 60 sec
16:27:24 - [Fight] Player Attacked by Domola (lvl 60)
[F] 16:27:26 - [Spell] Cast 拳击 (Pummel)
[F] 16:27:26 - [Spell] Cast 战斗姿态 (Battle Stance)
[D] 16:27:26 - [Fight] BlackList Domola during 60 sec
16:27:26 - [Fight] Player Attacked by Domola (lvl 60)
[F] 16:27:27 - [Spell] Cast 撕裂 (Rend)
[F] 16:27:27 - [Spell] Cast 狂暴姿态 (Berserker Stance)
[D] 16:27:28 - [Fight] BlackList Domola during 60 sec
16:27:28 - [Fight] Player Attacked by Domola (lvl 60)
16:27:29 - 寻找到最近的敌对玩家,攻击 ---> Domola
[D] 16:27:29 - [Fight] BlackList Domola during 60 sec
16:27:29 - [Fight] Player Attacked by Domola (lvl 60)
[D] 16:27:32 - [Fight] BlackList Domola during 60 sec
16:27:32 - [Fight] Player Attacked by Domola (lvl 60)
[D] 16:27:33 - [Fight] Manually target change
[F] 16:27:34 - [Spell] Cast 破胆怒吼 (Intimidating Shout)
[F] 16:27:34 - [Spell] Cast 战斗姿态 (Battle Stance)
[D] 16:27:34 - [Fight] BlackList Domola during 60 sec
16:27:34 - [Fight] Player Attacked by Domola (lvl 60)
[F] 16:27:35 - [Spell] Cast 压制 (Overpower)
[F] 16:27:35 - [Spell] Cast 狂暴姿态 (Berserker Stance)
[D] 16:27:36 - [Fight] BlackList Domola during 60 sec
16:27:36 - [Fight] Player Attacked by Domola (lvl 60)
[F] 16:27:37 - [Spell] Cast 拳击 (Pummel)
[F] 16:27:37 - [Spell] Cast 断筋 (Hamstring)
[F] 16:27:37 - [Spell] Cast 刺耳怒吼 (Piercing Howl)
[F] 16:27:37 - [Spell] Cast 战斗姿态 (Battle Stance)
[D] 16:27:38 - [Fight] BlackList Domola during 60 sec
16:27:38 - [Fight] Player Attacked by Domola (lvl 60)
[F] 16:27:39 - [Spell] Cast 撕裂 (Rend)
[F] 16:27:39 - [Spell] Cast 狂暴姿态 (Berserker Stance)
[F] 16:27:40 - [Spell] Cast 战斗姿态 (Battle Stance)
[D] 16:27:40 - [Fight] BlackList Domola during 60 sec
16:27:40 - [Fight] Player Attacked by Domola (lvl 60)

Link to comment
Share on other sites

I think it is already blacklisted, you should look at the first logs, look at the options (like ignore elite, ...) and look at the blacklisted zones/units (with the 'Map' for example)

Link to comment
Share on other sites

[F] 17:15:24 - NewUserSettings = False ; LastProductSelected = Battlegrounder ; CustomClass = VanillaWarrior.dll ; DetectEvadingMob = False ; FightInteractTargetMinDistance = 45 ; IgnoreFightWhenInMove = False ; DismountLandGroundDistance = 3.5 ; SkipRegenIfFlaggedInCombat = False ; TryToUseBestBagFoodDrink = True ; EquipAvailableBagIfFreeContainerSlot = False ; FoodMaxPercent = 95 ; DrinkMaxPercent = 95 ; LootAndHarvestRangeQuickly = True ; LootInCombat = False ; SkipNodesInWater = False ; MaxUnitsNearMobs = 99 ; MaxUnitsNearObjects = 99 ; SearchRadiusMobs = 150 ; SearchRadiusObjects = 300 ; MaxZDistanceAttack = 150 ; MaxZDistanceIsAttacked = 150 ; MaxZDistanceFarm = 2000 ; BlacklistTaxiDefaultTimeMs = 1800000 ; BlacklistUnitDefaultTimeMs = 120000 ; BlacklistGameObjectDefaultTimeMs = 120000 ; MaxTryPerNode = 6 ; SellQuickly = False ; MaxCheckIfGoodMouseShortcutsWhenInteract = 2 ; HearthstoneAfterXBlockagesLatest10Minutes = 0 ; HearthstoneNameOrIdAfterXBlockagesLatest10Minutes = 6948 ; RecordChatInLog = True ; UseSpiritHealerAfterXDeathsLatest10Minutes = 0 ; IgnoreFightWithPlayer = False ; WaitWhenBuffWaitingToResurrect = False ; UseCTM = False ; AntiDrown = True ; AcceptOnlyProfileNpc = False ; PathFinderServerSeemDownPauseBotTimeSec = 10 ; PathFinderRequestLog = False ; PathFinderFromServer = True ; OffMeshConnectionsSearchDistance = 1600 ; PathFinderRequestTimeoutMs = 80000 ; TryToAvoidEnemyGroupsRatio = 0 ; IgnoreServerRoadsWater = False ; SmoothPath = False ; SmoothPathDistance = 1 ; KeyboardToTurn = False ; ReadObjectManagerFTS = 8 ; RetrieveCorpseMaxDistance = 26 ; EventsLuaWithArgsWaitTime = 150 ; DismountWhenStuck = True ; NpcScanRepair = True ; NpcScanAuctioneer = True ; NpcScanVendor = False ; NpcScanMailboxes = True ; SkipInOutDoors = False ; RandomJumping = False ; SizeWidth = 627 ; SizeHeight = 692 ; SaveWindowPosition = False ; WindowPosX = 0 ; WindowPosY = 0 ; MyMacro1 = wManager.wManagerSetting+MyMacro ; MyMacro2 = wManager.wManagerSetting+MyMacro ; MyMacro3 = wManager.wManagerSetting+MyMacro ; MyMacro4 = wManager.wManagerSetting+MyMacro ; PluginsSettings = Auto Decline.cs = False, Bolo_TrainHerbnSkinning.dll = False, HS2Town.cs = False, HunterHelper.dll = False, iTalents.dll = False, Operator.dll = False, StopBot.cs = False, VanillaFlightMaster.dll = False, VanillaTrainLevel.cs = False, WhatsGoingOn.dll = False, 协助攻击.dll = False, 回城触发使用炉石1.12修正版.cs = False, 拾取过滤.dll = False, 据说是盗贼上毒插件,我没用过.cs = False, 模拟人生MeHuman(装作活人,没事停下来看看地图什么的).cs = False, 猎人助手v2.0.dll = False, 猎人厄运助手.cs = False, 蛇皮走位(用于伪装玩家多余走位)MoveDuringCombat.dll = False, 食物饮料弹药-支持旅馆NPC购买 QQ群13167232 iBuy.dll = False, BGHelper.cs = False, [插件]拾取过滤.dll = False, 地图呆太久强制回城.dll = False ; CurrentSetting = wManager.wManagerSetting ; AssignTalents = False ; TrainNewSkills = False ; CanAttackUnitsAlreadyInFight = True ; DontStartFighting = False ; UseSpiritHealer = False ; UseMount = True ; UseGroundMount = True ; GroundMountName = 迅捷祖利安猛虎 ; MountDistance = 100 ; IgnoreFightGoundMount = False ; FlyingMountName = ; UseFlyingMount = False ; AquaticMountName = ; FoodName = 魔法肉桂面包 ; FoodPercent = 65 ; DrinkName = ; DrinkPercent = 35 ; RestingMana = False ; FoodIsSpell = False ; DrinkIsSpell = False ; LootMobs = True ; DetectNodesStuck = True ; LootChests = False ; SkinMobs = False ; SkinNinja = True ; HarvestMinerals = False ; HarvestHerbs = False ; HarvestTimber = False ; HarvestAvoidPlayersRadius = 7 ; MaxUnitsNear = 99 ; SearchRadius = 225 ; HarvestDuringLongMove = False ; Smelting = False ; Prospecting = False ; ProspectingInTown = False ; ProspectingTime = 15 ; ProspectingList = ; Milling = False ; MillingInTown = False ; MillingTime = 15 ; MillingList = ; BlackListHarvestByName = ; ListHarvestByName = ; Relogger = False ; AccountEmail = ; AccountPassword = ; BNetName = ; FoodAmount = 20 ; DrinkAmount = 20 ; MinFreeBagSlotsToGoToTown = 2 ; UseMammoth = False ; ToTownTimer = 40 ; ToTownTimerActivated = False ; Repair = True ; Selling = True ; SellGray = True ; SellWhite = True ; SellGreen = True ; SellBlue = False ; SellPurple = False ; DoNotSellList = 炉石, 锯齿箭, 魔法肉桂面包, 饺子, 元素磨刀石 ; 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 = 10 ; 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 = True ; SpellRotationSpeed = False ; IgnoreFightDuringFarmIfDruidForm = False ; WaitResurrectionSickness = False ; BlackListZoneWhereDead = False ; ForceGroundMovementWhenDead = False ; DisableNearPlayerToTown = False ; GoToTownHerbBags = False ; GoToTownMiningBags = False ; CalcuCombatRange = True ; UnlockMaxFps = False ; PlayerAttackedIfOnePetAttacked = True ; IgnoreCombatWithPet = False ; IgnoreCombatWithPlayerPet = True ; UseLuaToMove = False ; SecurityPauseBotIfNerbyPlayerRadius = 1000 ; SecurityPauseBotIfNerbyPlayerTime = 20 ; SecurityShutdownComputer = False ; SecurityDoNotCloseGame = False ; LatencyMin = 100 ; LatencyMax = 200 ; AddToNpcDb = False ; BlackListTrainingDummy = True ; AvoidWallWithRays = True ; BackwardWhenStuck = True ; FlyAboveGroundHeight = 1.5 ; AvoidBlacklistedZonesPathFinder = True ; BlackListIfNotCompletePath = True ; WallDistancePathFinder = 0.5 ; PathFinderPostionOffset = 1.7 ; FlightMasterDiscoverRange = 150 ; FlightMasterTaxiDistance = 1000 ; FlightMasterTaxiUse = True ; FlightMasterTaxiUseOnlyIfNear = False ; LockFrameWhenDecollideFlightPath = False ;
[F] 17:15:24 - WRobotFileName = ; WRobotTmpFolderName = ; DriveLetter = ; FullWowPath = C:\Program Files (x86)\World of Warcraft\ ; MaxFPS = 30 ; MaxLuaMemoryUsage = 2147483647 ; CloseIfCannotLoginWowMinutes = 2 ; WaitTimeToRelogSeconds = 0 ; CloseGameIfAdminRights = False ; HideLuaError = False ; UseShortcuts = True ; WindowName = ; TopMost = False ; Remote = False ; ToTrayBar = False ; DarkMode = False ; BotNameUI = qq123 ; MeShow = True ; TargetShow = True ; PathShow = True ; BlacklistShow = True ; NpcShow = False ; PlayersShow = False ; ObjectsShow = False ; LowFps = True ; LowQuality = True ; ByName = ; CurrentSetting = wManager.wManagerGlobalSetting ; FilePath = F:\WRobot 2.8.0 (1.12.1 5875)\\Settings\WRobotGlobalSetting.xml ;
[F] 17:15:24 - CanProtectAgainstScreenshots = False ; ArgsEnvironmentVariables = 472D7C ; ForceStaticEncryptKey = 0 ; HowLongDaysKeepLogFiles = 7 ; InstallDateTime = 2023-04-02 16:51:46 ; ShowMs = False ; normalCb = True ; fightCb = True ; navigatorCb = False ; debugCb = False ; ErrorCb = True ; SendErrorCb = False ; CurrentSetting = robotManager.robotManagerGlobalSetting ; 

Link to comment
Share on other sites

settings

wManager.wManagerSetting.CurrentSetting.MaxUnitsNearObjects = 99;
        wManager.wManagerSetting.CurrentSetting.AttackBeforeBeingAttacked = true;
        wManager.wManagerSetting.CurrentSetting.IgnoreFightWithPlayer = false;
        wManager.wManagerSetting.CurrentSetting.IgnoreFightWhenInMove = false;
        wManager.wManagerSetting.CurrentSetting.IgnoreFightGoundMount = false;
        wManager.wManagerSetting.CurrentSetting.DontStartFighting = false;
        wManager.wManagerSetting.CurrentSetting.CanAttackUnitsAlreadyInFight = true;
        wManager.wManagerSetting.CurrentSetting.HelpingGroupMembers = true;
        wManager.wManagerSetting.CurrentSetting.CloseIfPlayerTeleported = false;
        wManager.wManagerSetting.CurrentSetting.Save();

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...