miumiuの店を使用させる方法

Go down

miumiuの店を使用させる方法

投稿 by 構築さん on 2014-06-27, 19:18

Usecashitemhandler.java

Code:
} else if (itemType == 539) {
List<String> lines = new LinkedList<String>();
for (int i = 0; i < 4; i++) {
lines.add(slea.readMapleAsciiString());
}
c.getChannelServer().getWorldInterface().broadcastMessage(null, MaplePacketCreator.getAvatarMega(c.getPlayer(), medal, c.getChannel(), itemId, lines, (slea.readByte() != 0)).getBytes());
remove(c, itemId);

の下に

Code:
} else if (itemType == 545) { // MiuMiu's travel store
MapleShopFactory.getInstance().getShop(1).sendShop(c);
remove(c, itemId);

を追加

SQL

Code:
INSERT INTO `shops` (`shopid`,`npcid`) VALUES (1,9090000);
INSERT INTO `shopitems` (`shopitemid`,`shopid`,`itemid`,`price`,`pitch`,`position`) VALUES
(3377,1,2000000,50,0,104),
(3378,1,2000001,150,0,108),
(3379,1,2000002,300,0,112),
(3380,1,2000003,100,0,116),
(3381,1,2000004,350,0,120),
(3382,1,2002000,250,0,124),
(3383,1,2002001,250,0,128),
(3384,1,2002002,250,0,132),
(3385,1,2002003,250,0,136),
(3386,1,2002004,250,0,140),
(3387,1,2002005,250,0,144),
(3388,1,2001000,1600,0,148),
(3389,1,2001001,1150,0,152),
(3390,1,2001002,2000,0,156),
(3391,1,2010000,50,0,160),
(3392,1,2010001,100,0,164),
(3393,1,2010002,50,0,168),
(3394,1,2010003,100,0,172),
(3395,1,2010004,300,0,176),
(3396,1,2020012,2250,0,180),
(3397,1,2020013,5600,0,184),
(3398,1,2020014,8100,0,188),
(3399,1,2020015,10200,0,192),
(3400,1,2022003,1100,0,196),
(3401,1,2022000,1650,0,200),
(3402,1,2060000,1,0,204),
(3403,1,2061000,1,0,208),
(3404,1,2060001,20,0,212),
(3405,1,2061001,20,0,216),
(3406,1,2030000,250,0,220),
(3407,1,2330000,500,0,224),
(3408,1,2070000,500,0,228);




avatar
構築さん
Admin

Posts : 193
Join date : 2014/05/29

http://maplescience.forumjap.com

トップに戻る Go down

トップに戻る


 
Permissions in this forum:
返信投稿: 不可