Page 1 of 1

Keys out of space, then use Macro spaces???

Posted: Mon Jan 17, 2011 6:40 pm
by j19861986
Can't we get to use of macro spaces when we are out of vk_number spaces???
Cause I am a Battle Monk
I use the following:
<skills_priest>
<skill name="PRIEST_SOUL_SOURCE" modifier="" hotkey="VK_2" priority="110" inbattle="true" hpper="20" />
<skill name="PRIEST_URGENT_HEAL" modifier="" hotkey="VK_MINUS" priority="100" hpper="70" />
<skill name="PRIEST_AMPLIFIED_ATTACK" modifier="" hotkey="VK_4" priority="99" />
<skill name="PRIEST_BATTLE_MONK_STANCE" modifier="" hotkey="VK_3" priority="98" />
<skill name="PRIEST_CONDENSED_RAGE" modifier="" hotkey="VK_6" priority="97" inbattle="true" />
<skill name="PRIEST_POWER_BUILD_UP" modifier="" hotkey="VK_5" priority="96" />
<skill name="PRIEST_EXPLOSION_OF_FIGHTING_SPIRIT" modifier="" hotkey="VK_7" priority="94" inbattle="true" />
<skill name="PRIEST_ASCENDING_DRAGON_STRIKE" modifier="" hotkey="VK_8" priority="95" inbattle="true" />
<skill name="PRIEST_GRACE_OF_LIFE" modifier="" hotkey="VK_9" priority="93" />
</skills_priest>
and I want "blessed spring water" and "magic barrier" , but I am out of spaces, please help me

Re: Keys out of space, then use Macro spaces???

Posted: Mon Jan 17, 2011 7:05 pm
by jduartedj
You can use any other key or use "MACRO" instead of "VK_*"

Re: Keys out of space, then use Macro spaces???

Posted: Mon Jan 17, 2011 7:10 pm
by lisa
you can use the next action bar if you just want to add more skills. go to menu. key bindings. upper actionbar. and set keys to that bar. I use
J, V, Y, I, F as they arn't really needed for anything else.

To answer your actual question though yes you can use the "MACRO" key to use skills.

Re: Keys out of space, then use Macro spaces???

Posted: Sun Jan 27, 2013 12:23 am
by valsan
Hi!!

Im using this for my monk

<skills_priest>
<skill name="PRIEST_SOUL_SOURCE" hotkey="MACRO" priority="110" inbattle="true" hpper="15" />
<skill name="PRIEST_URGENT_HEAL" hotkey="MACRO" priority="100" hpper="50" />
<skill name="PRIEST_REGENERATE" hotkey="MACRO" priority="90" hpper="80" />
<skill name="PRIEST_FIGHTING_SPIRIT_COMBINATION" hotkey="MACRO" priority="90" />
<skill name="PRIEST_EXPLOSION_OF_FIGHTING_SPIRIT" hotkey="MACRO" priority="80" inbattle="true" />
<skill name="PRIEST_ASCENDING_DRAGON_STRIKE" hotkey="MACRO" priority="70" />
<skill name="PRIEST_BATTLE_MONK_STANCE" hotkey="MACRO" priority="20" rebuffcut="60" inbattle="false" />
<skill name="PRIEST_POWER_BUILD_UP" hotkey="MACRO" priority="20" rebuffcut="60" inbattle="false" />
<skill name="PRIEST_CONDENSED_RAGE" hotkey="MACRO" priority="20" rebuffcut="60" inbattle="true" />
<skill name="PRIEST_AMPLIFIED_ATTACK" hotkey="MACRO" priority="20" rebuffcut="60" inbattle="false" />
<skill name="PRIEST_GRACE_OF_LIFE" hotkey="MACRO" priority="20" rebuffcut="60" inbattle="false" />
<skill name="PRIEST_MAGIC_BARRIER" hotkey="MACRO" priority="20" rebuffcut="60" inbattle="false" />
</skills_priest>

but bot dont use explosion (PRIEST_EXPLOSION_OF_FIGHTING_SPIRIT) i tried VK_4 (key 4) instead of MACRO ....
any help?

Sorry for my poor english

Re: Keys out of space, then use Macro spaces???

Posted: Sun Jan 27, 2013 6:24 am
by rock5
Explosion Of Fighting Spirit is a Battle Monk Stance skill. I notice that EoFS has a higher priority that BMS. Try giving BMS a higher priority than EoFS.

Re: Keys out of space, then use Macro spaces???

Posted: Sun Jan 27, 2013 6:54 am
by valsan
PJ is buffed with battle monk stance. Fighting spirit combination and Ascending dragon (both also are battle monk stance skills) work corretly. The priority of the skill is correct because use buffs before atack. Then atack (full buffed), used Combination that enter cooldown, and pj stay waiting until cooldown finish or generate rage for use Ascending dragon.

Re: Keys out of space, then use Macro spaces???

Posted: Sun Jan 27, 2013 9:00 am
by rock5
Try debug mode to see if it tells you why it's not using the skill.

Debugging skills is not that easy. The easiest way is to comment out a couple of lines in skill.lua. And maybe add a line so it doesn't spam messages while out of combat.

Around line 156 you will see.

Code: Select all

		-- return if debugging / detail  is disabled
		if( not settings.profile.options.DEBUG_SKILLUSE.ENABLE ) then return; end
		if( settings.profile.options.DEBUG_SKILLUSE[_reason] == false ) 	then  return; end;
--		if( _reason == "ONCOOLDOWN"	and  not settings.profile.options.DEBUG_SKILLUSE.ONCOOLDOWN ) 	then  return; end;
--		if( _reason == "NOCOOLDOWN"	and  not settings.profile.options.DEBUG_SKILLUSE.NOCOOLDOWN ) 	then  return; end;
--		if( _reason == "HPLOW" 		and  not settings.profile.options.DEBUG_SKILLUSE.HPLOW ) 		then  return; end;
Change it to

Code: Select all

		-- return if debugging / detail  is disabled
--		if( not settings.profile.options.DEBUG_SKILLUSE.ENABLE ) then return; end
--		if( settings.profile.options.DEBUG_SKILLUSE[_reason] == false ) 	then  return; end;
		if not player:haveTarget() then return end
--		if( _reason == "ONCOOLDOWN"	and  not settings.profile.options.DEBUG_SKILLUSE.ONCOOLDOWN ) 	then  return; end;
--		if( _reason == "NOCOOLDOWN"	and  not settings.profile.options.DEBUG_SKILLUSE.NOCOOLDOWN ) 	then  return; end;
--		if( _reason == "HPLOW" 		and  not settings.profile.options.DEBUG_SKILLUSE.HPLOW ) 		then  return; end;
That should give you an idea of why it isn't being cast.

Re: Keys out of space, then use Macro spaces???

Posted: Sun Jan 27, 2013 9:24 am
by valsan
mmm... something strange... the debug msg never mention the explosion skill, is as if ignored:

Code: Select all

[DEBUG] PLAYERHASBUFF PRIEST_AMPLIFIED_ATTACK
[DEBUG] PLAYERHASBUFF PRIEST_GRACE_OF_LIFE
[DEBUG] NORAGEENERGYCONCEN PRIEST_CONDENSED_RAGE
Use MACRO: PRIEST_BATTLE_MONK_S=>   Hesp├®ride multicolor (20011/20011)
Use MACRO: PRIEST_MAGIC_BARRIER=>   Hesp├®ride multicolor (20011/20011)
Use MACRO: PRIEST_POWER_BUILD_U=>   * Failed to cast *
[DEBUG] USINGPETFUNCTION PRIEST_FIRE_FAIRY
Engaging enemy [Hesp├®ride multicolor] in combat.
[DEBUG] MAXHPPER PRIEST_SOUL_SOURCE 100 15
[DEBUG] MAXHPPER PRIEST_URGENT_HEAL 100 50
[DEBUG] MAXHPPER PRIEST_REGENERATE 100 80
Use MACRO: PRIEST_FIGHTING_SPIR=>   Hesp├®ride multicolor (19091/20011)
[DEBUG] NORAGEENERGYCONCEN PRIEST_ASCENDING_DRAGON_STRIKE
[DEBUG] PLAYERHASBUFF PRIEST_AMPLIFIED_ATTACK
[DEBUG] PLAYERHASBUFF PRIEST_GRACE_OF_LIFE
[DEBUG] NORAGEENERGYCONCEN PRIEST_CONDENSED_RAGE
[DEBUG] PLAYERHASBUFF PRIEST_BATTLE_MONK_STANCE
[DEBUG] PLAYERHASBUFF PRIEST_MAGIC_BARRIER
[DEBUG] ONCOOLDOWN PRIEST_POWER_BUILD_UP 26956
[DEBUG] MAXHPPER PRIEST_SOUL_SOURCE 99 15
[DEBUG] MAXHPPER PRIEST_URGENT_HEAL 99 50
[DEBUG] MAXHPPER PRIEST_REGENERATE 99 80
[DEBUG] ONCOOLDOWN PRIEST_FIGHTING_SPIRIT_COMBINATION 4246
[DEBUG] NORAGEENERGYCONCEN PRIEST_ASCENDING_DRAGON_STRIKE
[DEBUG] NOTINBATTLE PRIEST_AMPLIFIED_ATTACK <true> <true>
[DEBUG] NOTINBATTLE PRIEST_GRACE_OF_LIFE <true> <true>
[DEBUG] NORAGEENERGYCONCEN PRIEST_CONDENSED_RAGE
[DEBUG] NOTINBATTLE PRIEST_BATTLE_MONK_STANCE <true> <true>
[DEBUG] NOTINBATTLE PRIEST_MAGIC_BARRIER <true> <true>
[DEBUG] ONCOOLDOWN PRIEST_POWER_BUILD_UP 26038
[DEBUG] NOTINBATTLE PRIEST_FIRE_FAIRY <true> <true>
[DEBUG] MAXHPPER PRIEST_SOUL_SOURCE 99 15
[DEBUG] MAXHPPER PRIEST_URGENT_HEAL 99 50
[DEBUG] MAXHPPER PRIEST_REGENERATE 99 80
[DEBUG] ONCOOLDOWN PRIEST_FIGHTING_SPIRIT_COMBINATION 3217
Use MACRO: PRIEST_ASCENDING_DRA=>   Hesp├®ride multicolor (8391/20011)
[DEBUG] NOTINBATTLE PRIEST_AMPLIFIED_ATTACK <true> <true>
[DEBUG] NOTINBATTLE PRIEST_GRACE_OF_LIFE <true> <true>
Use MACRO: PRIEST_CONDENSED_RAG=>   * Failed to cast *
[DEBUG] NOTINBATTLE PRIEST_BATTLE_MONK_STANCE <true> <true>
[DEBUG] NOTINBATTLE PRIEST_MAGIC_BARRIER <true> <true>
[DEBUG] ONCOOLDOWN PRIEST_POWER_BUILD_UP 4477
[DEBUG] NOTINBATTLE PRIEST_FIRE_FAIRY <true> <true>
[DEBUG] MAXHPPER PRIEST_SOUL_SOURCE 98 15
[DEBUG] MAXHPPER PRIEST_URGENT_HEAL 98 50
[DEBUG] MAXHPPER PRIEST_REGENERATE 98 80
Use MACRO: PRIEST_FIGHTING_SPIR=>   Hesp├®ride multicolor (5452/20011)
Use MACRO: PRIEST_ASCENDING_DRA=>   Hesp├®ride multicolor (4242/20011)
[DEBUG] NOTINBATTLE PRIEST_AMPLIFIED_ATTACK <true> <true>
[DEBUG] NOTINBATTLE PRIEST_GRACE_OF_LIFE <true> <true>
[DEBUG] PLAYERHASBUFF PRIEST_CONDENSED_RAGE
[DEBUG] NOTINBATTLE PRIEST_BATTLE_MONK_STANCE <true> <true>
[DEBUG] NOTINBATTLE PRIEST_MAGIC_BARRIER <true> <true>
[DEBUG] ONCOOLDOWN PRIEST_POWER_BUILD_UP 1312
[DEBUG] NOTINBATTLE PRIEST_FIRE_FAIRY <true> <true>
[DEBUG] MAXHPPER PRIEST_SOUL_SOURCE 96 15
[DEBUG] MAXHPPER PRIEST_URGENT_HEAL 96 50
[DEBUG] MAXHPPER PRIEST_REGENERATE 96 80
[DEBUG] ONCOOLDOWN PRIEST_FIGHTING_SPIRIT_COMBINATION 2982
Use MACRO: PRIEST_ASCENDING_DRA=>   Hesp├®ride multicolor (1873/20011)
[DEBUG] NOTINBATTLE PRIEST_AMPLIFIED_ATTACK <true> <true>
[DEBUG] NOTINBATTLE PRIEST_GRACE_OF_LIFE <true> <true>
[DEBUG] PLAYERHASBUFF PRIEST_CONDENSED_RAGE
[DEBUG] NOTINBATTLE PRIEST_BATTLE_MONK_STANCE <true> <true>
[DEBUG] NOTINBATTLE PRIEST_MAGIC_BARRIER <true> <true>
[DEBUG] NOTINBATTLE PRIEST_POWER_BUILD_UP <true> <true>
[DEBUG] NOTINBATTLE PRIEST_FIRE_FAIRY <true> <true>
[DEBUG] MAXHPPER PRIEST_SOUL_SOURCE 96 15
[DEBUG] MAXHPPER PRIEST_URGENT_HEAL 96 50
[DEBUG] MAXHPPER PRIEST_REGENERATE 96 80
[DEBUG] ONCOOLDOWN PRIEST_FIGHTING_SPIRIT_COMBINATION 1134

Re: Keys out of space, then use Macro spaces???

Posted: Sun Jan 27, 2013 9:50 am
by rock5
I think that means it's not in the skills list.

Reasons why it would think that.
1. You don't have it in you profile skills list.
2. There is an error in it.
3. You have autouse="false"
4. For some reason it thought you couldn't use the skill so it never loaded it. Such as, wrong secondary class, level too low, some other requirement not being met, etc.
5. It used a different profile than the one you thought.
That's everything I can think of. Check those.

You can also start the commandline and type the following.

Code: Select all

for k,v in pairs(settings.profile.skills) do print(k,v.Name) end
And see if it lists the skill. If it does, you can get more info on it by typing
for k,v in pairs(settings.profile.skills[n]) do print(k,v) end
where 'n' is the corresponding number in the previous printout.

Re: Keys out of space, then use Macro spaces???

Posted: Sun Jan 27, 2013 12:10 pm
by valsan
uff i dont undertand :/

i get this output from the commands you give me:

Code: Select all

Command> for k,v in pairs(settings.profile.skills) do print(k,v.Name) end
1       PRIEST_SOUL_SOURCE
2       PRIEST_URGENT_HEAL
3       PRIEST_REGENERATE
4       PRIEST_FIGHTING_SPIRIT_COMBINATION
5       PRIEST_EXPLOSION_OF_FIGHTING_SPIRIT
6       PRIEST_ASCENDING_DRAGON_STRIKE
7       PRIEST_AMPLIFIED_ATTACK
8       PRIEST_GRACE_OF_LIFE
9       PRIEST_CONDENSED_RAGE
10      PRIEST_BATTLE_MONK_STANCE
11      PRIEST_MAGIC_BARRIER
12      PRIEST_POWER_BUILD_UP
13      PRIEST_FIRE_FAIRY
Command> for k,v in pairs(settings.profile.skills[5]) do print(k,v) end
NoBuffTarget    player
BuffName
MinRange        0
Mana    15
Range   50
MaxHpPer        100
TPToLevel       0
Blocking        false
AutoUse true
ManaInc 0
Rage    0
Type    0
CastTime        0
aslevel 0
NoBuffCount     0
MinManaPer      0
used    0
Cooldown        0
Available       false
maxuse  0
LastCastTime    table: 01D605B8
InBattle        true
Nature  0
skilltab        0
MaxManaPer      100
ReqBuffCount    0
Concentration   0
Target  0
Level   1
ReqBuffName     501977
priority        80
Toggled false
ReqBuffTarget   player
hotkey  MACRO
rebuffcut       0
pullonly        false
TargetMaxHp     9999999
Toggleable      false
TargetMaxHpPer  100
NoBuffName
Name    PRIEST_EXPLOSION_OF_FIGHTING_SPIRIT
skillnum        0
pull    false
Id      491362
Energy  0
MobCount        1
some idea?

the profile is correct, the skill list is posted up...

Re: Keys out of space, then use Macro spaces???

Posted: Sun Jan 27, 2013 1:41 pm
by rock5
It looks like it didn't find the skill in your skills book.

I noticed there are 2 ids for "Explosion of Fighting Spirit" listed in ItemPreview. Do you run the client in English? If not maybe the game uses the second id and maybe in your language they use a different name. Looks like Spanish and Turkish use different names.

If this is the case then try changing the id in the skills.xml file from 491362 to 495294.

Re: Keys out of space, then use Macro spaces???

Posted: Sun Jan 27, 2013 1:52 pm
by valsan
i will try this

Re: Keys out of space, then use Macro spaces???

Posted: Sun Jan 27, 2013 2:42 pm
by valsan
It works!!!

thanks :)

and yes, i use spanish client

Re: Keys out of space, then use Macro spaces???

Posted: Sun Jan 27, 2013 2:48 pm
by rock5
I'll change the id so it will be updated on my next commit.