Bot will not switch arrows

International

Moderator: Moderators

zeroun
Noob
Noob
Posts: 3
Joined: 05 Dec 2013, 23:53
Noob?: Yes

Bot will not switch arrows

#1 Post by zeroun »

Hey Guys I am stumped here. Hopefully someone can help or at least tell me its not possible to do currently.

I have a Hunter that I play manually using Xkore. Basically I want kore to handle switching of arrows and bow (based on the element of the monster I am attacking) while I attack the monsters and move manually.
To do this I downloaded the MonsterDB plugin by Damokles.

Code: Select all

This plugin extends all functions which use 'checkMonsterCondition'.
Basically these are AttackSkillSlot, equipAuto, AttackComboSlot, monsterSkill.
Following new checks are possible:
target_Element (list)
target_notElement (list)
target_Race (list)
target_notRace (list)
target_Size (list)
target_notSize (list)
target_hpLeft (range)
So the plugin comes with a MonsterDB.txt file that contains a list of Monsters: ID, Element, Race, Size, and HP
This is an old plugin so I updated the information in it for IRO Renewal. It has information on almost all the monsters in Ragnarok.
Here is example config it allows:

Code: Select all

monsterEquip {
	target_Element Water
	equip_topHead +4 Naval Officer Hat
	equip_arrow Arrow of Wind
	equip_rightHand +7 Gust Bow [Drainliar] [1]
	manualAI 2

}
After I had everything setup, I tried it in game with xkore while setting AI to manual. Went to bylan dungeon and tried attacking monsters to see if it switches from default iron arrow I have on.
It DID NOT switch any of the equipment at all :-(
When I turned AI to Auto it works perfectly.

So thinking that maybe its just the plugin I tried it using equipAuto and just listing monsters :(

Code: Select all

equipAuto {
	topHead
	midHead
	lowHead
	leftHand
	rightHand
	leftAccessory
	rightAccessory
	robe
	armor
	shoes
	arrow Arrow of Wind
	monsters Hydra
	notMonsters
	monstersCount
	weight 0
	whileSitting 0
	hp
	sp
	homunculus_hp
	homunculus_sp
	homunculus_dead
	onAction
	whenStatusActive
	whenStatusInactive
	whenFollowing
	spirit
	amuletType
	aggressives
	stopWhenHit 0
	inLockOnly 0
	notWhileSitting 0
	notInTown 0
	timeout 0
	disabled 0
	inInventory
	manualAI 2
}
It still would not switch when AI is set to manual but works perfectly when AI is set to Auto.
So then I thought maybe Manual means no automatic actions by kore. To test this I tried the useSelf_item block:

Code: Select all

useSelf_item Apple,Banana,Sweet Potato,Carrot,Meat,Mastela Fruit,Red Potion,White Potion,Orange Potion,Yellow Potion {
	hp > 25 %
        manualAI 2
}
This worked Perfectly when AI is set to Manual and of course when AI is set to Auto. So Kore can do some auto actions even when AI is set to manual.

Almost giving up I thought about 1 last work around. I set ai to Auto but turned off autoattack and Randomwalk. Thinking I would still walk around and click to attack myself while it switches my arrows. This DID NOT work :( . So

So I turned on autoattack 2 and left Randomwalk off. As I walked around the map by clicking in client, kore would attack the monsters automatically AND SWITCH arrow based on the Monster's elemental weakness.

Is there anyway at all that I can do accomplish what I am trying to do?
Thank you for reading my long rambling.
If you have any input, ideas or questions please reply.