- 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.
14 lines
836 B
Python
14 lines
836 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')
|
|
open('/Users/shen/Work/Code/Metin2/metin2-client/build/offline-window-20261020/native-browse-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'}))
|