MapleServer2 icon indicating copy to clipboard operation
MapleServer2 copied to clipboard

Shops

Open integralcoder95 opened this issue 4 years ago • 2 comments

Use this app https://github.com/AngeloTadeucci/PacketToSQL to sniff shops and create the seeding SQL files.

Shops done: 40~/??

integralcoder95 avatar Dec 30 '20 08:12 integralcoder95

Recv: Structure is: // [28 00] [04] [24 2D 31 01] [05 00 00 00] mode - byte (4 = buy, 5 = sell) if mode is 4, item id - int quantity - int if mode is 5 item sn - long quantity - int

newgithubaccountlol avatar Dec 31 '20 09:12 newgithubaccountlol

Send: byte mode if (mode == 0): int npc id int 0x80 long time int shopCategory byte 0 bool 0 bool 0 bool 0 byte 0 bool 1 bool 0 bool 0 bool 0 string name if mode == 1: byte size for (int i = 0 to size) write item packet if mode == 6 short 0

newgithubaccountlol avatar Jan 01 '21 03:01 newgithubaccountlol