 | GameServer.java
-------------------------------------------------------------
148 NpcTable.get().load();// NPC資料
150 NpcTeleportActionTable.get().load();// NPC自定傳送點資料
152 NpcScoreTable.get().load();// NPC積分資料
-------------------------------------------------------------
//增加150行 讀取自訂傳送師資料
NpcTeleportActionTable.java
-------------------------------------------------------------
48 while (rs.next()) {
49 final int npc_id = rs.getInt("npc_id");
50// final String cmd = rs.getString("orderid");//錯誤的欄位
51 final String cmd = rs.getString("action");
-------------------------------------------------------------
//修正50行,對應到DB裡面欄位是action,修正後重新build就可以了
| |