What was the last anime/manga that you watched?
Similar Content
-
Activity
-
28
-
7
-
22
Stateful Server and Sync Position between Clients
Brother, it's an article that was just interesting to read and the subject was adjacent, don't overthink it ahah -
20
-
22
Stateful Server and Sync Position between Clients
The main content is quite accurate and covers almost everything that should be included, but in here what you sent has nothing to do with the topic. These checks are already being taken in real-time and distributed to clients on Metin2. Quote from the original content; "In rollback netcode, you're still sending input data back and forth. However, each input is sent along with a timestamp of when it was pressed." This is completely nonsense and irrelevant for the current logic of Metin2; just this change will not make any difference. The attacks, pushes, etc., are already being calculated and APPLIED first on the client side and then sent to the server, which then communicates back to the client to apply these changes to the target entity (even if the values are not correct). If you want to do this synchronously and correctly, all you need to do is send the action to the server without any prior action being taken on the sending client. The server should then validate the sanity of the received data, bypass ping corrections/lag checks with the handshake values, and if the data is correct, send an ACK packet to the sending client and also send the validated data to the target entity in the same logic as before, making the process synchronous. The rollback netcode logic mentioned in the link you sent is already partially implemented in Metin2. It recalculates the packet arrival time based on an average ping value but as static. If you think the content could be useful, you can simply modify it as shown below, but don't bother as it won't work for the reasons explained above. UserInterface/InstanceBase.cpp; m_nAverageNetworkGap = (m_nAverageNetworkGap * 70 + nNetworkGap * 30) / 100; kCmdNew.m_dwChkTime = dwCmdTime + m_nAverageNetworkGap; Better values for local env(or you can change as you want); kCmdNew.m_dwChkTime = m_dwBaseChkTime + (dwCmdTime - m_dwBaseCmdTime);- 1
-
44
official Official Quest Renewal
Does anyone have an idea why it's not showing the number of quests? Syserr when i hover the left quest scroll icon: 0607 07:39:33420 :: Traceback (most recent call last): 0607 07:39:33420 :: File "uiWhisper.py", line 28, in ShowToolTip 0607 07:39:33420 :: AttributeError 0607 07:39:33420 :: : 0607 07:39:33420 :: 'NoneType' object has no attribute 'Show' 0607 07:39:33420 :: 0607 07:39:33453 :: Traceback (most recent call last): 0607 07:39:33453 :: File "uiWhisper.py", line 32, in HideToolTip 0607 07:39:33453 :: AttributeError 0607 07:39:33453 :: : 0607 07:39:33453 :: 'NoneType' object has no attribute 'Show' 0607 07:39:33453 :: -
22
Stateful Server and Sync Position between Clients
If someone posts the files with the system implemented I can separate it and post it to everyone with a tutorial.- 4
-
8
-
179
-
-
Recently Browsing
- No registered users viewing this page.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now