Files
metin2-client/audit/evidence/planb-offline-ui-20261021/native/native-confirm-qa.py
T
shenandshen 846a993183 feat: complete xxf-ch5 35 features migration, protocol bindings, and gate validation
- S1: Chinese locale pack, target HP/drop preview, elemental icons, exchange level display, item highlight, FOV settings, advanced skybox, GM warp.
- S2: 5-page 225-slot inventory, seamless channel switch, wiki/drop query/chest preview.
- S3: Auto-refine/attribute locks, sash combine/absorb, talisman/elemental stats, costume/mount/shining slots, changelook, soulbind, glove, quiver, magic reduction.
- S4: Modern cube renewal, mythic dragon soul (6 grades/1152 slots), DS attr change, global rankings, dice system.
- S5: Multi-token shop, offline private shop search, offline shop state machine, 64-bit gold alignment, Won dual currency exchange.
- S6: Single account 5-character slot adaptive wire protocol, Wolfman profession & claw weapon/applies, Conqueror level & Sungma attributes, pets & 6th/7th attrs, battle pass & boss tracking.
- Pass 42/42 platform gate test suites in scripts/port_gate.sh macos.
2026-10-22 01:29:14 -07:00

18 lines
935 B
Python

import mt_offlineshop as o, json
import constInfo
i=constInfo.GetInterfaceInstance().wndInventory
i.Show();i.nativeOfflineButton.CallEvent()
w=o.window
sequence=str(w.request[0])
for line in open('/Users/shen/Work/Code/Metin2/metin2-client/build/offline-window-20261020/frames.txt').read().splitlines():
words=line.split();words[2]=sequence
if words[1]=='end':w.Receive(['MTECON1','result',sequence,'DONE','6f6b','9007199254740993'])
w.Receive(words)
assert w.ready and len(w.rows)==1
print('OFFLINE_NATIVE_WINDOW_PASS')
w.Select(0,0,False)
assert w.confirm and w.confirm.IsShow()
print('OFFLINE_NATIVE_CONFIRM_PASS')
open('/Users/shen/Work/Code/Metin2/metin2-client/build/offline-window-20261020/native-confirm-result.json','w').write(json.dumps({'status':'PASS','rows':len(w.rows),'confirmation_visible':bool(w.confirm and w.confirm.IsShow()),'size':[w.GetWidth(),w.GetHeight()],'sequence':sequence,'entry':'inventory button'}))