zct223 發表於 2020-10-16 19:43

大陸JAVA技術 分享技術文章 之 BOSS館

本帖最後由 zct223 於 2023-2-22 00:29 編輯

在C_NPCAction底下找到else if (((L1NpcInstance) obj).getNpcTemplate().get_npcId() == 80074)
已下代碼為L1J版本代碼 也可參考依偎源碼製作
源碼分享 不解釋 不回覆 如有購買版本 合作版本 請聯繫QQ:263075225
底下新增
else if(((L1NpcInstance)obj).getNpcTemplate().get_npcId() == 1111)
{
            if(s.equalsIgnoreCase("enterboos"))
                htmlid = BossRoom.getItance().enteRoom(pc);
      }

這是對話檔
<html>.executeQuery();
if (rs.next()) {
BossName = rs.getString("name");
}
} catch (SQLException e) {ol-1-thread-56" java.lang.ClassCastException: l1j.server.
server.model.L1GroundInventory cannot be cast to l1j.server.server.model.L1Chara
cteror$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

KYLE4545 發表於 2020-10-16 19:55

推一下 資料文!!!! 謝謝分享 慢慢看~

jjen0206 發表於 2020-10-16 20:14

感謝分享技術文章

michaeljordan18 發表於 2020-10-16 21:40

感謝大大分享

056655826 發表於 2020-10-16 22:30

感謝分享

Lineagelike520 發表於 2020-10-18 15:34

       thanks for your share, hope can play it,

817414 發表於 2021-6-22 08:39

感謝大大的分享

xcopl 發表於 2021-6-22 08:50

牛逼大佬

s80028 發表於 2021-6-26 19:31

感謝分享

Baby1205 發表於 2021-6-29 10:28

感謝分享

hackwhy 發表於 2021-7-9 03:04

感謝大大分享

bennyst 發表於 2021-7-20 08:23

aqqjch 發表於 2022-6-7 18:30

谢谢大大分享

snchi77 發表於 2022-10-18 01:07

       
感謝分享
頁: [1]
查看完整版本: 大陸JAVA技術 分享技術文章 之 BOSS館