Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Bug Interacting with GroundItem

Joined
Jan 31, 2017
Messages
121
A lot of times my bot tries to pick up a small tile from the ground using
Code:
groundItem.interact("Take", groundItem.getDefinition().getName());
and the bot does not manage to do anything within 60 calls. I've observed, that it sometimes hovers the item for a split second.

To get a better understanding of the situation:
Imgur: The most awesome images on the Internet

As you can see, the tile located just south of the player is very small. I've found
Code:
if(groundItem.hover()){ groundItem.interact(...) }
to be improving, but I've been told that it is redundant because
Code:
.interact()
already handles movement.

Any help is greatly appreciated :)
 
Joined
Dec 31, 2015
Messages
602
Firstly just pass in "Take" and don't bother passing the name of the object in.

Secondly, Marks of grace are a good example here, you want to make sure your camera is very high pitch in order to interact better, additionally, by increasing camera height it means misclicks will only result on you moving to the same tile instead of wandering half the map away :p
 
Joined
Jan 31, 2017
Messages
121
Firstly just pass in "Take" and don't bother passing the name of the object in.

Secondly, Marks of grace are a good example here, you want to make sure your camera is very high pitch in order to interact better, additionally, by increasing camera height it means misclicks will only result on you moving to the same tile instead of wandering half the map away :p

Firstly, thanks, wasn't sure about that :)

Secondly, the pitch in this situation is always 1.0. Missclicks wound't be a big deal, but the problem is there aren't any clicks at all :rolleyes:
 
Top