Posts by King Nothing

A small new update is available now!
Unfortunately the forums, server list and report tool were offline last night due to technical issues. Sorry for the inconvenience! It should be working again.
However, unfortunately the Standalone update is temporarily not available. We expect it to be fixed in a couple of hours. Please let me know if you want to get a Steam key instead!

    LoadingState: Error while loading singleplayer game
    java.lang.NullPointerException
    at de.rpg.main.Main.onEnable(Main.java:214)
    at pluginapi.PluginLoader.loadPlugin(SourceFile:263)
    at pluginapi.PluginLoader.loadPluginFromJar(SourceFile:187)
    at pluginapi.PluginLoader.loadPlugins(SourceFile:45)
    at pluginapi.PluginManager.initialize(SourceFile:60)
    at s.t.c(SourceFile:294)
    at s.t.a(SourceFile:172)
    at s.j.run(SourceFile:195)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    Holy Heck... It WORKED!!!!!!!!!!!!!!!!!!!!!!!!!!
    I have had NOTHING but problems with Attributes. thank you for helping me, Now I can Streamline the main plugin and "OUTSOURCE" The other features to separte plugins.

    PLUGIN EXCEPTION (EffNet, , Bleckman) ---->
    java.lang.ClassCastException: net.risingworld.api.gui.GuiImage cannot be cast to net.risingworld.api.gui.GuiLabel
    at EffNet.EffNet.PlayerGuiElementClick(EffNet.java:262)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at pluginapi.PluginEventHandler.triggerEvent(SourceFile:169)
    at aE.b.a(SourceFile:1789)
    at aE.b.messageReceived(SourceFile:125)
    at j.e.a(SourceFile:109)
    at j.c.run(SourceFile:65)

    Plugin A


    Code
    String value1 = (String)player.getAttribute("PlayerTestMoney");
    player.sendTextMessage("Show the Value:"+value1);

    Plugin B

    Its Being Called by "On Player Command"
    I had a test "p.SEndTextMessage(""+"THE ATTRIBUTE")
    it Returned "NULL"


    the Attrubute was "SET" onOnplayerSpawn" in Plugin A


    PluginB called The attribute."


    and yes its both player.setattribute

    I've tried creating the "Buttons" in the main class, NO luck, moved it to the "onplayerCommand" it worked, but I get
    "GuiImage cannot be cast to net.risingworld.api.gui.GuiLabel" when I go to click on it.. ANY HELP??????????????

    I am Currently Working on a


    I am currently working on a "SNAIL MAIL" plugin Where im making Mailboxes for each "NEIGHBORHOOD." First, The Marketsystem and money have to be working 100%

    I don;t know if this has been discussed, but having differet Chat Channels would be good


    Eg, A "GUILD CHAT"
    A "NEIGHBOORHOOD chat"
    An ADMIN ONLY chat


    seen in many on line games..

    Ummm OK...


    I set an attribute in one plugin...


    String Poop ="I farted";
    player.setAttribute("Item", Poop);


    I then Called The Attirbute "Item" in another Plugin, got NULL


    what am I doing wrong??? do I have to wave a magic wand in order for the Other plugin to see it?

    The "tnt" part was copied and pasted from Changelog 2016-11-02: Explosive!