feat: add quiver ammunition rules and negotiated state sync

This commit is contained in:
shen
2026-10-22 17:41:48 -07:00
parent 5b7442ea37
commit e8ace59fcd
15 changed files with 219 additions and 7 deletions
+2 -1
View File
@@ -8,7 +8,8 @@ SRC=ROOT/'src/server/game/src'
def text(name):return (SRC/name).read_bytes().decode('latin1')
features=text('port_features.h');glue=text('port_boss_track.cpp');p2p=text('input_p2p.cpp');main=text('main.cpp')
assert 'if(kind=="bosses" && args.size()==3) {PortBossQuery(ch,request);return;}' in features
assert '"MTF1 cap %u 1 959 %lld"' in features
# Current shared capabilities include later rank and negotiated quiver support.
assert '"MTF1 cap %u 1 4031 %lld"' in features
assert 'port_boss_track.cpp' in text('Makefile')
assert 'PortBossTick();' in main.split('if (!g_bAuthServer)',1)[1].split('}',1)[0] # 1 s block, game cores only
# Relay hook runs after the size checks and before the player lookup; old cores just miss the name.