WaywardGame / tars

TARS is a bot that will play Wayward by itself, doing tasks such as gathering resources, setting up a camp, hunting, getting food/water, and more!
MIT License
9 stars 0 forks source link

TARS gets stuck in "acquiring chest" endless loop on another player's chest #4

Closed addictgamer closed 2 years ago

addictgamer commented 2 years ago

I did a little experiment where I tried running two instances of the game on my system side by side and then launching TARS on both players in a locally hosted server.

After letting both of them run around for a bit, I quickly started seeing some strange behavior with chests. Among other issues (such as what at one point looked like them fighting to pick up and place down eachothers' chests very early on. I disabled TARS 1 and got rid of his chest and then walked him to the other side of the island (spoiler: instead of building his own base there, he shortly walked back once I re-enabled him :) )), I eventually saw TARS 1 get stuck in an infinite loop trying to pick up TARS 2's chest (and failing, because it had items): image

I did have the "good citizen" setting enabled, but I guess it only prevents TARS from robbing the contents of other players' chests and doesn't necessarily stop interference with their base? (On that note, TARS 1 never built its own base. I'd started TARS 2 before starting TARS 1, so the only things I saw TARS 1 do with regards to base building was rush over to the campfire every now and again to place the two stills on the left side, and also try to steal the chests)

Could these problems be an issue with TARS not being cognizant of other players' structures?

(By the way, this thing is very neat!! I've always been fascinated by player-like bots :clap: )

Spacetech commented 2 years ago

Thanks for the report. Multiple TARS definitely do like to fight over resources!

This specific issue should be fixed in the next Wayward / TARS release - https://steamcommunity.com/games/wayward/announcements/detail/3337750462918506194 You can view some of the TARS fixes via this search query - there's more fixes than what's just listed there though.

addictgamer commented 2 years ago

Awesome!

Hmm, that search query link doesn't seem to work for me...is it maybe trying to search my content (of which I have none on this fresh Trello account) instead of Wayward's boards? We couldn't find anything matching that search. Try again with a different term. But I do see the Wayward TODO board link from the Steam announcement, so if it's the same content as the last column in that board then don't worry about the search query :+1: