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

    OrtwinS

    Ah, great to see BukkitContrib is growing/going along so nicely! I haven't checked this thread in a week or so...


    I have a question about the automated updates.
    Because BukkitContrib is so tighly connected with bukkit I bet every BukkitContrib release is very tigtly bond to a very specific range of Bukkit builds.

    So, if I run a slightly older version of Craftbukkit (say 953), while Bukkit and BukkitContrib both update to some newer recommended build for 1.7.3, will BukkitContrib auto-update to this newer version even if I still run 953?
    ie does the auto-update check my Craftbukkit version before updating? Or else auto-update could turn out to be auto-breaking...
     
  3. Offline

    abclive

    Minecraft 1.7.3 break the mod, I can't connect to my server anymore, I crash
     
  4. Offline

    Afforess

    I will have a fix for MC 1.73 by 6-7 PM EST. I have to go to my RL job ATM. I will respond to questions then.

    @OrtwinS

    You can disable auto update in the config.
     
  5. Offline

    LeGenDaryX

    Is there a mod that put custom skins on the server.. So you can load the skins from there?
    And maybe without needing the client side mod?
     
  6. Offline

    kyle5507

    Good work. I love this plugin and I'm looking all over the place for a plugin that you can add custom texture packs by putting the .zip download link in the config. If anyone knows of a plugin that can do this or can make one contact me.
     
    llaraet likes this.
  7. Offline

    OrtwinS


    I know, but IF it's enabled will it auto-download whatever new version there is even it it would break BukkitContrib? (if for example I have an older craftbukkit version that is not compatible with the newer BukkitContrib).
    Or is there a build in check that sees: 'Oh he, the update wont be compatible with the craftbukkit version installed, so I dont update and only notify'
     
  8. Offline

    Nightgunner5

    I'm working on one like that right now. It's able to have a texture pack defined for each world, custom notifications when you enter specific regions, and maybe the ability to play Minecraft music at those locations. Last night I started working on some code that would allow you to specify custom skins and capes for users.
     
  9. Offline

    Infectedd

    @Nightgunner5 : Dude, i freaking love you. DO IT!!!

    Features, which i want:
    -Setting per-world texturepacks
    -Setting per-player skins/capes/DISPLAY NAMES
    -Playing music to all players online (I don't even hope, that playing complicated tracks is possible, but C418's album has some pretty nice pieces in it :) )
     
  10. Offline

    Incendia

    -_- The auto updater updated past the 1.6.6 compatible version so now it's spamming errors.

    Code:
    10:06:58 [SEVERE] Could not pass event PLAYER_JOIN to BukkitContrib
    java.lang.NoSuchFieldError: craftInventory
            at org.bukkitcontrib.player.ContribCraftPlayer.createInventory(ContribCraftPlayer.java:366)
            at org.bukkitcontrib.player.ContribCraftPlayer.<init>(ContribCraftPlayer.java:76)
            at org.bukkitcontrib.player.ContribCraftPlayer.updateBukkitEntity(ContribCraftPlayer.java:509)
            at org.bukkitcontrib.ContribPlayerListener.onPlayerJoin(ContribPlayerListener.java:26)
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:243)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
            at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:126)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:96)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:33)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
            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)
    10:07:03 [SEVERE] java.lang.NoSuchFieldError: craftInventory
    10:07:03 [SEVERE]       at org.bukkitcontrib.ContribNetServerHandler.getInventoryFromContainer(ContribNetServerHandler.java:380)
    10:07:03 [SEVERE]       at org.bukkitcontrib.ContribNetServerHandler.getActiveInventory(ContribNetServerHandler.java:74)
    10:07:03 [SEVERE]       at org.bukkitcontrib.ContribNetServerHandler.a(ContribNetServerHandler.java:129)
    10:07:03 [SEVERE]       at net.minecraft.server.Packet101CloseWindow.a(SourceFile:16)
    10:07:03 [SEVERE]       at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    10:07:03 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    10:07:03 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    10:07:03 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    10:07:03 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    10:07:03 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    10:07:03 [SEVERE] Unexpected exception
    java.lang.NoSuchFieldError: craftInventory
            at org.bukkitcontrib.ContribNetServerHandler.getInventoryFromContainer(ContribNetServerHandler.java:380)
            at org.bukkitcontrib.ContribNetServerHandler.getActiveInventory(ContribNetServerHandler.java:74)
            at org.bukkitcontrib.ContribNetServerHandler.a(ContribNetServerHandler.java:129)
            at net.minecraft.server.Packet101CloseWindow.a(SourceFile:16)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            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)
    
    
    Had to revert back to 0.0.2
     
  11. Offline

    xyxgreendayxyx

    I installed it to bukkit and client,.. First I installed to bukkit, but it didn't seem to work. Then I thaught, maybe I need to install to the client to, so I did. I tried the first installer, but when I logged onto my server it flashed a picture from the server really fast, then the whole screen became dirt (The menu background). I thaught wtf is this? Then I thaught maybe if I try to install it manually if the installer was glitched or something, so I did, but I get the same "error". Now I think it's because of 1.7.3 were released today, but idk... Anyone else has this problem/Knows how to fix this shit? Thx!
     
  12. Offline

    LeGenDaryX

    What happens when i install a game changing mod. And i have the Client installed. But other players have not?
     
  13. Offline

    kyle5507

    Thanks! Sounds great! Make sure to send me a link to it :D
     
  14. Offline

    Nightgunner5

    A few things I noticed:
    • Setting global cloaks/skins/titles only affects players that either join after or are the player in question.
    • SoundEffect.PROTAL_TRIGGER [sic]
    • I'm able to play Minecraft sound effects just fine, but Minecraft music results in silence:
      Code:
                  BukkitContrib.getSoundManager().playSoundEffect(player,
                           SoundEffect.COW, player.getLocation(), 0, 200); // Plays a loud cow mooing sound
                   BukkitContrib.getSoundManager().playMusic(player,
                           Music.MINECRAFT_THEME, 200); // Silences my jukebox (whaaat?)
    • There's no easy way to find out when it's safe to send BukkitContrib-specific commands to a player - for example, in order to send the custom texture pack, I'm listening for PLAYER_COMMAND_PREPROCESS and then checking the third or fourth longest method name ever (isEnabledBukkitContribSinglePlayerMod) and then checking to see if the player is in a HashSet that gets added to after the texture pack is sent and gets removed from when the player disconnects. An event when the server knows the player has BukkitContrib would be very helpful.
    • When I have Minecraft open with BukkitContrib, my clipboard gets read/written multiple times per second.
    • There is no notification that a texture pack is being changed, which can make being on a server with forced texture packs confusing for a few seconds while the wrong texture pack is being used.

    :)

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

    Wulfspider

    @Afforess, ya found another way to conflict with AuthDB! :p
    Our login messages either do not display or only the 2nd line shows. For shame!
     
  16. Offline

    GingerWarlord

    When I install cotrib and run a level on Minecraft it just says "Saving Chunks" and then I get a blank screen that remains until I close the program. Any help? I un-installed all other mods before testing contrib.
    Minecraft 1.7.3
    Windows 7
     
  17. Offline

    LeGenDaryX

    How the hell do i install Zombe modpack in this? i really can't figure it out.

    Where do i put the files?
    Any help is appreciated :)
     
  18. Offline

    Dimochka

    Are there any differences in inventory open event in BukkitContrib and upstream Bukkit apart from upstream version residing in PlayerListener while contrib uses separate listener?
     
  19. Offline

    Nightgunner5

    Wow, I wonder why nobody can read...
     
  20. Offline

    phaed

    So theres a very big problem with this plugin that I've encountered. My players have been giving me reports of no plugins working on certain chunks, shop chests, pstones etc. It is very weird but it looks like all events are being cancelled on these chunks. No plugins work. I have narrowed down the problem to BukkitContrib. Once removed the chunks come back to normal. Once put back, plugins stop working on these chunks. I was having the same problem with the previous version, and the reports stopped when we upgraded to 1.7 without BC, now that its back the problems have come back. For the time being I have removed BukkitContrib from my server.


    Afforess what could be causing this?
     
  21. Offline

    nisovin

    ItemManager.setItemName() currently lets you specify a byte data value to set names based on the item's data. However, would it be possible to specify item durability? Item durability uses a short rather than a byte. I don't know how it works at all, so I'm just wondering if it's possible. This could be used for naming maps, or in my case, naming books in my BookWorm plugin.
     
  22. Offline

    Afforess

    You mean you've found another way to break other plugins? Well, given the nature of your plugin, I'm not surprised. I'm just happy i don't have to maintain it...
     
  23. Offline

    LRFLEW

    It's really not that hard. You can install from the self install files with it or use the auto-installer after installing zombe's mod. Note that both craft mod and resize mod does not work with this mod (and hence, neither does TooManyItems, sadly).
     
  24. Offline

    Afforess

    Not my fault. You can disable auto updating via the config.
     
  25. Offline

    Incendia

    Should check against the running bukkit version before it goes and updates itself into oblivion
     
  26. Offline

    Afforess

    1.) A global skin or cloak should make it appear correctly for all players online, or players who join later - what else is it supposed to do?
    2.) Will correct.
    3.) Background music will silence jukeboxes (they use the same music source to play on, as compared to sound effects, which use a new music source each time. As for why - RAM usage.) Or do you mean that the MC music will simply not play at all?
    4.) Already such an event. See the BukkitContribSPEnable event. Anyway, all BC specific commands are safe. If you use setTexturePack on a vanilla player, nothing happens. No exceptions, it just get's ignored. All client mod specific functions are wrapped in getVersion() calls.
    5.) Send your own notification. I decided against the music-style notification, and even gave an option to hide the music notification. BukkitContrib is a library, not a gameplay addon.

    Yeah, if there was such a way to check. There isn't. Bukkit has specifically made that hard to avoid HMod lessons.

    No idea. BukkitContrib does not cancel any events. None-whatsoever. Check the source code yourself.

    Also, I know the plugin is running on large servers (HeroCraft) w/o any issues.

    That and the BukkitContrib inventory open event works, and the Bukkit event doesn't. ;)

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

    LeGenDaryX

    Thx! So i only have to install the client side mod?
    Do you know wich mods work with BukkitContrib?
     
  28. Offline

    Afforess

    Will change.

    I hope to release by sunday.

    BukkitContrib 0.1.3 is out. The plugin has very little (functionally no changes, and no breaks), and the client is now for 1.73 only.

    Enjoy. ;)

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

    paully104

    Thanks for the quick updates, keep up the good work!!!
     
  30. Offline

    Nightgunner5

    1. In my tests, I could see my friend's cape only if I joined after he did.
    2. :)
    3. I have a feeling it's either very quiet or that Minecraft is not able to play its own music tracks for some reason. I tried with cat.ogg in the custom music command and it worked, but calm1.ogg didn't make any audible sound when I played it the same way. [EDIT: I just tried it again and it's working now... Weird.] [Edit 2: It seems that BukkitContrib will only play music if Minecraft has played random music during the session.]
    4. I'll look into the event. The problem was that I was calling setTexturePack before the client told the server it had BukkitContrib, so the server completely ignored setTexturePack.
    5. Is there any way to get the name of the texture pack being used by a player?
     
  31. Offline

    Wulfspider

    Sounds to me like this user support you always speak of is getting spread a little thin! :p
    Is there something we are doing that is terrible horrible in your eyes?

    Also, it's not your plugin per-say that is causing issues, it's only when the SP mod is installed.
     
Thread Status:
Not open for further replies.

Share This Page