Homunculus auto feeding doesn't work

International

Moderator: Moderators

Message
Author
dublon
Noob
Noob
Posts: 11
Joined: 22 Oct 2010, 17:13
Noob?: Yes

Homunculus auto feeding doesn't work

#1 Post by dublon »

I left my alch for some hours grinding with my homun, and after I came back his intimacy went from 255 to 230. Apparently the autofeed doesn't work. Here's the config file, maybe you people'll know what I messed up here:

Code: Select all

# Please Read the Users Manual
# The Manual is located at http://openkore.sourceforge.net/manual/

######## Login options and server-specific options ########

master International - iRO: Valkyrie
server 0
username xxxxxx
password xxxxxx
loginPinCode
char 1
sex 1

bindIp
# For an overview of all servertypes please go to the following URL:
# http://www.openkore.com/wiki/index.php/ServerType#English
serverType iRO

# 1 = hook into RO client, 2 = Act as stand-alone proxy, proxy = act as true proxy
XKore 0
XKore_silent 1
XKore_bypassBotDetection 0
XKore_exeName ragexe.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 vogigeet
callSign
commandPrefix ;

pauseCharServer 0
pauseMapServer 0
ignoreInvalidLogin 0
secureLogin_requestCode

message_length_max 80

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

alias_heal sp 28

allowedMaps
allowedMaps_reaction 0

attackAuto 2
attackAuto_party 1
attackAuto_onlyWhenSafe 0
attackAuto_followTarget 1
attackAuto_inLockOnly 1
attackDistance 1
attackDistanceAuto 0
attackMaxDistance 1
attackMaxRouteDistance 100
attackMaxRouteTime 4
attackMinPlayerDistance 2
attackMinPortalDistance 4
attackUseWeapon 1
attackNoGiveup 0
attackCanSnipe 0
attackCheckLOS 0
attackLooters 1
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

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
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 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 90
itemsMaxWeight_sellOrStore 50
itemsMaxNum_sellOrStore 9999
cartMaxWeight 8000
itemsTakeAuto_new 0
    

lockMap gef_fild06
lockMap_x
lockMap_y
lockMap_randX
lockMap_randY

route_escape_reachedNoPortal 1
route_escape_randomWalk 0
route_escape_shout
route_avoidWalls 1
route_randomWalk 1
route_randomWalk_inTown 0
route_randomWalk_maxRouteTime 100
route_maxWarpFee
route_maxNpcTries 5
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
saveMap_warpChatCommand

shopAuto_open 0
shop_random 0

sitAuto_hp_lower 40
sitAuto_hp_upper 100
sitAuto_sp_lower 0
sitAuto_sp_upper 0
sitAuto_over_50 0
sitAuto_idle 1
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 33%
teleportAuto_sp 0
teleportAuto_idle 0
teleportAuto_portal 0
teleportAuto_search 0
teleportAuto_minAggressives 0
teleportAuto_minAggressivesInLock 0
teleportAuto_onlyWhenSafe 0
teleportAuto_maxDmg 1000
teleportAuto_maxDmgInLock 1000
teleportAuto_deadly 1
teleportAuto_useSkill 0
teleportAuto_useChatCommand
teleportAuto_allPlayers 0
teleportAuto_atkCount 0
teleportAuto_atkMiss 33
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 0
guildAutoDeny 1

verbose 1
showDomain 0
squelchDomains
verboseDomains
beepDomains
beepDomains_notInTown

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

chatTitleOversize 0
shopTitleOversize 0

sleepTime 10000

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

tankersList

repairAuto 0
repairAuto_list

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 7
homunculus_attackCanSnipe 0
homunculus_attackCheckLOS 0
homunculus_attackNoGiveup 1
homunculus_attackChangeTarget 1

homunculus_followDistanceMax 7
homunculus_followDistanceMin 3

homunculus_route_step 15

homunculus_tankMode 0
homunculus_tankModeTarget

homunculus_teleportAuto_hp 50
homunculus_teleportAuto_maxDmg 1000
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

attackSkillSlot Moonlight {
	lvl 5
	dist 7
	homunculus_sp > 19
	maxCastTime 0.01
	inLockOnly 1
	notWhileSitting 1
	previousDamage > 0
	aggressives 0
	timeout 1
	disabled 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 16
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.

attackSkillSlot Cart Revolution {
	lvl 10
	dist 1.5
	maxCastTime 0
	minCastTime 0
	hp
	sp > 15
	homunculus_hp
	homunculus_sp
	homunculus_dead
	onAction
	whenStatusActive
	whenStatusInactive
	whenFollowing
	spirit
	aggressives
	previousDamage
	stopWhenHit 0
	inLockOnly 0
	notInTown 0
	timeout 0
	disabled 0
	monsters
	notMonsters
	maxAttempts 2
	maxUses 3
	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
	manualAI 0
}

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 Crazy Uproar {
	lvl 5
	maxCastTime 0
	minCastTime 0
	hp
	sp > 12
	homunculus_hp
	homunculus_sp
	homunculus_dead
	onAction
	whenStatusActive
	whenStatusInactive Crazy Uproar
	whenFollowing
	spirit
	aggressives
	monsters
	notMonsters
	stopWhenHit 0
	inLockOnly 1
	notWhileSitting 1
	notInTown 0
	timeout 3
	disabled 0
	inInventory
	manualAI 0
}

useSelf_skill Homunculus Resurrection {
	lvl 5
	maxCastTime 0
	minCastTime 0
	hp
	sp > 20
	homunculus_hp >= 0
	homunculus_sp
	homunculus_dead 1
	onAction
	whenStatusActive
	whenStatusInactive
	whenFollowing
	spirit
	aggressives
	monsters
	notMonsters
	stopWhenHit 0
	inLockOnly 1
	notWhileSitting 1
	notInTown 0
	timeout 3
	disabled 0
	inInventory
	manualAI 0
}

useSelf_skill_smartHeal 1


partySkill {
	lvl 10
	maxCastTime 0
	minCastTime 0
	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 0
	disabled 0
	manualAI 0
	target
	target_hp
	target_isJob
	target_isNotJob
	target_whenStatusActive
	target_whenStatusInactive
	target_aggressives
	target_monsters
	target_timeout 0
	target_deltaHp
	target_dead 0
	inInventory
	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 Butterfly Wing {
	hp
	sp
	homunculus_hp
	homunculus_sp
	homunculus_dead
	onAction
	whenStatusActive EFST_WEIGHTOVER50
	whenStatusInactive
	whenFollowing
	spirit
	aggressives
	monsters
	notMonsters
	stopWhenHit 0
	inLockOnly 1
	notWhileSitting 0
	notInTown 1
	timeout 0
	disabled 0
	inInventory
	manualAI 0
}

######## Autostorage/autosell ########

buyAuto {
	npc
	standpoint
	distance 5
	price
	minAmount 2
	maxAmount 3
}

sellAuto 0
sellAuto_npc
sellAuto_standpoint
sellAuto_distance 5

storageAuto 1
storageAuto_npc geffen 120 62
storageAuto_distance 10
storageAuto_npc_type 3
storageAuto_npc_steps c r0 n
storageAuto_password
storageAuto_keepOpen 0
storageAuto_useChatCommand
relogAfterStorage 1
minStorageZeny 50

npcTimeResponse

getAuto Fly Wing {
	minAmount 3
	maxAmount 30
	passive
}

getAuto Butterfly Wing {
	minAmount 2
	maxAmount 5
	passive
}

getAuto Garlet {
	minAmount 2
	maxAmount 50
	passive
}

######## Debugging options; only useful for developers ########

debug 0
debugPacket_unparsed 0
debugPacket_received 0
debugPacket_ro_sent 0
debugPacket_sent 0
debugPacket_exclude
debugPacket_include
debugPacket_include_dumpMethod
debugDomains
paddedPackets 0
paddedPackets_attackID 0x72
paddedPackets_skillUseID 0xF5
serverEncoding Western
charBlockSize 112
wx_map_route 1
wx_npcTalk 1
wx_captcha
PS: I also wanted to make the bot use butterfly wing to teleport to town when the number of fly wings went below recommended, but it apparently doesn't do that...

EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: Homunculus auto feeding doesn't work

#2 Post by EternalHarvest »

Intimacy displays correctly in Kore?

dublon
Noob
Noob
Posts: 11
Joined: 22 Oct 2010, 17:13
Noob?: Yes

Re: Homunculus auto feeding doesn't work

#3 Post by dublon »

I think so. The table for intimacy is:

Intimacy Status
1-3 Hate with Passion
4-10 Hate
11-100 Awkward
101-250 Shy
251-750 Neutral
750-910 Cordial
911-1000 Loyal

and my homun is "Shy" so I think it works.

EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: Homunculus auto feeding doesn't work

#4 Post by EternalHarvest »

dublon wrote:my homun is "Shy"
Usually Kore displays a number for intimacy.

dublon
Noob
Noob
Posts: 11
Joined: 22 Oct 2010, 17:13
Noob?: Yes

Re: Homunculus auto feeding doesn't work

#5 Post by dublon »

EternalHarvest wrote:
dublon wrote:my homun is "Shy"
Usually Kore displays a number for intimacy.
I know, but the intimacy in kore is 230 and in game it shows "Shy".

Besides that's not the problem here. I want to know why the autofeed doesn't work! I have the respective food for the homun, I wrote in config to auto get 100 pieces if the amount gets low, yet the autofeed still doesn't work.

EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: Homunculus auto feeding doesn't work

#6 Post by EternalHarvest »

Well, wrong intimacy value could lead to that.
Does "homun feed" command work, then?

dublon
Noob
Noob
Posts: 11
Joined: 22 Oct 2010, 17:13
Noob?: Yes

Re: Homunculus auto feeding doesn't work

#7 Post by dublon »

If I click the button in kore, then it works, yes. But it's supposed to auto-feed, and it doesn't do that.

dublon
Noob
Noob
Posts: 11
Joined: 22 Oct 2010, 17:13
Noob?: Yes

Re: Homunculus auto feeding doesn't work

#8 Post by dublon »

Well, sometimes it does, sometimes it doesn't. I think that homunculus bar in kore works whimsically - one time it shows the buttons used to feed, vaporize, call or res the homun, other times it doesn't. When it does work, the feeding works then. I fed my homun using kore once and then logged into the game, and the hunger value was the same as when I fed it using kore. Here's how it looks:

Image

silentblue1987
Human
Human
Posts: 46
Joined: 07 Apr 2010, 12:11
Noob?: Yes

Re: Homunculus auto feeding doesn't work

#9 Post by silentblue1987 »

heh, i wonder if its something silly like not telling the bot to keep the food in inventory and its storing the food in the cart.. happens to me all the time =P

add a line like this to items_control.txt and see if it fixes the problem. Change the "zargon" to your homs food lol.

zargon 10 0 0 0 1


# Syntax:
# (item name) (minimum) (auto-store) (auto-sell) [put in cart] [get from cart]

translation:
keep 10 zargons in inventory, grab from cart as needed.

dublon
Noob
Noob
Posts: 11
Joined: 22 Oct 2010, 17:13
Noob?: Yes

Re: Homunculus auto feeding doesn't work

#10 Post by dublon »

silentblue1987 wrote:heh, i wonder if its something silly like not telling the bot to keep the food in inventory and its storing the food in the cart.. happens to me all the time =P

add a line like this to items_control.txt and see if it fixes the problem. Change the "zargon" to your homs food lol.

zargon 10 0 0 0 1


# Syntax:
# (item name) (minimum) (auto-store) (auto-sell) [put in cart] [get from cart]

translation:
keep 10 zargons in inventory, grab from cart as needed.
Doubt it. I ordered kore to keep 50 Garlets without depositing them into cart, but the problem still occurs. I'm just wondering what have I messed up in the config (or gave insufficient info, I don't know)
EternalHarvest wrote:Well, wrong intimacy value could lead to that.
Does "homun feed" command work, then?
I don't know, that homunculus window in kore works however it goddamn pleases. When the homun is vaporized I can call it using button "call" but then all the buttons get greyed out and don't work. Sometimes when homun's hunger drops to 1 the button "feed" is available, the other time it's not. Another time it shows empty hp bar, but when I check the basic window that little sucker is still at killing monsters O.o But the hunger factor is correct, because when i checked in kore the hunger was 71, and then I logged into the game to check and the hunger was still 71, so that works.

I've tried setting the Min/Max intimacy, Min/Max hunger but still nothing changed.

Post Reply