File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 66;;; broadcast a REMOVEPLAYER message to everyone.
77
88c extern SavesDisabled
9+ c extern IsDoingMPSaveNextFrame
910
10- sstring str_PlayerOutOfSync , "Player has gone out of sync"
11+ sstring str_PlayerOutOfSync , "Player has gone out of sync and has been removed from the game. "
1112@LJNZ 0x005B4F5F , _Execute_DoList_dont_recon
1213
1314section .bss
@@ -73,6 +74,11 @@ _Execute_DoList_dont_recon:
7374 pop ebx
7475 pop esi
7576
77+ ; Disable auto-saving
78+ mov dword [ AutoSaveGame ], - 1
79+ mov byte [ SavesDisabled ], 1
80+ mov byte [ IsDoingMPSaveNextFrame ], 0
81+
7682 lea eax , [ esi + ebx ] ; Write SYNC file
7783 and eax , dword 0xFFF
7884 lea ecx , [ eax + eax * 2 ]
@@ -89,6 +95,7 @@ _Execute_DoList_dont_recon:
8995hack 0x00494EE4
9096 mov dword [ AutoSaveGame ], - 1
9197 mov byte [ SavesDisabled ], 1
98+ mov byte [ IsDoingMPSaveNextFrame ], 0
9299 mov eax , [ esi + 0x6 ]
93100 cmp byte [ OutOfSyncArray + eax ], 1
94101 jz 0x00494F1D
You can’t perform that action at this time.
0 commit comments