Page 1 of 7

Configuring Merchant Class/Blacksmith/Mastersmith

Posted: 06 Apr 2008, 15:43
by adlp1ph
Merchant/Blacksmith/Mastersmith:


Crazy Uproar/Adrenaline Rush/Power Thrust/Weapon Perfection

Code: Select all

useSelf_skill Crazy Uproar {
	lvl 1
	maxCastTime 0
	minCastTime 0
	hp
	sp
	homunculus_hp
	homunculus_sp
	homunculus_dead
	onAction
	whenStatusActive
	whenStatusInactive Crazy Uproar
	whenFollowing
	spirit
	aggressives
	monsters
	notMonsters
	stopWhenHit 0
	inLockOnly 0
	notWhileSitting 1
	notInTown 1
	timeout 0
	disabled 0
	inInventory
	manualAI 0
}

useSelf_skill Adrenaline Rush {
	lvl 5
	maxCastTime 0
	minCastTime 0
	hp
	sp >= 10%
	homunculus_hp
	homunculus_sp
	homunculus_dead
	onAction
	whenStatusActive
	whenStatusInactive Adrenaline Rush
	whenFollowing
	spirit
	aggressives
	monsters
	notMonsters
	stopWhenHit 0
	inLockOnly 0
	notWhileSitting 1
	notInTown 1
	timeout 0
	disabled 0
	inInventory
	manualAI 0
}

useSelf_skill Power-Thrust {
	lvl 5
	maxCastTime 0
	minCastTime 0
	hp
	sp >= 10%
	homunculus_hp
	homunculus_sp
	homunculus_dead
	onAction
	whenStatusActive
	whenStatusInactive Power-Thrust
	whenFollowing
	spirit
	aggressives
	monsters
	notMonsters
	stopWhenHit 0
	inLockOnly 0
	notWhileSitting 1
	notInTown 1
	timeout 0
	disabled 0
	inInventory
	manualAI 0
}

useSelf_skill Weapon Perfection {
	lvl 5
	maxCastTime 0
	minCastTime 0
	hp
	sp >= 10%
	homunculus_hp
	homunculus_sp
	homunculus_dead
	onAction
	whenStatusActive
	whenStatusInactive Weapon Perfection
	whenFollowing
	spirit
	aggressives
	monsters
	notMonsters
	stopWhenHit 0
	inLockOnly 0
	notWhileSitting 1
	notInTown 1
	timeout 0
	disabled 0
	inInventory
	manualAI 0
}
POWER MAXIMIZE

turning Power Maximize ON and OFF:


Turn ON if your SP is greater than or equal to 90%

Code: Select all

useSelf_skill Power Maximize {
	lvl 5
	maxCastTime 0
	minCastTime 0
	hp
	sp >= 90%
	homunculus_hp
	homunculus_sp
	homunculus_dead
	onAction
	whenStatusActive
	whenStatusInactive Power Maximize
	whenFollowing
	spirit
	aggressives
	monsters
	notMonsters
	stopWhenHit 0
	inLockOnly 0
	notWhileSitting 1
	notInTown 1
	timeout 0
	disabled 0
	inInventory
	manualAI 0
}

Turn OFF Power Maximize when your SP is less than or equal to 50%

Code: Select all

useSelf_skill Power Maximize {
	lvl 5
	maxCastTime 0
	minCastTime 0
	hp
	sp <= 50%
	homunculus_hp
	homunculus_sp
	homunculus_dead
	onAction
	whenStatusActive Power Maximize
	whenStatusInactive
	whenFollowing
	spirit
	aggressives
	monsters
	notMonsters
	stopWhenHit 0
	inLockOnly 0
	notWhileSitting 1
	notInTown 1
	timeout 0
	disabled 0
	inInventory
	manualAI 0
}

Re: Configuring Merchant Class/Blacksmith/Mastersmith

Posted: 07 Apr 2008, 00:02
by -Fallen-
just to add on to this post:

you could actually simplify that a lot by removing those commands which are not in use (in other words those with a boolean of 0). that would make it easier to see what are the conditions used.

useSelf_skill Crazy Uproar {
lvl 1
onAction Attack
whenStatusInactive Crazy Uproar
notWhileSitting 1
notInTown 1
}

something like that (:

Re: Configuring Merchant Class/Blacksmith/Mastersmith

Posted: 08 Apr 2008, 03:12
by gabby
i have set knife to have 0 0 0 1 in items control text...

the problem is it stopped attacking when it reached the 100-item cap... (NOT CART WEIGHT...) but when i change the configuration for knife to 1, it start attacking again... i think what kore does is it tries to still put in cart the knives even though there is no space anymore, and as a result.. it becomes idle...

what i want to do: still attacked even though my cart is full until my inventory reaches it max number of items..


anyone had the same problems before?

Re: Configuring Merchant Class/Blacksmith/Mastersmith

Posted: 08 Apr 2008, 12:54
by -Fallen-
this is actually relatively new to me but, u could try using macros to autostore each time your cart items hit 100.or another option would be to just store stackable items in your cart instead of things like weapons which will fill it up pretty quickly.

Re: Configuring Merchant Class/Blacksmith/Mastersmith

Posted: 08 Apr 2008, 18:44
by Krai
-Fallen- wrote:this is actually relatively new to me but, u could try using macros to autostore each time your cart items hit 100.or another option would be to just store stackable items in your cart instead of things like weapons which will fill it up pretty quickly.
lol, that is what i told him in a PM before he posted this. i couldn't really think of another solution off the top of my head either.

Re: Configuring Merchant Class/Blacksmith/Mastersmith

Posted: 08 Apr 2008, 20:19
by -Fallen-
haha.yea.i figured thats probably the only option left, since openkore does not actually have functions that will "read" when the cart is full lol. anyways, heres the macros link ---> http://www.openkore.com/wiki/index.php/Macro_plugin

just read thru and try to make one macro for this.if u need help, just ask (:

Re: Configuring Merchant Class/Blacksmith/Mastersmith

Posted: 08 Apr 2008, 21:33
by gabby
so kore isnt capable YET of evaluating the number of items in cart... thx guys... how about seliing items from cart? (cart --> inventory --> npc) do i nid a macro for this?

doing atm : reading the macro guide...

Re: Configuring Merchant Class/Blacksmith/Mastersmith

Posted: 08 Apr 2008, 22:02
by -Fallen-
@gabby yes you do. (i might be wrong, someone confirm? >.<) i cant think of any config which allows for that.u could actually just use the macro to transfer items from cart to inventory, den set a condition to autosell either using macros, or openkore commands. but i think fully macro-ing the whole thing would be better.

Re: Configuring Merchant Class/Blacksmith/Mastersmith

Posted: 08 Apr 2008, 22:59
by gabby
i have seen some light... i had read ezza's thread regarding eval in macros... and from what i had read, it can changed items_control.txt at runtime of the macro (well at her/his post, it was the mon_control.txt) so basically, if the cart reached the item cap, it will change the setting of the knife from 0 0 0 1 to 0 1 0.... hmm... a litlle tweaking i must say... ^^

OT: fallen, ur avatar is making me laugh everytime i see it.. ^^

Re: Configuring Merchant Class/Blacksmith/Mastersmith

Posted: 08 Apr 2008, 23:37
by -Fallen-
theres some interesting findings there.try to create a macro to actually do that, it would be extremely helpful to other merchant class players.again, if u need help, feel free to ask (even though im not any good at macros -.-) heh.thanks.the avatar makes me smile too :)