All new player connects and disconnects everything follows after

The next update will be available on Wednesday, December 18, in the early evening (GMT+1).

This update will not yet replace the Java version, instead it is the actual content update. We'll provide more information about the transition together with the update.
  • Hi team


    Info Server


    My problem my Dedicated Server Linux (Nitrado)


    All new player to connect and disconnect from server


    my base gives I have noticed in the new player in the base gives player in rotation and it marks all the same normal location ??
    exemple database


    Database Player


    name Position Rotation


    ChaosCraft44 153.66599 102.7486 -286.21936 ----------------
    MixxedBreed
    - 297.71515 55.352432 66.429276 --------------
    Maltinho123
    -46.307213 133.60117 -420.15887 0.0 0.0 0.0 1.0
    osiris115 -54.
    07675 71.70088 -432.1131 0.0 0.0 0.0 1.0
    Evil_Ice - 23.316223 60.352943 62.700447 0.0 0.0 0.0 1.0
    karbitek -3.2103052 60.046684 -32.076046 0.0 0.0 0.0 1.0
    MasterMath 67.36449 76.50138 -414.72778 0.0 0.0 0.0 1.0
    MeesterMc -133.43318 88.60512 52.8191 0.0 0.0 0.0 1.0
    Champ03 -28.411007 69.28433 -356.82526



    all New player connected is


    Position 0.0 0.0 0.0 1.0

    is normal ??????





    Next problem exemple


    log serveur


    SERVER START VERIFICATION OF CLIENT Patrionparrot
    *************** NEW THREAD LOCAL ALLOCATION ***************
    PLAYER CONNECT: Patrionparrot
    LOADPLAYER: Patrionparrot
    java.nio.BufferUnderflowException
    at java.nio.Buffer.nextGetIndex(Buffer.java:506)
    at java.nio.HeapByteBuffer.getFloat(HeapByteBuffer.java:463)
    at server.util.ServerUtils$ConversionUtils.fillItemsIntoSlots(SourceFile:291)
    at server.util.ServerUtils$ConversionUtils.byteArrayToInventory(SourceFile:263)
    at v.e.a(SourceFile:314)
    at v.e.a(SourceFile:167)
    at v.e.a(SourceFile:84)
    at y.f.a(SourceFile:42)
    at A.l.a(SourceFile:65)
    at w.b.run(SourceFile:24)
    [LUA][Zcript] 06/12/16 16:10:48 INSERT INTO `lastlog` (`player_id`, `name`, `ip`, `connect_at`) VALUES (1662, 'Patrionparrot', '85.190.153.15/85.190.153.15:10600', strftime('%s', 'now'));
    serverPlayerListener -> Survival
    06/12/2016 04:10 PM A.l
    SEVERE: Player Patrionparrot was unable to connect to the server
    java.lang.NullPointerException
    at commons.util.Utils$ConversionUtils.inventoryToByteArray(SourceFile:1198)
    at A.l.a(SourceFile:134)
    at w.b.run(SourceFile:24)
    java.lang.NullPointerException
    at commons.util.Utils$ConversionUtils.inventoryToByteArray(SourceFile:1198)
    at v.e.a(SourceFile:282)
    at y.f.a(SourceFile:102)
    at A.A.a(SourceFile:47)
    at w.b.run(SourceFile:24)
    ---------------------------
    Client: 2 removed
    06/12/2016 04:10 PM D.c
    INFO: Delete Client ID: 2
    [LUA][Zcript] 06/12/16 16:10:48 UPDATE `lastlog` SET `disconnect_at` = strftime('%s', 'now') WHERE `id` IN (SELECT `id` FROM `lastlog` WHERE `ip` = '85.190.153.15/85.190.153.15:10600' ORDER BY `id` DESC LIMIT 1);
    *************** NEW THREAD LOCAL ALLOCATION ***************
    [LUA][Zcript] 06/12/16 16:10:48 ** Patrionparrot - disconnected
    Server DisconnectMessage
    ---------------------------



    thanks for help









  • first issue, ya thats all normal, new players would have the same position if they have not moved from where you set spawn. Rotation is where they are facing.


    The other issue looks like Patrionparrot is having timeout issues, his/her ping may be to high to receive a stable enough connection to your server.

  • just look repeat problem is new players is

    watch highlights in red ??







    SERVER START VERIFICATION OF CLIENT blackJoe
    *************** NEW THREAD LOCAL ALLOCATION ***************
    PLAYER CONNECT: blackJoe
    CREATEPLAYER: blackJoe
    LOADPLAYER: blackJoe
    java.nio.BufferUnderflowException
    at java.nio.Buffer.nextGetIndex(Buffer.java:506)
    at java.nio.HeapByteBuffer.getFloat(HeapByteBuffer.java:463)
    at server.util.ServerUtils$ConversionUtils.fillItemsIntoSlots(SourceFile:291)
    at server.util.ServerUtils$ConversionUtils.byteArrayToInventory(SourceFile:263)
    at v.e.a(SourceFile:314)
    at v.e.a(SourceFile:167)
    at v.e.a(SourceFile:91)
    at y.f.a(SourceFile:42)
    at A.l.a(SourceFile:65)
    at w.b.run(SourceFile:24)
    [LUA][Zcript] 06/13/16 07:30:54 INSERT INTO `lastlog` (`player_id`, `name`, `ip`, `connect_at`) VALUES (1670, 'blackJoe', '85.190.153.15/85.190.153.15:10600', strftime('%s', 'now'));
    serverPlayerListener -> Survival
    06/13/2016 07:30 AM A.l
    SEVERE: Player blackJoe was unable to connect to the server
    java.lang.NullPointerException
    at commons.util.Utils$ConversionUtils.inventoryToByteArray(SourceFile:1198)
    at A.l.a(SourceFile:134)
    at w.b.run(SourceFile:24)
    ---------------------------
    Client: 1 removed
    06/13/2016 07:30 AM D.c
    INFO: Delete Client ID: 1
    [LUA][Zcript] 06/13/16 07:30:54 UPDATE `lastlog` SET `disconnect_at` = strftime('%s', 'now') WHERE `id` IN (SELECT `id` FROM `lastlog` WHERE `ip` = '85.190.153.15/85.190.153.15:10600' ORDER BY `id` DESC LIMIT 1);
    *************** NEW THREAD LOCAL ALLOCATION ***************
    [LUA][Zcript] 06/13/16 07:30:54 ** blackJoe - disconnected

  • java.nio.BufferUnderflowException
    at java.nio.Buffer.nextGetIndex(Buffer.java:506)
    at java.nio.HeapByteBuffer.getFloat(HeapByteBuffer.java:463)
    at server.util.ServerUtils$ConversionUtils.fillItemsIntoSlots(SourceFile:291)
    at server.util.ServerUtils$ConversionUtils.byteArrayToInventory(SourceFile:263)


    This error indicates that the particular player has an invalid item in his inventory. Did you modify some of the player inventories manually in the past? If this happens to all players, maybe the default server spawn inventory is corrupted? You find it in your world database in the "WorldInfos" table (see "Spawninventory", in case of doubt delete this row).
    To fix the player inventories, you can delete the particular "Inventory" field(s) in the "Inventory" table. Alternatively you can drop or delete the whole "Inventory" table, but keep in mind that this deletes all player inventories.

  • my Spawninventory


    5 0 0 23 0 1 -65 -128 0 0 0 1 0 17 0 1 -65 -128 0 0 0 2 0 18 0 1 -65 -128 0 0 0 3 0 5 0 1 -65 -128 0 0 0 4 0 100 3 18 -65 -128 0 0 0 0 2 0 0 1 0 1 -65 -128 0 0 0 1 0 3 0 1 -65 -128 0 0 0 25 0 0 69 110 3 -65 -128 0 0 0 1 0 21 0 1 -65 -128 0 0 0 2 0 100 -102 2 -65 -128 0 0 0 3 0 100 15 4 -65 -128 0 0 0 4 0 100 -101 53 -65 -128 0 0 0 5 0 100 -103 6 -65 -128 0 0 0 6 0 100 8 1 -65 -128 0 0 0 7 0 -16 0 1 -65 -128 0 0 0 8 0 -13 0 7 -65 -128 0 0 0 9 0 100 3 64 -65 -128 0 0 0 10 0 44 0 1 -65 -128 0 0 0 11 0 -116 0 4 -65 -128 0 0 0 12 0 100 1 5 -65 -128 0 0 0 13 0 76 110 3 -65 -128 0 0 0 14 0 100 3 64 -65 -128 0 0 0 15 0 -117 0 1 -65 -128 0 0 0 16 0 98 0 1 -65 -128 0 0 0 17 0 98 0 1 -65 -128 0 0 0 18 0 100 -106 64 -65 -128 0 0 0 19 0 16 0 9 -65 -128 0 0 0 20 0 100 3 64 -65 -128 0 0 0 21 0 100 -106 3

  • Your spawn inventory was indeed corrupted. But the new one after deleting the row (server restart required) looks fine ;)
    The problem should be solved now, however, all previous new players eventually still have a broken inventory (in this case you need to delete their inventories manually)

  • is new player is red info log is normal ???




    INFO: Client Connected ID: 3 IP: 85.190.153.15/85.190.153.15:10600
    SERVER START VERIFICATION OF CLIENT Tamethunder
    *************** NEW THREAD LOCAL ALLOCATION ***************
    PLAYER CONNECT: Tamethunder
    CREATEPLAYER: Tamethunder
    LOADPLAYER: Tamethunder
    [LUA][Zcript] 06/13/16 23:22:49 INSERT INTO `lastlog` (`player_id`, `name`, `ip`, `connect_at`) VALUES (1671, 'Tamethunder', '85.190.153.15/85.190.153.15:10600', strftime('%s', 'now'));
    serverPlayerListener -> Survival
    Server DisconnectMessage
    Server DisconnectMessage
    ---------------------------
    Client: 1 removed
    06/13/2016 11:24 PM D.c
    INFO: Delete Client ID: 1
    [LUA][Zcript] 06/13/16 23:24:22 UPDATE `lastlog` SET `disconnect_at` = strftime('%s', 'now') WHERE `id` IN (SELECT `id` FROM `lastlog` WHERE `ip` = '85.190.153.15/85.190.153.15:10600' ORDER BY `id` DESC LIMIT 1);
    *************** NEW THREAD LOCAL ALLOCATION ***************
    [LUA][Zcript] 06/13/16 23:24:22 ** LaTrouTe - disconnected
    dispatch: ClientRegisterMessage
    06/13/2016 11:24 PM D.c
    INFO: ConnectionPending: 1
    dispatch: ClientRegisterChannelMessage TCP Port:10601
    SET HOSTED CONNECTION FOR CHANNEL: 3 de.jiw.network.base.HostedConnection@4bd29af5
    dispatch: ClientRegisterChannelMessage TCP Port:10602
    SET HOSTED CONNECTION FOR CHANNEL: 5 de.jiw.network.base.HostedConnection@4bd29af5
    dispatch: ClientRegisterChannelMessage TCP Port:10603
    SET HOSTED CONNECTION FOR CHANNEL: 6 de.jiw.network.base.HostedConnection@4bd29af5
    dispatch: ClientRegisterChannelMessage UDP Port:10602
    dispatch: ClientRegisterChannelMessage UDP Port:10600
    dispatch: ClientRegisterChannelMessage UDP Port:10601
    registerClientChannel isComplete
    Endpoints length: 7
    register endpoint: de.jiw.network.kernel.tcp.TcpEndpoint@74d48593 1
    register endpoint: de.jiw.network.kernel.udp.UdpEndpoint@4525582f 1
    register endpoint: de.jiw.network.kernel.udp.UdpEndpoint@11c6cd5e 1
    register endpoint: de.jiw.network.kernel.tcp.TcpEndpoint@6be8e091 1
    register endpoint: de.jiw.network.kernel.udp.UdpEndpoint@199be34d 1
    register endpoint: de.jiw.network.kernel.tcp.TcpEndpoint@395bd3a0 1
    register endpoint: de.jiw.network.kernel.tcp.TcpEndpoint@521da3e 1
    06/13/2016 11:24 PM D.c
    INFO: Client Connected ID: 1 IP: 85.190.153.15/85.190.153.15:10600
    SERVER START VERIFICATION OF CLIENT LaTrouTe
    *************** NEW THREAD LOCAL ALLOCATION ***************
    PLAYER CONNECT: LaTrouTe
    LOADPLAYER: LaTrouTe
    [LUA][Zcript] 06/13/16 23:24:27 INSERT INTO `lastlog` (`player_id`, `name`, `ip`, `connect_at`) VALUES (1, 'LaTrouTe', '85.190.153.15/85.190.153.15:10600', strftime('%s', 'now'));
    serverPlayerListener -> Survival
    ... (1) ChunkAdditions saved to DB!
    [LUA][Zcript] 06/13/16 23:24:42 ** LaTrouTe - joined the world
    Server DisconnectMessage
    ---------------------------
    Client: 3 removed
    06/13/2016 11:24 PM D.c
    INFO: Delete Client ID: 3
    [LUA][Zcript] 06/13/16 23:24:50 UPDATE `lastlog` SET `disconnect_at` = strftime('%s', 'now') WHERE `id` IN (SELECT `id` FROM `lastlog` WHERE `ip` = '85.190.153.15/85.190.153.15:10600' ORDER BY `id` DESC LIMIT 1);
    *************** NEW THREAD LOCAL ALLOCATION ***************
    [LUA][Zcript] 06/13/16 23:24:50 ** Tamethunder - disconnected

Participate now!

Don’t have an account yet? Create a new account now and be part of our community!