why macros release slow

All about the macro plugin can be found in this forum. This forum is intended for the macro plugin only.

Moderator: Moderators

destiny
Noob
Noob
Posts: 19
Joined: 24 Jul 2013, 02:00
Noob?: Yes

why macros release slow

#1 Post by destiny »

Code: Select all

automacro Dragon { 
        sp > 5%
        monster One-Horn Scaraba,Two-Horn Scaraba,Antler Scaraba,Rake Scaraba >= 9
        exclusive 1
        call { 
                $mobX = @arg ("$.lastMonsterPos",1) 
                $mobY = @arg ("$.lastMonsterPos",2) 
                do sl 2008 $mobX $mobY 10 
                release Dragon
        } 
} 
1. can anyone help me ? Why automacros do loop slowly
2. Should i edit timeout or not?
User avatar
4epT
Developers
Developers
Posts: 627
Joined: 30 Apr 2008, 14:17
Noob?: No
Discord: ya4ept#8494
Location: Moskow (Russia)

Re: why macros release slow

#2 Post by 4epT »

Why are you doing this through a macro?
Use the standard config option:

Code: Select all

attackSkillSlot 2008 {
	dist 9
	sp > 5%
	monsters One-Horn Scaraba,Two-Horn Scaraba,Antler Scaraba,Rake Scaraba
}
All my posts are made by machine translator!
¤ Manual ¤ Anti BotKiller ¤ Packet Extractor v3 ¤
Image
Image
destiny
Noob
Noob
Posts: 19
Joined: 24 Jul 2013, 02:00
Noob?: Yes

Re: why macros release slow

#3 Post by destiny »

4epT wrote:Why are you doing this through a macro?
Use the standard config option:

Code: Select all

attackSkillSlot 2008 {
	dist 9
	sp > 5%
	monsters One-Horn Scaraba,Two-Horn Scaraba,Antler Scaraba,Rake Scaraba
}
thanks you for support
Why are you doing this through a macro?
answer : I want to fix the bot doesn't move for attack

The standard config as like below ?

Code: Select all

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 0
attackNoGiveup 0
attackCanSnipe 0
attackCheckLOS 0
attackLooters 0
attackChangeTarget 1
aggressiveAntiKS 0

lockMap dun_dic03
lockMap_x 200
lockMap_y 38
lockMap_randX
lockMap_randY

attackSkillSlot Dragon Breath {
	lvl 10
	dist 9
	maxCastTime 0
	minCastTime 0
	hp
	sp > 10%
	monsters One-Horn Scaraba,Two-Horn Scaraba,Antler Scaraba,Rake Scaraba
	isSelfSkill 0
}