[FUN/MECH] BookWorm v1.14 - Read and write books[BukkitDev]

Discussion in 'Archived: Plugin Releases' started by nisovin, Jun 19, 2011.

  1. Offline

    Matt1988

    It seems that every time I create a new book, everyone on my server that doesn't have SpoutCraft gets dropped from the server

    I get this Connection Lost error clientside
    Internal exception: java.io.IOException: Bad packet id 195

    No server side Errors.


    Edit: It only seems to do this when the serverside Spout plugin is installed
     
  2. Offline

    nisovin

    Are you using the most recent Spout version?
     
  3. Offline

    Matt1988

    Yep, just downloaded it from the spout forum thread.
     
  4. Offline

    tbsman

    Oh Yes that would be GREAT. And with Spout there is no "this isn't possible" replies anymore. Now, it's either "Yes", or "Yes, in the future".

    waiting for this
     
  5. Offline

    PITTSTAR11

    This plugin looks really awsome but i can't get it working for me. i downloade it to my server and when i typed /write it does reply /write <title> which is what its sopposed to do but when i type /write Binky it says: An internal error occured! Please help am i doing somthing wrong?
     
  6. Offline

    nisovin

    What is the error on the console?
     
    PITTSTAR11 likes this.
  7. Offline

    dillpickle71099

    Help, when i or one of my players try to look at the book title or read the book, everyone gets kicked off the server and it displays a message to everyone, "Internal exception: java.io.IOException: Bad packet id 195"
    the server displays no error messages and continues running like normal

    Edit: i now relise that other people have this same problem and i am checking if my plugins require spout

    Edit2: 1 other plugin requires spout. Please try to fix this
     
  8. Offline

    nisovin

    Bug fix version 1.6.1 released!
    This should now be fixed.
     
  9. Offline

    Monarkos

    2011-08-08 21:38:10 [SEVERE] java.net.SocketException: Connection reset by peer: socket write error
    2011-08-08 21:38:10 [SEVERE] at java.net.SocketOutputStream.socketWrite0(Native Method)
    2011-08-08 21:38:10 [SEVERE] at java.net.SocketOutputStream.socketWrite(Unknown Source)
    2011-08-08 21:38:10 [SEVERE] at java.net.SocketOutputStream.write(Unknown Source)
    2011-08-08 21:38:10 [SEVERE] at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
    2011-08-08 21:38:10 [SEVERE] at java.io.BufferedOutputStream.flush(Unknown Source)
    2011-08-08 21:38:10 [SEVERE] at java.io.DataOutputStream.flush(Unknown Source)
    2011-08-08 21:38:10 [SEVERE] at net.minecraft.server.NetworkWriterThread.run(SourceFile:116)
    2011-08-08 21:38:10 [INFO] Monarkos lost connection: disconnect.endOfStream

    When i try to write...
     
  10. Offline

    Celtic Minstrel

    This assumes (falsely) that all plugin developers or server admins will use Spout if they want a plugin that is not possible without it. I personally don't want to use Spout because I feel like it has too much useless stuff in it, because it requires a client mod for most of the most useful features, and because I don't like the rumours I've heard about their custom launcher. Besides, Spout will probably become obsolete soon enough, anyway, though perhaps not all at once.
     
  11. Offline

    PITTSTAR11

    Sorry. Just after I sent u this message I fixed it after some weeks of tweaking. Sorry about wasting your time.
     
  12. Offline

    Montpelier

    While the "anything is possible" quote is clearly just some throwaway hype, I'm still surprised to hear these views from an experienced plugin developer. Surely you understand that by definition Spout HAS to be a client mod to achieve the primary goal of the project?

    Also, what do you mean when you say useless stuff? Bundling mods with the default install is dodgy on paper, but the improved chat features and Optifog are both extremely useful and almost invisible to anyone who has no interest in them. I'll concede that the Custom Launcher is currently a bit wonky, but it does the job for now and successfully separates the modloaderised clusterfuck that is most people's default MC directory from Spout's soon-to-be server controlled addons. If there are nasty rumours about the launcher, or some more specific reasons why Spout is a bad thing, how about sharing?
     
  13. Offline

    Celtic Minstrel

    I'm surprised to be referred to as an experienced plugin developer. Then again, considering my work on General, my Bukkit pull requests, my contribution to Spout (inventory events), and my other plugins, I suppose maybe I am.

    Yeah, I understand that, but I don't like it. At least the client mod isn't required for the inventory events, though. Of course, they'll eventually be in Bukkit core.

    I was mainly thinking of the packet listeners when I said this, though perhaps "useless" is the wrong word. Perhaps "pointless" or "ill-conceived" would be better. The keyboard listeners are even worse; the server should not be concerned with which key you press to do something. Similarly with the gui controls; the server should never be concerned with the interface presented to the user (though those classes look nice for client-side stuff).

    The rumours I was thinking of were related to (futile) attempts to make the launcher uncrackable. I wouldn't say Spout is a bad thing on the whole, but it's not all sunshine and fairies either.
     
  14. Offline

    TrueTubePoops

    I think it is possible to make the title of a book appear when you mouse over it with spout! can you work with spout and see if that is possible?
     
  15. Offline

    nisovin

    Already done. See the change log.
     
  16. Offline

    TrueTubePoops

    Thanks!
     
  17. Offline

    alfw

    you need the client side mod for this?
     
  18. Offline

    Celtic Minstrel

    No, but if you have it you get a few extra features.
     
  19. Offline

    Lextao

    Please if you could add this feature that would be awesome:
    1. The ability to write in pieces of paper to work as letters from player to player, that would be a major advance for RP servers like mine!
    Thanks in advance for this GREAT plugin!!
     
  20. Offline

    Ranzear

    I decided to put this plugin to the test:

    [​IMG]

    It certainly passed!
     
  21. Offline

    Kane

    @nisovin anymore spout features on the way :)? Btw going give your plugin a try a lot of people wanted it on Godcraft. I was wondering if maybe you could explain how the id's are kept per book level? I assume this has something to do with maps update in the game? Is it like a serial number or something that the items can be tagged with?

    Id so what happens if I were to remove it months later?


    EDIT: Also what is this setting?
    make-real-copy: false

    I'm trying make it legit like my players told me. Author creates a book. He shares the book and others can't copy it only he can sell it and when he updates it everyone elses updates.
     
  22. Offline

    psychokitten666

    Nice plugin, works fine =)
     
  23. Offline

    Wulfspider

    I don't believe we've made any attempts to make the launcher uncrackable. We'd prefer that users not crack the launcher and redistribute it to pirates, but there isn't a lot we can do. Users aren't required to use the Spoutcraft Launcher, but we'd hope they would as it was made with the idea in mind to make updating of everything easier for users. I can't imagine Spout becoming obsolete anytime soon either. Any speculations as to what Notch will actually have in 1.8 is just that; speculations and assumptions, and I can't see Bukkit implementing all of what Spout does either in the near future if at all.
     
  24. Offline

    Celtic Minstrel

    Well, I'm pretty sure inventory will be added to Bukkit, and some of the developers have been working on something which I'm fairly sure would obsolete the packet listener, and probably keyboard listeners as well. I'm not sure if Spout will ever become fully obsolete, but some parts of it certainly will.
     
  25. Offline

    Montpelier

    Even if every current and planned serverside feature of Spout was covered right now in a Bukkit update, there are still things that can only be achieved with a modified client, which is the core of what Spout is. You're missing the wood for the trees here.
     
  26. Offline

    Celtic Minstrel

    Well, as a client API it may never become obsolete, but as a server-side API, I think it will, and certainly it should be made obsolete for the server-side if at all possible. At least half of what it does is stuff that the server should never need to know about (assuming everything on the github is available server-side, for which there's no contrary evidence).
     
  27. Offline

    Kane

    Can we take this to spout post please.



    @nisovin anymore spout features on the way :)? Btw going give your plugin a try a lot of people wanted it on Godcraft. I was wondering if maybe you could explain how the id's are kept per book level? I assume this has something to do with maps update in the game? Is it like a serial number or something that the items can be tagged with?

    Id so what happens if I were to remove it months later?


    EDIT: Also what is this setting?
    make-real-copy: false

    I'm trying make it legit like my players told me. Author creates a book. He shares the book and others can't copy it only he can sell it and when he updates it everyone elses updates.​
     
  28. Offline

    Celtic Minstrel

    @Kane – I imagine part of the reason no-one responded to you before is because your post doesn't really make sense. I'm not sure what you're asking, so I didn't answer, and I imagine others viewing this thread may have felt the same way.
     
  29. Offline

    Kane

    I have a simple one now :p


    My players seam to be able to take another players book and then make copies with it on the bookshelf.

    Permissions:
    Code:
                    bookworm.write.own: true
                    bookworm.copy.own: true
                    bookworm.destroy.own: true
                    bookworm.remove.own: true
                    bookworm.destroy.others: true
    Config:
    Code:
    general:
        secret-amazing-code-do-not-change: bj
        text-color: 10
        use-permissions-plugin: true
        book-info-achievement: true
        keep-all-books-loaded: false
        require-book-to-copy: true
        use-full-filenames: true
        clean-interval: 600
        drop-bookshelf-on-break: true
        show-title-on-held-change: true
        remove-delay: 300
        check-worldguard: true
        make-real-copy: false
        auto-chat-mode: true
        text-color-2: 15
    
     
  30. Offline

    nisovin

    @Kane Books are given "durability" values, similar to how maps work. It wouldn't hurt anything if you remove the plugin later. When a book is copied from a bookshelf, it creates a "fake" copy, in that it is the same book, just a different item. If one of the books is updated, they will all be updated. However, setting the make-real-copy option to true will make a "real" copy. It will copy the book to a new id number, so that any changes to the new book won't be reflected on the original.
     
    Kane likes this.

Share This Page