Players Online
0
Please be invited to the special battle royale event that is organised
by player Lamusini and will take place in the arena prepared specifically
for this event! More information available in the event's forum topic.
Changelog
26 Oct 2024 - Thanks to a few tweaks to the back-end infrastructure, the server save will now last 10 minutes at most, rather than way over 20 as it did before. Check full changelog...

#1

12.10.2024 23:57:49

Tarsal
Player

Level: 39
Profession: Druid
Residence: Ab'Dendriel

Mau of the Bolts and Cats

Posts: 20

Re: Tibiantis-notes article on Speed


A detailed guide on how speed works in Tibia 7.4, from Tibiantis Notes:

Tibiantis Notes - Speed

Any corrections/ validation welcome.
  • Last edited 12.10.2024 23:58:17.
  • Quote

#2

21.10.2024 04:07:46

Kay
God

Level: 25
Profession: Elder Druid
Residence: Ab'Dendriel
Posts: 238

Re: Tibiantis-notes article on Speed


Tarsal  wrote:


Any corrections/ validation welcome.


"Then resulting value is rounded down." - It's rounded down to the nearest even number. Because the speed value on the client's side is always an even number. So, for example level 25 with strong haste has 398 speed, not 399. This is important, because you may sometimes expect to already reach certain "breakpoint" with haste or strong haste, but it turns out that you end up missing that one point.

The creature speed calculations seem incorrect. It looks like you took values from the original .mon files and tried to relate them to the client's side speed by adding 150, right? E.g. 70 + 150 = 220 for human, 155 + 150 = 305 for black knight etc. Speaking from my memory now, the actual server->client speed relation is n * 2 + 80. Which means that black knight's speed would be 390. This is also why speed value on the client's side is always an even number.

"Using Pythagoras a diagonal step should take 1.41x longer than an orthogonal one, but instead it takes 3 times longer!" - My guessing is that it is because of what you said after this. When you move a step, you are immediately on that square but need to wait the step duraton before moving again. They probably considered that moving a diagonal step is like moving two steps at once immediately, which is always* better than moving two steps one after the other. Imagine that you want to move to north-west and one step is supposed to take 0.5 second. If you do it orthogonally (west and north), you end up on your target square in 0.5 second (and can't move for another 0.5), but if you do it diagonally you end up there in 0 seconds. That's why they allowed it for the cost of 3 steps, rather than just 2 or even 1.41. But again, that's just my guessing.

* - of course, unless you are trying to avoid SDs with your moves ;)
  • Last edited 21.10.2024 04:12:56.
  • Quote

© Copyright by Tibiantis Online 2020-2024. All rights reserved.


All times are CET (GMT+01:00). This page was generated at 09:09.