Strange error while working on macros...

International

Moderator: Moderators

geometry77
Noob
Noob
Posts: 12
Joined: 27 May 2008, 02:57
Noob?: Yes

Strange error while working on macros...

#1 Post by geometry77 »

Greeetings fellas, well i'm currently working on making control which can automatically switch

between hunter char(rogues, monk, knight etc) and merch char in same acc in order to gather

loots with hunters, but sell them with merchs. so i managed to initiate switching char, but

when making macros which can work without conflict on both char, i ran into this error:

[cmpr: wrong # of arguements <0><><>] (in red letters) Below is the portion of macro i

wrote:

automacro callautostorageHunter {
inventory "Unknown #6219" > 0
weight >= 48%
run-once 1
call autostorage

}
automacro callautostorageSeller {
location prontera #my merch char never leaves pront, and hunter char never
weight < 1% #will enter pront
run-once 1
call autostorage

}
macro autostorage {
do autostorage
}

what i tried to do was that when in hunter char, it's supposed to autostorage only when its

weight is 48% or higher, and in merch char, when its weight is lower than 1% (0 weight,

sold/got no loots) but since merch char usually do get above 48% when he took out the loot

from storage, in order to prevent him from doing storage again by [callautostorageHunter]

macro, i put [inventory "Unknown #6219" > 0] condition (unknown 6219 is eden equip on

hunter char only, and all hunter char always has it and no merch char ever will have it ) and

when i put it in test, it worked fine on merch char but when i switched to hunter char error

something like (not exact word to word, but pretty close, and in red letters)

[cmpr: wrong # of arguements <0><><>] came out and kore seems to be trying to do

storage but failing
(it talks to kafra but dont get too far from it)

now i can only guess for reasons why there might be problem,
1. something wrong with my syntax/logic in macro (ex.putting two automacros does not work as "one automacro work when conditions met, even when config.txt is switched" or [inventory "Unknown #6219" > 0] isn't correct in someway)

2. becuz of itemcontrol.txt problem which i didn't get to yet. the itemcontrol which adapts to diff char isn't made yet and maybe that's the reason?

3. anything else that might cause problems. (config probably isn't problem becuz it worked fine until i fixed macro and i didn't touch it since then)
kimmylee
Noob
Noob
Posts: 19
Joined: 02 Jun 2010, 08:18
Noob?: Yes

Re: Strange error while working on macros...

#2 Post by kimmylee »

did u put a release on ur macro?