i need help for this macro

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

Moderator: Moderators

krisma
Human
Human
Posts: 36
Joined: 05 Mar 2009, 07:47
Noob?: Yes

Re: i need help for this macro

#11 Post by krisma »

ive already tried tweeking it that way adding @..still not working
rocknroll
Been there done that!
Been there done that!
Posts: 118
Joined: 19 Sep 2011, 07:30
Noob?: Yes

Re: i need help for this macro

#12 Post by rocknroll »

Code: Select all

automacro brokenpantie {
inventory "[BROKEN] Pantie" > 0
exclusive 1
hp > 95%
map prontera
run-once 1
call {
do move prt_in 58 58
pause 2
talknpc 63 54 c r0 c r0
release brokenpantie
}
}
not sure if that state BROKEN or [BROKEN] hahaha.
ohh btw, use new macro plugin http://openkore.svn.sourceforge.net/vie ... /?view=tar
Sorry, my english is very bad !
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: i need help for this macro

#13 Post by EternalHarvest »

rocknroll wrote:ohh btw, use new macro plugin http://openkore.svn.sourceforge.net/vie ... /?view=tar
That's by no chance "new", that's 2.0.7-compatible branch which won't work correctly with current revisions. Links to everything are (and would be updated if needed) in macro plugin manual, link instead to it please.
krisma
Human
Human
Posts: 36
Joined: 05 Mar 2009, 07:47
Noob?: Yes

Re: i need help for this macro

#14 Post by krisma »

inventory "[BROKEN] Pantie" > 0
this wont do,automacro will not trigger

automacro works fine,it triggers when all conditions are met..
what my problem is when its about to do
talknpc 63 54 c r0 c r0 syntax error comes out of the console and stops the macro right away

@_@ simple thing,so hard to figure it out..that macro was working before i updated my macro.pl
krisma
Human
Human
Posts: 36
Joined: 05 Mar 2009, 07:47
Noob?: Yes

Re: i need help for this macro

#15 Post by krisma »

i have a solution now

automacro brokenpantie{
inventory "BROKEN Pantie" > 0
map prontera
run-once 1
call timetorepair
}

macro timetorepair{
do move prt_in 58 58
pause 2
do talk 4
pause 3
do talk cont
do talk resp 0
pause 3
do talk cont
do talk resp 0
pause 2
release brokenpantie
}

this one works fine..but developers has to check whats wrong with the first one that i have
KoreGhost
Developers
Developers
Posts: 124
Joined: 28 Mar 2011, 12:48
Noob?: No
Location: Brazil

Re: i need help for this macro

#16 Post by KoreGhost »

talknpc 63 54 c r0 c r0 is wrong.

All console command must be preceded by "do" in macros.

do move
do sit
do stand
do c
....

do talknpc 63 54 c r0 c r0
krisma
Human
Human
Posts: 36
Joined: 05 Mar 2009, 07:47
Noob?: Yes

Re: i need help for this macro

#17 Post by krisma »

ive also tried adding do talknpc nevertheless it failed..
and like i said the macro was working before.when i updated the macro pl.
thats when it stopped working
Kaspy
Halfway to Eternity
Halfway to Eternity
Posts: 398
Joined: 08 Jun 2012, 15:42
Noob?: No
Location: Brazil

Re: i need help for this macro

#18 Post by Kaspy »

[EN]
What went wrong?
He tried to talk to the NPC and the console has the codes for the macro?

[PT-BR]
O que fez de errado?
Tentou conversar com o NPC pelo console e passou os códigos para o macro?
Image
krisma
Human
Human
Posts: 36
Joined: 05 Mar 2009, 07:47
Noob?: Yes

Re: i need help for this macro

#19 Post by krisma »

KeplerBR wrote:[EN]
What went wrong?
He tried to talk to the NPC and the console has the codes for the macro?

[PT-BR]
O que fez de errado?
Tentou conversar com o NPC pelo console e passou os códigos para o macro?

he walks near to the location of the npc,the he talks to the npc after the 1st line boom
syntax error
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: i need help for this macro

#20 Post by EternalHarvest »

Without "do" the line with "talknpc" would be a syntax error.