Invisible Rails

Discussion in 'Archived: Plugin Requests' started by Norbu10, Sep 16, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    WESandTER

    Do you know of any know conflicts and what bukkit build are you using?
     
  2. Offline

    timtower Administrator Administrator Moderator

    Shouldn't have conflicts, and 1.7.2 somewhat, not on laptop atm so can't check.
     
  3. Offline

    Dmrtje

    timtower ooow i'am on 1.7.9 (the latest build) so maybe is that the problem
     
  4. Offline

    timtower Administrator Administrator Moderator

    Doubt it, I am just too lazy to update it but I doubt it that it would change anything
     
  5. Offline

    Dmrtje

    timtower with the version you posted above it is saving to the config but still not hiding after a reload also i get a error for a block break event from your plugin i think it is a nullpointer and if i do /rlm changerailsi get the internal error for the command

    errors:

    BlockBreakEvent
    Code:
    [13:03:14] [Server thread/ERROR]: Could not pass event BlockBreakEvent to RailsLikeMe v0.0.1 ALPHA
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:294) ~[cbbeta1.7.9.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[cbbeta1.7.9.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [cbbeta1.7.9.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [cbbeta1.7.9.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
        at net.minecraft.server.v1_7_R3.PlayerInteractManager.breakBlock(PlayerInteractManager.java:263) [cbbeta1.7.9.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
        at net.minecraft.server.v1_7_R3.PlayerInteractManager.dig(PlayerInteractManager.java:118) [cbbeta1.7.9.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
        at net.minecraft.server.v1_7_R3.PlayerConnection.a(PlayerConnection.java:536) [cbbeta1.7.9.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
        at com.bergerkiller.bukkit.common.internal.network.CommonPacketHandler$CommonPlayerConnection.a(CommonPacketHandler.java:232) [BKCommonLib-1.58-SNAPSHOT.jar:?]
        at net.minecraft.server.v1_7_R3.PacketPlayInBlockDig.a(SourceFile:53) [cbbeta1.7.9.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
        at net.minecraft.server.v1_7_R3.PacketPlayInBlockDig.handle(SourceFile:8) [cbbeta1.7.9.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
        at net.minecraft.server.v1_7_R3.NetworkManager.a(NetworkManager.java:157) [cbbeta1.7.9.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
        at net.minecraft.server.v1_7_R3.ServerConnection.c(SourceFile:134) [cbbeta1.7.9.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
        at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:667) [cbbeta1.7.9.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
        at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:260) [cbbeta1.7.9.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
        at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:558) [cbbeta1.7.9.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
        at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:469) [cbbeta1.7.9.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
        at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [cbbeta1.7.9.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
    Caused by: java.lang.NullPointerException
        at nl.timdebrouwer.railslikeme.RailsLikeMe.onBreak(RailsLikeMe.java:56) ~[?:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_21]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_21]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_21]
        at java.lang.reflect.Method.invoke(Method.java:601) ~[?:1.7.0_21]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:292) ~[cbbeta1.7.9.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
        ... 16 more
    and the error for the changerails command

    Code:
    [13:03:55] [Server thread/INFO]: timmaker issued server command: /rlm changerails
    [13:03:55] [Server thread/ERROR]: null
    org.bukkit.command.CommandException: Unhandled exception executing command 'rlm' in plugin RailsLikeMe v0.0.1 ALPHA
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[cbbeta1.7.9.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) ~[cbbeta1.7.9.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
        at org.bukkit.craftbukkit.v1_7_R3.CraftServer.dispatchCommand(CraftServer.java:701) ~[cbbeta1.7.9.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
        at net.minecraft.server.v1_7_R3.PlayerConnection.handleCommand(PlayerConnection.java:956) [cbbeta1.7.9.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
        at net.minecraft.server.v1_7_R3.PlayerConnection.a(PlayerConnection.java:817) [cbbeta1.7.9.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
        at com.bergerkiller.bukkit.common.internal.network.CommonPacketHandler$CommonPlayerConnection.a(CommonPacketHandler.java:244) [BKCommonLib-1.58-SNAPSHOT.jar:?]
        at net.minecraft.server.v1_7_R3.PacketPlayInChat.a(PacketPlayInChat.java:28) [cbbeta1.7.9.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
        at net.minecraft.server.v1_7_R3.PacketPlayInChat.handle(PacketPlayInChat.java:47) [cbbeta1.7.9.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
        at net.minecraft.server.v1_7_R3.NetworkManager.a(NetworkManager.java:157) [cbbeta1.7.9.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
        at net.minecraft.server.v1_7_R3.ServerConnection.c(SourceFile:134) [cbbeta1.7.9.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
        at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:667) [cbbeta1.7.9.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
        at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:260) [cbbeta1.7.9.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
        at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:558) [cbbeta1.7.9.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
        at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:469) [cbbeta1.7.9.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
        at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [cbbeta1.7.9.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
    Caused by: java.lang.NullPointerException
        at nl.timdebrouwer.railslikeme.RailsLikeMe.sendChange(RailsLikeMe.java:178) ~[?:?]
        at nl.timdebrouwer.railslikeme.RailsLikeMe.onCommand(RailsLikeMe.java:168) ~[?:?]
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[cbbeta1.7.9.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
        ... 14 more
     
  6. Offline

    timtower Administrator Administrator Moderator

    Dmrtje Will look into this
     
  7. Offline

    Dmrtje

  8. Offline

    timtower Administrator Administrator Moderator

    Not yet, haven't searched either
    EDIT:
    Dmrtje, how did you got that error?
    My plugin is loading rails when a world is loaded, and it is saving when the server stops.
    Could I get a full startup log from you?
     
  9. Offline

    TeamMineNL

    timtower can you place powerrials and detector rails in this plugin?
    i need it please
     
  10. Offline

    timtower Administrator Administrator Moderator

  11. Offline

    Dmrtje

  12. Offline

    timtower Administrator Administrator Moderator

    Dmrtje I have no idea what is causing that error.
    But I won't help you any further:
    Code:
    [17:39:44] [Server thread/WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    [17:39:44] [Server thread/WARN]: The server will make no attempt to authenticate usernames. Beware.
    [17:39:44] [Server thread/WARN]: While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
    [17:39:44] [Server thread/WARN]: To change this, set "online-mode" to "true" in the server.properties file.
     
  13. Offline

    Squiiidzoid

    Please post this as a plugin, im sure lots of server owners would want this, just as i do :)
     
  14. Offline

    timtower Administrator Administrator Moderator

    If somebody would be so friendly to make project description then I would make a project page for this
     
  15. Offline

    Dmrtje

    timtower i don't have cracked!
    but i didn't changed it yet
    that could maybe be the thing why i don't see player skins.
    i you don't believe me you could come to my server and see it!
     
  16. Offline

    timtower Administrator Administrator Moderator

    Dmrtje I won't join a server for that. And besides: as far as I know it should be working. I can't reproduce the problem.
     
  17. Offline

    Dmrtje

    timtower could it be from traincarts i have that installed
     
  18. Offline

    timtower Administrator Administrator Moderator

    Doubt that they will throw errors in my plugin or modify it so it won't load again.
    Try the latest file that I uploaded and report back.
    I am also running this with traincarts, no issues
     
  19. Offline

    TeamMineNL

    @timtower can you put power rails and detector rails in this plugin i need it:)
     
  20. Offline

    timtower Administrator Administrator Moderator

  21. Offline

    TeamMineNL

    can you please add the config with block id that you can change
    Different blocks

    like this but that stone need to be water View attachment 20291

    world: {}
    blocks:
    - RAILS
    - LADDER

    like this


    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 4, 2016
  22. Offline

    timtower Administrator Administrator Moderator

    TeamMineNL Won't add that as it could cause major memory leaks.
    Imagine that you add stone, try to hide rails underground and are aiming for the stone.
    Guess how many blocks it will try to hide.
    And ladder is already possible
     
  23. Offline

    TeamMineNL

    do you have the first version that you can add blocks can you give me please:)

    thanks
     
  24. Offline

    timtower Administrator Administrator Moderator

    I don't have it and won't make it either.
    And please use the tahg or reply button
    EDIT: TeamMineNL I gave the reason on the previous page, it is just far too dangerous to implement.
     
    PapiDimmi likes this.
  25. Offline

    WESandTER

    This plugin still wont save the rails in the config when i try and add multiple rails.
     
  26. Offline

    timtower Administrator Administrator Moderator

    Can finally reproduce, will look into it
     
  27. Offline

    WESandTER

    If it helps its kinda like it replaces the rails set in the config rather than adding to them.
     
  28. Offline

    timtower Administrator Administrator Moderator

    Plugin contains a debug feature. Using that atm, somewhere it is overriding everything
     
  29. Offline

    WESandTER

    Have you found the problem?
     
  30. Offline

    timtower Administrator Administrator Moderator

    Semi, kinda busy with school though atm.
     
Thread Status:
Not open for further replies.

Share This Page