Jump to content

Clients with movement prediction can't stop entities that check if a player wants to give them an item


hoxi
  • Fixed

Remote clients with prediction enabled won't buffer the action on the server until they reach the destination to start it. This results in Trader:IsTryingToTradeWithMe returning false. This is pretty severe and causes very noticeable inconsistencies.

This issue affects all entities using the following brains:

  • abigailbrain
  • bunnymanbrain
  • cozy_bunnymanbrain
  • gnarwailbrain
  • hermitcrabbrain
  • mermbrain
  • mermguardbrain
  • pigbrain
  • sharkboibrain
  • spiderbrain
  • spider_waterbrain
  • wagstaff_npcbrain

This also causes Pig Guards to aggro towards clients with prediction enabled that are attempting to trade with them, despite not being supposed to under certain conditions.


Steps to Reproduce
  • Disable client prediction and either join a game or host a server with caves.
  • Attempt to give an item to the entities mentioned in the report.
  • Observe how their behavior changes when within trade range. They will usually stop moving and face the player. Pig Guards should also not aggro the trading player under certain conditions.
  • Repeat the steps with client prediction enabled.
  • Notice how their behavior doesn't change, outside of the specific case of having the entity update its brain after the action is started and before it's completed, which at this point is too late.



User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...