- 履歴一覧
- 差分 を表示
- 現在との差分 を表示
- ソース を表示
- Windower/Lua/Sell へ行く。
- 1 (2025-03-06 (木) 20:56:32)
- https://github.com/Ivaar/Windower-addons/blob/master/SellNPC/SellNPC.lua
local num = 0 for index = 1, 80 do local item = windower.ffxi.get_items(0,index) if item and sales_que[item.id] and item.status == 0 then windower.packets.inject_outgoing(0x084,string.char(0x084,0x06,0,0,item.count,0,0,0,item.id%256,math.floor(item.id/256)%256,index,0)) windower.packets.inject_outgoing(0x085,string.char(0x085,0x04,0,0,1,0,0,0)) num = num + item.count end end