[SOLVED] Second Gem problem

I believe my code is good, but for some reason after the first gem is picked up no more gems appear. this is my code–

while True:
    items = hero.findItems()
    # If the length of items is greater or equal to 2:
    if len(items) >= 2:
        # Move to the second item in items
    # Else:
        # Move to the center mark.

Never mind. The problem was my hero.moveXY(40,35) was off by one increment, the correct number was (40,34).

Hello, sorry, since you could solve it, do you think you can help me? I can’t collect the 10 gems and my code is correct, what is wrong? :frowning:

Hello this person is not active anymore and please stick to your first topic.

1 Like