topaz icon indicating copy to clipboard operation
topaz copied to clipboard

Weird way while going up the stairs in CSs

Open Gradius2 opened this issue 4 years ago • 5 comments

  • [X] I have searched existing issues (https://github.com/topaz-next/topaz/issues) to see if the issue has already been opened
  • [X] I have checked the commit log to see if the issue has been resolved since my server was last updated
  • [X] This issue occurs on release branch (if other branch, please specify)

Additional Information (Steps to reproduce/Expected behavior) :

I was pretty sure I wasn't seeing things, so I decided to check up some official CS on youtube to compare/confirm those claims, result I was correct.

On any CS involving stairs, the chars beheaves very weird (or wrong) way.

Official CS: https://youtu.be/-XfXj4UQcAk?t=269

Look @ Aldo going up the stairs (topaz server). https://user-images.githubusercontent.com/11011463/105931318-b914b600-6029-11eb-9be9-d409b3ffcf23.mp4

Gradius2 avatar Jan 27 '21 01:01 Gradius2

Weird i thought CS don't rely on anything from the server since they are client side >.<

I guess this would be related to navmeshes then?

kaincenteno avatar Jan 27 '21 03:01 kaincenteno

Interesting find!

My guess would be that this is a side effect of the speed and speedsub for Aldo's SQL entry being set to 40/40, instead of the modern default of 50/50. Then the client takes that information and determines "If you're going at this speed up the stairs, you are faster than your default speed, so play run animation". That would be my guess. You could change those values and run the CS and see if it fixes it 🤷‍♂️

  `speed` tinyint(3) unsigned NOT NULL DEFAULT '40',
  `speedsub` tinyint(3) unsigned NOT NULL DEFAULT '40',

INSERT INTO `npc_list` VALUES (17809493,'Aldo','Aldo',0,0.000,0.000,0.000,0,40,40,0,0,0,6,27,0x00004E0000000000000000000000000000000000,32,NULL,1);

zach2good avatar Jan 27 '21 05:01 zach2good

Isn't only with 'aldo' is any NPC in CSes. Hmm, perhaps is really the !speed cmd, I'll check it again with other CSes.

Gradius2 avatar Jan 27 '21 09:01 Gradius2

Interesting find!

My guess would be that this is a side effect of the speed and speedsub for Aldo's SQL entry being set to 40/40, instead of the modern default of 50/50. Then the client takes that information and determines "If you're going at this speed up the stairs, you are faster than your default speed, so play run animation". That would be my guess. You could change those values and run the CS and see if it fixes it man_shrugging

  `speed` tinyint(3) unsigned NOT NULL DEFAULT '40',
  `speedsub` tinyint(3) unsigned NOT NULL DEFAULT '40',

INSERT INTO `npc_list` VALUES (17809493,'Aldo','Aldo',0,0.000,0.000,0.000,0,40,40,0,0,0,6,27,0x00004E0000000000000000000000000000000000,32,NULL,1);

I would wager it is lower than 40 actually. Objects aren't universally set to a single speed liek the copy pasta db rows tend to be. I can find multiple examples of retail npcs moving at 12, 25, 40, 50... Speedsub tends to be 40 or 50 regardless of their regular speed, but speed is all over the place - especially in cut scene events! Zeid in Qu Bia Arena (archlich fight) is another prominent example of stutter-stair steps. The way forward is still the same: we need to verify they are using retail accurate speed/speedsub and see if that solves it.

TeoTwawki avatar Jan 27 '21 19:01 TeoTwawki

Happens to players and every single NPC.

ShiyoKozuki avatar Feb 11 '21 09:02 ShiyoKozuki