Openkore.com

OpenKore Forums
It is currently 20 Nov 2018, 21:34

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: leeching bot won't attack aggro mobs
PostPosted: 02 Jul 2018, 21:47 
Offline
Plain Yogurt
Plain Yogurt
User avatar

Joined: 31 Jan 2017, 10:18
Posts: 70
Location: Mars
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
}


Top
 Profile  
 
 Post subject: Re: leeching bot won't attack aggro mobs
PostPosted: 02 Jul 2018, 22:35 
Offline
OpenKore Monk
OpenKore Monk
User avatar

Joined: 17 Nov 2017, 23:32
Posts: 466
Location: Genting Highland, Malaysia
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.

_________________

I'll not give answer. I'll just showing you the way to find it
Wiki & Google are your best allies. If you're lazy to read I won't bother answering
Image


Top
 Profile  
 
 Post subject: Re: leeching bot won't attack aggro mobs
PostPosted: 02 Jul 2018, 23:32 
Offline
Plain Yogurt
Plain Yogurt
User avatar

Joined: 31 Jan 2017, 10:18
Posts: 70
Location: Mars
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 68 times
Top
 Profile  
 
 Post subject: Re: leeching bot won't attack aggro mobs
PostPosted: 03 Jul 2018, 00:44 
Offline
Plain Yogurt
Plain Yogurt
User avatar

Joined: 31 Jan 2017, 10:18
Posts: 70
Location: Mars
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.


Top
 Profile  
 
 Post subject: Re: leeching bot won't attack aggro mobs
PostPosted: 03 Jul 2018, 09:17 
Offline
OpenKore Monk
OpenKore Monk
User avatar

Joined: 17 Nov 2017, 23:32
Posts: 466
Location: Genting Highland, Malaysia
Code:
attackMinPortalDistance 4


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

Good you solve it. :lol:

_________________

I'll not give answer. I'll just showing you the way to find it
Wiki & Google are your best allies. If you're lazy to read I won't bother answering
Image


Top
 Profile  
 
 Post subject: Re: leeching bot won't attack aggro mobs
PostPosted: 04 Jul 2018, 21:49 
Offline
Plain Yogurt
Plain Yogurt
User avatar

Joined: 31 Jan 2017, 10:18
Posts: 70
Location: Mars
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group