Question MQ2Bot Puller issue

orion949

Death From Above
Joined
May 25, 2007
Messages
1,432
Reaction score
9
Points
38
I am trying to setup my puller to use bow for pulling but when I do /bot on it doesnt pull it just goes into a ranged attack loop,

8529d1a39eb5f82cd7d8372a5b06204f-full.jpg



Is something set incorrectly in the .ini?

Code:
MQ2Bot]
Debugging=0
BotVersion=20190423.0401
BotCommandsOn=1
BotCommandsOff=
AlwaysCheckAdds=0
RestrictedZones=,344,202,151,345,
BuffPassword=NULL
AuthorizedUsers=|guild|group|netbots|
CycleDelay=3
DefaultGem=1
AnnounceEcho=1
AnnounceEQBC=0
AnnounceAdds=1
AnnounceMezBreaks=1
AutoInvisDistance=0
AssistAt=100
AssistRange=100
UseManualAssist=0
AssistName=
MercAssistAt=100
MercAssistRange=0
MeleeAt=100
MeleeDistance=40
DoPetSwarm=0
PetAttackAt=100
PetAttackRange=60
RepositionIfSummoned=0
MedStartAt=0
MedStopAt=0
MedToFull=0
MedDuringCombat=0
EndMedStartAt=10
EndMedStopAt=100
EndMedToFull=1
MinManaToNuke=0
NukeToTAt=80
ManaToSummon=100
SummonModRods=1
UseModRods=1
AACutoffTime=10
AAStopAt=10
AggroAt=95
AutofireAt=0
AutofireDistance=100
DebuffAdds=0
DebuffAt=100
DebuffStopAt=10
DebuffAEAmount=3
DotAt=99
DotStopAt=10
FaceAngle=360
FadeAt=20
GrabAdds=0
GrabPrimary=0
InterruptToHealAt=0
HealAt=80
HealToTAt=80
HealSelfAt=80
HealDelayedAt=95
HealDurationAt=95
HealGroupAt=80
HealPetAt=80
ImHitAt=50
JoltAt=70
KnockbackAdds=0
KnockbackPrimary=0
LifetapAt=80
LootInCombat=0
LootRadius=0
ManaAt=80
NukeAt=99
RezRadius=100
RootAdds=15
RootPrimary=0
SnareAt=10
SwarmAt=99
UseAutoFire=0
UseAENukes=1
UseAura=1
UseClickyBuffs=1
UseClickyNukes=1
DebuffsSpellFirst=1
UseDiscsOffensive=1
UseDiscsDefensive=1
UseFightBuffs=1
UseMainTankBuffs=1
UseManaInCombat=1
UseManaOnOthers=1
UseMez=1
UsePet=1
PetReagentCheck=1
PetIllusionItem=NULL
CustomPetSpell=NULL
UsePetBuffs=1
StandOnPetAttack=0
UseSelfBuffs=1
AutoFollowLeader=0
AutoFollowSettings=30 healer
UseNetBots=0
NetBotsName=NULL
DoDebug=0
PullingDistance=320
PullingMaxZ=1000
PullingLOS=1
DoPulls=1
MQ2NavDistance=100
PullSkillName=ranged
AnnounceBehaviorChange=1
AttackCommand=/killthis
SafetyInvisOnWarp=0
SafetyCommandOnTell=
SafetyCommandOnGM=
SafetyCommandOnMyWarp=
SafetyCommandOnOthersWarp=
SafetyCommandOnTooFarFromCamp=
 
Last edited:
I'll look into it for you asap. What class, bow and arrows are you using?
 
im sure i heard before it was never made to work with bows? could be wrong but? im sure person who created mq2bot said that before?
 
Last edited:
I'll look into it for you asap. What class, bow and arrows are you using?

He is a WAR using Conflagrant Longbow with summoned etherial arrows.

Im not sure I have a clear understanding of these two settings:

PullingLOS=1 (does this mean he will only try to pull the mob if it is LOS with him?)

MQ2NavDistance=100 (what does this one mean?)
 
PullingLOS would normally be 1 (true). Meaning, MQ2 must return that you are line of sight on target before pulling (with whatever aa, spell, etc.). I had put that in, for I found some (not many, but a few) situations where a particular skill would still pull mobs on a flat plane with "things" there (such as a broken box, or partial shack, etc.) but LOS on it would return false. So I just put it in for at least a user has SOME way of getting past such a glitch if they find one.

MQ2NavDistance: Ignore it. It looks like pete intended to perhaps use it as some kind of debug flag for doing something, but was never used. I see it in code just reading it from ini, and writing it, but never used in code. I will take it out for future, although it'll still show up in existing INI files if it's already there (i.e., I won't try to delete it).

I'll check with a bow on pulling. I swear I think when I was developing it, I used two items, the summoned fangs, and bow/arrows, and was good to go - but will go in on my war and see what's up and get back to you. If nothing else, we can compare INI entries and gear setup.

htw
 
PullingLOS would normally be 1 (true). Meaning, MQ2 must return that you are line of sight on target before pulling (with whatever aa, spell, etc.). I had put that in, for I found some (not many, but a few) situations where a particular skill would still pull mobs on a flat plane with "things" there (such as a broken box, or partial shack, etc.) but LOS on it would return false. So I just put it in for at least a user has SOME way of getting past such a glitch if they find one.

MQ2NavDistance: Ignore it. It looks like pete intended to perhaps use it as some kind of debug flag for doing something, but was never used. I see it in code just reading it from ini, and writing it, but never used in code. I will take it out for future, although it'll still show up in existing INI files if it's already there (i.e., I won't try to delete it).

I'll check with a bow on pulling. I swear I think when I was developing it, I used two items, the summoned fangs, and bow/arrows, and was good to go - but will go in on my war and see what's up and get back to you. If nothing else, we can compare INI entries and gear setup.

htw

I appreciate the help brother. On a related note, is there a better way for a WAR to pull other than his bow? Do most people use something else that actually works better? WAR has never been my main and Im basically new to the game again so if there is something better I am all ears on that too.
 
Not sure, I've never really played a war much either. Someone else can hopefully chime in with some advice. I normally pull with my monk.

htw
 
I am just now trying to use mq2bot to pull. I am trying to get it to where my bard pulls. This is my INI setup. When I load everything in game and do /bot on the bard does nothing. it just stands there and does normal bot things, like assist the main tank etc. however, I cannot get it to pull, move, target mobs on its own, or anything. Any idea what I am doing wrong? Thanks!

HTML:
[MQ2DoCrack]
Top=401
Left=290
Bottom=723
Right=437
Locked=0
WindowTitle=MQ2DoCrack
Fades=1
Delay=2000
Duration=500
Alpha=255
FadeToAlpha=255
BGType=1
BGTint.alpha=255
BGTint.red=255
BGTint.green=255
BGTint.blue=255
ShowWindow=0
[MQ2Twist]
Delay=33
Quiet=0
Adjust=1
Recast=0
21_CastTime=0
21_ReCastTime=0
21_Name=DISABLED
21_Slot=DISABLED
22_CastTime=0
22_ReCastTime=0
22_Name=DISABLED
22_Slot=DISABLED
23_CastTime=0
23_ReCastTime=0
23_Name=DISABLED
23_Slot=DISABLED
24_CastTime=0
24_ReCastTime=0
24_Name=DISABLED
24_Slot=DISABLED
25_CastTime=0
25_ReCastTime=0
25_Name=DISABLED
25_Slot=DISABLED
26_CastTime=0
26_ReCastTime=0
26_Name=DISABLED
26_Slot=DISABLED
27_CastTime=0
27_ReCastTime=0
27_Name=DISABLED
27_Slot=DISABLED
28_CastTime=0
28_ReCastTime=0
28_Name=DISABLED
28_Slot=DISABLED
29_CastTime=0
29_ReCastTime=0
29_Name=DISABLED
29_Slot=DISABLED
30_CastTime=0
30_ReCastTime=0
30_Name=DISABLED
30_Slot=DISABLED
31_CastTime=0
31_ReCastTime=0
31_Name=DISABLED
31_Slot=DISABLED
32_CastTime=0
32_ReCastTime=0
32_Name=DISABLED
32_Slot=DISABLED
33_CastTime=0
33_ReCastTime=0
33_Name=DISABLED
33_Slot=DISABLED
34_CastTime=0
34_ReCastTime=0
34_Name=DISABLED
34_Slot=DISABLED
35_CastTime=0
35_ReCastTime=0
35_Name=DISABLED
35_Slot=DISABLED
36_CastTime=0
36_ReCastTime=0
36_Name=DISABLED
36_Slot=DISABLED
37_CastTime=0
37_ReCastTime=0
37_Name=DISABLED
37_Slot=DISABLED
38_CastTime=0
38_ReCastTime=0
38_Name=DISABLED
38_Slot=DISABLED
39_CastTime=0
39_ReCastTime=0
39_Name=DISABLED
39_Slot=DISABLED
40_CastTime=0
40_ReCastTime=0
40_Name=DISABLED
40_Slot=DISABLED
[MQ2Bot]
Aaif6=0
Swarmif0=0
Imhitif2=0
Debugging=0
BotVersion=20191026.1909
BotCommandsOn=
BotCommandsOff=
AlwaysCheckAdds=0
RestrictedZones=,344,202,151,345,
BuffPassword=NULL
AuthorizedUsers=|guild|group|netbots|
CycleDelay=3
DefaultGem=1
AnnounceEcho=1
AnnounceEQBC=0
AnnounceAdds=1
AutoInvisDistance=0
AssistAt=100
AssistRange=100
UseManualAssist=0
AssistName=
MercAssistAt=100
MercAssistRange=0
MeleeAt=100
MeleeDistance=40
PetAttackAt=100
PetAttackRange=60
RepositionIfSummoned=0
MedStartAt=0
MedStopAt=0
MedToFull=0
MedDuringCombat=0
EndMedStartAt=0
EndMedStopAt=0
EndMedToFull=0
MinManaToNuke=0
NukeToTAt=80
ManaToSummon=100
SummonModRods=1
UseModRods=1
AACutoffTime=10
AAStopAt=25
AggroAt=70
AutofireAt=0
AutofireDistance=100
DebuffAdds=1
DebuffAt=100
DebuffStopAt=10
DebuffAEAmount=3
DotAt=99
DotStopAt=10
FaceAngle=360
FadeAt=20
GrabAdds=0
GrabPrimary=0
InterruptToHealAt=0
HealAt=80
HealToTAt=80
HealSelfAt=80
HealDelayedAt=95
HealDurationAt=95
HealGroupAt=80
HealPetAt=80
ImHitAt=50
JoltAt=70
KnockbackAdds=0
KnockbackPrimary=0
LifetapAt=80
LootInCombat=0
LootRadius=0
ManaAt=80
NukeAt=99
RezRadius=100
RootAdds=0
RootPrimary=0
SnareAt=10
SwarmAt=0
UseAutoFire=0
UseAENukes=1
UseAura=1
UseClickyBuffs=1
UseClickyNukes=1
UseDiscsOffensive=0
UseDiscsDefensive=0
UseFightBuffs=1
UseMainTankBuffs=1
UseManaInCombat=1
UseManaOnOthers=1
UseMez=1
UsePet=0
PetReagentCheck=1
PetIllusionItem=NULL
CustomPetSpell=NULL
UsePetBuffs=1
StandOnPetAttack=0
UseSelfBuffs=1
AutoFollowLeader=0
AutoFollowSettings=30 healer
UseNetBots=0
NetBotsName=NULL
DoDebug=0
PullingDistance=1000
MQ2NavDistance=1000
PullSkillName=Bellow
AnnounceBehaviorChange=0
AttackCommand=/killthis
RestTwist=
CombatTwist=
SafetyInvisOnWarp=0
SafetyCommandOnTell=
SafetyCommandOnGM=
SafetyCommandOnMyWarp=
SafetyCommandOnOthersWarp=
SafetyCommandOnTooFarFromCamp=
DoPetSwarm=0
DebuffsSpellFirst=0
DoPulls=1
PullingMaxZ=1000
PullingLOS=1
AnnounceMezBreaks=1
[MQ2AASpend]
DebugLog=0
ClassicMode=0
SafeSwitch=0
BadIndexCheck=0
AutoStartLevel=0
AutoStartHybrid=0
AutoStartAuto=0
AutoStartBrute=0
MinAutoStart=0
MinBruteStart=0
UseTypeOrder=0
TypeOrder=General|Archetype|Class|Special|Focus
[MQ2AutoForage]
AutoKeepAll=on
AutoAddAll=on
AutoStart=off
StopOnHail=off
StopOnTell=off
StopOnAFK=off
StopOnGM=on
AutoRestart=on
MaxMinutes=296
[PHP][/PHP]
 
Last edited:
I am just now trying to use mq2bot to pull. I am trying to get it to where my bard pulls. This is my INI setup. When I load everything in game and do /bot on the bard does nothing. it just stands there and does normal bot things, like assist the main tank etc. however, I cannot get it to pull, move, target mobs on its own, or anything. Any idea what I am doing wrong? Thanks!

From what I can see in the code, looks like you might need to set yourself as the group's puller by right clicking on the characters name from the group leader and selecting puller as the role of the bard.
 
Sound like such a ridiculously easy fix. I will try it out. Thanks tons!
 
Well, apparently Pulling is disabled in every zone I want to use it in lol. I found out that was the problem. Whenever I turn on puller, in the mq2mmobugs window it says "Pulling is disabled in this zone."

I assume it is only enabled in old zones or something?
 
Well, apparently Pulling is disabled in every zone I want to use it in lol. I found out that was the problem. Whenever I turn on puller, in the mq2mmobugs window it says "Pulling is disabled in this zone."

I assume it is only enabled in old zones or something?

I believe that message will only be displayed if you don't have a valid MQ2Nav path loaded.

Code:
void CheckNavigation()
{
	if (!InGameOK())
		return;
	strcpy_s(CurrentRoutine, __FUNCTION__);
	DebugWrite("Executing subroutine.");
	bCanIPull = false;
	if (Evaluate("${Navigation.MeshLoaded}"))
	{
		bCanIPull = true;
		if (AnnounceBehaviorChange)
			WriteChatf("Pulling enabled in this zone.");
	}
	else
	{
		if (AnnounceBehaviorChange)
			WriteChatf("Pulling disabled in this zone.");
	}
 
Just to confirm, this does not run out and grab mobs, but rather will just use the chosen character ability to cast on mobs that are within casting range from the group's camp spot according to the radius set.

Is that right?
 
Just to confirm, this does not run out and grab mobs, but rather will just use the chosen character ability to cast on mobs that are within casting range from the group's camp spot according to the radius set.

Is that right?

There is an option called "PullingDistance" in ini.

Looks like it defaults at 0.

Try changing that.

The code is written to use MQ2Nav to path to the mob, and pull them back to camp.
 
Yeah, adjusting pulling distance just determines what mobs the toon targets (if outside of the set pulling distance it will not target the mobs). The toon targets anything within the set pulling distance and will hit the mobs with the set ability. However, the toon will not run to anything. It is just stationery and targets/nukes anything within the set pulling distance, which brings the mobs to the group, and then bot takes care of the mob.

Obviously, this is better than nothing, but very limiting in the fact you can only set the pulling distance to a distance that your ability can hit from the camp spot.

If it matters, I am using this in TBL/ROS zones. Maybe the "run out and get stuff" does not work in these last 2 expansions?

Thanks!
 
It goes and fetches them. Any mob withing the PullingDistance, using PullSkillName, and utilizes MQ2Nav to do it (you do need valid loaded mesh), and DoPulls=1.

E.g.:
Code:
PullingDistance=700
MQ2NavDistance=10
PullSkillName=Distant Strike
AnnounceBehaviorChange=1
AttackCommand=/killthis
SafetyInvisOnWarp=0
SafetyCommandOnTell=
SafetyCommandOnGM=/bcaa //bot off
SafetyCommandOnMyWarp=
SafetyCommandOnOthersWarp=
SafetyCommandOnTooFarFromCamp=
DoPetSwarm=1
DebuffsSpellFirst=0
DoPulls=1
PullingMaxZ=200
PullingLOS=1

htw
 
I am guessing "a valid loaded mesh" is the reason it does not work in new zones.

[MQ2Nav] Cannot Navigate-no mesh file loaded....I get this in TBL/ROS zones.

Is there somewhere to download meshes for current zones, or is that something we have to create ourselves? I have no idea how it works, so if there is nowhere to download them, I will use it the best I can with how it is!

Thanks!