Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single crafting action produces two tree taps #77

Open
mpatsift opened this issue Nov 22, 2022 · 5 comments
Open

Single crafting action produces two tree taps #77

mpatsift opened this issue Nov 22, 2022 · 5 comments

Comments

@mpatsift
Copy link

mpatsift commented Nov 22, 2022

In this nonov tournament:
/home/musliner/openmind/code/test/results/pal-tournament-v2-nonov-100-games3-2022-11-21-170029-openmind0/
In game 15, our agent crafts a tree tap and two show up in inventory. See attached log excerpts.
bridge-two-tree-taps-excerpts.log

@StephenGss
Copy link
Owner

I know this is old now, but could you send me the entire log for that. I'm wondering if the agent had another tree tap before this and the bug is that it isn't showing up properly in the inventory. The first line shows a tree_tap in the inventory with a count of zero.

@mpatsift
Copy link
Author

@StephenGss
Copy link
Owner

I've looked through the log and It's clear why there are two tree taps.
At 17:15:35 the agent crafts a tree tap, then tries to place it. For some reason the placement failed and I think this is where PAL messed up. I believe it didn't update the inventory correctly so the agent couldn't see the tree tap still in the inventory.

Then the agent crafts another tree tap at 17:15:42 and after crafting the inventory gets updated correctly.

I am still trying to figure out why the placement didn't work.

@mpatsift
Copy link
Author

Yes, you're right. I see the earlier craft and failed place. And after the place fails tree tap agent inventory is zero and there's no tree tap in the environment. However, it looks like polycraft is still telling our agent that the tree tap is the selected item. Then when the agent crafts a new tree tap inventory jumps straight from zero to two.

@StephenGss
Copy link
Owner

I've run through the same config with the same actions and it seems this happens when the agent tries to place a tree tap right where the pogoist is teleporting to. It's possible this was fixed between when it first occurred and the 36M eval. This is also an old config that shouldn't be used anymore as one of the traders is inside the wall.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants