- 閱讀權限
- 20
- 最後登錄
- 17-8-24
- 精華
- 0
- UID
- 899479
- 帖子
- 210
- 積分
- 76
- 註冊時間
- 07-6-11
- 在線時間
- 162 小時
 
- UID
- 899479
- 帖子
- 210
- 積分
- 76
- Good
- 0
- 註冊時間
- 07-6-11
- 在線時間
- 162 小時
|
時常變成超級傳送員
複製以下代碼
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package net.odinms.net.channel.handler;
import net.odinms.client.MapleClient;
import net.odinms.client.messages.ServernoticeMapleClientMessageCallback;
import net.odinms.net.AbstractMaplePacketHandler;
import net.odinms.tools.MaplePacketCreator;
import net.odinms.tools.data.input.SeekableLittleEndianAccessor;
import net.odinms.net.channel.ChannelServer;
import net.odinms.server.MaplePortal;
import net.odinms.server.maps.MapleMap;
import net.odinms.server.maps.SavedLocationType;
public class EnterMTSHandler extends AbstractMaplePacketHandler {
@Override
public void handlePacket(SeekableLittleEndianAccessor slea, MapleClient c) {
if ((c.getPlayer().getMapId() < 910000000) || (c.getPlayer().getMapId() > 910000022)){
new ServernoticeMapleClientMessageCallback(5, c).dropMessage("你將被傳送到自由市場,這裡有超級傳送!");
c.getSession().write(MaplePacketCreator.enableActions());
MapleMap to;
MaplePortal pto;
to = ChannelServer.getInstance(c.getChannel()).getMapFactory().getMap(910000000);
c.getPlayer().saveLocation(SavedLocationType.FREE_MARKET);
pto = to.getPortal("out00"); // or st00?
c.getPlayer().changeMap(to, pto);
} else {
new ServernoticeMapleClientMessageCallback(5, c).dropMessage("你已經是在自由市場了,你還想幹什麼!");
c.getSession().write(MaplePacketCreator.enableActions());
}
}
}
BOSS爆物品的SQL
複製以下代碼
引用
數據庫增加需要的SQL
BOSS爆率
扎SQL
ALTER TABLE `monsterdrops`;
INSERT INTO `monsterdrops` VALUES (8000,82,1452017,70),(8001,82,1462018,80),(8002,82,1332027,95),(8003,82,1472031,85),(8004,82 ,1432011,65),(8005,82,1402016,95),(8006,82,1412010,90),(8007,82,1442002,100),(8008,82,1382008,50),(8009,82 ,1302023,80),(8010,82,1332026,50),(8011,82,1332022,980),(8012,82,1312015,990),(8013,82,1322029,88),(8014,82 ,1422013,78),(8015,82,1442020,87),(8016,82,1002357,48),(8017,82,1002357,39),(8018,82,1002357,28),(8019,82 ,1002357,30),(8020,82,1002357,40),(8021,82,4006000,25),(8022,82,4006000,25),(8023,82,4006001,25),(8024,82 ,4006001,25),(8025,82,2020015,25),(8026,82,2020015,25),(8027,82,2020014,25),(8028,82,2020014,25),(8029,82 ,1002357,50),(8030,82,2001001,25),(8031,82,1372009,70)
鬧鐘SQL:
-------------------------------------------------- ------------------------------
ALTER TABLE `monsterdrops`;
INSERT INTO `monsterdrops` VALUES (8032,8500002,2000004,30),(8033,8500002,2000005,30),(8034,8500002,2020013,1),(8035,8500002,2020015,1),(8036,8500002 ,4031196,10),(8037,8500002,4001084,20),(8038,8500002,1061119,90),(8039,8500002,1040113,80),(8040,8500002,1040112,80),(8041,8500002 ,1041121,80),(8042,8500002,1040111,50),(8043,8500002,1040112,60),(8044,8500002,1072212,60),(8045,8500002,1072196,88),(8046,8500002 ,1072197,78),(8047,8500002,1072220,87),(8048,8500002,1072221,48),(8049,8500002,1040121,39),(8050,8500002,1041122,28),(8051,8500002 ,1041123,80),(8052,8500002,1002377,40),(8053,8500002,4006000,25),(8054,8500002,1060109,25),(8055,8500002,1060110,80),(8056,8500002 ,1061121,40),(8057,8500002,1061122,80),(8058,8500002,1402016,180),(8059,8500002,1412010,180),(8060,8500002,1432011,180),(8061,8500002 ,1422026,180),(8062,8500002,1452017,180),(8063,8500002,1462018,180),(8064,8500002,1472033,180),(8065,8500002,1372010,180),(8066,8500002 ,1051096,25),(8067,8500002,1051097,80),(8068,8500002,1372009,180),(8069,8500002,1372032,800),(8070,8500002,1050094,30),(8071,8500002 ,1050095,80),(8072,8500002,1050102,80),(8073,8500002,1051101,80),(8074,8500002,1072224,80),(8075,8500002,1050107,80),(8076,8500002 ,1051106,80),(8077,8500002,1082158,80),(8078,8500002,1072227,80),(8079,8500002,1332028,480),(8080,8500002,1332027,180),(8081,8500002 ,1072173,80),(8082,8500002,1082149,1000),(8083,8500002,2040807,3000),(8084,8500002,2040917,3000),(8085,8500002,1050098,80),(8086,8500002 ,1051092,80),(8087,8500002,1402037,8000)
-------------------------------------------------- ------------------------------
肥龍SQL:
-------------------------------------------------- ------------------------------
ALTER TABLE `monsterdrops`;
INSERT INTO `monsterdrops` VALUES (8088,81,4000235,20),(8089,81,4031348,21),(8090,81,4000245,22),(8091,81,4000244,23),(8092,81 ,2022176,24),(8093,81,4001076,25),(8094,81,2290080,90),(8095,81,2290062,91),(8096,81,2290063,92),(8097,81 ,2290015,89),(8098,81,2290030,93),(8099,81,2290035,94),(8100,81,2290002,95),(8101,81,2290069,97),(8102,81 ,2290003,96),(8103,81,1302056,30),(8104,81,1432030,31),(8105,81,1442044,32),(8106,81,1382035,33),(8107,81 ,1372010,34),(8108,81,1452019,35),(8109,81,1462015,35),(8110,81,1472053,36),(8111,81,1332052,37),(8112,81 ,2044702,40),(8113,81,2040805,40),(8114,81,2040517,40),(8115,81,2040514,40),(8116,81,2040505,40),(8117,81 ,2043301,25),(8118,81,2044001,25),(8119,81,2044301,25),(8120,81,2044501,25),(8121,81,2043801,25),(8122,81 ,2040804,25),(8123,81,2044601,25),(8124,81,2040914,50),(8125,81,2040919,50),(8126,81,2040817,25)
-------------------------------------------------- ------------------------------
-------------------------------------------------- ------------------------------
胖鳳SQL:[BUG已修復]
-------------------------------------------------- ------------------------------
ALTER TABLE `monsterdrops`;
INSERT INTO `monsterdrops` VALUES (8127,8180001,4000243,20),(8128,8180001,4031348,21),(8129,8180001,4000245,22),(8130,8180001,4000244,23),(8131,8180001 ,2022176,24),(8132,8180001,4031464,25),(8133,8180001,4031467,25),(8134,8180001,4031457,25),(8135,8180001,1432030,92),(8136,8180001 ,2290018,89),(8137,8180001,2290042,93),(8138,8180001,2290092,94),(8139,8180001,2290019,95),(8140,8180001,2290032,97),(8141,8180001 ,2290035,96),(8142,8180001,1302056,30),(8143,8180001,1412021,85),(8144,8180001,1442044,32),(8145,8180001,1382035,33),(8146,8180001 ,1372010,34),(8147,8180001,1452019,35),(8148,8180001,1462015,35),(8149,8180001,1472053,36),(8150,8180001,1332052,37),(8151,8180001 ,2044702,40),(8152,8180001,2040805,40),(8153,8180001,2040517,40),(8154,8180001,2040514,40),(8155,8180001,2040505,40),(8156,8180001 ,2043301,25),(8157,8180001,2044001,25),(8158,8180001,2044301,25),(8159,8180001,2044501,25),(8160,8180001,2043801,25),(8161,8180001 ,2040804,25),(8162,8180001,2044601,25),(8163,8180001,2040914,50),(8164,8180001,2040919,50),(8165,8180001,2040817,25),(8166,8180001 ,1422027,90),(8167,8180001,1402035,90),(8168,8180001,1332051,68),(8169,8180001,2040705,25),(8170,8180001,2040501,25),(8171,8180001 ,2040516,30),(8172,8180001,2040513,30),(8173,8180001,2040302,25),(8174,8180001,2040516,30),(8263,8180001,2040513,30),(8264,8180001 ,2040302,25),(8175,8180001,2290058,90),(8176,2290011,2280007,95),(8177,8180001,2280008,95),(8178,8180001,2280009,90),(8179,2290011 ,2280010,95),(8180,8180001,2290009,95)
-------------------------------------------------- ------------------------------
-------------------------------------------------- ------------------------------ |
|