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

    dockter

    The setting will hold on anything at 4gb or below, with 8gb or 16gb, the setting reverts back to 512mb.

    This is the code from the file you spoke of.

    #set this to false to disable spouts
    devupdate: true
    clipboardaccess: true
    worldbackup: false
    retryLogins: false
    memory: 0
    latestLWJGL: true

    The #186 build version has the same issue,

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 9, 2018
  3. Offline

    Pamelloes

    ok.... it wasn't bundled there. However, after some googling, I was able to find the jar at commons.apache.org and its working now :) Thanks for the help.
    Edit: nothing is ever as it seems.... I hit run on eclipse and it turns out, that after all of my hard work, the NORMAL version of minecraft comes up. :( Anyway to fix this?
     
  4. Offline

    Wulfspider

    If you didn't use a pre-compiled jar of SpoutcraftAPI, then of course it wouldn't be in there. ;)
    Maven combines the dependencies into one jar.
     
  5. Offline

    99lool

    How do we use the new command shortcuts?
     
  6. Offline

    Pamelloes

    Oh.... I downloaded the source and compiled it myself. Also, I've run into another issue (see my last post for details).
    Edit: After lots of TLC, I got the build to work :)
     
  7. Offline

    FlukiestEmperor

  8. Offline

    andrewkm

    @Wulfspider
    Thank you very much for your constant support replies to the vast amount of users in this thread. It is something many plugin developers do not provide due to the lack of a support team. We at ECC are extremely pleased to be dealing with such an awesome spout team and would really like to say thank you for it! :) - It is very much appreciated.
     
    Wulfspider likes this.
  9. Offline

    Wulfspider

    Thanks, at least some people appreciate it! I do what I can to help out as does the rest of the team.
     
  10. Offline

    BioRage

    @Wulfspider

    Dear Sir, what does "Memory to Allocate" in the spoutcraft option launcher signifies?

    Just more RAM that Spoutcraft can use when in-game?

    Default is 512mb

    I do assign the memory on the launcher options, but it tends to freeze quite often... I'll try some more.

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

    Wulfspider

    Yes, it is for setting the RAM for Minecraft to use.
     
  12. Offline

    BioRage

    Great, thanks for speedy reply, one last question.

    Any quick tip on making sound work on mac side?

    I set it to allocate with 2GB, on MAC.

    but in-game it only shows as 128mb.

    Should I just use something such as this?

    java -Xincgc -Xmx2G -jar Spoutcraft.jar

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

    Wulfspider

    Not sure exactly... but the going reply is to increase the memory assigned to it. What are you launching it with? The updater app / jar or directly from the launcher jar?

    It doesn't matter what you assign to the update jar, it's not going to stay open after it has launched the launcher. You should just be assigning memory on the launcher options if you aren't launching the launcher directly.

    You are probably looking at the top right value right? The total memory assigned is the far right on the 2nd line of the memory info on the F3 screen.

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

    BioRage

    Was double clicking the spoutcraft.jar

    Fixed it, for some odd reason on mac, when you allocate the memory it doesn't actually allocate.

    In-game it only utilizes >200MB of RAM.

    So Alternatively, using terminal, and using



    Did the Trick.
     
  15. Offline

    Wulfspider

    We'll have to look into Mac issues more.
     
  16. Offline

    Wulfspider

    How does it "freeze" ?
     
  17. Offline

    BioRage

    If you use Skype, I can show you via call. Would give you a better understanding, if you use W7 / XP.

    Well, as the normal way it auto-turns off music&sound, once you touch music, and such it freezes instantly.

    Unpaused after a bit, but still no sound, and such.

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

    narrowtux

    Can you look in the Application "Activity Monitor", if you still have free RAM memory when minecraft freezes like that?
    It is likely a memory issue. If you're on OS X Lion, and just have 2 GB, I'd suggest you to upgrade. It works best with more than 4 GB.
     
  19. Offline

    BioRage

    I use Leopard, I'm not to sure what to allocate it with, but I'll try the 4GB.

    Edit:
    Still No sound when I try to run spoutcraft.jar on 4GB of RAM.

    I have 0 problems when I use terminal, and use, java -Xincgc -Xmx2G -jar Spoutcraft.jar

    Images for example:
    [​IMG]

    This is what it shows me in-game: see how it shows only 128mb?
    [​IMG]


    Than, if I use terminal... & Code = Run's fine + Allocated Mem + Sound

    [​IMG]
     
  20. Offline

    toxuin

    So finally I did it – recompiled the CraftBukkit source. I assume your instruction set on github is incorrect\not full.
    You have to do all the things that you told there, but also you have to:
    - download the SpoutcraftAPI _source_
    - place it to the minecraft/org folder in MCP's src
    - download apache commons lang library, which can be downloaded at http://commons.apache.org/lang/
    - place the commons-lang3-3.0.1.jar in /lib/ MCP's folder
    So now you can run recompile and reobfuscate.
     
  21. Offline

    Wulfspider

    The commons-lang3 lib comes in the SpoutcraftAPI.jar, so if you have that instead of the source, it already includes it. So not all those steps are necessary unless you are building SpoutcraftAPI yourself.
     
  22. Offline

    Credomane

    I have a question about the client.
    I use 3 mods
    Optifine (integrated)
    ImprovedChat
    ModLoader (for ImprovedChat)

    Does Spout provide anything like ImprovedChat? This mod is just too handy for me to live without now. Minecraft's default chat sucks.
     
  23. Offline

    Wulfspider

    We have our own improved chat mod built in that Afforess wrote. It offers various things such as chat history, chat scrolling using the mouse wheel or page up/down, multi-line chat box, movable chat cursor, and more.
     
  24. Offline

    Credomane

    Of what you listed chat scrolling is one feature I'd love to have. Either ImprovedChat doesn't do that or I haven't figured out how to make it work.

    How does SpoutCraft handle messages that exceed the size limit? ImprovedChat turns the all text after the limit red and will send it as a 2nd message (3rd or 4th if you some how manage to type that much in one go). Knowing Afforess he has that covered but I feel better asking to know for certain.

    Is there a huge list of everything SpoutCraft does? I've figured out much of what Spout does but SpoutCraft seems to have too little information on it. Just what does it do beyond the obvious interactions with the server-side Spout? All I see is OptiFine is integrated and the previously unmentioned chat piece.

    I'm sold at this point and just being nosy now. :)
     
  25. Offline

    mrciku

  26. Offline

    Wulfspider

    The download links are working now by the way.
     
  27. Offline

    Golui

    How is the Water Shader mod integration going?
     
  28. Offline

    Wulfspider

    The author wouldn't let us use it, but I think he is going to make it as an addon once we have the API he needs.
     
  29. Offline

    Afforess

    You can type messages of infinite length, and it just keeps on creating new lines as needed. Then, when you press enter, it splits the messages up, along the word boundaries if possible, so your messages are clean, and less than 100 chars.

    Also, you can type colored chat messages. Just use the &4 codes, it's built into the client.

    Spoutcraft supports HD textures, has an improved server listing, has a variety of performance improvements, the aforementioned chat features, optional better grass, and a lot of extra options and settings you can configure.
     
  30. Offline

    Credomane

    I knew you had me covered with the chat and now I'm going to abuse the colored chat to annoy my servermates. :p
     
  31. Offline

    randomer679

    Sorry if this isn't the correct place to post this but seems the best place :p I'm making a plugin that has a popup with a text field and button. When the button is clicked it is supposed to get the text from the text field. Even if I fill the text field with text I get a null pointer exception when trying to get it.
    This is the class for the button (without imports and package name :p)
    Code:
    public class SendMailButton extends GenericButton{
     
         private Mail mail = new Mail();
         public SendMailButton() {
             super();
             setText("Send");
         }
         public void onButtonClick(ButtonClickEvent event) {
             SpoutPlayer spoutPlayer = event.getPlayer();
             UUID messageBoxId = mail.messageField.get(spoutPlayer);
             UUID toBoxId = mail.toField.get(spoutPlayer);
             TextField textField = (GenericTextField) spoutPlayer.getMainScreen().getWidget(messageBoxId);
             TextField toPlayer = (GenericTextField) spoutPlayer.getMainScreen().getWidget(toBoxId);
             String message = textField.getText();
             String from = spoutPlayer.getName();
             String target = toPlayer.getText();
             mail.send(message, from, target);
         }
         
     }
    I use a hashmap to store the UUID of the fields when they are created so I can access them in this bit of code. Also the client disconnects saying internal server error and the console for bukkit prints this:
    Code:
    18:27:18 [WARNING] Failed to handle packet: java.lang.NullPointerException
    java.lang.NullPointerException
        at me.randomer679.spoutmail.gui.SendMailButton.onButtonClick(SendMailButton.java:26)
        at org.getspout.spoutapi.packet.PacketControlAction.run(PacketControlAction.java:109)
        at org.getspout.spout.packet.CustomPacket.a(CustomPacket.java:130)
        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:500)
        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)
    
    Line 26 in sendmailbutton.java is the String message = textField.getText(); line from the code above.

    I just did :p I accidently posted twice due to my internet connection but the second post contains the NPE :)

    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