Help with Copper Meadows?


#1

Collect all the coins in each meadow.

Use flags to move between meadows.

Press Submit when you are ready to place flags.

while True:
flag = hero.findFlag()
if flag:
# Pick up the flag.
hero.pickUpFlag(flag)
else:
# Automatically move to the nearest item you see.
item = self.findNearestItem()
if item:
position = item.pos
x = position.x
y = position.y
self.moveXY(x, y)


#2

Your syntax looks correct but no one can see the structure of your code because you didn’t use the </> button when you pasted it here. Also, you haven’t stated what’s wrong.


#3

Yes, like MunkeyShynes said. You also need to tell us your problem(and maybe your gear)