automacro spellfist (working,need expert suggestion)

Moderator: Moderators

Message
Author
moongetter
Noob
Noob
Posts: 3
Joined: 20 Dec 2010, 00:48
Noob?: Yes

automacro spellfist (working,need expert suggestion)

#1 Post by moongetter »

on config i wrote :

attackSkillSlot Cold Bolt {
lvl 7
dist
maxCastTime 0
minCastTime 0
hp
sp > 5%
homunculus_hp
homunculus_sp
homunculus_dead
onAction
whenStatusActive
whenStatusInactive
whenFollowing
spirit
aggressives
previousDamage
stopWhenHit 1
inLockOnly 1
notInTown 1
timeout 0
disabled 0
monsters Magmaring
notMonsters
maxAttempts 3
maxUses 1
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
}

and on macros i wrote :
automacro spellfist {
console /You are casting Cold Bolt on Monster Magmaring/i
sp > 5%
call {
pause .3
do sm 2445 0 5
release spellfist
}
}

would somebody help me to polish my macro, sory I'm kinda macro noob...

luckybullet
Noob
Noob
Posts: 3
Joined: 29 May 2008, 18:59
Noob?: No

Re: automacro spellfist (working,need expert suggestion)

#2 Post by luckybullet »

what is the macro for?!

i dont see the point of using macro for that...

j0wjen
Human
Human
Posts: 35
Joined: 04 Oct 2010, 20:58
Noob?: Yes

Re: automacro spellfist (working,need expert suggestion)

#3 Post by j0wjen »

im not an expert at this but i think the bot will do skill id 2445 when the macro triggers. its not 100% efficient since not all monsters are tagged as 0. some can be 1, 2,3 etc.

moongetter
Noob
Noob
Posts: 3
Joined: 20 Dec 2010, 00:48
Noob?: Yes

Re: automacro spellfist (working,need expert suggestion)

#4 Post by moongetter »

moongetter wrote:on config i wrote :

attackSkillSlot Cold Bolt {
lvl 7
dist
maxCastTime 0
minCastTime 0
hp
sp > 5%
homunculus_hp
homunculus_sp
homunculus_dead
onAction
whenStatusActive
whenStatusInactive
whenFollowing
spirit
aggressives
previousDamage
stopWhenHit 1
inLockOnly 1
notInTown 1
timeout 0
disabled 0
monsters Magmaring
notMonsters
maxAttempts 3
maxUses 1
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
}

and on macros i wrote :
automacro spellfist {
console /You are casting Cold Bolt on Monster Magmaring/i
sp > 5%
call {
pause .3
do sm 2445 0 5
release spellfist
}
}

would somebody help me to polish my macro, sory I'm kinda macro noob...
so many viewers but almost no replies, aww c'mon guys...

groke
Noob
Noob
Posts: 2
Joined: 24 Jan 2011, 00:11
Noob?: No

Re: automacro spellfist (working,need expert suggestion)

#5 Post by groke »

Hi moongetter and anyone else also interested with this. First time poster and im new to all this so if im making a mockery ban me.

Using your automacro as a template I made little changes.

Code: Select all

automacro spellfist {
console /You are casting Cold Bolt/i
call {
pause .3
do ss 2445 5
release spellfist
}
}


attackSkillSlot Cold Bolt {
lvl 10
dist 5
maxCastTime 0
minCastTime 0
sp > 5%
onAction
whenStatusActive
whenStatusInactive
stopWhenHit 1
notInTown 1
timeout 7
monsters Magmaring
notMonsters
maxAttempts 3
maxUses 2
isSelfSkill 0
}
At first I tried it with whenstatusinactive EFST_SPELLFIST to trigger the cold bolt as to get the most out of what ever level of spellfist you had but the spellfist status doesnt properly remove when you use all your hits (6 with level 5). So then changed it to use a timeout, a sloppy workaround but im new to this.

The bot can be interupted on the Cold Bolt cast, so i recommend getting a phen or bloody butterfly card. Trying to figure out a workaround as when this happens my bot seems to just go into auto attack and nothing else mode (i dont have either card).

Thanks for the macro in the first place, gave me a great place to start with using the macro plugin.

mbilvu
Noob
Noob
Posts: 1
Joined: 23 Jan 2011, 10:42
Noob?: Yes

Re: automacro spellfist (working,need expert suggestion)

#6 Post by mbilvu »

i also face the problem
haiz
i set as tis for macro
automacro TEST1 {
console /You are casting Fire Bolt/
call {
pause 0.1
do ss 2445
do conf attackUseWeapon 1
}
}
cause if u no set use weapon it wont atk o
i dunno how to settle the 40 sec problem cause in 40 sec more than 6 hit it still have the spellfist status

groke
Noob
Noob
Posts: 2
Joined: 24 Jan 2011, 00:11
Noob?: No

Re: automacro spellfist (working,need expert suggestion)

#7 Post by groke »

Hi Mbilvu, like I said vefore i've thought about the 40 second problem but cant get around it. Mainly because wether or not you use all 6 hits while you have spell fist kore / server still registers you as under the effect for the full 40 seconds. Im guessing its a server thing as while playing in the game you dont get an on screen indicator icon. There are two ways I can think of that could solve the problem but I havent been able (or bothered to ram my novice head against) to pull off.

1) Get a macro to count hits while under the effect of spell fist that can be used in the attackblock / attack macro you use.

2) Wait for / suggest / fix yourself the status effect of Spell Fist (as registered in openkore) to remove itself when you have used all your hits. Then its as simple of adding whenStatusInactive to your attackblock.

As of now im happy with a short timeout that covers if my Sorcerer was to hit continuously after casting spellfist. I adjusted some other things slightly aswell for the maps im sure most of us are using this on.

Block Options

Code: Select all

attackSkillSlot Cold Bolt {
	lvl 10
	dist 8
	sp > 5%
	stopWhenHit 0
	notInTown 1
	timeout 7
	monsters Magmaring
	notMonsters Drosera
	maxAttempts 3
	maxUses 2
	isSelfSkill 0
}

attackSkillSlot Fire Bolt {
	lvl 10
	dist 8
	sp > 5%
	stopWhenHit 0
	notInTown 1
	timeout 7
	notMonsters Magmaring
	maxAttempts 3
	maxUses 2
	isSelfSkill 0
}

useSelf_skill Energy Coat {
	lvl 1
	whenStatusInactive Energy Coat
	stopWhenHit 1
	inLockOnly 0
	notWhileSitting 1
	notInTown 1
}

useSelf_skill Hindsight {
	lvl 10
	whenStatusInactive Hindsight
	stopWhenHit 1
	notWhileSitting 0
	timeout 10
}
Macro

Code: Select all

automacro spellfistc {
console /You are casting Cold Bolt/i
call {
pause .3
do ss 2445 5
release spellfistc
}
}

automacro spellfistf {
console /You are casting Fire Bolt/i
call {
pause .3
do ss 2445 5
release spellfistf
}
}
The above lot is everything i use to punch magmarings and the plants that annoy my sorcerer. Hindsight is incase the system falls on its ass and my sorcerer is left hitting the mob. Energycoat for the damage mitigation. Fire and Cold bolt and associated spellfist macro to make best use of the elemental effect of the fist vs monster type.

Another thing im wanted to add is using Warmer when the bot inevitably has to rest (at level 5 its very good for a character with no vit) but im ok with manually doing that through the console at the moment, I watch my sorcerer botting anyway so its no big deal.

If there is any developer or people with a better understand of the status effects workings tha could maybe shine some light on the EFST_SPELLFIST us sorcerers are dealing with it would be nice. Expecially why it doesnt remove when we use all available hits and if there is a fix for it.

My posts are taking about 1-2days to appear because of the approval thing but im checking this thread once a day. If I make any headway i'll post again so keep checing back.

Ozye
Noob
Noob
Posts: 2
Joined: 18 Feb 2011, 14:04
Noob?: No

Re: automacro spellfist (working,need expert suggestion)

#8 Post by Ozye »

I would like to add some of my tweaks from the macro . It works 95% of the time. the only reason that it might screw it up is you get a hit while casting Bolt skills. ( I don't bot with phen cards :lol: )

Example for Cold Bolt Skill
config.txt
attackSkillSlot Cold Bolt {
label CB
lvl 10
dist 8
maxCastTime 0
minCastTime 0
hp
sp
homunculus_hp
homunculus_sp
homunculus_dead
onAction
whenStatusActive
whenStatusInactive
whenFollowing
spirit
aggressives
previousDamage
stopWhenHit 1
inLockOnly 1
notInTown 0
timeout
disabled 0
monsters Magmaring
notMonsters
maxAttempts
maxUses 1
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
}
For easy configuring , you'll need to label a skill block for easy usage in the macro.

macros.txt
automacro spellfist_cb {
console /You are casting Cold Bolt/i
call {
pause .4
do ss 2445 5
release spellfist_cb
do conf CB.disabled 1
$cb = 0
}
timeout 3
}

automacro countspell {
console /You attack Monster/i
call {
$cb++
log CB Attack count : $cb
call check_cb
}
}

macro check_cb {
if ($cb > 5) call enabled
}

macro enabled {
do conf CB.disabled 0
release countspell
log Cold Bolt Enable !
stop
}
1.disabling the Cold bolt skill block , will make the bot not spam cold bolt / spell fist and keep your sp in a good rate , so you don't need to use Indulge often.

2.You can disable the log features which I use for debugging purposes.

3.After you attack more than 6 times after the monster is kill , it will re-enable the Cold bolt skill again.

4.You might want to do a check for Healing or other skills that may override the Spell Fist buff.

altandf4
Noob
Noob
Posts: 4
Joined: 28 Oct 2010, 16:32
Noob?: Yes

Re: automacro spellfist (working,need expert suggestion)

#9 Post by altandf4 »

Code: Select all

attackComboSlot Spell Fist{
	lvl 5
	afterSkill Fire Bolt,Cold Bolt,Lightening Bolt
	sp > 55
	timeout .8
}
This might work, you might need the change timeout: ai_skill_use and ai_skill_use_giveup before the spell end castime.
Note that make a copy of your timeout before making this attempt :)
I don't have a Sorc, sage atm. ;)

pipeson
Noob
Noob
Posts: 1
Joined: 18 May 2011, 12:44
Noob?: Yes

Re: automacro spellfist (working,need expert suggestion)

#10 Post by pipeson »

Ozye wrote:I would like to add some of my tweaks from the macro . It works 95% of the time. the only reason that it might screw it up is you get a hit while casting Bolt skills. ( I don't bot with phen cards :lol: )

Example for Cold Bolt Skill
config.txt
attackSkillSlot Cold Bolt {
label CB
lvl 10
dist 8
maxCastTime 0
minCastTime 0
hp
sp
homunculus_hp
homunculus_sp
homunculus_dead
onAction
whenStatusActive
whenStatusInactive
whenFollowing
spirit
aggressives
previousDamage
stopWhenHit 1
inLockOnly 1
notInTown 0
timeout
disabled 0
monsters Magmaring
notMonsters
maxAttempts
maxUses 1
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
}
For easy configuring , you'll need to label a skill block for easy usage in the macro.

macros.txt
automacro spellfist_cb {
console /You are casting Cold Bolt/i
call {
pause .4
do ss 2445 5
release spellfist_cb
do conf CB.disabled 1
$cb = 0
}
timeout 3
}

automacro countspell {
console /You attack Monster/i
call {
$cb++
log CB Attack count : $cb
call check_cb
}
}

macro check_cb {
if ($cb > 5) call enabled
}

macro enabled {
do conf CB.disabled 0
release countspell
log Cold Bolt Enable !
stop
}
1.disabling the Cold bolt skill block , will make the bot not spam cold bolt / spell fist and keep your sp in a good rate , so you don't need to use Indulge often.

2.You can disable the log features which I use for debugging purposes.

3.After you attack more than 6 times after the monster is kill , it will re-enable the Cold bolt skill again.

4.You might want to do a check for Healing or other skills that may override the Spell Fist buff.
Sorry, I have problem.

Bot not use Cold Bolt but it hit monster only.

I open bot with X-Kore mode I use Cold Bolt in console show "Config variable attackSkillSlot_0_disabled doesn't exist" .

Where I should be modified ? Thank You.

Post Reply