Posts by Solveign

    Server is running linux, 0.9.2.2 was running fine, just upgraded server to 0.9.2.3, now i get failing connections to some ports and can't connect to the server. it also doesn't show up on the server list on the client any more.
    Here is a log extract:


    TARTING RISING WORLD SERVER...
    Server bind to IP: ***.***.***.***:4255
    2018/02/17 11:32 AM JIW-Network
    INFO: [NetworkServer] Add channel Port:4,255 Type:TCP Index:0
    2018/02/17 11:32 AM JIW-Network
    INFO: [NetworkServer] Add channel Port:4,256 Type:UDP Index:1
    2018/02/17 11:32 AM JIW-Network
    INFO: [NetworkServer] Add channel Port:4,256 Type:TCP Index:2
    2018/02/17 11:32 AM JIW-Network
    INFO: [NetworkServer] Add channel Port:4,257 Type:UDP Index:3
    2018/02/17 11:32 AM JIW-Network
    INFO: [NetworkServer] Add channel Port:4,257 Type:TCP Index:4
    2018/02/17 11:32 AM JIW-Network
    INFO: [NetworkServer] Add channel Port:4,258 Type:UDP Index:5
    2018/02/17 11:32 AM JIW-Network
    INFO: [NetworkServer] Add channel Port:4,258 Type:TCP Index:6
    2018/02/17 11:32 AM I.g
    INFO: Default server permissions loaded successfully!
    Found 2 files in groups folder
    2018/02/17 11:32 AM I.g
    INFO: Group "admin" permissions loaded successfully!
    RISING WORLD SERVER STARTED


    ok so far but then:


    [TcpSessionHandler] NEW Client Connection from:/217.144.175.2:59787 de.jiw.network.server.session.TcpSessionHandler@19b4f5b0 PORT:4255
    SERVER QUERY ERROR
    java.net.BindException: Cannot assign requested address
    at sun.nio.ch.Net.bind0(Native Method)
    at sun.nio.ch.Net.bind(Net.java:433)
    at sun.nio.ch.DatagramChannelImpl.bind(DatagramChannelImpl.java:691)
    at io.netty.util.internal.SocketUtils$6.run(SocketUtils.java:123)
    at io.netty.util.internal.SocketUtils$6.run(SocketUtils.java:120)
    at java.security.AccessController.doPrivileged(Native Method)
    at io.netty.util.internal.SocketUtils.bind(SocketUtils.java:120)
    at io.netty.channel.socket.nio.NioDatagramChannel.doBind0(NioDatagramChannel.java:198)
    at io.netty.channel.socket.nio.NioDatagramChannel.doBind(NioDatagramChannel.java:193)
    at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:558)
    at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1283)
    at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:501)
    at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:486)
    at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:989)
    at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:254)
    at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:364)
    at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
    at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403)
    at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:463)
    at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
    at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:138)
    at java.lang.Thread.run(Thread.java:748)
    Steam Servers Connected (1407489909 -> 83.228.151.117)
    [TcpSessionHandler ExceptionCaught] /217.144.175.2:59787
    2018/02/17 11:32 AM JIW-Network
    WARNING: [TcpSessionHandler ChannelInactive] Unable to find ClientConnection for /217.144.175.2:59787
    [TcpSessionHandler] NEW Client Connection from:/217.144.175.2:62917 de.jiw.network.server.session.TcpSessionHandler@bf75ea PORT:4255
    [TcpSessionHandler] NEW Client Connection from:/190.37.11.162:21359 de.jiw.network.server.session.TcpSessionHandler@7c71fcd0 PORT:4255
    [TcpSessionHandler ExceptionCaught] /217.144.175.2:62917
    2018/02/17 11:33 AM JIW-Network
    WARNING: [TcpSessionHandler ChannelInactive] Unable to find ClientConnection for /217.144.175.2:62917
    java.io.IOException: Connection reset by peer
    at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
    at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
    at sun.nio.ch.IOUtil.read(IOUtil.java:192)
    at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
    at io.netty.buffer.PooledUnsafeDirectByteBuf.setBytes(PooledUnsafeDirectByteBuf.java:288)
    at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1106)
    at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:343)
    at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:123)
    at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:645)
    at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580)
    at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497)
    at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459)
    at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
    at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:138)
    at java.lang.Thread.run(Thread.java:748)
    [TcpSessionHandler ExceptionCaught] /190.37.11.162:21359

    Hi,
    i just installed the new Server from Steam (changing from standalone to steam) using steamcmd. That works really fine, not a single problem.
    But... as i log in using the steam client for the first time (remember i have been using the standalone client before) i notice i'm in the middle of nowhere and my inventory is empty. Well, no big thing as i didn't have much on me when i left the game before the update. I luckily found a house nearby where i copuld produce a map. Big surprise... the map is empty too???
    I guess it will be a big seek your houses game for me now... Or is there a possibility to recover the map data ?


    Regards,
    Solveign


    Edit:typos

    Hi, i have a visibly empty tanning rack, however, if i move the cursor over it it changes to a hand. I can't take anything from the rack, and i also can't put a new fur on it.
    Server log:

    Code
    INFO: Client Connected ID: 4 IP: 83.228.151.117
    SERVER START VERIFICATION OF CLIENT Solveign
    PLAYER CONNECT: Solveign
    LOADPLAYER: Solveign
    serverPlayerListener -> Survival
    2018/02/11 09:56 PM J.c
    INFO: Player Solveign illegal state: No tanning info found for 313 (pickup: true)


    Client log:


    the 'Tanning'-entries continue until i move the cursor away from the rack.

    Red, you mentioned: "The block shape is encoded into the block id, so when using a higher value (up to 32k), you will get a different shape"


    The 'normal' blocks have ids 21..218, and i managed to create these .


    Is there a list of all the other possible shapes and offsets available, or do i need to try all 32k values if i want to get a specific shape?


    Regards, Solveign

    Hi,
    i want my plugin to create a 3x3 area of blocks with mithril texture in front of the player on the same height as the player is standing when issuing a command.
    My question is how to create such a textured block.
    I tried using this.getWorld().placeBlock() and managed to create a half-cylinder of wood in front of the player, but i have no idea how to change the texture or create a cube?
    this is my code:


    Java
    ItemDefinition id = Definitions.getItemDefinition((short)700); //block
    Vector3i cp = player.getChunkPosition();
    Vector3i bp = player.getBlockPosition();
    bp.setY(bp.getY()-1);
    bp.setZ(bp.getZ()+1);
    this.getWorld().placeBlock(700, cp, bp);

    Thanks for your help

    This error occurred only once, yes. And i played about 27 minutes until the crash:


    2018/01/25 07:16 PM F.f
    INFO: Client Connected ID: 7 IP: 83.228.152.223
    SERVER START VERIFICATION OF CLIENT Solveign
    PLAYER CONNECT: Solveign

    Hi, just crashed while eating an apple...
    Here are the relevant logs: (newest Client and Server Versions)


    Uncaught exception thrown in Thread[jME3 Main,10,main]
    java.lang.IllegalArgumentException: This NativeObject is not registered in this NativeObjectManager
    at com.jme3.util.NativeObjectManager.deleteNativeObject(NativeObjectManager.java:136)
    at com.jme3.util.NativeObjectManager.deleteUnused(NativeObjectManager.java:188)
    at com.jme3.renderer.opengl.GLRenderer.postFrame(GLRenderer.java:939)
    at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:189)
    at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:198)
    at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:232)
    at java.lang.Thread.run(Thread.java:748)



    Client log:
    CHEST
    open true
    EAT FOOD
    content.Game SEVERE: Fatal error occurred:
    Uncaught exception thrown in Thread[jME3 Main,10,main]
    java.lang.IllegalArgumentException: This NativeObject is not registered in this NativeObjectManager
    at com.jme3.util.NativeObjectManager.deleteNativeObject(NativeObjectManager.java:136)
    at com.jme3.util.NativeObjectManager.deleteUnused(NativeObjectManager.java:188)
    at com.jme3.renderer.opengl.GLRenderer.postFrame(GLRenderer.java:939)
    at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:189)
    at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:198)
    at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:232)
    at java.lang.Thread.run(Thread.java:748)



    ::CLIENT CHANGE STATE: Connected -> Disconnecting
    integrated server reset
    RESET LUA
    REMOVE CLIENT CHUNKTHREADS FROM EXECUTOR
    SHUTOWN DONE





    Aus dem Server log:



    clear temporary voxel maps
    ... (1) ChunkAdditions saved to DB!
    ... (1) ChunkAdditions saved to DB!
    2018/01/25 07:33 PM J.c
    INFO: Player Solveign illegal state: ChestToInventoryStackExchange: Origin item is null
    ... (1) ChunkAdditions saved to DB!
    ... (1) ChunkAdditions saved to DB!
    CLIENT 7 CHANGE STATE: Connected -> Disconnecting
    CLIENT 7 CHANGE STATE: Disconnecting -> Disconnected
    REMOVE: de.jiw.network.server.session.ClientConnection@32e748e5 - 7 -


    Hope it is helpful...
    Regards,
    Solveign