感謝merllen協助蓋西瓜塔
分類彙整: Cargon
[Cargon Minecraft] 當機元兇…NoLagg
http://dev.bukkit.org/server-mods/nolagg/
更改了設定後,經過簡單的壓力測試也不會當機囉…
祝各位有個美好的Minecraft時光
[Cargon Minecraft] AuthMe issue resolved
http://dev.bukkit.org/server-mods/authme-reloaded/
更新 AuthMe 至2.6.6b2版同時將Craftbukkit更新至1.2.5-R3.0版
修正相同IP註冊bug!
Changes 2.6.6b2:
now really fix double registration on same ip
add new CitizensApi for Citizens 2.0 (Still works with Citizens1.2)
delete player cache if player is unregistered
add new way for handler player invetory loss on first registration
cleanup the code
Changes 2.6.6b1:
fixed spout login gui that cannot be really disabled
fixed heath regeneration when unlogged in
fixed some teleport usses near portal when unlogged
fixed unregistration and registration dupe bug
fixed bug where 2 account are able to regiser on same ip.
attempt to fix lost of items on /registration and second login (need more test and feedback )
initial strutcture for log-system and inventory serialize
clean up the code
[Cargon] Craftbukkit 1.2.5-R3.0 issue with Auth plugin
AuthMe會修改封包,以致於1.2.5-R3.0產生java.lang.NullPointerException找不到資料的狀況…NetServerHandler便停止服務。
[Cargon Minecraft] 當機處理,降回1.2.5-R3.0
我們又遭遇相同bug當機問題
這個bug發生時,僅網路區塊停止連線
console管理端及世界皆繼續運作
且維持正常的20 ticks per second
目前已將伺服版本降回1.2.5-R1.0
很抱歉造成各位的困擾
補上log..
2012-05-31 21:46:12 [SEVERE] java.lang.NullPointerException
2012-05-31 21:46:12 [SEVERE] at net.minecraft.server.NetServerHandler.sendPacket(NetServerHandler.java:681)
2012-05-31 21:46:12 [SEVERE] at net.minecraft.server.EntityTrackerEntry.updatePlayer(EntityTrackerEntry.java:235)
2012-05-31 21:46:12 [SEVERE] at net.minecraft.server.EntityTrackerEntry.scanPlayers(EntityTrackerEntry.java:281)
2012-05-31 21:46:12 [SEVERE] at net.minecraft.server.EntityTrackerEntry.track(EntityTrackerEntry.java:62)
2012-05-31 21:46:12 [SEVERE] at net.minecraft.server.EntityTracker.updatePlayers(EntityTracker.java:132)
2012-05-31 21:46:12 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:572)
2012-05-31 21:46:12 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
2012-05-31 21:46:12 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
2012-05-31 21:46:12 [SEVERE] Unexpected exception
java.lang.NullPointerException
at net.minecraft.server.NetServerHandler.sendPacket(NetServerHandler.java:681)
at net.minecraft.server.EntityTrackerEntry.updatePlayer(EntityTrackerEntry.java:235)
at net.minecraft.server.EntityTrackerEntry.scanPlayers(EntityTrackerEntry.java:281)
at net.minecraft.server.EntityTrackerEntry.track(EntityTrackerEntry.java:62)
at net.minecraft.server.EntityTracker.updatePlayers(EntityTracker.java:132)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:572)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
2012-05-31 21:46:49 [INFO] Connection reset
[Cargon Minecraft] 20120531當機紀錄
似乎是服務端連線程式發生問題
換成Craftbukkit 1.2.5-R3.0後第一次碰到此問題
若再次發生將降回 1.2.5-R1.0 版本
詳細錯誤訊息:
2012-05-31 16:33:45 [SEVERE] java.lang.NullPointerException
2012-05-31 16:33:45 [SEVERE] at net.minecraft.server.NetServerHandler.sendPacket(NetServerHandler.java:681)
2012-05-31 16:33:45 [SEVERE] at net.minecraft.server.EntityTrackerEntry.updatePlayer(EntityTrackerEntry.java:235)
2012-05-31 16:33:45 [SEVERE] at net.minecraft.server.EntityTracker.updatePlayers(EntityTracker.java:146)
2012-05-31 16:33:45 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:572)
2012-05-31 16:33:45 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
2012-05-31 16:33:45 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
2012-05-31 16:33:45 [SEVERE] Unexpected exception
java.lang.NullPointerException
at net.minecraft.server.NetServerHandler.sendPacket(NetServerHandler.java:681)
at net.minecraft.server.EntityTrackerEntry.updatePlayer(EntityTrackerEntry.java:235)
at net.minecraft.server.EntityTracker.updatePlayers(EntityTracker.java:146)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:572)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
2012-05-31 16:34:11 [INFO] Connection reset
[Cargon Minecraft] 設定修正、Dynmap更新時間
目前已找到線上地圖的解決方案
原先繪製地圖時會造成伺服器嚴重LAG的問題
現在改以外部伺服器協助繪製地圖
於每天07:30開始繪製06:00所備份之遊戲紀錄
可能造成些微LAG的情況,敬請見諒
玩家若有需要仍可使用 /dynmap render 指令立即更新所在區域的線上地圖
- 每15分自動存檔
- 每3小時自動備份 (留存至少7天)
- 每天06:30複製備份至雲端空間
- 每天07:00重新開機
- 每天07:30繪製地圖
- 遊戲歷程記錄,留存365天
- 異常重開機制啟用
[Cargon Minecraft] 產鐵機回來了
[Cargon Minecraft] Dynmap解決方案
Dynmap會造成伺服器嚴重LAG (這個Plugin的bug…)
故將來不會自動更新,可能一個禮拜手動更新
但玩家仍可下命令讓線上地圖更新
請在遊戲中使用指令/dynmap render
您腳下那一區塊的線上地圖就會被更新
[Cargon Minecraft] Dynmap恢復服務
改用Flash裝置存放dynmap資料
關閉動態更新
減少web更新頻率
減少rendering速率
希望不要再掛掉啦…