space-wizards / space-station-14

A multiplayer game about paranoia and chaos on a space station. Remake of the cult-classic Space Station 13.
https://spacestation14.io
MIT License
2.49k stars 3.09k forks source link

Kobold and Monkey AIs are broken now #30051

Open Plykiya opened 1 month ago

Plykiya commented 1 month ago

Description

They spawn, walk one or two steps, and they no longer respond to anything else after that

Related? https://github.com/space-wizards/space-station-14/pull/30017

Reproduction

Screenshots

Additional context

DieselMohawk commented 1 month ago

Does this include them running to grab weapons?

Plykiya commented 1 month ago

Does this include them running to grab weapons?

yes, you can hit them with a toolbox and they will not move an inch

deltanedas commented 1 month ago

think its the invalid-returning pr that caused it

it should cancel the task not return?

luizwritescode commented 1 month ago

not sure if it helps debugging but right now:

osjarw commented 1 month ago

Working on this right now, I believe I know whats going wrong.

osjarw commented 1 month ago

think its the invalid-returning pr that caused it

This is most likely related to the Better Planning PR, since that PR causes the planner to switch to higher priority tasks, and picking up a weapon is currently a higher priority task than attacking hostiles.

it should cancel the task not return?

I believe that cancelling a task is done by returning HTNOperatorStatus.Failed, which it now does upon getting an invalid Uid.