[MISC] SpoutCoords v0.6.1 - Coordinates for Spoutcraft [1185]

Discussion in 'Inactive/Unsupported Plugins' started by _infina_, Aug 21, 2011.

  1. Offline


    SpoutCoords - Coordinates for Spoutcraft:
    Version: 0.6.1

    This plugin will allow those players who are using Spoutcraft, the Spout client, to have updating, on-screen coordinates. Players who have Spoutcraft can press F4 to toggle these coordinates. Requires: Spout & Spoutcraft

    • Enables F3 like coordinates for those using Spoutcraft
    • Permissions
    • Fix coordinates flashing and disappearing
    Screenshot (open)

    Source Code
    Bukkit Dev

    Version 0.6.1
    • Fixed "You don't have permission to do that" issue.
    Version 0.6.0
    • Updated to CB1185 & Spout 381
    • Fixed Pemissions error
    • Refactored code
    Version 0.5.0

    • Updated to latest Spout RB
    • Compass
    • Easter Egg
    Version 0.1.0
    • Initial Release
    Thanks to the entire SpoutDev team for both Spout and their assistance in helping me get this working.
    Lead2Life likes this.
  2. Offline


    OK, thanks, waiting...
  3. Offline



    Hello, I found somes issues with your plugin.

    Two player cannot active spoutcoords at the same time, if a second/third/... player want to activate spoutcoords he need to press F4 two times, the first time to disable spoutcoords for the last player who used F4 and the second to enable spoutcoords for himself.

    When two or more players enable spoutcoords at the same time they get coordinates of all the players who activated spoutcoords.
    Numbers displayed are those of the lastest player to move.
    This persist even after a player disconnected from the server.

    Appart from that, you plugins is really great, everyone on my server enjoy using it.

    I hope I'm undersantable since English isn't my native language.
  4. Offline


    I am having trouble fixing this right now, I am waiting on the SpoutcraftAPI to be ready to fix this properly.
  5. Offline


    i got a request:
    Can you stop the enable/disable coordinates log directly into the console and logs into a file? SpoutCoordinates\log.txt
  6. Offline


    That may not be a feature when I re-introduce it as SpoutcraftCoords.
  7. Offline


    i don't want to use default...
  8. Offline


    I also found that with this module missing the permissions node, users who use spout that are not admins get "You don't have permissions for that". for every step they take.

    Update: I added SpoutCoords.* to the group and the message went away.
  9. Offline


    Found the error...need to swap around a couple of if statements. That means I have to get to the computer that has the release code on it to fix it. :oops:
  10. Offline


    does this work with the newest versions of spout/bukkit?
  11. Offline


    It has for me.
  12. Offline


    So it's compatible with newest RB and we can safely use it?
  13. Offline


    I have not noticed anything broken, so it is compatible. I do have a small fix to make to some of the permissions stuff, and that will be out later today.

    Okay, 0.6.0 released.

    Fixed permissions error noted by dockter.
    Refactored namespace.

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


    The permission bug noticed by dockter still there for me. :<
  15. Offline


    hmm I dont know what error their was before but with this new version every key I hit I get you dont have permission to do that.. even while in op...
    sventi83 likes this.
  16. @_infina_

    Same for me :/ Still there with or without the node 'SpoutCoords.*'

  17. Offline


    Same here >.<
  18. Offline


    0.6.1 will be out trying to fix the issue tomorrow @ 0900 Eastern.

    The offending bit of code:
    if(event.getKey() == Keyboard.KEY_F4){
                    SpoutPlayer player = event.getPlayer();
                    plugin.setCoords(player, !plugin.hasCoords(player));
                        System.out.println(player.getDisplayName() + " has enabled coordinates.");
                        System.out.println(player.getDisplayName() + " has diabled coordinates");
  19. Offline


    Its actually worse, for groups that have spoutcoords.* enabled, it even errors then.
  20. Offline


    I really don't program in Java, I just have a little knowlendge... but the error message we all are getting, occurs when hitting ANY key, not just F4. And the error message says "You don't have permission to do that."

    Sorry if I'm mistaken, just trying to help.
  21. Offline


    Version 0.6.1 fixed it. For some reason I cannot fathom, I put my own error message in the code. Gone now.
    Kain888 likes this.
  22. Offline


    Pro tip: How about you update the OP and BukkitDev page to include what the permission node is...I shouldnt have to look through a whole thread hunting for it in a reply somewhere.
  23. Offline


    True, same here. Two times hunted for it.
  24. Offline


    Also, there appears to be glitching when multiple people are using it, between it updating my co-ordinates it seems to display other peoples.
  25. Offline


    Confirmed. We had to disable it on server to prevent exploits. :(
  26. Offline


    Any update coming to this soon? Coordinates some times jump all over the place by 3000+ or more. Randomly disappear from the screen, takes multiple F4 attempt before they reappear.
  27. Offline


    I am waiting on SpoutcraftAPI to be ready. I have most of the code for it ready.
  28. Offline


    The SpoutCoords shows the wrong coordinates. So the y-coord. is +1 as via F3 (example: F3 69, SpCo 70)
    Can you fix it?
  29. Offline


    It is not actually an error, the program is casting a float to an int. It is accurate, just not precise.
  30. Offline


    spoutcoords broken since spoutcraft 787
  31. Offline


    Hmmm strange, I have a similar error: It doesn't show up any coordinates if I press F4. Could you please upload the code for 0.6.1 so I may take a look?


Share This Page