Sahlinna908 發表於 2024-5-4 21:07

請各位大大幫忙一下.黑盒子出錯

五月 04, 2024 9:04:58 下午 l1j.server.Config load
資訊: 【正在讀取伺服器設定】
Exception in thread "main" java.net.UnknownHostException: laputa.servegame.com
      at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
      at java.net.InetAddress$1.lookupAllHostAddr(Unknown Source)
      at java.net.InetAddress.getAddressesFromNameService(Unknown Source)
      at java.net.InetAddress.getAllByName0(Unknown Source)
      at java.net.InetAddress.getAllByName(Unknown Source)
      at java.net.InetAddress.getAllByName(Unknown Source)
      at java.net.InetAddress.getByName(Unknown Source)
      at l1j.server.server.GameServer.initialize(GameServer.java:142)
      at l1j.server.Server.main(Server.java:96)
請問大大們 怎麼解決呢:'(:'(:'(:'(

twekk1985 發表於 2024-5-4 21:32

沒猜錯應該是BD名稱跟MySQ建立資料不對稱!!

Sahlinna908 發表於 2024-5-4 21:38

twekk1985 發表於 2024-5-4 21:32
沒猜錯應該是BD名稱跟MySQ建立資料不對稱!!

Database info
Driver=com.mysql.jdbc.Driver
URL=jdbc:mysql://localhost/l1jdb?useUnicode=true&characterEncoding=utf8

請問是這邊嗎
DB跟SQL一樣耶....謝謝你

twekk1985 發表於 2024-5-4 21:42

Sahlinna908 發表於 2024-5-4 21:38
Database info
Driver=com.mysql.jdbc.Driver
URL=jdbc:mysql://localhost/l1jdb?useUnicode=true&charac ...

你查看看config→SQL→資料庫名稱

Sahlinna908 發表於 2024-5-4 21:50

本帖最後由 Sahlinna908 於 2024-5-4 21:52 編輯

twekk1985 發表於 2024-5-4 21:42
你查看看config→SQL→資料庫名稱
l1jdb   都依樣是這個 我用複製得


URL=jdbc:mysql://localhost/l1jdb?useUnicode=true&characterEncoding=utf8

Sahlinna908 發表於 2024-5-4 21:54

Bind ip of the gameserver, use * to bind on all available IPs
GameserverHostname=laputa.servegame.com
GameserverPort=2000

請問有可能這邊錯嗎

Sahlinna908 發表於 2024-5-4 22:05

用太陽神的DB開黑呵子就整個空白了...:'(:'(:'(:'(:'(

eemone28 發表於 2024-5-4 22:37

Sahlinna908 發表於 2024-5-4 21:54
Bind ip of the gameserver, use * to bind on all available IPs
GameserverHostname=laputa.servegame.co ...

GameserverHostname=laputa.servegame.com

改成
GameserverHostname=*

Sahlinna908 發表於 2024-5-4 22:47

eemone28 發表於 2024-5-4 22:37
GameserverHostname=laputa.servegame.com

改成


現在試試

eemone28 發表於 2024-5-5 00:28

應該是這地方沒意外

Sahlinna908 發表於 2024-5-5 01:30

eemone28 發表於 2024-5-5 00:28
應該是這地方沒意外

成功開啟了版本太舊找登入器中感恩大大

但是太陽神的 還是黑盒子空白.....:'(

頁: [1]
查看完整版本: 請各位大大幫忙一下.黑盒子出錯