Item Lore Animation

Discussion in 'Archived: Plugin Requests' started by Maeyrl, Jun 1, 2014.

  1. Offline

    Deleted user

    The code on GitHub could be cleaned up a ton, and be optimized for the end user.

    For example, in the frames file. Instead of requiring the end user to use the unicode block, just take characters 0-9 a-f. In the code, append each character with the unicode block, and colorize it.

    That's just one of the changes that could be made. I might put in a pull request soon
     
  2. zackpollard No problem. Good luck with your plugin. :)

    Edit zackpollard Of course, if you wanted to keep the reading from a file for whatever reason (easier to edit, not everyone can gif, etc.) then you could provide a modified version of my example to convert gif -> file ;) I also agree with zombiekiller753 - easier without, and less prone to user error I would say. :)
     
  3. Offline

    zackpollard

    This is by no means a finished project. I will probably be making more commits today
     
    AdamQpzm likes this.
  4. Offline

    whitehooder

    Yeah, I might reset and upload the repo again. It's already messed up by a GitHub newbie :p
    Anyway, for the project, it's nowhere near finished as zackpollard mentioned.
    I had something similar in mind, but I bet I'd include the color codes :p Thanks.
    The only downside to that is that you can no longer use whatever character you'd like, like you can now. Text trains and what not, don't know if people want them.
     
  5. Offline

    zackpollard

    If you want to add me on Skype I'd be quite happy to discuss what we want to do from here :) Skype: zackpollard0808
     
  6. Offline

    rsod

    You can't actually stop anyone
     
  7. Offline

    Alster551

    zackpollard read the rules. Keep everything on the thread and dont post your skype.
     
  8. Offline

    zackpollard

    What? I'm pretty sure posting Skype etc would be personal discretion. Its actually my signature anyway. If you have no interest in the plugin, that's fine, but no need to come on here and complain about stupid things. I'm going to be working with whitehooder on this, so I'm going to communicate with him over Skype.
     
  9. Online

    timtower Administrator Administrator Moderator

    It is more about people asking for money and scamming people as far as I know.
     
    AdamQpzm likes this.
  10. Offline

    Alster551

    zackpollard I dont make the rules, but it says in them that everything needs to be kept on the thread.
     
  11. Offline

    zackpollard

    So now, if I ever want to communicate with whitehooder, I can only talk to him on the thread. Nobody is going to enforce that.

    That would be a good reason.
     
  12. Offline

    Jade

    Just going to point out that if he scams you or you end up with a malicious plugin, Bukkit will not be involved. Not locking this, none the less.
     
  13. Offline

    yanperez

    Codename_B video
     
  14. Offline

    wowzersam

    Would it be possible to make this plugin convert .GIFs into the lore animations?
     
  15. Online

    timtower Administrator Administrator Moderator

    Probably yes, if we find out how to edit them :p
     
  16. Offline

    wowzersam

  17. Online

    timtower Administrator Administrator Moderator

    Edit / read .gif files
     
  18. Offline

    whitehooder

    This is what I'm working on now. I've gotten something that works quite well, but there is no downscaling of GIFs, meaning you will get the same amount of colored squares as there are pixels in the GIF.
     
  19. timtower wowzersam You can see my example of the animated GIF reading in this post, which uses the library that was mentioned on the first page (too lazy to find link now). Granted it just broadcasts it not set it as lore, but it wouldn't be too difficult to make it do that - especially in conjunction with the work that whitehooder and zackpollard are doing. Granted it could use some features such as scaling, but as I said in the post, was more really to prove that it wasn't overly difficult :)

    Alster551 The way the rule is phrased, and the reasoning behind it, seems aimed at preventing developer asking OP to add on Skype, or vice versa. I doubt two developers establishing an alternative means of communication would be much of a problem as I believe the rule is aimed at reducing money based offers/scams - not likely to happen between 2 developers.
     
  20. Online

    timtower Administrator Administrator Moderator

    AdamQpzm I never really looked into it :p
     
    AdamQpzm likes this.
  21. Offline

    Alster551

    AdamQpzm Well asking for money for a plugin will be breaking the EULA if Mojang actually change it
     
  22. Alster551 Change it, no. I don't know why that's so prominently believed - their EULA hasn't change for quite a while, it's just that now they're forcing people to read it, suggesting that it'll be enforced. Either way, selling plugins or services has always been against Bukkit's rules anyway.
     
    timtower likes this.
  23. Offline

    Alster551

    AdamQpzm
     
  24. Alster551 It is currently against their EULA, and has been for a long time. No if about it.
     
  25. Offline

    zackpollard

    I would not do such a thing ;) As for this plugin I should be doing some work tonight on it. As for selling plugins, you can't explicitly create a plugin to sell it, but you can be employed to create a plugin.
     
  26. Offline

    Shahblox

    Wait so has the plugin already been made or what?
     
  27. Offline

    mactown21

    Shahblox Its already been created go to the 1 or 2nd post i think
     
  28. Offline

    whitehooder

    I'll be posting what we have later today. Probably create a page for it at BukkitDev as well ;)

    Currently, we have a working way to display animations, and have a separate program for converting animated GIFs into text animations. What's still to be done is optimizing some code, add a "==COPY==" for a way to lower the FPS of a single animation and include the GIF to text animation program into the plugin. If anyone would like to take a look at what we have currently, here are two links:

    The plugin - Add it to the plugins-directory like any other plugin
    The GIF to text animation program - Run it from a console with "java -jar LoreAnimator.jar <path-to-GIF-file>" and it will create a txt file with the same name as the GIF in the same directory as the GIF file. You will then have to copy this generated txt file into a directory named "LoreAnimations" in the server's plugins-directory and give it a block/item ID for a name ("20.txt" for instance, and it will display the animation for all glass blocks in any inventory)

    Also, AdamQpzm, I made my own implementation of reading the GIFs just to be sure it would work with optimized GIFs as well.
     
    AdamQpzm likes this.
  29. whitehooder Interesting decision with the separate program, any particular reason it wasn't included as a command?
     
  30. Offline

    whitehooder

    AdamQpzm Well. The only reason was because my GitHub setup wouldn't cooperate the dag I coded it. Anyway, I've actually created a standalone thing that I'll post hete later today ;)
     

Share This Page