Posts by james1bow

    ive always wanted to learn to program. only thing ive gotten to realy mess with is some html a few batch files and some basic visual basic (6.0 so its been awhile). As for plugins, a well rounded economy and a good item loader. the example plugin for java is nice for weapons. i think a good item loader would consist of an easy way for a server owner to add food drinks melee and ranged weapons. maybe something along the lines of being able to use the custom items as part of a recipe for other items(customitem1+customitem2=customitem3).

    this was happening to my wife using her laptop with intel hd graphics. it would freeze on the menu and during play. she could only play a few minutes and it would freeze. i set the display to 1024x768 full screen windowed. it would still freeze but would take a few hours. it at least made the game enjoyable for her. i know this thread is old but i figured it may help someone else.

    PLUGIN EXCEPTION ---->

    java.lang.NullPointerException

    at de.pbplugins.icListenerGuiInfo.lambda$onPlayerConnect$0(icListenerGuiInfo.java:111)

    at pluginapi.PluginTimerManager.update(SourceFile:73)

    at pluginapi.PluginManager.update(SourceFile:303)

    at server.Main.update(SourceFile:286)

    at commons.JIWApplication.update(SourceFile:324)

    at com.jme3.system.NullContext.run(NullContext.java:133)

    at java.lang.Thread.run(Unknown Source)


    ##Exception: null

    ##Exception: java.lang.NullPointerException




    any ideas?

    i had the same issue, "Devidian: known issue that comes from the original mod, i did not invent GPS, just made some bugfixes and adjustments as the original maintainer was gone" that is the response i got. that is also the same error i get when reloading plugins. not as bad when noone else is on the server. also the newest version of gps is 1.7.1 and the shared lib is 0.7.0. . i got this link from Devidian hope its ok to share. http://rwdist.omega-zirkel.de/

    still having the issue when no one has been on since restart.


    Rising World - 0.9.6 - Dedicated Server

    Windows Server 2019 10.0 Java 1.8.0_291 (amd64) Memory: 9320 MB

    2021/05/10 07:35 PM

    ____________________________________________________


    Start context...

    Items initialized!

    Plants initialized!

    NPCs initialized!

    Initialize Static Classes...

    Constructions initialized!

    Projectile-Definitions initialized!

    Weapon-Definitions initialized!

    Objects initialized!

    Clothing initialized!

    Picking initialized!

    Food-Definitions initialized!

    Storages initialized!

    Vehicles initialized!

    Crafting-Definitions initialized!

    Record-Definitions initialized!

    Initializing world (sqlite)

    LOAD WORLD New World

    DATABASE TYPE: SQLite

    C:\rw/Worlds/New World:::New World

    CREATE WORLD STRUCTURE - DONE!

    2021/05/10 07:35 PM z.a

    INFO: DatabaseTaskManager started with ThreadPoolSize 1

    WORLDINFO Gamemode: Survival

    Gametype set to Survival

    WORLDINFO Seed: 1588370014461

    WORLDINFO Caves: true

    WORLDINFO Vegetations: true

    WORLDINFO OreAmount: 3

    WORLDINFO StartBiome: null

    WORLDINFO DisabledNPCs:

    WORLDINFO DisabledDungeons:

    WORLDINFO DisabledWaterSources:

    WORLDINFO Worldtype: Normal

    WORLDINFOS seed: 1588370014461 type: Normal caves: true vegetations: true oreamount: 3 startbiome: null disablednpc: [] disableddungeons: [] disabledwatersources: []

    WORLDINFO Time: 31.8.16 13:28:25.300365

    WORLDINFO Creationdate: 1588370014465

    WORLDINFO Version: 0.9.6_39

    TRIGGER UPDATE

    Worldconverter: Updating not required

    WORLDINFO Spawninventory: 0 0 0 0

    WORLDINFO Spawnclothing: 5 -1 -1 1 0 1 0 -1 -1 -1 0 -1 -1 -1 0 -1 -1 -1 -1 1 0 2 0 -1 -1 -1 0 -1 -1 -1 0 -1 -1 -1

    Worldpart generating...

    Biomepart generating...

    Loaded Biomepart from cache: 0 - 0 (4ms)

    Loaded Worldpart (v3) from cache: 0 - 0 (334ms)

    WORLDINFO Spawnposition: 5532.9185 65.05638 -232.03116

    WORLDINFO Spawnrotation: 0.018333627 0.70775104 -0.018379495 0.70598483


    Loading custom images...

    Image test.jpg: Invalid file format

    271 images successfully loaded!


    INITIAL WEATHER Default 1395.0

    2888 chests loaded from DB!

    2145 texts loaded from DB!

    12 Plants loaded from DB!

    235 Furnaces loaded from DB!

    2021/05/10 07:35 PM h.a

    INFO: Custom journal loaded (9)!

    Custom logo: logo.jpg (602033b)

    53511 NPCs loaded from DB!

    20 Vehicles loaded from DB!

    STARTING RISING WORLD SERVER...

    Server bind to IP: ***.***.***.***:4255

    2021/05/10 07:35 PM JIW-Network

    INFO: [NetworkServer] Add channel Port:4,255 Type:TCP Index:0

    2021/05/10 07:35 PM JIW-Network

    INFO: [NetworkServer] Add channel Port:4,256 Type:UDP Index:1

    2021/05/10 07:35 PM JIW-Network

    INFO: [NetworkServer] Add channel Port:4,256 Type:TCP Index:2

    2021/05/10 07:35 PM JIW-Network

    INFO: [NetworkServer] Add channel Port:4,257 Type:UDP Index:3

    2021/05/10 07:35 PM JIW-Network

    INFO: [NetworkServer] Add channel Port:4,257 Type:TCP Index:4

    2021/05/10 07:35 PM JIW-Network

    INFO: [NetworkServer] Add channel Port:4,258 Type:UDP Index:5

    2021/05/10 07:35 PM JIW-Network

    INFO: [NetworkServer] Add channel Port:4,258 Type:TCP Index:6

    2021/05/10 07:35 PM I.g

    INFO: Default server permissions loaded successfully!

    Found 16 files in groups folder

    2021/05/10 07:35 PM I.g

    INFO: Group "admin" permissions loaded successfully!

    2021/05/10 07:35 PM I.g

    INFO: Group "BluePrint" permissions loaded successfully!

    2021/05/10 07:35 PM I.g

    INFO: Group "Citizen" permissions loaded successfully!

    2021/05/10 07:35 PM I.g

    INFO: Group "Duchess" permissions loaded successfully!

    2021/05/10 07:35 PM I.g

    INFO: Group "Duke" permissions loaded successfully!

    2021/05/10 07:35 PM I.g

    INFO: Group "Jester" permissions loaded successfully!

    2021/05/10 07:35 PM I.g

    INFO: Group "King" permissions loaded successfully!

    2021/05/10 07:35 PM I.g

    INFO: Group "Knight" permissions loaded successfully!

    2021/05/10 07:35 PM I.g

    INFO: Group "newb" permissions loaded successfully!

    2021/05/10 07:35 PM I.g

    INFO: Group "Noble" permissions loaded successfully!

    2021/05/10 07:35 PM I.g

    INFO: Group "Prince" permissions loaded successfully!

    2021/05/10 07:35 PM I.g

    INFO: Group "Princess" permissions loaded successfully!

    2021/05/10 07:35 PM I.g

    INFO: Group "PVP" permissions loaded successfully!

    2021/05/10 07:35 PM I.g

    INFO: Group "Queen" permissions loaded successfully!

    2021/05/10 07:35 PM I.g

    INFO: Group "Survivlist" permissions loaded successfully!

    2021/05/10 07:35 PM I.g

    INFO: Group "Terraintools" permissions loaded successfully!

    RISING WORLD SERVER STARTED


    2021/05/10 07:35 PM JIW-Network

    INFO: [NetworkServer] Add channel Port:4,253 Type:TCP Index:0

    RCON Server bind to IP: :4253

    Steam - Load native library: steam_api64.dll Filesize: 250656 bytes

    Steam - Load native library: steamworks4j64.dll Filesize: 273920 bytes

    Steam - Load native library: steamworks4j-server64.dll Filesize: 145920 bytes

    STEAM BIND TO 0 (), PORT 4255, 4259 MODE: Authentication


    SteamID: 76561197960265728 (0)

    Query IP: 0

    Steam Query Server bind to ANY (4255)

    2021/05/10 07:35 PM: Steam Servers Connected (1102958949 -> xxx.xxx.xxx.xxx)

    java.io.IOException: An existing connection was forcibly closed by the remote host

    at sun.nio.ch.SocketDispatcher.read0(Native Method)

    at sun.nio.ch.SocketDispatcher.read(Unknown Source)

    at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)

    at sun.nio.ch.IOUtil.read(Unknown Source)

    at sun.nio.ch.SocketChannelImpl.read(Unknown Source)

    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(Unknown Source)

    java.io.IOException: An existing connection was forcibly closed by the remote host

    at sun.nio.ch.SocketDispatcher.read0(Native Method)

    at sun.nio.ch.SocketDispatcher.read(Unknown Source)

    at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)

    at sun.nio.ch.IOUtil.read(Unknown Source)

    at sun.nio.ch.SocketChannelImpl.read(Unknown Source)

    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(Unknown Source)

    java.io.IOException: An existing connection was forcibly closed by the remote host

    at sun.nio.ch.SocketDispatcher.read0(Native Method)

    at sun.nio.ch.SocketDispatcher.read(Unknown Source)

    at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)

    at sun.nio.ch.IOUtil.read(Unknown Source)

    at sun.nio.ch.SocketChannelImpl.read(Unknown Source)

    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(Unknown Source)

    ive started getting this on the console when a player disconnects from the server



    java.io.IOException: An existing connection was forcibly closed by the remote host

    at sun.nio.ch.SocketDispatcher.read0(Native Method)

    at sun.nio.ch.SocketDispatcher.read(Unknown Source)

    at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)

    at sun.nio.ch.IOUtil.read(Unknown Source)

    at sun.nio.ch.SocketChannelImpl.read(Unknown Source)

    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(Unknown Source)

    it there a way to change the de-spawn time of an arrow after its been fired? making a firing range but but after firing 5 arrows there is little to no time to find them. thanks in advance

    i hope someone can explain this to me, i'm new to java in general and i have always learned by doing. i was looking threw the code learning how things work. my question has to do with how the code pulls the hitdef from the pickingorder.I was trying to create a masons hammer( like the sledgehammer) but with one hit to remove and retrieve the blocks. "Definitions.HitDamageDefinition damageDef = Definitions.getHitDamageDefinition(itemDef.hitDefinition);" i've looked all over to see how that line functions but cant figure it out. does the Definitions.getHitDamageDefinition(itemDef.hitDefinition) use the entire field(item_damage,player_damage) for an item and multiply that by the multiplier for each one or am i missing how it is calling just one damage(player_damage)? i see

    "getPlayerDamage()" in the api and i,m guessing that would call only player_damage. i have a few other items i would like to create (weed wacker with more range for example) but i feel i should start here. i've managed to figure out the workings of everything else just stumped on this one. hope i made sense with my question.

    This wouldn't necessarily help regarding the issue raised by the OP (depending on what's considered a "false model"), but irrespective of that, I agree that it would be helpful if the game could at least detect "broken" models. However, this is only possible to a certain degree - the game (or more specifically the server, where the plugin is actually executed) could only check a few basic things. Not sure what's happening right now if a broken model is loaded, does the game actually crash? :huh: IIRC there should be just an error message in the console :thinking:

    i can say that some models do crash it. i have been using this plugin to test .obj and .dds textures for the customitemloader before i worry about the itemdef and icon files. ive had some .obj files not allow the server to boot as well it will load it then crash the server and not allow it to restart. i could try to find the error logs if it would help in any way