BOt will not attack

International

Moderator: Moderators

Message
Author
evangelionli
Noob
Noob
Posts: 3
Joined: 23 Jan 2009, 16:39
Noob?: Yes

Re: BOt will not attack

#41 Post by evangelionli »

PROBLEM SOLVED, i love you man~~~

Skatz
Noob
Noob
Posts: 10
Joined: 25 Jan 2009, 03:11
Noob?: Yes

Re: BOt will not attack

#42 Post by Skatz »

Thank you, I need to fix something, but it works :o :D

Thank you a lot.

meaculpa
Human
Human
Posts: 20
Joined: 11 Jan 2009, 17:39
Noob?: Yes

Re: BOt will not attack

#43 Post by meaculpa »

I'd like to know what you need to fix, so I can kow if it's something in that .rar that I did or it's something that you just feel like doing.

Also, it's good to note that using the default build I've been providing shows the Chinese New Year event monster and items perfectly fine.

samus1554
Noob
Noob
Posts: 10
Joined: 09 Feb 2009, 19:54
Noob?: No

Re: BOt will not attack

#44 Post by samus1554 »

Dude bot is one of the best I've ever seen, Im proud to say im using it right now.

But there are a few issues.

1. When the program was first loading it stopped and said that the responses.txt file was missing

My Solution: I downloaded a clean OpenKore and took the responses.txt file out and put back into the control file of your bot.

2. After i did that I got an error regarding your macro.txt or whatever, all i know is that its located in plugins and i removed the file and it actually worked, if you want to see heres the error message

OpenKore version what-will-become-2.0.7 (SVN Version)
SVN revision: unknown
Loaded plugins:
plugins/macro.pl (macro)

Error message:
Cannot load control file macros.txt

Stack trace:
Trace begun at C:\Documents and Settings\user\Desktop\Bot\src\Settings.pm line 393
Settings::loadByHandle(47) called at C:\Documents and Settings\user\Desktop\Bot\plugins\macro.pl line 58
macro::onstart3('start3', undef, undef) called at src\Plugins.pm line 444
Plugins::callHook('start3') called at src\functions.pl line 218
main::loadDataFiles at src\functions.pl line 81
main::mainLoop at src\Interface\Wx.pm line 140
Interface::Wx::__ANON__('Interface::Wx=HASH(0x2881720)', 'Wx::TimerEvent=SCALAR(0x408bf44)') called at src\Interface\Wx.pm line 113
eval {...} at src\Interface\Wx.pm line 113
Interface::Wx::mainLoop('Interface::Wx=HASH(0x2881720)') called at openkore.pl line 96
main::__start at start.pl line 125

Died at this line:
$filename = $object->{name} if (!defined $filename);
* if ($object->{type} == CONTROL_FILE_TYPE) {
FileNotFoundException->throw(

Is there anything i did wrong to make your bot mess up?
Lastly how do you get the bot to loot the items of whatever it kills because its looting other items instead?

MAIMAITRE
Noob
Noob
Posts: 5
Joined: 18 Sep 2008, 12:14
Noob?: Yes

Re: BOt will not attack

#45 Post by MAIMAITRE »

hello,

I don't understand why my character still sitting and don't attack mobs
i have try lot of thing ask lot of people if someone have a idea and nobody solved my prob

this is config.txt



######## 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
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

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 89
itemsMaxWeight_sellOrStore 48
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_randomWalk 1
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 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 10
teleportAuto_sp 0
teleportAuto_idle 0
teleportAuto_portal 0
teleportAuto_search 0
teleportAuto_minAggressives 0
teleportAuto_minAggressivesInLock 0
teleportAuto_onlyWhenSafe 0
teleportAuto_maxDmg 500
teleportAuto_maxDmgInLock 0
teleportAuto_deadly 1
teleportAuto_useSkill 3
teleportAuto_useChatCommand
teleportAuto_allPlayers 0
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 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

removeActorWithDistance


######## 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.

attackSkillSlot {
lvl 10
dist 1.5
maxCastTime 0
minCastTime 0
hp
sp > 10
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 0
maxUses 0
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 {
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
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
}

equipAuto {
topHead
midHead
lowHead
leftHand
rightHand
leftAccessory
rightAccessory
robe
armor
shoes
arrow
monsters
weight 0
whileSitting 0
hp
sp
homunculus_hp
homunculus_sp
homunculus_dead
onAction
whenStatusActive
whenStatusInactive
whenFollowing
spirit
aggressives
stopWhenHit 0
inLockOnly 0
notWhileSitting 0
notInTown 0
timeout 0
disabled 0
inInventory
manualAI 0
}

useSelf_item {
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
manualAI 0
}

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

buyAuto {
npc
standpoint
distance 5
minAmount 2
maxAmount 3
}

sellAuto 0
sellAuto_npc
sellAuto_standpoint
sellAuto_distance 5

storageAuto 0
storageAuto_npc
storageAuto_distance 5
storageAuto_npc_type 1
storageAuto_npc_steps
storageAuto_password
storageAuto_keepOpen 0
storageAuto_useChatCommand
relogAfterStorage 1
minStorageZeny 50

npcTimeResponse

getAuto {
minAmount
maxAmount
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
charBlockSize 108
serverEncoding Western






and this is mon_control.txt





# This file allows specific AI control for certain monsters
#
# Syntax:
# <monster> <attack> <teleport> <search> <skillcancel> <lv> <joblv> <hp> <sp> <weight>
#
# <monster>: Name of monster as found in monsters.txt (not case sensitive)
#
# <attack>:
# -1 means to leave the monster alone, even if it attacks you.
# 0 means to leave the monster alone, unless it attacks you.
# 1 means to always auto-attack this monster.
# 2 means always aggressive, auto-attack this monster when it appears, even if sitting.
# 3 means to attack the monster once (provoke) then leave it, useful for mobbing.
#
# <teleport>:
# < 0 (-1, -2, etc.) to set exact critical distance for this monster. Teleport, if the monster reaches it.
# 1 to teleport if the monster is on the screen.
# 2 to teleport if the monster attacks you.
# 3 to disconnect if the monster is on your screen.
# This is only used in auto-attack mode.
#
# <search>: Put a 1 to only attack the monster in the search mode.
# This is only used in auto-attack mode.
#
# <skillcancel>: Set to 1 if you want to interrupt spells casted by this
# monster.
#
# <lv>: Only auto-attack this monster if your level is higher than the
# specified level.
#
# <joblv>: Only auto-attack this monster if your job level is higher than
# the specified level.
#
# <hp>: Only auto-attack this monster if your HP is higher than the
# specified amount. The HP is not specified in percentage.
#
# <sp>: Only auto-attack this monster if your SP is higher than the
# specified amount. The SP is not specified in percentage.
#
# <weight>: Counts this monster as the specified amount aggressives. Supports floating point numbers (eg 1.8237402).
# Example:
# (config.txt)
# teleportAuto_minAggressives 6
# teleportAuto_minAggressivesInLock 6
#
# (mon_control.txt)
# Hydra 1 0 0 0 0 0 0 0 0.2
# Merman 1 0 0 0 0 0 0 0 2
#
# If there's five hydras and two sword fish attacks the bot, it won't
# teleport away since the aggressives are counted as 5*0.2 + 2*1 = 3
# However, two marcs and two merman will make it tele away because
# it sees 2*1* + 2*2 = 6 aggressives.
#
#
# Monsters not found in this file, or flags not specified will default to:
# <attack> = 1


##### Eggs #####
Ant's Egg 0 0 0
PecoPeco's Egg 0 0 0
Pupa 0 0 0
Thief Bug's Egg 0 0 0

##### Alchemist Summons ####
# Summoned Parasite
1555 0 0 0

# Summoned Flora
1575 0 0 0

# Summoned Hydra
1579 0 0 0

# Summoned Mandragora
1589 0 0 0

# Summoned Geographer
1590 0 0 0

##### Plants #####
Black Mushroom 0 0 0
Blue Plant 0 0 0
Green Plant 0 0 0
Red Mushroom 0 0 0
Red Plant 0 0 0
Shining Plant 0 0 0
White Plant 0 0 0
Yellow Plant 0 0 0


##### Homunculus #####
6001 -1 0 0
6002 -1 0 0
6003 -1 0 0
6004 -1 0 0
6005 -1 0 0
6006 -1 0 0
6007 -1 0 0
6008 -1 0 0
6009 -1 0 0
6010 -1 0 0
6011 -1 0 0
6012 -1 0 0
6013 -1 0 0
6014 -1 0 0
6015 -1 0 0
6016 -1 0 0

##### Mercenary #####
6017 -1 0 0
6018 -1 0 0
6019 -1 0 0
6020 -1 0 0
6021 -1 0 0
6022 -1 0 0
6023 -1 0 0
6024 -1 0 0
6025 -1 0 0
6026 -1 0 0
6027 -1 0 0
6028 -1 0 0
6029 -1 0 0
6030 -1 0 0
6031 -1 0 0
6032 -1 0 0
6033 -1 0 0
6034 -1 0 0
6035 -1 0 0
6036 -1 0 0
6037 -1 0 0
6038 -1 0 0
6039 -1 0 0
6040 -1 0 0
6041 -1 0 0
6042 -1 0 0
6043 -1 0 0
6044 -1 0 0
6045 -1 0 0
6046 -1 0 0

##### MVPs and Dangerous Monsters #####
Amon Ra 0 1 0
Archangeling 0 1 0
Baphomet 0 1 0
Bacsojin 0 1 0
Dark Illusion 0 1 0
Dark Lord 0 1 0
Detale 0 1 0
Doppelganger 0 1 0
Dracula 0 1 0
Drake 0 1 0
Eddga 0 1 0
Dark Snake Lord 0 1 0
Garm 0 1 0
Egnigem Cenia 0 1 0
Golden Thief Bug 0 2 0
Incantation Samurai 0 1 0
Lady Tany 0 1 0
Lord of Death 0 1 0
Maya 0 1 0
Maya Purple 0 1 0
Mistress 0 1 0
Moonlight 0 1 0
Mutant Dragon 0 1 0
Orc Hero 0 1 0
Orc Lord 0 1 0
Osiris 0 1 0
Pharaoh 0 1 0
Phreeoni 0 1 0
RSX-0806 0 1 0
Stormy Knight 0 1 0
Tao Gunka 0 1 0
Thanatos 0 1 0
Turtle General 0 1 0
Vesper 0 1 0


IF someone have a idea pleaaaaase tell me what's wrong with my configuration.
THX FOR YOUR HELP :D

Skatz
Noob
Noob
Posts: 10
Joined: 25 Jan 2009, 03:11
Noob?: Yes

Re: BOt will not attack

#46 Post by Skatz »

meaculpa wrote:I'd like to know what you need to fix, so I can kow if it's something in that .rar that I did or it's something that you just feel like doing.

Also, it's good to note that using the default build I've been providing shows the Chinese New Year event monster and items perfectly fine.
Receive.pm at Network, i change it, because urs doesnt work.

MAIMAITRE
Noob
Noob
Posts: 5
Joined: 18 Sep 2008, 12:14
Noob?: Yes

Re: BOt will not attack

#47 Post by MAIMAITRE »

no solution for my probleme?

samus1554
Noob
Noob
Posts: 10
Joined: 09 Feb 2009, 19:54
Noob?: No

Re: BOt will not attack

#48 Post by samus1554 »

the solution for you problem is quite simple.

1. delete the long post you made before
2. download the rar. file given on page 4 or 3 that gives you a nice stable working one and then get winrar to extract it

MAIMAITRE
Noob
Noob
Posts: 5
Joined: 18 Sep 2008, 12:14
Noob?: Yes

Re: BOt will not attack

#49 Post by MAIMAITRE »

could you give me the real link because in page 3 or 4 they are so lot of link for download the .rar.i dunno what's the best config.i will delete my long post later don't worry
thanks for your help !

mr nads
Human
Human
Posts: 45
Joined: 01 Oct 2008, 20:39
Noob?: No

Re: BOt will not attack

#50 Post by mr nads »

can you either post the receive.pm or the entire rar again please.

I didn't get around to downloading.

I was about to quit but.... who quits ro. LOL

Post Reply