Inactive [DEV] BukkitContrib Alpha 0.1.7 [1000]

Discussion in 'Inactive/Unsupported Plugins' started by Afforess, May 21, 2011.

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

    Afforess

    BukkitContrib is superseded by Spout, the new Bukkit/Client framework.
     
  2. Offline

    captainawesome7

    @Afforess Lol, I should get a new pc soon, but the current one I have just says incorrect command line every time I try to use 7zip, so I just use WinRAR
     
  3. Offline

    Afforess

    First off, you don't need to cast a player to a human entity. Players are already a human entity.

    Now, let me make sure I'm understanding the problem:

    If you are using AuthDB & BukkitContrib, AppearanceManager().setGlobalSkin() is not working (e.g no visible change after calls) at all.

    Well, the fact that it works fine with guests & works fine without AuthDB leads me to believe some of the packet/chat processing done by AuthDB is conflicting. And without source code for their plugin, I can not fix it. Perhaps @CraftFire will trust me enough to give me a copy of the source code for AuthDB? If not, don't use AuthDB. I dislike plugins that hide their source anyway (even if there are reasons).

    Need to add 7zip to the path or whatever the mac equivalent is.

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

    alta189

    @Afforess Just confirming, there is no way to display the cloaks for the person wearing them...
     
  5. Offline

    Afforess

    Correct.

    @Everyone

    I've added a "planned" changelog for future releases. Changing skins/cloak for the active player is on them. ;)
     
  6. About casting to human entity.. I tried some other ways how to get it working with AuthDB and that cast left there. Thanks :)

    Yes, you're understanding really well. No visible changes... I watched decompiled code of AuthDB (you can too), but I didnt get something problematic. But I really don't know Contrib as you do.

    AuthDB is probably only authorization plugin using MySql.. that's reason why to use that.
    Btw: where is src for contrib, if you dont like... you know.
     
  7. Offline

    Afforess

    I'll add a link to the OP as well:

    https://github.com/Afforess/BukkitContrib

    Also would like to note, if the exception with /reload is bothering anyone, you can compile the src on github, it already has the fix. ;)

    Alpha 0.0.5 will probably not be until wend.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 15, 2016
  8. Offline

    alta189

    Coloring works for titles btw
     
  9. Offline

    Afforess

    Does it? Awesome, less work for me. Mind posting a screenshot to pique my curiosity?
     
  10. Offline

    alta189

    Here it is. I used ChatColor.RED.toString() + player.getName()
    [​IMG]
     
  11. Offline

    narrowtux

    Suggestion:
    A GUI Framework for the client side plugin? This would make some plugins really awesome.

    @captainawesome7
    there is a 7zip app for the mac with gui:
    http://sixtyfive.xmghosting.com/products/7zx/
    works very well on mine ;)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 15, 2016
  12. Offline

    captainawesome7

  13. Offline

    Afforess

    Yeah - definitely worth looking into long term, in addition to a way to have clients download custom entites/blocks/items dynamically.

    Still would need BukkitContrib client to download them, but at least they wouldn't be hardcoded.

    @alta189

    Very cool!
     
  14. Offline

    alta189

    Looking foward to future updates. :D
     
  15. Offline

    CraftFire

    Our source isn't hidden and has never been hidden. There were numerous links to our GitHub in each post; which is where the source for each of our plugins is located. The links were just replaced a few days ago as I moved most of the pages to wiki.bukkit.org. The links have been on the wiki since the start. I will add a link back to GitHub for the source.
    http://www.github.com/CraftFire/AuthDB/
     
  16. Offline

    GeMoschen

    Hey Afforess!
    I found a new bug in the latest version from github.

    When having an inventory opened while reloading, the event.getLocation() in onInventoryClick will return null, after the restart is completed.

    After reopening the inventory everything is fine, but it's quite annoying when working with synced inventorys (the inventorys will get desynchronous, because they are not updating) :/
     
  17. Offline

    Afforess

    Alright, thanks for the warning. Looks like I need to save those. ;)
     
  18. Offline

    GeMoschen

    Haha no problem :)
    I used a workaround to save the opened-Inventorys for now, but I think it would be much easier the other way :p

    But it does not hurry right now.
     
  19. Offline

    CadLoop

    Hello everyone especially Afforess:)

    I have same problem like Aiquen with AuthDB. I just wondering Afforess can you look at source code of AuthDB for possible fix i will be so happy :)If you can fix this i will be telling stories all people around me about you and your great work :))
     
  20. Offline

    alta189

    @Afforess
    Its seems to only allow changing of cloaks during the PlayerJoinEvent... Is this the way it is supposed to work?
     
  21. Offline

    narrowtux

    @Afforess My client gets kicked nearly each time I /reload
    Console says this for example:
    Code:
    17:47:26 [WARNING] Failed to handle packet: java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftPlayer cannot be cast to org.bukkitcontrib.player.ContribCraftPlayer
    java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftPlayer cannot be cast to org.bukkitcontrib.player.ContribCraftPlayer
    	at org.bukkitcontrib.packet.Packet195KeyPress.a(Packet195KeyPress.java:56)
    	at net.minecraft.server.NetworkManager.b(NetworkManager.java:225)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    I think this is because the client sends a key press but the bukkit-contrib plugin isn't loaded at this time.
     
  22. Offline

    Afforess

    Can't really debug AuthDB, since the developer is making some big changes to it's source code. Also, I'm unfamiliar with the code, and it's not really my problem.

    (If plugin A breaks plugin B, who do you complain to, the plugin who broke another plugin, or the plugin who broke? ;) )

    I'll try to take a look this weekend, but no promises.

    Definitely not. I've successfully set cloaks on other events, including onPlayerInteract.

    Yes, clients are only quasi-reload aware. I'm going to change how I use packets, and fix this with 0.0.5

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 15, 2016
  23. Offline

    alta189

    I mean when I have it update someones cloak people can not see them untill they have reconnected
     
  24. Offline

    Afforess

    It should send the update immediately. Can you post the code you are using to change the cloak?
     
  25. Offline

    alta189

  26. Offline

    Afforess

    I think I know why. BukkitContrib sends it's first packet to a player with onPlayerJoin (it uses the Priority.Lowest, so it goes first), but there is a delay (~500ms) until the player sends back the confirmation, if it confirms the client. You're attempting to set the cloak before the confirmation. (If you check isBukkitContribSinglePlayerEnabled on the contribPlayer, it will return false. )

    Use the scheduler to delay your task by 10 ticks or so, and it should work.

    I'll be adding a onBukkitContribModEnabled event in 0.0.5, then you will be able to hook onto that instead. ;)
     
  27. Offline

    alta189

    Thanks :p Love the work you are doing. I already have too many ideas :p Cannot wait to see the updates :p Do you have an idea of when 0.0.5 will be released?
     
  28. Offline

    Afforess

    Added dates to planned changed. ;)
     
  29. Offline

    Kainzo

  30. Offline

    Afforess

    See planned changes for 0.0.5 (already fixed internally)
     
  31. Offline

    Kainzo

    K just reporting it.

    Have you been on to see heroes? :)
     
Thread Status:
Not open for further replies.

Share This Page