Server: KQM | Genshin Impact (763583452762734592) Channel: lag-and-snapshot-interactions (826181971545292880) Messages: 94 Yuehai Ticketing Secretary#4843 (557628352828014614) soup420#1634 (138213804117983232) 派蒙不可以 | I'm ₼FLAT#4732 (584871516626354186) R E T U R N T O Mono K E#8058 (154004693826273280) Keqing's Eternal Assistant#1536 (235148962103951360) JonahFarc | Git Archon#7056 (143207954814992385) KQM | Genshin Impact - lag-and-snapshot-interactions
KQM | Genshin Impact
lag-and-snapshot-interactions
94 messages
Yuehai Ticketing SecretaryBOTMar 29, 2021 7:52 PM
@soup420 Important things to note: - Check the TCL and the other opened tickets for duplicates - Upload your evidence in imgur / youtube - Use the template below for your submission. - Type $close when ready for review.
Theory/Finding/Bug: Evidence (Youtube/Imgur): Significance:
soup420Mar 29, 2021 9:07 PM
Finding: when network is cut off there are some weird interactions with skills and snapshots
When internet connection is cut briefly while a character is standing in Bennett heal, the heals don't tick while connection is cut but when connection is back it all ticks at once and heals the character even when they're over 70% hp.
In the video Hutao was healed to 35.7k/39.2k hp with 3.2k heal ticks, so the last 2 ticks healed her from 29.3k hp, which wouldn't have happened normally since 70% of Hutao's max hp is 27.4k
I'm not sure exactly how it works but my guess is that Bennett's ult ticks client side and "snapshots" the hp of the current character and confirms that Hutao is below 70%, and when network connection is resumed it sends the confirmation to the server which applies the heals.
Seeing this, I tried to apply it to some other skills and seeing how lag interacts with them.
Zhihan Yu
hutao test
I did 3 different tests here.
I put Hutao to a hp range where E would bring her below 50% hp. When connection is cut and Hutao uses E and Q and then connection is resumed, her Q deals 33.8k damage.
When I do the same thing without cutting connection, her E+Q at <50% deals 35.3k damage.
Her Q without E at <50% hp deals 25.6k damage.
E+Q damage at above 50% hp does 33.8k, which is same as when connection was cut.
So when connection was cut, the E should've brought Hutao to below 50% hp, but the damage didn't apply because there was no connection, and her Q damage was calculated client side and sent to the server when connection was resumed.
So from these tests it seems like skills that are dependent on player hp are snapshot client side and then sent to server.
If player hp is snapshot client side, then what about enemy hp? Diluc C1 increases his damage dealt by 15% to enemies above 50% hp.
In this test I got an enemy to barely above 50% hp, then I cut connection and hit the enemy with 3 Diluc E before resuming connection. If enemy hp was snapshot client side then all 3 of those hits should benefit from 15% extra damage because they seemingly landed on an enemy that was above half hp.
However I did the same test without cutting connection, and both scenarios gave exactly 4916, 3772 and 4978 damage for the 3 hits.
To make sure there wasn't anything weird going on with Diluc C1, I went back and confirmed that his third E hit deals 5725 damage, which is exactly 15% more than 4978.
So in the lag test, Diluc's E didn't benefit from 15% damage even though it seemed to land on an enemy that's above 50% hp. This suggests that interactions that are dependent on enemy hp aren't snapshot client side and are confirmed at the server side.
I'm not sure what to do with this information other than I found it pretty interesting. I've tried to test how some other skills interact with lag too.
I've tried to test whether buffs on the player run out when connection is cut, and they do still seem to run out after their duration ends even when the server can't confirm it.
Tried to test whether Ning can charge attack without consuming her star jades when connection is cut, but her charged attacks consume jades as normal.
Something weird I found though is that for most ultimates, if you cast them while connection is cut and then resume connection afterward, the ultimates will still do damage once the server can respond. However when Ning cast her ultimate it disappeared and didn't do anything. (IGNORE THIS THIS ISN'T TRUE)(edited)
Even though the ultimate hit the enemy on my screen, it didn't do any damage when I reconnected. I suspect this may be because projectiles need to communicate with the server to be able to seek enemies, so even though my screen played the projectile seeking animation, they weren't actually able to seek enemies without server connection.
soup420Mar 29, 2021 9:15 PM
A similar thing happens with Xingqiu rain swords. (EDIT THIS ALSO ISNT TRUE IGNORE THIS. He does deal damage with rain swords but the damage numbers don't show up)(edited)
派蒙不可以 | I'm ₼FLATMar 29, 2021 9:18 PM
Huh, so dynamic ults are calculated server side while snapshot ones on client side. Interesting.(edited)
soup420Mar 29, 2021 9:20 PM
I activated Xq ultimate and cut connection, attacked a few times and it looks like his swords hit the enemy, then resumed connection. The enemy takes a burst of many physical hits, showing that Xq's physical attacks were all communicated to the server and did damage after connection was resumed. However the rain swords that should've hit didn't end up doing damage.
&lt;@!806040653196034069&gt; Oh that might also have to do with it being a dynamic ult. My original theory was that Xq's swords also have a kinda tracking mechanic like Ning's ult which caused it to not work without connection, but dynamic vs snapshot sounds plausible too.
派蒙不可以 | I'm ₼FLATMar 29, 2021 9:21 PM
Yeah Ning, kq and XQ's ults are basically all the dynamic things that are in the game rn iirc
soup420Mar 29, 2021 9:21 PM
Hmm lemme go try and see if Keqing hits when there's no connection then.
派蒙不可以 | I'm ₼FLATMar 29, 2021 9:23 PM
Also i guess it's time for making this a hyperbook ticket
Go to the wish menu before DCing
Then you do all the damage + stop abyss timer
soup420Mar 29, 2021 9:29 PM
Keqing ult damage did end up hitting after connection was resumed, that's the correct number of hits right?
So Keqing ult seems to work fine.
@派蒙不可以 | I'm ₼FLAT I don't understand what happened in your clip lol, what's going on there?
派蒙不可以 | I'm ₼FLATMar 29, 2021 9:31 PM
Okay, so it is projectiles which don't connect
Can just check archers ig kekqing
You open the book - dc - do damage while the time is frozen - reopen the book - connect back(edited)
Works the same way like regular dc but timer also freezes
luminederp
And I believe you can stay dc for longer
soup420Mar 29, 2021 9:39 PM
Wait so the only difference is the abyss timer is paused kekqing
Does any other timer also pause?
派蒙不可以 | I'm ₼FLATMar 29, 2021 9:44 PM
Any other?
I think all overworld timers run in real time. If you do a bounty and quit the freaking game for 5 minutes, timer still goes kekqing
soup420Mar 29, 2021 9:44 PM
Everything else seems to work the same for me. Hutao pyro enchantment still runs out, deployables like FIschls bird disappears on time.
派蒙不可以 | I'm ₼FLATMar 29, 2021 9:44 PM
Yeah, cds on skills also run
soup420Mar 29, 2021 9:45 PM
They mostly fixed booking right? So if this was pre fix there would be more weird interactions.
派蒙不可以 | I'm ₼FLATMar 29, 2021 9:46 PM
They only fixed reactions icds
And I think even that still works with hyperbooking
soup420Mar 29, 2021 9:46 PM
派蒙不可以 | I'm ₼FLATMar 29, 2021 9:47 PM
You still vape while dced in a book
luminederp
soup420Mar 29, 2021 9:47 PM
Do you use any software to cut internet or just unplug cable? My software worked fine yesterday but now it doesn't work properly
派蒙不可以 | I'm ₼FLATMar 29, 2021 9:48 PM
I use Fn-F12 kekqing
Laptop life
soup420Mar 29, 2021 9:49 PM
huge IQ
派蒙不可以 | I'm ₼FLATMar 29, 2021 9:50 PM
Did you test archers damage?
soup420Mar 29, 2021 9:57 PM
@派蒙不可以 | I'm ₼FLAT https://www.youtube.com/watch?v=Dcp097thSUY
Zhihan Yu
fish
not sure what happened here
she seems to do damage but the damage numbers dont show up
派蒙不可以 | I'm ₼FLATMar 29, 2021 9:58 PM
Well that's my regular experience with hbook
Whatever, arrows work
soup420Mar 29, 2021 10:10 PM
Oh I went back and tested with a better built Ning and her ultimate does deal damage, the damage numbers just don't show up
So it's only XQ being weird but I'm gonna test him some more too
Yep XQ works the same way, he does deal damage but there are no damage numbers. So numbers from projectiles just don't show up when you cut connection.
soup420Mar 29, 2021 10:22 PM
Albedo talent that makes him do more damage to <50% hp enemies does apply, so skills that are dependent on enemy hp definitely don't snapshot.
soup420Mar 29, 2021 10:33 PM
I was wondering whether Bennett c2 would apply to give him ER as long as network connection is cut and he isn't being healed, but he wasn't getting any energy from his E while connection was cut, as well as after connection is resumed. So I guess energy particles just disappear without server connection.(edited)
派蒙不可以 | I'm ₼FLATMar 29, 2021 10:40 PM
Energy is weird yeah
At least you have infinite ult while dced till you reconnect
soup420Mar 29, 2021 10:45 PM
Oh you're right lol, can ult twice while disconnected because energy isn't used
soup420Apr 9, 2021 7:23 PM
Alright I can't find anything else to test so I'm closing the ticket.
Basically the finding is that skills that snapshot character stats like attack and hp are probably snapshot client side and sent to server to be confirmed. Same applies with skills that actually apply the buff, like Bennett buff and Hutao buff which both apply their buffs without the need for server connection.
However hp can't be changed without server connection so it results in weird interactions with Hutao or Bennett buffs.
Skills that are dependent on enemy hp values like Diluc c1 or Albedo A2 are applied server side, and from my findings lag doesn't cause any unexpected damage numbers. This probably implies all damage done are calculated by the server, but using the stats sent from the player client.
Yuehai Ticketing SecretaryBOTApr 9, 2021 7:23 PM
Ticket Closed by @soup420
Save transcript Reopen Ticket Delete Ticket
R E T U R N T O Mono K EApr 9, 2021 10:19 PM
Verified
!role add @soup420 Wangsheng Theorycrafter
Keqing's Eternal AssistantBOTApr 9, 2021 10:19 PM
Added Wangsheng Theorycrafter to soup420#1634.
R E T U R N T O Mono K EApr 9, 2021 10:19 PM
moving to publishing
JonahFarc | Git ArchonApr 20, 2021 1:44 AM
pr up
Yuehai Ticketing SecretaryBOTApr 20, 2021 10:45 PM
Transcript Saving