PDA

View Full Version : Bot wont attack


Koolaider
27th September 2005, 17:35
Is there someting wrong with the configuration with my battle aco config, since on some conditions, the bot stops attacking the normal speed, slowing to about 1/3rd the normal speed. This happens usually when the bot runs out of agi, bless or hp drops under the Useskill limit. Is this normal? Its really fustrading to see the bot die because it fails to kill its attackers (No, the teleport settings are ok).

OK, heres the config

######## Main configuration ########

alias_heal sp 28

allowedMaps
allowedMaps_reaction 1

attackAuto 2
attackAuto_party 1
attackAuto_onlyWhenSafe 0
attackAuto_followTarget 1
attackAuto_inLockOnly 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

autoBreakTime {
startTime
stopTime
}

autoConfChange {
minTime
varTime
lvl
joblvl
}

autoMakeArrows 0

autoRestart 0

autoRestartMin 10800
autoRestartSeed 3600

autoRestartSleep 1
autoSleepMin 900
autoSleepSeed 900

autoResponse 0

autoSpell

avoidGM_near 0
avoidGM_near_inTown 0
avoidGM_talk 0
avoidGM_reconnect 1800

avoid_ignore_0

avoidList 1
avoidList_inLockOnly 0
avoidList_reconnect 1800

dcOnDeath 0
dcOnDualLogin 0
dcOnDisconnect 0
dcOnEmptyArrow 0
dcOnMute 0
dcOnPM 0
dcOnZeny 0

follow 0
followTarget
followEmotion 1
followEmotion_distance 4
followFaceDirection 0
followDistanceMax 6
followDistanceMin 3
followLostStep 12
followSitAuto 0
followBot 0

itemsTakeAuto 2
itemsTakeAuto_party 0
itemsGatherAuto 2
itemsMaxWeight 89
itemsMaxWeight_sellOrStore 48

lockMap
lockMap_x
lockMap_y
lockMap_randX
lockMap_randY

route_randomWalk 0
route_randomWalk_maxRouteTime 75
route_maxWarpFee
route_teleport 0
route_teleport_minDistance 150
route_teleport_maxTries 8
route_teleport_notInMaps
route_step 15

runFromTarget 0
runFromTarget_dist 6

saveMap
saveMap_warpToBuyOrSell 1

shopAuto_open 0
shop_random 0

sitAuto_hp_lower 0
sitAuto_hp_upper 0
sitAuto_sp_lower 70
sitAuto_sp_upper 100
sitAuto_over_50 0
sitAuto_idle 1

statsAddAuto 0
statsAddAuto_list
statsAddAuto_dontUseBonus 0

skillsAddAuto 0
skillsAddAuto_list

tankMode 0
tankModeTarget

teleportAuto_hp 10
teleportAuto_sp 0
teleportAuto_idle 1
teleportAuto_portal 0
teleportAuto_search 1
teleportAuto_minAggressives 0
teleportAuto_minAggressivesInLock 2
teleportAuto_onlyWhenSafe 0
teleportAuto_maxDmg 500
teleportAuto_maxDmgInLock 0
teleportAuto_deadly 1
teleportAuto_useSkill 1
teleportAuto_emptyName 1
teleportAuto_allPlayers 0
teleportAuto_atkCount 0
teleportAuto_atkMiss 10
teleportAuto_unstuck 0
teleportAuto_dropTarget 0
teleportAuto_attackedWhenSitting 0
teleportAuto_totalDmg 0
teleportAuto_totalDmgInLock 2000

dealAuto 1
partyAuto 1
partyAutoShare 0
guildAutoDeny 1

verbose 1
showDomain 0
squelchDomains
verboseDomains
beepDomains
beepDomains_notInTown

logChat 0
logPrivateChat 1
logPartyChat 1
logGuildChat 1
logSystemChat 1
logEmoticons

chatTitleOversize 0
shopTitleOversize 0

sleepTime 10000
intervalMapDrt 1

ignoreAll 0
itemHistory 0
autoTalkCont 1
noAutoSkill 0
portalRecord 2
missDamage 0

tankersList

secureAdminPassword egwejgw
adminPassword wegwetrw
callSign srhwrwrh

useSelf_skill Heal {
lvl 10
maxCastTime 0
minCastTime 0
hp <80
sp >20
onAction
whenStatusActive
whenStatusInactive
whenFollowing
spirit
aggressives
monsters
notMonsters
stopWhenHit 0
inLockOnly 1
notWhileSitting 1
notInTown 0
timeout 0
disabled 0
inInventory
}

useSelf_skill Bless {
lvl 10
maxCastTime 0
minCastTime 0
hp
sp >20
onAction
whenStatusActive
whenStatusInactive Blessing
whenFollowing
spirit
aggressives
monsters
notMonsters
stopWhenHit 0
inLockOnly 0
notWhileSitting 1
notInTown 0
timeout 0
disabled 1
inInventory
}

useSelf_skill Increase AGI {
lvl 10
maxCastTime 0
minCastTime 0
hp
sp >20
onAction
whenStatusActive
whenStatusInactive Increase AGI
whenFollowing
spirit
aggressives
monsters
notMonsters
stopWhenHit 0
inLockOnly 0
notWhileSitting 1
notInTown 0
timeout 0
disabled 0
inInventory
}

useSelf_skill_smartHeal 1

Problem solved, see the post below

gachoman
27th September 2005, 18:11
where's the config?

how will people find out what's wrong?

rubentan
28th September 2005, 03:58
post ur config using the code tag.. s we can see whats wrong.

Koolaider
28th September 2005, 11:47
I tested with the default configs, just replaced the respective lockmap&savemap + added the Heal and Bless as in the pinned topics. Its the same.. I will post the config when I get back home.

-Edit- The topic is at the first post

Koolaider
28th September 2005, 22:52
Posting answer to my own post :D
Hmm.. Seems like the AI got stuck when it couldnt heal.. Trial and error made me test & search the document for the maxcastTime in the skillslot.. Setting this to atleast 0.5 for heal makes the bot heal again even when under attack.

gachoman
29th September 2005, 06:13
useSelf_skill Heal {
lvl 10
maxCastTime 0
minCastTime 0
hp <80
sp >20
onAction
whenStatusActive
whenStatusInactive
whenFollowing
spirit
aggressives
monsters
notMonsters
stopWhenHit 1<- - - -- - - - - - -- - - -instead of 0
inLockOnly 1
notWhileSitting 1
notInTown 0
timeout 0
disabled 0
inInventory
}

i dunno. . . .but maybe you could try this if your character is healing itself when fighting, that way it will finish killing the monster before healing itself. . . .

i tried this with my rouge when i noticed that it keeps on healing itself when in battle i changed it because yeah your right the ai gets stuck,. . . . .you know switching accesories and all that stuff. . . .so that's how i resolved mine. . . .killing them all first before healing. . . .

only drawback?

well it wont heal unless the monster is killed , lest the higher chances of your bot to tele when it has insufficient hp. . . . .

Koolaider
29th September 2005, 09:48
useSelf_skill Heal {
lvl 10
maxCastTime 0
minCastTime 0
hp <80
sp >20
onAction
whenStatusActive
whenStatusInactive
whenFollowing
spirit
aggressives
monsters
notMonsters
stopWhenHit 1<- - - -- - - - - - -- - - -instead of 0
inLockOnly 1
notWhileSitting 1
notInTown 0
timeout 0
disabled 0
inInventory
}

i dunno. . . .but maybe you could try this if your character is healing itself when fighting, that way it will finish killing the monster before healing itself. . . .

i tried this with my rouge when i noticed that it keeps on healing itself when in battle i changed it because yeah your right the ai gets stuck,. . . . .you know switching accesories and all that stuff. . . .so that's how i resolved mine. . . .killing them all first before healing. . . .

only drawback?

well it wont heal unless the monster is killed , lest the higher chances of your bot to tele when it has insufficient hp. . . . .

Nah.. My fix was much better... With the stowhenhit my bot would die, since it needs to heal itself atleast twice during the attack (Battle Aco, low flee). But that would work on other chars.