[MECH] RealCompass 0.6 - Compass points North [1060]

Discussion in 'Inactive/Unsupported Plugins' started by ichingpow, Jul 2, 2011.

  1. Offline

    ichingpow

    I have moved this plugin to BukkitDev.

    http://dev.bukkit.org/server-mods/realcompass/

    Major mess up, uploaded 0.1 fixed. Same download link.

    Embarrassment level 1+

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
    AlbireoX likes this.
  2. Offline

    Alesana

    Tested and work like a charm! Thank you for this little but nice plugin! :D
     
  3. Offline

    ichingpow

    No problem ;)
     
  4. Offline

    gsand

    Thanks! Very Useful!
     
  5. Offline

    ichingpow

    No problem ;) Thanks
     
  6. Offline

    AlbireoX

    Learn GitHub!
     
  7. Offline

    ichingpow

    For such a simple plugin, no thanks.

    Anyways I don't understand how to set up the keys part.
     
  8. Offline

    Alesana

    I'm getting this error when teleport:

    Code:
    2011-07-03 12:38:31 [SEVERE] Could not pass event PLAYER_RESPAWN to RealCompass
    java.lang.NullPointerException
        at ichingpow.RealCompass.RealCompassPlayerListener.onPlayerRespawn(RealCompassPlayerListener.java:30)
        at org.bukkit.plugin.java.JavaPluginLoader$3.execute(JavaPluginLoader.java:258)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
        at net.minecraft.server.ServerConfigurationManager.moveToWorld(ServerConfigurationManager.java:239)
        at net.minecraft.server.ServerConfigurationManager.moveToWorld(ServerConfigurationManager.java:204)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:868)
        at net.minecraft.server.Packet9Respawn.a(SourceFile:18)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Any idea?
     
  9. Offline

    ichingpow

    Hmm, seems the PLAYER_RESPAWN hook is broken. I'll post 0.2 without PLAYER_RESPAWN hook.

    Edit: Updated to 0.2, check the changelog ;)
     
  10. Offline

    Alesana

    I'll try it as soon as I can and i'll leave feedback!! =)
     
  11. Offline

    ichingpow

    Thank you.
     
  12. Offline

    Soulstormer

    Nice plugin, I like some realism.

    North seems to work nicely, same for south.
    But for east / west it seems exchanged.
     
  13. Offline

    ichingpow

    I never added east, west, or south.
     
  14. Offline

    Soulstormer

    Maybe it's an idea for the next version?
    My logic says: South have to be right if north is, but the Compass is mirrored.
     
  15. Offline

    ichingpow

    I'll add /north and /south and try to add /east and /west.
     
  16. Offline

    Pythros

    So does this make everyone's compass point north or only the person that runs the command?
     
  17. Offline

    Aspernatio

    How memory-intensive is this? I'm not expecting any big numbers, but I am curious.
     
  18. Offline

    ichingpow

    Everyone
    Very low but I'll rewrite it to make it use even less.
     
  19. Offline

    Aspernatio

    Thanks for the response Iching--really appreciate the work you put into this.
     
  20. Offline

    Pythros

    Sweet! Downloading :D
     
  21. Offline

    ichingpow

    No problem :)
     
  22. Offline

    ichingpow

    Updated, check changelog. :D
     
  23. Offline

    Kaikz

    hahaha.
     
  24. Offline

    ichingpow

    I did :p

    Well not really, I just removed the inventory checks.

    The reason it has a performance impact is because on every single player move event it checks the player's inventory if it has a compass and then if that compass is in the person's hand. So multiply that by the amount of players, say 80 and you've got a minor problem.
     
  25. Offline

    TienSon

    Now on my Facebook quotes:
    "The compass points NORTH!! IT'S AMAZING!!!"
     
  26. Offline

    ichingpow

    I just updated it with a small decrease in memory usage.
     
  27. Offline

    Doc

    Can you make this work for the map too? It drives us all nuts that its off just like the compass is.
     
  28. Offline

    ichingpow

    You mean the top of the map is north, left is east, and so on? If so, no I can't :(
     
  29. Offline

    Rofang

    I'd very much like to use this plugin if it had the command /east. I'm setting up a server in which sunrise is regarded as north (to match the map items), and having compasses point that way would be outstanding.
     
  30. Offline

    ichingpow

    I guess I can do that.
     

Share This Page