leeching bot won't attack aggro mobs

For everything NOT server specific support. Do NOT ask for connectivity help here!.

Moderator: Moderators

Message
Author
troypogs777
Plain Yogurt
Plain Yogurt
Posts: 61
Joined: 31 Jan 2017, 10:18
Noob?: Yes
Location: Mars
Contact:

leeching bot won't attack aggro mobs

#1 Post by troypogs777 »

Hi. It's been so long since I used a bot. Basically here's the problem. I made my bot sit in a certain position in the lockmap by using lockmap coordinates so he will just sit there unless a mob should come by and then the theory is he should attack normally then after killing go back to sitting. Basically, he is a leech bot. Now here comes the problem. A mob comes along, and the bot does nothing but take the damage. So I send a command in the console to attack and he uses the attackskill slot I put in the config...only when I type the command in the console to attack. So been back and forth searching for answers and tweaking auto attack to no avail. en route to lockmap, he attacks. But when he gets there, he doesn't. See config below if there's something wrong i did. Thanks.


attackAuto 1
attackAuto_party 1
attackAuto_onlyWhenSafe 0
attackAuto_followTarget 1
attackAuto_inLockOnly 1
attackAuto_notInTown 1
attackDistance 1.5
attackDistanceAuto 0
attackMaxDistance 2.5
attackMaxRouteDistance 100
attackMaxRouteTime 4
attackMinPlayerDistance 2
attackMinPortalDistance 4
attackUseWeapon 1
attackNoGiveup 0
attackCanSnipe 0
attackCheckLOS 0
attackLooters 0
attackChangeTarget 1
aggressiveAntiKS 1


attackSkillSlot Cart Revolution {
lvl 10
dist 1.5
maxCastTime 0
minCastTime 0
hp
sp > 10
homunculus_hp
homunculus_sp
homunculus_dead
onAction
whenStatusActive
whenStatusInactive
whenFollowing
spirit
amuletType
aggressives
previousDamage
stopWhenHit 0
inLockOnly 1
notInTown 0
timeout 0
disabled 0
monsters Orc Lady, Orc Warrior, High Orc
notMonsters
monstersCount
maxAttempts 0
maxUses 0
target_hp
target_whenStatusActive
target_whenStatusInactive
target_deltaHp
inInventory
isSelfSkill 0
equip_topHead
equip_midHead
equip_lowHead
equip_leftHand
equip_rightHand
equip_leftAccessory
equip_rightAccessory
equip_robe
equip_armor
equip_shoes
equip_arrow
}

User avatar
fadreus
The Kore Devil
The Kore Devil
Posts: 708
Joined: 17 Nov 2017, 23:32
Noob?: No
Location: Genting Highland, Malaysia
Contact:

Re: leeching bot won't attack aggro mobs

#2 Post by fadreus »

Upload your config file.

Or try this

attackAuto 1
attackAuto_party 2
attackAuto_onlyWhenSafe 0
attackAuto_followTarget 0
attackAuto_inLockOnly 1
attackAuto_notInTown 1
attackDistance 1.5
attackDistanceAuto 0
attackMaxDistance 2.5
attackMaxRouteDistance 100
attackMaxRouteTime 4
attackMinPlayerDistance 2
attackMinPortalDistance 4
attackUseWeapon 1
attackNoGiveup 0
attackCanSnipe 0
attackCheckLOS 0
attackLooters 0
attackChangeTarget 1
aggressiveAntiKS 1

Apparently there are few factors can cause this.
I suggest you tell use more what file you touch, what version you are using and anything else.

iRO Supporter.
Read before you ask is the wisest thing human can do.
Unless you're a cat.
Image

troypogs777
Plain Yogurt
Plain Yogurt
Posts: 61
Joined: 31 Jan 2017, 10:18
Noob?: Yes
Location: Mars
Contact:

Re: leeching bot won't attack aggro mobs

#3 Post by troypogs777 »

I agree. There's other factors. Basically, when the bot gets to the lockmap, he won't attack anymore. But en route to lockmap, he can attack mobs he passes by.
this is my config. I haven't touched anything other than the attackAuto block and attackSkill block.
Attachments
config.txt
(13.37 KiB) Downloaded 228 times

troypogs777
Plain Yogurt
Plain Yogurt
Posts: 61
Joined: 31 Jan 2017, 10:18
Noob?: Yes
Location: Mars
Contact:

Re: leeching bot won't attack aggro mobs

#4 Post by troypogs777 »

nevermind i solved the problem sir. It seems when the bots are placed near the portal, they won't attack. I experimented by placing them further from the portal and they started auto attacking.

User avatar
fadreus
The Kore Devil
The Kore Devil
Posts: 708
Joined: 17 Nov 2017, 23:32
Noob?: No
Location: Genting Highland, Malaysia
Contact:

Re: leeching bot won't attack aggro mobs

#5 Post by fadreus »

Code: Select all

attackMinPortalDistance 4
Next time I suggest you read carefully each line.
No offense 8-)

Good you solve it. :lol:

iRO Supporter.
Read before you ask is the wisest thing human can do.
Unless you're a cat.
Image

troypogs777
Plain Yogurt
Plain Yogurt
Posts: 61
Joined: 31 Jan 2017, 10:18
Noob?: Yes
Location: Mars
Contact:

Re: leeching bot won't attack aggro mobs

#6 Post by troypogs777 »

haha. yes, i try to solve problems by myself and ask for forum ideas simultaneously to save time. anyway, this will also add to the solution of others in the future. :D

Post Reply