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

i need help for this macro

#1 Post by krisma »

automacro 1b {
location prontera
zeny > 1000000000
exclusive 1
call {

do closeshop
pause 1
do move prontera 133 184
pause 5
do talknpc 38 104 r1 r1
pause 2
do move prt_in 53 106
pause 3
do move prontera 45 212
pause 2
do openshop
release 1b

}
all it triggers is "wrong # of arguments <> <99999999>
i tried switching stuff like from this= zeny > 1000000000
to this = zeny 1000000000 >
can anyone help me with this one
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: i need help for this macro

#2 Post by EternalHarvest »

Similar automacro works for me, which revision of openkore and macro plugin?
krisma
Human
Human
Posts: 36
Joined: 05 Mar 2009, 07:47
Noob?: Yes

Re: i need help for this macro

#3 Post by krisma »

im using this macro (2.0.7-compatible branch to use with OpenKore 2.0.7)
i dont know what version of openkore im using,but i downloaded it at this site
http://openkore.collectskin.com/

oh and more thing.the automacro doesnt trigger even if the bot has 1b++
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: i need help for this macro

#4 Post by EternalHarvest »

You should use latest macro plugin, not the one for 2.0.7 since you're not using 2.0.7.

If that won't help, start with empty macros.txt and try simple things, like

Code: Select all

automacro 1b {
	zeny > 1000000000
	exclusive 1
	call {
		log ok
	}
}
krisma
Human
Human
Posts: 36
Joined: 05 Mar 2009, 07:47
Noob?: Yes

Re: i need help for this macro

#5 Post by krisma »

where can i download the latest version of macro?can you please post the link.
thank you
KoreGhost
Developers
Developers
Posts: 124
Joined: 28 Mar 2011, 12:48
Noob?: No
Location: Brazil

Re: i need help for this macro

#6 Post by KoreGhost »

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

Re: i need help for this macro

#7 Post by krisma »

thank you very much.you can close the topic now
the macro works fine now :)
krisma
Human
Human
Posts: 36
Joined: 05 Mar 2009, 07:47
Noob?: Yes

Re: i need help for this macro

#8 Post by krisma »

i need another help.when i installed the new macro that you gave me.one of my macro's stopped working.It was perfectly working before but when i installed the macro it was no longer working.

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
}
}

i dont know whats wrong with it,it does trigger but when the bot is about to talk to the npc a message shows up and say "error in 2: syntax error"
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

#9 Post by Kaspy »

[EN]
According to this page (http://openkore.com/index.php/Macro), try using something like @inventory

[PT-BR]
Segundo essa página (http://openkore.com/index.php/Macro), tente usando algo como @inventory
Image
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: i need help for this macro

#10 Post by EternalHarvest »

KeplerBR wrote:According to this page (http://openkore.com/index.php/Macro), try using something like @inventory
Automacro conditions may be preferrable due to bad design of a macro plugin, and they should work anyway.