PDA

View Full Version : HELP!! PLSS! my skills is not working. for knights


gerber
14th April 2005, 20:17
verbose 1
debug 0
debugPacket_unparsed 1
debugPacket_received 0
debugPacket_ro_sent 0
debugPacket_sent 0
debugPacket_exclude
debugDomains
squelchDomains
verboseDomains

message_length_max 80
chatLangCode

logChat 0
logPrivateChat 0
logPartyChat 0
logGuildChat 0
logSystemChat 0
logEmoticons 0

attackAuto 3
attackAuto_party 1
attackAuto_onlyWhenSafe 0
attackAuto_followTarget 1
attackAuto_inLockOnly 0
attackDistance 1
attackMaxDistance 3
attackMaxRouteDistance 50
attackMaxRouteTime 4
attackMinPlayerDistance 0
attackMinPortalDistance 5
attackUseWeapon 1
attackNoGiveup 0
attackCanSnipe 0
attackCheckLOS 0

runFromTarget 0
runFromTarget_dist 6

lockMap beach_dun3
lockMap_x
lockMap_y
lockMap_randX
lockMap_randY

saveMap Byalan
saveMap_warpToBuyOrSell 1

route_randomWalk 1
route_randomWalk_maxRouteTime 15
route_maxWarpFee
route_teleport 1
route_teleport_minDistance 150
route_teleport_maxTries 8
route_step 15


attackSkillSlot Bash {
lvl 5
dist 2
maxCastTime 0
minCastTime 0
hp > 50
sp > 100
onAction
whenStatusActive
whenStatusInactive
whenFollowing
spirit
aggressives > 4
previousDamage
stopWhenHit 0
inLockOnly 0
notInTown 0
timeout 0
disabled 0
monsters all
notMonsters
maxUses 2
target_whenStatusActive
target_whenStatusInactive
inInventory_name
inInventory_qty
}

attackComboSlot {
afterSkill
waitBeforeUse
dist 1.5
isSelfSkill 1
}

sitAuto_hp_lower 25
sitAuto_hp_upper 90
sitAuto_sp_lower 0
sitAuto_sp_upper 0
sitAuto_over_50 0

sitAuto_idle 1

shopAuto_open 0
shop_random 0

teleportAuto_hp 20
teleportAuto_sp 0
teleportAuto_idle 0
teleportAuto_portal 1
teleportAuto_search 0
teleportAuto_minAggressives 3
teleportAuto_minAggressivesInLock 0
teleportAuto_onlyWhenSafe 0
teleportAuto_maxDmg 500
teleportAuto_maxDmgInLock 0
teleportAuto_deadly 1
teleportAuto_useSP 0
teleportAuto_emptyName 1
teleportAuto_allPlayers 0
teleportAuto_atkMiss 10
teleportAuto_unstuck 0
teleportAuto_dropTarget 0
teleportAuto_attackedWhenSitting 0

useSelf_skill Endure {
lvl 7
maxCastTime 0
minCastTime 0
hp <= 80
sp
onAction
whenStatusActive
whenStatusInactive
whenFollowing
spirit
aggressives
monsters
notMonsters
stopWhenHit 0
inLockOnly 1
notWhileSitting 0
notInTown 0
timeout 230
disabled 0
inInventory_name
inInventory_qty
}

useSelf_skill_smartHeal 1

useSelf_item Concentration Potion {
hp <= 100
sp
onAction
whenStatusActive
whenStatusInactive
whenFollowing
spirit
aggressives
monsters
notMonsters
stopWhenHit 0
inLockOnly 1
notWhileSitting 0
notInTown 0
timeout 1800
disabled 0
inInventory_name
inInventory_qty
}

useSelf_item Yellow Potion {
hp <= 30
sp
onAction
whenStatusActive
whenStatusInactive
whenFollowing
spirit
aggressives
monsters
notMonsters
stopWhenHit 0
inLockOnly 1
notWhileSitting 0
notInTown 0
timeout 1800
disabled 0
inInventory_name
inInventory_qty
}

partySkill {
lvl 10
maxCastTime 0
minCastTime 0
hp
sp
onAction
whenStatusActive
whenStatusInactive
whenFollowing
spirit
aggressives
monsters
notMonsters
stopWhenHit 0
inLockOnly 0
notWhileSitting 0
notInTown 0
timeout 0
disabled 0
target
target_hp
target_isJob
target_isNotJob
target_whenStatusActive
target_whenStatusInactive
target_aggressives
target_monsters
target_timeout 0
inInventory_name
inInventory_qty
}

itemsTakeAuto 2
itemsGatherAuto 0
itemsMaxWeight 45
#itemsMaxWeight_sellOrStore 48

#
# note:
# location based NPC format is supported, format: map x y
# where map is the map where the NPC is standing, while x y is the _EXACT_ coordition where the NPC is standing
# eg: storageAuto_npc alberta 113 60
#

buyAuto {
npc
standpoint
distance 5
minAmount 2
maxAmount 3
}

sellAuto 0
sellAuto_npc
sellAuto_standpoint
sellAuto_distance 5

storageAuto 0
storageAuto_npc 51743
storageAuto_distance 5
storageAuto_npc_type 1
storageAuto_npc_steps

getAuto Awakening Potion {
minAmount
maxAmount 30
passive 1
}

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

tankMode 0
tankModeTarget

dealAuto 1
partyAuto 1
partyAutoShare 0
guildAutoDeny 1

chatTitleOversize 0
shopTitleOversize 0

seconds_per_block 0.12
sleepTime 10000

intervalMapDrt 1

avoidGM_near 0
avoidGM_near_inTown 0
avoidGM_talk 0
avoidGM_reconnect 1800

avoid_ignore_0

avoidList 1
avoidList_inLockOnly 0
avoidList_reconnect 1800

autoEmote_word_0
autoEmote_num_0

# To attack with bare hands, specify "[NONE]" (without the quotes) for rightHand

autoSwitch_default_rightHand +5[fire]two-handed sword
autoSwitch_default_leftHand +5[fire]two-handed sword
autoSwitch_default_arrow

autoSwitch {
rightHand
leftHand
arrow
distance
useWeapon
}


# NOTE: In the case of two handed weapons, or no Shield,
# duplicate the weapon name for 'rightHand'


equipAuto {
def
monsters
skills
weight 0
whileSitting 0
onTeleport 0
hp
sp
onAction
whenStatusActive
whenStatusInactive
whenFollowing
spirit
aggressives
stopWhenHit 0
inLockOnly 0
notWhileSitting 0
notInTown 0
timeout 0
disabled 0
inInventory_name
inInventory_qty
}

statsAddAuto 0
statsAddAuto_list
statsAddAuto_dontUseBonus 0

skillsAddAuto 0
skillsAddAuto_list

autoResponse 0

ignoreAll 0
itemHistory 0
autoTalkCont 0
noAutoSkill 0
portalRecord 2

beepOnPM 0
beepOnChat 0

#alias_heal sp 28
partySkill {
lvl 10
maxCastTime 0
minCastTime 0
hp
sp
onAction
whenStatusActive
whenStatusInactive
whenFollowing
spirit
aggressives
monsters
notMonsters
stopWhenHit 0
inLockOnly 0
notWhileSitting 0
notInTown 0
timeout 0
disabled 0
target
target_hp
target_isJob
target_isNotJob
target_whenStatusActive
target_whenStatusInactive
target_aggressives
target_monsters
target_timeout 0
inInventory_name
inInventory_qty
}

itemsTakeAuto 2
itemsGatherAuto 0
itemsMaxWeight 45
#itemsMaxWeight_sellOrStore 48

#
# note:
# location based NPC format is supported, format: map x y
# where map is the map where the NPC is standing, while x y is the _EXACT_ coordition where the NPC is standing
# eg: storageAuto_npc alberta 113 60
#

buyAuto {
npc
standpoint
distance 5
minAmount 2
maxAmount 3
}

sellAuto 0
sellAuto_npc
sellAuto_standpoint
sellAuto_distance 5

storageAuto 0
storageAuto_npc 51743
storageAuto_distance 5
storageAuto_npc_type 1
storageAuto_npc_steps

getAuto Awakening Potion {
minAmount
maxAmount 30
passive 1
}

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

tankMode 0
tankModeTarget

dealAuto 1
partyAuto 1
partyAutoShare 0
guildAutoDeny 1

chatTitleOversize 0
shopTitleOversize 0

seconds_per_block 0.12
sleepTime 10000

intervalMapDrt 1

avoidGM_near 0
avoidGM_near_inTown 0
avoidGM_talk 0
avoidGM_reconnect 1800

avoid_ignore_0

avoidList 1
avoidList_inLockOnly 0
avoidList_reconnect 1800

autoEmote_word_0
autoEmote_num_0

# To attack with bare hands, specify "[NONE]" (without the quotes) for rightHand

autoSwitch_default_rightHand +5[fire]two-handed sword
autoSwitch_default_leftHand +5[fire]two-handed sword
autoSwitch_default_arrow

autoSwitch {
rightHand
leftHand
arrow
distance
useWeapon
}


# NOTE: In the case of two handed weapons, or no Shield,
# duplicate the weapon name for 'rightHand'


equipAuto {
def
monsters
skills
weight 0
whileSitting 0
onTeleport 0
hp
sp
onAction
whenStatusActive
whenStatusInactive
whenFollowing
spirit
aggressives
stopWhenHit 0
inLockOnly 0
notWhileSitting 0
notInTown 0
timeout 0
disabled 0
inInventory_name
inInventory_qty
}

statsAddAuto 0
statsAddAuto_list
statsAddAuto_dontUseBonus 0

skillsAddAuto 0
skillsAddAuto_list

autoResponse 0

ignoreAll 0
itemHistory 0
autoTalkCont 0
noAutoSkill 0
portalRecord 2

beepOnPM 0
beepOnChat 0

#alias_heal sp 28

drey
15th April 2005, 03:03
the reason why so many fail at configuring their own bot is that they set so many

unimportant conditions

these conditions should be met before the skill is activated . . .

once you set two conditions, your bot has not one but two points to consider first

before activating

this is one error:


attackSkillSlot Bash {
lvl 5
dist 2
maxCastTime 0
minCastTime 0
hp > 50
sp > 100
onAction
whenStatusActive
whenStatusInactive
whenFollowing
spirit
aggressives > 4
previousDamage
stopWhenHit 0
inLockOnly 0
notInTown 0
timeout 0
disabled 0
monsters all
notMonsters
maxUses 2
target_whenStatusActive
target_whenStatusInactive
inInventory_name
inInventory_qty
}

you've set the skill BASH to activate only if

a. your HP is GREATER THAN (>) 50%

AND

b. your SP is GREATER THAN (>) 100% which is impossible

i hope you can deduct where i'm going to . . .


if you leave hp blank it won't check for hp before using the skill, so i guess

you should leave the variable hp blank

as for the sp i think you should try lowering the condition to, say

sp > 10

so it will activate the skill IF your sp is GREATER THAN 10%

enuff of that . . .


useSelf_skill Endure {
lvl 7
maxCastTime 0
minCastTime 0
hp <= 80 <=== this will only activate Endure if HP is less than / equal to 80%
sp
onAction
whenStatusActive
whenStatusInactive Endure <== use this instead of a timeout
whenFollowing
spirit
aggressives
monsters
notMonsters
stopWhenHit 0
inLockOnly 1
notWhileSitting 0
notInTown 0
timeout <== better left Blank
disabled 0
inInventory_name
inInventory_qty
}

. . .

useSelf_item Concentration Potion {
hp <== better left blank
sp
onAction
whenStatusActive
whenStatusInactive Concent <=== take note
whenFollowing
spirit
aggressives
monsters
notMonsters
stopWhenHit 0
inLockOnly 1
notWhileSitting 0
notInTown 0
timeout <== leave it blank
disabled 0
inInventory_name
inInventory_qty
}

useSelf_item Yellow Potion {
hp <= 30
sp
onAction
whenStatusActive
whenStatusInactive
whenFollowing
spirit
aggressives
monsters
notMonsters
stopWhenHit 0
inLockOnly 1
notWhileSitting 0
notInTown 0
timeout
disabled 0
inInventory_name
inInventory_qty
}








Peace!