i need help for this macro
Moderator: Moderators
-
- Human
- Posts: 36
- Joined: 05 Mar 2009, 07:47
- Noob?: Yes
Re: i need help for this macro
ive already tried tweeking it that way adding @..still not working
-
- Been there done that!
- Posts: 118
- Joined: 19 Sep 2011, 07:30
- Noob?: Yes
Re: i need help for this macro
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
}
}
ohh btw, use new macro plugin http://openkore.svn.sourceforge.net/vie ... /?view=tar
Sorry, my english is very bad !
-
- Developers
- Posts: 1798
- Joined: 05 Dec 2008, 05:42
- Noob?: Yes
Re: i need help for this macro
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.rocknroll wrote:ohh btw, use new macro plugin http://openkore.svn.sourceforge.net/vie ... /?view=tar
-
- Human
- Posts: 36
- Joined: 05 Mar 2009, 07:47
- Noob?: Yes
Re: i need help for this macro
this wont do,automacro will not triggerinventory "[BROKEN] Pantie" > 0
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
-
- Human
- Posts: 36
- Joined: 05 Mar 2009, 07:47
- Noob?: Yes
Re: i need help for this macro
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
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
-
- Developers
- Posts: 124
- Joined: 28 Mar 2011, 12:48
- Noob?: No
- Location: Brazil
Re: i need help for this macro
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
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
-
- Human
- Posts: 36
- Joined: 05 Mar 2009, 07:47
- Noob?: Yes
Re: i need help for this macro
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
and like i said the macro was working before.when i updated the macro pl.
thats when it stopped working
-
- Halfway to Eternity
- Posts: 398
- Joined: 08 Jun 2012, 15:42
- Noob?: No
- Location: Brazil
Re: i need help for this macro
[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?
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?
-
- Human
- Posts: 36
- Joined: 05 Mar 2009, 07:47
- Noob?: Yes
Re: i need help for this macro
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
-
- Developers
- Posts: 1798
- Joined: 05 Dec 2008, 05:42
- Noob?: Yes
Re: i need help for this macro
Without "do" the line with "talknpc" would be a syntax error.