skymp icon indicating copy to clipboard operation
skymp copied to clipboard

perf: improve game framerate

Open Pospelove opened this issue 1 year ago • 5 comments

Pospelove avatar Jul 28 '22 02:07 Pospelove

who will do it. I see you fix something

Pospelove avatar Jul 29 '22 20:07 Pospelove

@SupAidmi Doors fixed

Pospelove avatar Aug 28 '22 21:08 Pospelove

Correct me if I'm wrong, but all the changes past "fix doors and plants" seem unnecessary. Remove the check for closing and opening door states, and you'll get the activations.

skymp5-client\src\skympClient.ts

(For demonstration purposes I've left the lock check in there. It should be the only check on that line) image

skymp5-client\src\extensions\objectReferenceEx.ts

Almost forgot, that you'll need to remove the activation block there as well.

reveriadive avatar Sep 02 '22 04:09 reveriadive

Correct me if I'm wrong, but all the changes past "fix doors and plants" seem unnecessary. Remove the check for closing and opening door states, and you'll get the activations.

skymp5-client\src\skympClient.ts

(For demonstration purposes I've left the lock check in there. It should be the only check on that line) image

skymp5-client\src\extensions\objectReferenceEx.ts

Almost forgot, that you'll need to remove the activation block there as well.

not sure. could you please pull request your version with that small change so the team could check that

Pospelove avatar Sep 02 '22 12:09 Pospelove

not sure. could you please pull request your version with that small change so the team could check that

Sure. This doesn't just include your changes though. I've confirmed that open entrance areas send an activation as well.

reveriadive avatar Sep 02 '22 23:09 reveriadive