Configuring Merchant Class/Blacksmith/Mastersmith

Do you have a question or problem? Read this forum first! Someone has probably already asked the same thing in the past. Do not ASK questions here!

Moderators: Moderators, Documentation Writers

Message
Author
adlp1ph
Noob
Noob
Posts: 6
Joined: 06 Apr 2008, 15:26

Configuring Merchant Class/Blacksmith/Mastersmith

#1 Post 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
}

-Fallen-
Human
Human
Posts: 41
Joined: 04 Apr 2008, 19:30
Noob?: Yes
Location: Local Lingerie Shop

Re: Configuring Merchant Class/Blacksmith/Mastersmith

#2 Post 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 (:
Be an Underwear Thief. And be proud about it.

Read the Manual, its FREE!
http://www.openkore.com/wiki/index.php/Manual

gabby
Noob
Noob
Posts: 6
Joined: 07 Apr 2008, 09:23

Re: Configuring Merchant Class/Blacksmith/Mastersmith

#3 Post 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?

-Fallen-
Human
Human
Posts: 41
Joined: 04 Apr 2008, 19:30
Noob?: Yes
Location: Local Lingerie Shop

Re: Configuring Merchant Class/Blacksmith/Mastersmith

#4 Post 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.
Be an Underwear Thief. And be proud about it.

Read the Manual, its FREE!
http://www.openkore.com/wiki/index.php/Manual

Krai
Been there done that!
Been there done that!
Posts: 106
Joined: 04 Apr 2008, 16:23
Noob?: Yes
Location: The Bay

Re: Configuring Merchant Class/Blacksmith/Mastersmith

#5 Post 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.
Don't Get Owned! Do Your Research First.
The Manual | Packet Extractor | Use Macros | Server Info Guide | Old Forum
You got banned? Krai me a fuckin river..

-Fallen-
Human
Human
Posts: 41
Joined: 04 Apr 2008, 19:30
Noob?: Yes
Location: Local Lingerie Shop

Re: Configuring Merchant Class/Blacksmith/Mastersmith

#6 Post 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 (:
Be an Underwear Thief. And be proud about it.

Read the Manual, its FREE!
http://www.openkore.com/wiki/index.php/Manual

gabby
Noob
Noob
Posts: 6
Joined: 07 Apr 2008, 09:23

Re: Configuring Merchant Class/Blacksmith/Mastersmith

#7 Post 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...

-Fallen-
Human
Human
Posts: 41
Joined: 04 Apr 2008, 19:30
Noob?: Yes
Location: Local Lingerie Shop

Re: Configuring Merchant Class/Blacksmith/Mastersmith

#8 Post 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.
Be an Underwear Thief. And be proud about it.

Read the Manual, its FREE!
http://www.openkore.com/wiki/index.php/Manual

gabby
Noob
Noob
Posts: 6
Joined: 07 Apr 2008, 09:23

Re: Configuring Merchant Class/Blacksmith/Mastersmith

#9 Post 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.. ^^

-Fallen-
Human
Human
Posts: 41
Joined: 04 Apr 2008, 19:30
Noob?: Yes
Location: Local Lingerie Shop

Re: Configuring Merchant Class/Blacksmith/Mastersmith

#10 Post 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 :)
Be an Underwear Thief. And be proud about it.

Read the Manual, its FREE!
http://www.openkore.com/wiki/index.php/Manual

Locked