Melee animation to hitsplat is too short for this to matter.
It’ll mainly matter with range and magic from a distance (which is rarely used to stack people out)
Melee animation to hitsplat is too short for this to matter.
I haven't played runescape since I think right when osrs became a thing again, and I swear I remembered that if you had the correct prayer on before the projectile hit you it was blocked. I was watching a video and I guess I was mistaken.Mike wrote: ↑Wed Jan 13, 2021 3:23 pm The main thing I have deducted in the comments so far is, basically, prayer and hit calculations work fine on PkHonor but when you have a high ping it can lead to issues because you cannot pray in time.
Many Europeans probably have a ping of about 100 - 200ms since our server is located in North America. As a European, I once tried to play League of Legends on a North America server and my ping was about 200ms, making the game much harder to play for me, despite otherwise having a stable connection. In OSRS and in RSPS, it's far less noticeable, because 200ms is a third of a game tick (600ms). That also means European players on an American server will barely notice this delay.
However, it can indeed be an issue for switching prayers in time. If you have a 200ms ping and you see an animation being performed by an NPC, that actually means the animation was already being performed 200ms earlier. Then even if you immediately click to activate your prayer, it'll take another 200ms before that prayer activation reaches the server. In other words, because of the slowness of the animation visual to reach you and the prayer activation to reach the server, that 200ms ping just caused your prayer activation to arrive 400ms later, or close to a full game tick later than it would for a North American player.
Either way, except for Jad, if you see the enemy perform an animation, it's already too late to pray against it.
If our server does indeed work correctly in terms of timing and when damage is calculated, I believe the best solution might be to add a slight delay (for example 1 game tick) between starting the attack animation and doing the calculation of the damage. This means that XP drops will be delayed by 1 tick, but at the same time allow the defender to switch prayers in time for an incoming hit.
Do you think this approach would solve the issues, or is there more to this?
I have a constant 300 ping (from australia) which I'm completely fine with, I think if you where to implement such a change in PvP it would create an unfair playing field for those with better ping.Mike wrote: ↑Wed Jan 13, 2021 3:23 pm The main thing I have deducted in the comments so far is, basically, prayer and hit calculations work fine on PkHonor but when you have a high ping it can lead to issues because you cannot pray in time.
Many Europeans probably have a ping of about 100 - 200ms since our server is located in North America. As a European, I once tried to play League of Legends on a North America server and my ping was about 200ms, making the game much harder to play for me, despite otherwise having a stable connection. In OSRS and in RSPS, it's far less noticeable, because 200ms is a third of a game tick (600ms). That also means European players on an American server will barely notice this delay.
However, it can indeed be an issue for switching prayers in time. If you have a 200ms ping and you see an animation being performed by an NPC, that actually means the animation was already being performed 200ms earlier. Then even if you immediately click to activate your prayer, it'll take another 200ms before that prayer activation reaches the server. In other words, because of the slowness of the animation visual to reach you and the prayer activation to reach the server, that 200ms ping just caused your prayer activation to arrive 400ms later, or close to a full game tick later than it would for a North American player.
Either way, except for Jad, if you see the enemy perform an animation, it's already too late to pray against it.
If our server does indeed work correctly in terms of timing and when damage is calculated, I believe the best solution might be to add a slight delay (for example 1 game tick) between starting the attack animation and doing the calculation of the damage. This means that XP drops will be delayed by 1 tick, but also give the defender 1 extra game tick to switch prayers in time for an incoming hit.
Do you think this approach would solve the issues, or is there more to this? Or might this lead to issues, for example North American players being able to pray against an attack that they should not have been allowed to pray against in the first place?
lol yea thisRespire1337 wrote: ↑Wed Jan 13, 2021 4:20 pm While you're there, you could also throw in the ( if finished ) weapons remembering the last attack style used, so we can test that too.
Adding delays and changes to combat in order to accommodate for user input lag is archaic, you can look at World of Warcraft "Leeway" and "Spell batching" for some examples, both very janky mechanics to deal with dial-up internet speeds back in the day.Mike wrote: ↑Wed Jan 13, 2021 3:23 pm The main thing I have deducted in the comments so far is, basically, prayer and hit calculations work fine on PkHonor but when you have a high ping it can lead to issues because you cannot pray in time.
Many Europeans probably have a ping of about 100 - 200ms since our server is located in North America. As a European, I once tried to play League of Legends on a North America server and my ping was about 200ms, making the game much harder to play for me, despite otherwise having a stable connection. In OSRS and in RSPS, it's far less noticeable, because 200ms is a third of a game tick (600ms). That also means European players on an American server will barely notice this delay.
However, it can indeed be an issue for switching prayers in time. If you have a 200ms ping and you see an animation being performed by an NPC, that actually means the animation was already being performed 200ms earlier. Then even if you immediately click to activate your prayer, it'll take another 200ms before that prayer activation reaches the server. In other words, because of the slowness of the animation visual to reach you and the prayer activation to reach the server, that 200ms ping just caused your prayer activation to arrive 400ms later, or close to a full game tick later than it would for a North American player.
Either way, except for Jad, if you see the enemy perform an animation, it's already too late to pray against it.
If our server does indeed work correctly in terms of timing and when damage is calculated, I believe the best solution might be to add a slight delay (for example 1 game tick) between starting the attack animation and doing the calculation of the damage. This means that XP drops will be delayed by 1 tick, but also give the defender 1 extra game tick to switch prayers in time for an incoming hit.
Do you think this approach would solve the issues, or is there more to this? Or might this lead to issues, for example North American players being able to pray against an attack that they should not have been allowed to pray against in the first place?
I think this would create way more issues than it would fix. Players with low ping would be able to protect against all damage in most PvM situations, giving them an unfair advantage.Mike wrote: ↑Wed Jan 13, 2021 3:23 pm If our server does indeed work correctly in terms of timing and when damage is calculated, I believe the best solution might be to add a slight delay (for example 1 game tick) between starting the attack animation and doing the calculation of the damage. This means that XP drops will be delayed by 1 tick, but also give the defender 1 extra game tick to switch prayers in time for an incoming hit.
Do you think this approach would solve the issues, or is there more to this? Or might this lead to issues, for example North American players being able to pray against an attack that they should not have been allowed to pray against in the first place?
Agreed!Iron adam wrote: ↑Wed Jan 13, 2021 7:02 pmI think this would create way more issues than it would fix. Players with low ping would be able to protect against all damage in most PvM situations, giving them an unfair advantage.Mike wrote: ↑Wed Jan 13, 2021 3:23 pm If our server does indeed work correctly in terms of timing and when damage is calculated, I believe the best solution might be to add a slight delay (for example 1 game tick) between starting the attack animation and doing the calculation of the damage. This means that XP drops will be delayed by 1 tick, but also give the defender 1 extra game tick to switch prayers in time for an incoming hit.
Do you think this approach would solve the issues, or is there more to this? Or might this lead to issues, for example North American players being able to pray against an attack that they should not have been allowed to pray against in the first place?
In pvp, from the perspective of a player with low ping, they would be hitting their opponent off prayer. But from the high ping opponent's perspective, prayers are on for all of the hits. The low ping player is now going to get frustrated that the high ping player has the advantage. From their perspective, the high ping player is able to block damage while not having the correct prayers up.
The other thing to consider is melee damage and range/mage from 1 square away. These attacks don't have travel time and hit instantaneously. Then a player with low ping would have to know to wait to change prayers until after the attack animation has started.
Things are perfect right now for players with low ping. The solution for players with high ping is simple in PvM: learn how early you need to have your prayer activated and anticipate the attacks. This is the same exact thing players with low ping do, just needs to be 200ms earlier. The only PvM situations where prayer flicking is relevant is ones where the NPCs attack in patterns, thus making it easy to predict. There really is no solution in PvP that wouldn't just shift the burden to the low ping players.