macro latest version location problem

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

Moderator: Moderators

botty
Noob
Noob
Posts: 14
Joined: 20 Jan 2011, 11:21
Noob?: Yes

macro latest version location problem

#1 Post by botty »

Code: Select all

automacro sellgold {
	exclusive 1
	location prontera 144 215 140 197
	inventory gold > 1
	call {
	do talknpc 152 209
	do sell
	do sell 0 400
	do sell done
	}
	timeout 5
}
im inside the given coordinates but it still doesnt work
my coordinates is:
143 209
Last edited by botty on 21 Aug 2011, 10:19, edited 1 time in total.
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: macro latest version location problem

#2 Post by EternalHarvest »

botty wrote:location prontera 144 215 140 197
Would match no points, according to the manual.
botty
Noob
Noob
Posts: 14
Joined: 20 Jan 2011, 11:21
Noob?: Yes

Re: macro latest version location problem

#3 Post by botty »

what do you it by match no point?

isnt it like this?
location <map> <x1> <y1> <x2> <y2>
VashTheStampede
Plain Yogurt
Plain Yogurt
Posts: 68
Joined: 11 Jun 2011, 01:47
Noob?: No

Re: macro latest version location problem

#4 Post by VashTheStampede »

You are correct. The manual says
When both <x1> <y1> and <x2> <y2> are defined it triggers when you are on <mapname> somewhere between <x1>, <y1> (upper left) and <x2>, <y2> (lower right)