- UID
- 286271
- 帖子
- 42
- 主題
- 31
- 精華
- 0
- 積分
- 31
- 楓幣
- 507
- 威望
- 31
- 存款
- 0
- 贊助金額
- 0
- 推廣
- 0
- GP
- 31
- 閱讀權限
- 10
- 性別
- 保密
- 在線時間
- 2 小時
- 註冊時間
- 2020-7-12
- 最後登入
- 2021-4-13
|
打开UseCashItemHandler.java
找到
} 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(), c.getChannel(), itemId, lines).getBytes());
有的端有可能有点不同!
替换成
}else if (itemId == 5390000) {
List<String> lines = new LinkedList<String>();
for (int i = 0; i < 4; i++) {
lines.add(slea.readMapleAsciiString());
}
String mas="";
for (int i=0;i<lines.size();i++)
{
mas+=lines.get(i);
}
c.getChannelServer().getWorldInterface().broadcastMessage(null, MaplePacketCreator.serverNotice(3, c.getChannel(), c.getPlayer().getName() +
" : " + mas).getBytes());
}
else if (itemId == 5390001) {
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(), c.getChannel(), itemId, lines).getBytes());
}
else if (itemId == 5390002) {
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(), c.getChannel(), itemId, lines).getBytes());
}
是灼热喇叭的代码
下面的几个情景喇叭没高地效果
如果需要修改其他的模仿第一个
|
|