Inactive [DEV] SpoutPlugin - Unleash the flow of endless possibilities [1.0-1.3.2]

Discussion in 'Inactive/Unsupported Plugins' started by SpoutDev, Aug 1, 2011.

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

    SpoutDev

    In order to centralize support of our legacy projects, we will no longer be providing support on Bukkit. Please use www.spout.org for support with our projects going forward.
     
  2. Offline

    Wulfspider

    It is just being split up into multiple builds.
     
  3. I can Confirm this bug is still there in current RB's checked it on laptop this morning this bug is confirmed on 3 Towers and laptop
    Spout Server 510
    Client 718
    Craftbukkit 1337
    Hope this can be resolved i think it has something to do with custom blocks
    Using Plugin Spout Blocks 1.6 on the server
    Towers use a mix of 64x64 128x128 and 256x256 LB photo realism Texture pack and the laptop uses 16x16 LB photo pack hope this information helps u guys replicate the issue
    UPDATE: Same Issue with Default Textures
    [​IMG]
    UPDATE 2
    Disabled Spout Blocks 1.6 from the server made no difference what so ever still same issue this is kinda a bad bug as it makes mining very difficult as u cant see nothing but void lol
    UPDATE 3
    Correction the lag issue is not fixed can confirm massive lag when loading chunk data levels out when standing still is worse with dynamic updates on
    its worse on SP 9 to 13 FPS on a GTX560Ti thats very poor
    Multiplayer FPS level out when u dont move at all then when u move it all goes laggy and erratic when loading the map
    Spout is slowly becoming unusable with the bugs with each release i liked v1.0.6 as that worked perfectly i love what you guys are doing and spout is realy needed for my server but its getting bad and may have to remove spout all together pleas please fix this issue
     
  4. Offline

    JargonTheRed

    If I am correct, the CRCCache.yml file contains the files that the server tells the client to check and, if needed, download on login, right?

    Manually editing this file should in this case allow me to designate files that the client must download first without having to write a plugin for that.

    From what I've been able to gather, the file is composed of an URL to the file and two numbers which I guess point to the location the file will be placed in. I can not find a connection between the two, though. Could anyone be so kind to clarify this or correct me if I'm wrong?

    Thanks.
     
  5. Offline

    desht

    I can confirm this.

    CB 1337, Spout 510, SpoutCraft 718. Changing the text of a button already on screen (followed by a call to setDirty()) doesn't update the button's text, where it used to in Spout 449. However, if I pop down the screen and pop it up again (using closePopup() and attachPopupScreen() - not doing any explicit redrawing), the button text is correctly updated.

    Here's my code:
    Code:java
    1.  
    2. for (Widget w : buttonBox.getChildren()) {
    3. if (!(w instanceof Button))
    4. continue;
    5. Button btn = (Button) w;
    6. // System.out.println("set text " + idx + " = " + menu.getItem(idx).getLabel());
    7. btn.setText(menu.getItem(idx).getLabel());
    8. if (++idx > nItems)
    9. idx = 1;
    10. }
    11.  

    (where menu.getItem(idx).getLabel() just returns a String representing a menu label). Here, buttonBox is a Container with one or more buttons, each of which reflects a menu item. If the menu is scrolled, the button box's children are all updated to show the currently visible window onto the menu view (represented here by idx), which is what the above code does.

    I like the way the new video options screen (and the about screen) in Spoutcraft is scrollable. Is there a way of creating/using scrolled windows like that as a GUI control from server-side code? (Or if not, is something planned?)

    Update: just found Scrollable and ListWidget in the javadocs, awesome! Any examples of usage? :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Nov 13, 2016
  6. Code:
    12:30:30 [SEVERE] java.lang.NoSuchMethodError: org.getspout.spoutapi.gui.Generic
    Popup.setBgVisible(Z)Lorg/getspout/spoutapi/gui/GenericScreen;
    12:30:30 [SEVERE] at cc.thedudeguy.jukebukkit.BlockPrototypeBurner.onBlock
    Interact(BlockPrototypeBurner.java:166)
    12:30:30 [SEVERE] at org.getspout.spout.block.mcblock.CustomBlock.interact
    (CustomBlock.java:292)
    12:30:30 [SEVERE] at net.minecraft.server.ItemInWorldManager.interact(Item
    InWorldManager.java:274)
    12:30:30 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:592)
    12:30:30 [SEVERE] at net.minecraft.server.Packet15Place.a(SourceFile:57)
    12:30:30 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.
    java:226)
    12:30:30 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:92)
    12:30:30 [SEVERE] at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetSe
    rverHandler.java:501)
    12:30:30 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile
    :108)
    12:30:30 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:471)
    12:30:30 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:374)
    12:30:30 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:417)
    12:30:30 [SEVERE] Unexpected exception
    java.lang.NoSuchMethodError: org.getspout.spoutapi.gui.GenericPopup.setBgVisible
    (Z)Lorg/getspout/spoutapi/gui/GenericScreen;
    at cc.thedudeguy.jukebukkit.BlockPrototypeBurner.onBlockInteract(BlockPr
    ototypeBurner.java:166)
    at org.getspout.spout.block.mcblock.CustomBlock.interact(CustomBlock.jav
    a:292)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j
    ava:274)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:592)
    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:92)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :501)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  7. Offline

    Schlumpf

    Hello,
    is there a way to support Random Mobs and custom animations from texture pack's using Spoutcraft?
    For example Misa's current Version. With MCPatcher you got Random Mobs and animated Redstone and so on. Is there a way to add this in Spoutcraft? If it is already possible what must I change/do?!
     
  8. Offline

    Sh4d0w

    ok i think it must be another problem. Under a 2nd testmachine no problems were available.
     
  9. Offline

    TheDuceCat

    On my GenericCustomItem, my arm swings when I right-click the face of a block. Can I disable that?
     
  10. Offline

    Afforess

    @DrakeBD

    Please calm down. The issue that you've mentioned is one of few known bug in Spout 510. However, Spout 1.0.6 has hundreds of known bugs. And downgrading the plugin would not fix your problems anyway. We will address the problems as soon as humanly possible. Thank you for the report.

    If need be, we will release a new RB every day of the week until issues are settled.

    Request a plugin to do this in the plugin requests forum.

    Please let the JukeBukkit developer know. This is not a Spout issue.

    The CRCCache file is used so that the server does not have to recalculate the hash of each file any time it informs clients of new files. Altering it manually is NOT recommended, as it will likely cause all players to redownload the file you altered every time the login.

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

    ZerG

    Hey makers of Spout I love this plug combo with the client ! keep up the good work
    I was hoping to get a command from spout or spe that would allow me to see what tex pack someone is using and if their client has been altered... this is something notch doesnt care for but he doesnt run a server!
    Any idea when you guys are going to step up to client security with spoutcraft ? :)
    Edit: JargonTheRed's idea above is actually a great one it would eliminate cheating children with an option of which tex to download on login it could be a new standard...
     
  12. Offline

    Ziden

    SpoutCraft is simply amazing.

    This is not flood, sorry, i just had to post this :)

    Just a simple suggestion, to make HUDS/GUIS a XML file, so it can be easy edited by plugin developers. I usually spend loads of time making huds/gui hehe
     
  13. Thanks for the update sorry for the rant kinda been pulling my hair out locating the bugs but it is that bad is the fps lag and world holes that im having to use the standard mincraft launcher to play at the moment cant wait to get spout back
     
  14. Offline

    JargonTheRed

    Alright, as Spout does not offer a built-in way to tell the client files to download, do you know of a plugin that will do this? Plugins such as JukeBukkit tells the client to download the textures on login, so it should be possible to designate custom files.
     
  15. Offline

    Wulfspider

    A plugin could do that itself using SpoutAPI. As Spout is an API, it shouldn't be our job to provide that command.

    What idea? He was just asking what the CRC cache file was for.

    https://github.com/t3hk0d3/SpoutLayout

    Any plugin can use Spout to tell the client to download any file type it allows and use it as needed. .ogg, .midi, .wav, .txt, etc.

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

    okami35

    Any examples for slab/stairs/weapon or armor?

    Thank you for your help
     
  17. Offline

    NinjaZidane

    Correct me if I am wrong Afforess but doesn't Spoutcraft actually use mcpatcher's codebase? If so, I was under the impression that someone had opened an issue in github to import mcpatcher's new block animation code (also including RandomMobs)?

    If there is no issue reported in github and Spout would be willing to implement this then I would be glad to go open one. Its a shame to not have this feature in Spoutcraft as the mob skins and animated blocks adds another nice element to Minecraft.
     
  18. Offline

    Wulfspider

    Mob skins can already be done.

    https://github.com/SpoutDev/Spout/issues/840
    https://github.com/SpoutDev/Spout/issues/820

    I believe that there was an issue somewhere regarding updating the HD texture and MCPatcher code though. At least we know about it and @Afforess has looked into it a bit.
     
  19. Offline

    olloth

    While we might have some MCPatcher code, the idea is we mostly only add API, not features. RandomMobs would be plugin/addon/feature territory, and animated block textures would be API territory. We intend to add that at some point (We have a million things to do though so priorities are constantly changing.)

    EDIT: That is to say, including MCPatcher stuff does not mean we copy it directly or copy all of it either. We have been branching away from stuff and maintaining our own versions, see the video screen and what is left of what once was OptiFine.

    Weapons and armor aren't currently possible, because durability (or any extra meta data for item stacks) is not currently possible.

    Slabs and stairs I am unsure about, that is a little trickier. Depending on how notch did it, it might work naturally if the collision box is smaller, but it will likely require more API from us for it to work properly.

    That said, no there is no examples for any of those things.

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

    NinjaZidane

    Thanks a bunch you two....I MIGHT look into making a random mob plugin for Spout. I know how to give a mob a texture....just dunno how to grab those textures from an archived texture pack (thinking of Misa's in this case)
     
  21. Offline

    coldandtired

    I've already put a ticket in over at Spout HQ so they know about it. Sadly it also affect resizing and changing visibility of widgets.

    When I made the first few versions of my plugin everything was destroyed and created when a button was pressed. Typically, the day of the update I had changed everything in my GUI to be created when the GUI was opened, and then every button either re-filled a container or changed the visibility of a container :)
     
  22. Offline

    Afforess

    As others has said, yes we included the functionality, but instead of just making Spout changes gameplay, we expose the API. Plugins can set entity skins via the appearance manager.

    We do borrow *some* of it's code, because MCPatcher is all in the public domain. Random Mob's would be considered a feature because it's not something vanilla does normally. With block animation, it's a texture pack feature, so I will look into updating Spoutcraft to support it in the coming days.

    Spout is only as interesting as the plugins that use it.

    You might want to get in touch with @coldandtired - IIRC, he made an XML config for GUI elements.

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

    NinjaZidane

    Thanks for the reply Afforess. I will see what I can do with a quick plugin (Spoutmobs anyone LOL?). I always like the whole random mob idea and I don't like asking someone else to do a plugin with I am very capable to do so.

    Why have others code if you can do so XD.....well....as long as what your wanting to happen you can actually do >.<
     
  24. Offline

    Ziden

    Thanx for the attention =]
     
  25. Offline

    NinjaZidane

    Ah glad to hear about the animations part (looking forward to that). I understand your stance on random mobs and as such I shall try and put something together for it.

    Your last quote is very much correct....it would be nice to see Spout become more and more of a standard (atleast much more quicker than it is now). Never quite understood the firm "hell no" I have gotten from certain devs when I have asked if they considered using the power of Spout in their plugin.

    More adopters...more coders...more amazing things.
     
  26. Offline

    ZerG

    just thought you would like to add something useful to the spout plugin itself sorry i suggested it. and the idea i was referring to is that players have to download their texture pack of choice from allowed texture packs listed by the admin upon login, AGAIN just trying to help you make spout/spoutcraft a little more powerful no need to shoot down everyones ideas , i have made a similar suggestion to spe and never got a response i thought you guys would like to make use of your powerful api and add a stock feature that im sure every admin would benefit from... and any feature you add to your own creation would likely be alot more solid than just redirecting people to others plugins which are generally not as good as your own work. just seems like you would rather tell people to go away than make your own system useful :eek: you can suggest other peoples shoddy plugins until you turn blue in the face but these sorts of suggestions wont stop im sure.
    But wouldnt it be nice if Spoutcraft also meant client Security ? im waiting for this type of feature before i make spoutcraft mandatory on my server but i have doubt in other peoples abilities to make client security a reality.
     
  27. Offline

    Wulfspider

    I wasn't shooting down any idea... I was saying that he didn't really state any idea so I was saying "what idea?".
    You can already give players the option to download a texture pack or force one on them if you wanted to. The API is already there and there are plugins that already use it to do that. Spout is an API, not a collection of features. SpoutEssentials is a feature pack that USES Spout API.

    I didn't tell anyone to go away either. As I said, Spout is an API and plugins utilize it to add features like what you are suggesting. We can't control the quality of other plugins, but the purpose of Spout is not to add the features directly, just the API and ability to make those features.

    I'm not sure what type of security you are referring to either, but the client can never be made secure as there will always be hacks and other clients that spoof and imitate Spoutcraft to get around any checks.
     
  28. Offline

    ZerG

    So theres no way for spoutcraft to check if its files have been altered since its last update time ?
    Also people cant get around a designated URL for a texturepack that has been chosen by the admin and confirmed as a desirable texture pack and put into their servers list by said admin .... How would a cheating player get around those two ? And its like you said "We cant control the quality of other plugins" why not control yours? :)
     
  29. Offline

    Wulfspider

    The point is that the server would have to ask the client to check, and the client could simply say that the files are fine even if they aren't. That is what hacked clients do and could do basically.

    I have no idea what you are talking about with the texture packs now either. You've gone from confusing to completely confusing. Do you know what an API is?
     
  30. Offline

    olloth

    I tried sitting to the right of my computer, and also putting on my glasses upside down, and standing on my head, but no matter what this is really hard for me to read grasp reading. Does your native language write like this?
     
    Mikhos likes this.
  31. Offline

    ZerG

    So could your jar be downloaded upon login ? and same with texture packs download upon login... the fact is if someone is going to cheat they have to alter these files before logging in couldnt that be an option for spout? delete and download on login or am i not making sense lol

    hah that was weird dont know why it did that :confused:

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Nov 13, 2016
Thread Status:
Not open for further replies.

Share This Page