Slave priest does not heal and buff master

Philippines

Moderators: waferbaron, Moderators

Forum rules
This server is currently not maintained and tables folder (including connection info) is outdated. Read the wiki for instructions on how to update those information. Please contribute your updated info. Contact Cozzie to join the team as a regular server supporter.
an0daw
Noob
Noob
Posts: 5
Joined: 13 Dec 2012, 11:57
Noob?: Yes

Slave priest does not heal and buff master

#1 Post by an0daw »

My slave priest heals/buffs the master but not everytime openkore meets the conditions like when master's HP was below 80%, it does not heal immediately. same thing happens when master's buffs like increase agi, blessing is removed, it does not rebuff immediately. and also everytime my slave priest was left behind, by the time it reaches the master eh, the slave uses some random buff listed on the party skill.

here's my slave's config:

Code: Select all

# 1 = hook into RO client, 2 = Act as stand-alone proxy, proxy = act as true proxy
XKore 0
XKore_silent 0
XKore_bypassBotDetection 0
XKore_exeName lokiexe.exe

# XKore 2 / Proxy configuration
XKore_listenIp 127.0.0.1
XKore_listenPort 6901
XKore_publicIp 127.0.0.1

# It is not advised to set secureAdminPassword if you're using Xkore 2
secureAdminPassword 1
adminPassword 
callSign
commandPrefix ;

pauseCharServer 0
pauseMapServer 0
ignoreInvalidLogin 0
secureLogin_requestCode

message_length_max 80

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

alias_heal sp 28

allowedMaps
allowedMaps_reaction 1

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

autoMoveOnDeath 0
autoMoveOnDeath_x
autoMoveOnDeath_y
autoMoveOnDeath_map

attackEquip_topHead
attackEquip_midHead
attackEquip_lowHead
attackEquip_leftHand
attackEquip_rightHand
attackEquip_leftAccessory
attackEquip_rightAccessory
attackEquip_robe
attackEquip_armor
attackEquip_shoes
attackEquip_arrow

#You need the breakTime plugin: http://wiki.openkore.com/index.php?title=BreakTime
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 300
avoidGM_ignoreList

avoidList 1
avoidList_inLockOnly 0
avoidList_reconnect 1800

cachePlayerNames 1
cachePlayerNames_duration 900
cachePlayerNames_maxSize 100

clientSight 20

dcOnDeath 0
dcOnDualLogin 0
dcOnDisconnect 0
dcOnEmptyArrow 0
dcOnMaxReconnections 0
dcOnMute 0
dcOnPM 0
dcOnZeny 0
dcOnStorageFull 1
dcOnPlayer 0

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

itemsTakeAuto 0
itemsTakeAuto_party 0
itemsGatherAuto 2
itemsMaxWeight 49
itemsMaxWeight_sellOrStore 49
itemsMaxNum_sellOrStore 99
cartMaxWeight 7900
itemsTakeAuto_new 0
    

lockMap
lockMap_x
lockMap_y
lockMap_randX
lockMap_randY

route_escape_reachedNoPortal 1
route_escape_randomWalk 1
route_escape_shout
route_avoidWalls 1
route_randomWalk 0
route_randomWalk_inTown 0
route_randomWalk_maxRouteTime 75
route_maxWarpFee
route_maxNpcTries 5
route_teleport 0
route_teleport_minDistance 150
route_teleport_maxTries 8
route_teleport_notInMaps
route_step 25

runFromTarget 0
runFromTarget_dist 6

saveMap
saveMap_warpToBuyOrSell 1
saveMap_warpChatCommand

shopAuto_open 0
shop_random 0

sitAuto_hp_lower
sitAuto_hp_upper
sitAuto_sp_lower 10
sitAuto_sp_upper 90
sitAuto_follow 0
sitAuto_over_50 1
sitAuto_idle 0
sitAuto_look
sitAuto_look_from_wall


statsAddAuto 0
statsAddAuto_list
statsAddAuto_dontUseBonus 0
statsAdd_over_99 0

skillsAddAuto 0
skillsAddAuto_list

tankMode 0
tankModeTarget

teleportAuto_hp 0
teleportAuto_sp 0
teleportAuto_idle 0
teleportAuto_portal 0
teleportAuto_search 0
teleportAuto_minAggressives 0
teleportAuto_minAggressivesInLock 0
teleportAuto_onlyWhenSafe 0
teleportAuto_maxDmg 0
teleportAuto_maxDmgInLock 0
teleportAuto_deadly 0
teleportAuto_useSkill 0
teleportAuto_useChatCommand
teleportAuto_allPlayers 0
teleportAuto_notPlayers
teleportAuto_atkCount 0
teleportAuto_atkMiss 10
teleportAuto_unstuck 0
teleportAuto_lostTarget 0
teleportAuto_dropTarget 0
teleportAuto_dropTargetKS 0
teleportAuto_attackedWhenSitting 0
teleportAuto_totalDmg 0
teleportAuto_totalDmgInLock 0
teleportAuto_equip_leftAccessory
teleportAuto_equip_rightAccessory
teleportAuto_lostHomunculus
teleportAuto_useItemForRespawn

dealAuto 1
dealAuto_names
partyAuto 1
partyAutoShare 1
guildAutoDeny 1

verbose 1
showDomain 0
squelchDomains console, publicchat, schat, map_event, skill, drop, emotion
verboseDomains
beepDomains
beepDomains_notInTown

logChat 0
logPrivateChat 1
logPartyChat 1
logGuildChat 1
logSystemChat 1
logEmoticons
logConsole 0
logAppendUsername 1

chatTitleOversize 0
shopTitleOversize 0

sleepTime 1000

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

tankersList

repairAuto 0
repairAuto_list

status_mapProperty 0
status_mapType 0

removeActorWithDistance

######## Mercenary Support ########

mercenary_attackAuto 2
mercenary_attackAuto_party 1
mercenary_attackAuto_notInTown 1
mercenary_attackAuto_onlyWhenSafe 0
mercenary_attackDistance 1.5
mercenary_attackMaxDistance 2.5
mercenary_attackMaxRouteTime 4
mercenary_attackCanSnipe 0
mercenary_attackCheckLOS 0
mercenary_attackNoGiveup 0
mercenary_attackChangeTarget 1

mercenary_followDistanceMax 10
mercenary_followDistanceMin 3

mercenary_route_step 15

mercenary_tankMode 0
mercenary_tankModeTarget

mercenary_teleportAuto_hp 10
mercenary_teleportAuto_maxDmg 500
mercenary_teleportAuto_maxDmgInLock 0
mercenary_teleportAuto_deadly 1
mercenary_teleportAuto_unstuck 0
mercenary_teleportAuto_dropTarget 0
mercenary_teleportAuto_dropTargetKS 0
mercenary_teleportAuto_totalDmg 0
mercenary_teleportAuto_totalDmgInLock 0

######## Homunculus Support ########

homunculus_attackAuto 2
homunculus_attackAuto_party 1
homunculus_attackAuto_notInTown 1
homunculus_attackAuto_onlyWhenSafe 0
homunculus_attackDistance 1.5
homunculus_attackMaxDistance 2.5
homunculus_attackMaxRouteTime 4
homunculus_attackCanSnipe 0
homunculus_attackCheckLOS 0
homunculus_attackNoGiveup 0
homunculus_attackChangeTarget 1

homunculus_followDistanceMax 10
homunculus_followDistanceMin 3

homunculus_route_step 15

homunculus_tankMode 0
homunculus_tankModeTarget

homunculus_teleportAuto_hp 10
homunculus_teleportAuto_maxDmg 500
homunculus_teleportAuto_maxDmgInLock 0
homunculus_teleportAuto_deadly 1
homunculus_teleportAuto_unstuck 0
homunculus_teleportAuto_dropTarget 0
homunculus_teleportAuto_dropTargetKS 0
homunculus_teleportAuto_totalDmg 0
homunculus_teleportAuto_totalDmgInLock 0

# intimacyMax / Min sets a threshhold of when not to feed your homunculus
# If intimacy is HIGHER than the minimum or LOWER/EQUAL to the max, we wont feed.
homunculus_intimacyMax 999
homunculus_intimacyMin 911

# How long should we wait between feeding? default: random between 10 and 60 seconds
homunculus_hungerTimeoutMax 60
homunculus_hungerTimeoutMin 10

# Turn on/off homunculus autofeeding
homunculus_autoFeed 1
# In Wich maps should we allow feeding? (leave empty for any map)
homunculus_autoFeedAllowedMaps

# Feed homunculus between MIN and MAX value (example: between 11 and 25)
homunculus_hungerMin 11
homunculus_hungerMax 24

######## Block options ########
# You can copy & paste any block multiple times. So if you want to
# configure two attack skills, just duplicate the attackSkillSlot block.

attackComboSlot {
	afterSkill
	waitBeforeUse
	dist 1.5
	isSelfSkill 1
	target_deltaHp
}

doCommand {
	hp
	sp
	homunculus_hp
	homunculus_sp
	homunculus_dead
	onAction
	whenStatusActive
	whenStatusInactive
	whenFollowing
	spirit
	aggressives
	monsters
	notMonsters
	stopWhenHit 0
	inLockOnly 0
	notWhileSitting 0
	notInTown 0
	timeout
	disabled 0
	inInventory
	inCart
	inMap
	manualAI 0
}

useSelf_skill Heal {
	lvl 10
	maxCastTime 0
	minCastTime 0
	hp <= 75%
	sp
	homunculus_hp
	homunculus_sp
	homunculus_dead
	onAction
	whenStatusActive
	whenStatusInactive
	whenFollowing
	spirit
	aggressives
	monsters
	notMonsters
	stopWhenHit 0
	inLockOnly 0
	notWhileSitting 0
	notInTown 0
	timeout
	disabled 0
	inInventory
	manualAI 0
}

useSelf_skill Blessing {
	lvl 1
	maxCastTime 0
	minCastTime 0
	hp
	sp > 10%
	homunculus_hp
	homunculus_sp
	homunculus_dead
	onAction
	whenStatusActive Cursed, Curse
	whenStatusInactive
	whenFollowing
	spirit
	aggressives
	monsters
	notMonsters
	stopWhenHit 0
	inLockOnly 0
	notWhileSitting 0
	notInTown 0
	timeout 3
	disabled 0
	inInventory
	manualAI 0
}

useSelf_skill Blessing {
	lvl 10
	maxCastTime 0
	minCastTime 0
	hp
	sp > 10%
	homunculus_hp
	homunculus_sp
	homunculus_dead
	onAction 0
	whenStatusActive
	whenStatusInactive Blessing, Action Delay
	whenFollowing
	spirit
	aggressives
	monsters
	notMonsters
	stopWhenHit 1
	inLockOnly 0
	notWhileSitting 0
	notInTown 0
	timeout 5
	disabled 0
	inInventory
	manualAI 0
}

useSelf_skill Magnificat {
	lvl 5
	maxCastTime 0
	minCastTime 0
	hp
	sp
	homunculus_hp
	homunculus_sp
	homunculus_dead
	onAction 0
	whenStatusActive
	whenStatusInactive Magnificat, Action Delay
	whenFollowing
	spirit
	aggressives
	monsters
	notMonsters
	stopWhenHit 1
	inLockOnly 0
	notWhileSitting 0
	notInTown 0
	timeout 1
	disabled 0
	inInventory
	manualAI 0
}

useSelf_skill Increase AGI {
	lvl 10
	maxCastTime 0
	minCastTime 0
	hp
	sp > 10%
	homunculus_hp
	homunculus_sp
	homunculus_dead
	onAction 0
	whenStatusActive
	whenStatusInactive Increase AGI, Action Delay
	whenFollowing
	spirit
	aggressives
	monsters
	notMonsters
	stopWhenHit 1
	inLockOnly 0
	notWhileSitting 0
	notInTown 0
	timeout 5
	disabled 0
	inInventory
	manualAI 0
}

useSelf_skill Angelus {
	lvl 7
	maxCastTime 0
	minCastTime 0
	hp
	sp > 10%
	homunculus_hp
	homunculus_sp
	homunculus_dead
	onAction
	whenStatusActive
	whenStatusInactive Angelus, Action Delay
	whenFollowing
	spirit
	aggressives
	monsters
	notMonsters
	stopWhenHit 1
	inLockOnly 0
	notWhileSitting 0
	notInTown 1
	timeout 5
	disabled 0
	inInventory
	manualAI 0
}

useSelf_skill Gloria {
	lvl 5
	maxCastTime 0
	minCastTime 0
	hp
	sp > 10%
	homunculus_hp
	homunculus_sp
	homunculus_dead
	onAction
	whenStatusActive
	whenStatusInactive Gloria, Action Delay
	whenFollowing
	spirit
	aggressives
	monsters
	notMonsters
	stopWhenHit 1
	inLockOnly
	notWhileSitting 0
	notInTown 1
	timeout 5
	disabled 0
	inInventory
	manualAI 0
}

useSelf_skill_smartHeal 1

partySkill Heal {
	lvl 10
	dist 3
	target 
	target_hp <= 90%
	target_whenStatusInactive
	isSelfSkill 0
}

partySkill Increase AGI {
	lvl 10
	dist 3
	target 
	whenFollowing 
	target_whenStatusInactive Increase AGI
	timeout 100
	isSelfSkill 0
}

partySkill Blessing {
	lvl 10
	dist 3
	target 
	target_whenStatusInactive Blessing
	timeout 100
	isSelfSkill 0
}

partySkill Impositio Manus {
	lvl 5
	dist 3
	target 
	target_whenStatusInactive Impositio Manus
	timeout 20
	isSelfSkill 0
}

partySkill Gloria {
	lvl 5
	dist 3
	target 
	target_whenStatusInactive Gloria
	timeout 20
	isSelfSkill 1
}

partySkill Ressurection {
	lvl 4
	target 
	target_hp = 0%
	timeout 3
	isSelfSkill 0
}

autoSwitch_default_rightHand
autoSwitch_default_leftHand
autoSwitch_default_arrow

# NOTE: In the case of two handed weapons, or no Shield,
#       duplicate the weapon name for 'rightHand'
# To attack with bare hands, specify "[NONE]" (without the quotes) for rightHand

autoSwitch {
	rightHand
	leftHand
	arrow
	distance
	useWeapon
}

useSelf_item Siege White Potion {
	hp <= 50%
	sp
	homunculus_hp
	homunculus_sp
	homunculus_dead
	onAction
	whenStatusActive
	whenStatusInactive
	whenFollowing
	spirit
	aggressives > 2
	monsters
	notMonsters Dark Lord
	stopWhenHit 0
	inLockOnly 1
	notWhileSitting 1
	notInTown 1
	timeout 0
	disabled 0
	inInventory
	manualAI 0
}

useSelf_item Concentration Potion {
	hp
	sp
	homunculus_hp
	homunculus_sp
	homunculus_dead
	onAction
	whenStatusActive
	whenStatusInactive Concentration Potion
	whenFollowing
	spirit
	aggressives
	monsters
	notMonsters
	stopWhenHit 0
	inLockOnly 1
	notWhileSitting 1
	notInTown 0
	timeout 2
	disabled 0
	inInventory
	manualAI 0
}

useSelf_item Siege Blue Potion {
	hp
	sp <= 50%
	homunculus_hp
	homunculus_sp
	homunculus_dead
	onAction
	whenStatusActive
	whenStatusInactive
	whenFollowing
	spirit
	aggressives
	monsters
	notMonsters
	stopWhenHit 0
	inLockOnly 1
	notWhileSitting 1
	notInTown 1
	timeout 0
	disabled 0
	inInventory
	manualAI 0
}
flashdbest
Plain Yogurt
Plain Yogurt
Posts: 61
Joined: 12 Nov 2012, 09:22
Noob?: Yes

Re: Slave priest does not heal and buff master

#2 Post by flashdbest »

remove these things:
dist 3

and lower timeout to about 20 each (the lower it is, the more the bot "attempts" to buff your character)

change these values as well: so that it would be rare to lose* your master

Code: Select all

followDistanceMax 3
followDistanceMin 1
followLostStep 5
Efficiency issue? SleepTime is set to 1k change that to 10k

that should be it

hope that helps.
remember to give feedbacks!
an0daw
Noob
Noob
Posts: 5
Joined: 13 Dec 2012, 11:57
Noob?: Yes

Re: Slave priest does not heal and buff master

#3 Post by an0daw »

I used 1000 sleeptime for it to be more responsive, but it does the same with 10000.

anything higher than 10000 sleeptime makes my slave lose its master...

i'll try to tweak that distance.

about the heal thingy, it does not heal whenever the master's hp drops below the condition.

---
i'm pretty sure it's not my pc since i'm running a i5 760 @ 3.3GHz w/ 8gb ddr3 1600 rams

edit:
oh removing dist 3 makes the slave buff everytime it's master loses the buff.

but i'm annoyed when the priest buffs the master when it loses the master when it sees him again.
Last edited by an0daw on 14 Dec 2012, 07:49, edited 2 times in total.
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: Slave priest does not heal and buff master

#4 Post by EternalHarvest »

an0daw wrote:but i'm annoyed when the priest tries to buff when it loses the master then it sees him again.
Wiki page for target_whenStatusInactive explains what to do to prevent this.
an0daw
Noob
Noob
Posts: 5
Joined: 13 Dec 2012, 11:57
Noob?: Yes

Re: Slave priest does not heal and buff master

#5 Post by an0daw »

I think I know how that thing works.

this is my slave's config: (it buffs the master eveytime the slave sees the master.)

Code: Select all

partySkill Heal {
	lvl 10
	target 
	target_hp <= 90%
	target_whenStatusInactive
	isSelfSkill 0
}

partySkill Increase AGI {
	lvl 10
	target 
	target_whenStatusInactive Increase AGI
	timeout 100
	isSelfSkill 0
}

partySkill Blessing {
	lvl 10
	target 
	target_whenStatusInactive Blessing
	timeout 100
	isSelfSkill 0
}

partySkill Impositio Manus {
	lvl 5
	target 
	target_whenStatusInactive Impositio Manus
	timeout 20
	isSelfSkill 0
}

partySkill Gloria {
	lvl 5
	target 
	target_whenStatusInactive Gloria
	timeout 20
	isSelfSkill 1
}
rocknroll
Been there done that!
Been there done that!
Posts: 118
Joined: 19 Sep 2011, 07:30
Noob?: Yes

Re: Slave priest does not heal and buff master

#6 Post by rocknroll »

EternalHarvest wrote:
an0daw wrote:but i'm annoyed when the priest tries to buff when it loses the master then it sees him again.
Wiki page for target_whenStatusInactive explains what to do to prevent this.
sometimes, when slave is not on sight with master the packet on Actor:: is like no buff on it, so the slave tries to buff it again.

*target_timeout maybe best solution after target_whenStatusInactive
Sorry, my english is very bad !
an0daw
Noob
Noob
Posts: 5
Joined: 13 Dec 2012, 11:57
Noob?: Yes

Re: Slave priest does not heal and buff master

#7 Post by an0daw »

Oh I see. thanks for the information.

Last time I used a slave in pRO was way back 2007 or 2008? openkore 1.6.6...