add patch to clear the BB unreleased item list

This commit is contained in:
Martin Michelsen
2024-09-29 19:02:28 -07:00
parent 0af0f8bc53
commit 2bfcc32b6b
3 changed files with 39 additions and 9 deletions
@@ -0,0 +1,26 @@
# It would be a bad idea to remove `.meta hide_from_patches_menu` to make this
# patch an option for players to be able to select; either all players on the
# server should have this patch, or none should have it.
# This patch clears the list of unreleased items on the client, so the client
# never creates buggy items when the server generates an item that wasn't
# released on the official servers.
.meta name="Clear unreleased item list"
.meta description=""
.meta hide_from_patches_menu
entry_ptr:
reloc0:
.offsetof start
start:
xor eax, eax
mov edx, esp
mov esp, 0x009F81B0
mov ecx, 0x3C
again:
push 0
dec ecx
jnz again
mov esp, edx
ret