[INFO] Ranks- Count your blocks and get ranks [BukkitDev]

Discussion in 'Archived: Plugin Releases' started by Kostronor, May 4, 2011.

  1. Offline

    Bill Warner

    it doesn't seem to work for anyone that has mixed case in their name.

    arsonsmith=1,0,ArsonSmith
    chacha12=23,190,chacha12
    yamsucker742=184,9,yamsucker742
    pablitoz=0,1,Pablitoz
    serrata=0,1,Serrata
    jmb0825=26,0,jmb0825
    docjewl=1,0,DocJewl

    If they have mixed case it only records the first block placed or broke and no others.
     
  2. Offline

    Kostronor

    try the download-link again please, should be fixed now
     
  3. Offline

    Bill Warner

    So that looks like it changed the second name in the Ranks.dat file to lowercase, but it still doesn't update the number of blocks broken unless the login name is all lowercase.

    docjewl=0,1,docjewl
    jerrythemouse=1,0,jerrythemouse
    little_gopher=0,1,little_gopher
     
  4. Offline

    Kostronor

    hmmm...
    very strange, that would require some testing to find the error, can you add me (kostronor) on skype to solve it?
     
  5. Offline

    LuckyMonkey

    I also have the mixed case error. Plase fix?!?!
     
  6. Offline

    Kostronor

    I don't have it, so i would need someone of you who helps me testing it on a server where the error occurs.
    sadly, @Bill Warner was not online in skype the last days and i cannot fix it myself without knowing the error...
    if you want to help me with it, add me on Skype (Kostronor)
     
  7. Offline

    LuckyMonkey

    The error is on my server right now.
    I won't be around this weekend but I will be around on monday.
     
  8. Offline

    Bill Warner

    sorry Kostronor I think our schedules are just opposite of each other. you can log into my server at mc.bongaming.com to see it in action. There is no error message just the mixed case problem. If someones username is all lowercase /ranks works, if they have uppercase in their name then it only registers their first action and no more.
     
  9. Offline

    Kostronor

    well, the problem is, with skype, i could easily send you a debug-version to locate the problem, but i don't want to spam this thread with thousands of messages like "hey try again" :D
    if you are online, then just nag me, i should be online about the whole day...
     
  10. Offline

    enelar

    Can you please add multiplay directions of giving exp?
    Woodcuter, miner etc.
     
  11. Offline

    Kostronor

    i don't want it to be like mcmmo, it will be statistics for minecraft, not for roleplay;)
     
  12. Offline

    enelar

    Just directions please.
    Example with 3 directions: +1a -2b +4c, 40a 45b 0c, 34a 45b 54c.
    I think this function may be needed not only by RP servers.
     
  13. Offline

    Kostronor

    i really don't understand what you want to say with directions, can you explain it?
     
  14. Offline

    omnija

    will this be updated to work on latest files?
     
  15. Offline

    Kostronor

    i dont think that anything needs to be updated, as long as not stated by anyone finding a bug, this should work fine, i just wont update the title to the newest version, because no one stated that it works.
    but as long as bukkit leaves the api (they leave the api in over 95%) everything works fine!
    can you test it and tell me if it works?, that would help very much anyone using it i think, thank you :)
     
  16. Offline

    omnija

    Code:
    09:25:19 [SEVERE] Could not pass event BLOCK_PLACE to Ranks
    java.lang.NullPointerException
            at Me.Kostronor.Ranks.events.RanksBlockListener.onBlockPlace(RanksBlockL
    istener.java:54)
            at org.bukkit.plugin.java.JavaPluginLoader$28.execute(JavaPluginLoader.j
    ava:434)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(Cr
    aftEventFactory.java:90)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(Cr
    aftEventFactory.java:74)
            at net.minecraft.server.ItemBlock.a(ItemBlock.java:81)
            at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
            at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j
    ava:223)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
            at net.minecraft.server.Packet15Place.a(SourceFile:57)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
            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)
    >
    
     
  17. Offline

    Kostronor

    have you tried dumping your Ranks-folder (backup it please) and letting it create itself new?
    i think there is some formatting error
     
  18. Offline

    omnija

    yea i did, it usually happens when i reboot the server.
     
  19. Offline

    Kostronor

    does it work after deleting the whole ranks-Folder?
    this error should appear while placing a block and it should be something with your format, if it does not work after deleting the files, please send me your folder so i can locate it :)
     
  20. Offline

    omnija

    hmm error stopped, but ranks stuck at
    0
    1

    edit: never mind it came back <Edit by Moderator: Redacted mediafire url>
     
    Last edited by a moderator: Dec 14, 2016
  21. Offline

    Kostronor

     
    Last edited by a moderator: Dec 14, 2016
  22. Offline

    omnija

    Code:
    13:21:20 [INFO] ****************************************************************
    *******************
    13:21:20 [INFO] This is some debug output, please just copy it and paste it to t
    he forum, thanks
    13:21:20 [INFO] 68
    13:21:20 [INFO] 0
    13:21:20 [INFO] 0
    13:21:20 [INFO] ****************************************************************
    *******************
    13:21:56 [INFO] ****************************************************************
    *******************
    13:21:56 [INFO] This is some debug output, please just copy it and paste it to t
    he forum, thanks
    13:21:56 [INFO] 68
    13:21:56 [INFO] 2
    13:21:56 [INFO] 0
    13:21:56 [INFO] ****************************************************************
    *******************
    13:22:22 [INFO] ****************************************************************
    *******************
    13:22:22 [INFO] This is some debug output, please just copy it and paste it to t
    he forum, thanks
    13:22:22 [INFO] 4
    13:22:22 [INFO] 3
    13:22:22 [INFO] 0
    13:22:22 [INFO] ****************************************************************
    *******************
    13:22:23 [INFO] ****************************************************************
    *******************
    13:22:23 [INFO] This is some debug output, please just copy it and paste it to t
    he forum, thanks
    13:22:23 [INFO] 4
    13:22:23 [INFO] 4
    13:22:23 [INFO] 0
    13:22:23 [INFO] ****************************************************************
    *******************
    13:22:58 [INFO] ****************************************************************
    *******************
    13:22:58 [INFO] This is some debug output, please just copy it and paste it to t
    he forum, thanks
    13:22:58 [INFO] 68
    13:22:58 [INFO] 7
    13:22:58 [INFO] 0
    13:22:58 [INFO] ****************************************************************
    *******************
    >
    
     
  23. Offline

    Kostronor

    this should work, or do you get the error?
     
  24. Offline

    omnija

    the ranks doesn't update just stays
    0
    1

    well anyway thanks for the help, if im the only one having this issue i don't want to trouble you any more.
     
  25. Offline

    Kostronor

    it stays by 1?
    hmmm... the debug output counts the rank properly, perhaps there is something wrong with the saving, normally it saves after 100 blocks/restart so you should then see the correct block-count
     
  26. Offline

    omnija

    Code:
    14:07:16 [INFO] <-----Ranks starting----->
    14:07:16 [INFO] Update-error #[2].
    14:07:16 [INFO] <-----Ranks enabled----->
    
    it bugs out when i see this while it's loading
    after reseting it 20 times the number stays
    0
    1
     
  27. Offline

    iakelclaudiu

    Yep, same bug here.
    [Ranks]
    name
    0
    1

    If i brake a block it's right that:
    1
    0

    When i type in chat '/ranks' its says that i placed 0 block even if i buid a house before.
     
  28. Offline

    frostmute

    I can confirm the issue everyone is having with users with mixed case.

    Kos, there is no error output in my server log, but the issue only happens with the users whose registered username is mixed case.

    Let me know if there is anything i can do to help you. (if you want to get on my server and check it out or something).
     
  29. Offline

    Kostronor

    ok, i think, i remove mixed-case today, that should solve it, idk, why but it should work then
     
  30. Offline

    finaldrace

    can you make this plugin work on build 1000 i really love it and have an old version with out the sign feature but i want to have it XD
     

Share This Page