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

    fatmarley

    Name of project : Spout
    Description of issue: Player Disconect with Java error
    Steps to reproduce:

    I used WorldGuard in conjunction with Wormhole extreme on my server. If I entered a wormhole I would be kicked from the server with errors. So I took Worldguard off, and I was able to teleport with no issues.

    But I need worldguard, so upon further testing, I noticed the server 'Spouting' errors about spout.
    I removed Spout and KEPT worldguard and wormhole extreme...
    Results - No Issues

    Show Spoiler
    2011-08-07 09:59:47 [SEVERE] Could not pass event PLAYER_MOVE to WorldGuard
    java.lang.NullPointerException
    at com.sk89q.worldguard.bukkit.WorldGuardPlayerListener.onPlayerMove(WorldGuardPlayerListener.java:290)
    at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:286)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:164)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:491)
    at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-07 09:59:47 [SEVERE] java.net.SocketException: Software caused connection abort: socket write error
    2011-08-07 09:59:47 [SEVERE] at java.net.SocketOutputStream.socketWrite0(Native Method)
    2011-08-07 09:59:47 [SEVERE] at java.net.SocketOutputStream.socketWrite(Unknown Source)
    2011-08-07 09:59:47 [SEVERE] at java.net.SocketOutputStream.write(Unknown Source)
    2011-08-07 09:59:47 [SEVERE] at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
    2011-08-07 09:59:47 [SEVERE] at java.io.BufferedOutputStream.write(Unknown Source)
    2011-08-07 09:59:47 [SEVERE] at java.io.DataOutputStream.write(Unknown Source)
    2011-08-07 09:59:47 [SEVERE] at net.minecraft.server.Packet51MapChunk.a(Packet51MapChunk.java:85)
    2011-08-07 09:59:47 [SEVERE] at net.minecraft.server.Packet.a(Packet.java:116)
    2011-08-07 09:59:47 [SEVERE] at net.minecraft.server.NetworkManager.f(NetworkManager.java:107)
    2011-08-07 09:59:47 [SEVERE] at net.minecraft.server.NetworkManager.d(NetworkManager.java:263)
    2011-08-07 09:59:47 [SEVERE] at net.minecraft.server.NetworkWriterThread.run(SourceFile:107)
     
  3. Offline

    nubpro

    Cool.
    I'm working on a new plugin which implemented with Spout *Keyboard.
    Can you guys works with:
    Code:
    
    KEY_F9
    
    public static final Keyboard KEY_F9
    
    @SpoutDev
    Can you make a simple API only in implemented with Keyboard?
    So it's lightweight.
    :p
     
  4. Offline

    BPOtacon

    If you haven't already got it use the zip file at http://ci.craftfire.com/view/SpoutDev/job/Spoutcraft/ and just install it like you would a mod ( make sure you delete the META file)
     
  5. Offline

    Jonathan Thorpe

    Like I said earlier, and it seems a few other people have said the same thing - SpoutCraft seems to be back-to-front at the moment. The launcher is not a good idea, there should be a way to integrate SpoutCraft into minecraft.jar so users don't have to load different launchers for different servers... one launcher should be able to handle Spout and non-Spout servers without switching. Spout itself is a Bukkit plugin, integrates with the server in the normal way, so the client-side stuff should as well. I don't want to sound pushy but I can easily imagine that a lot of people will try Spout/SpoutCraft, and then decide its a waste of time as it just doesn't fit in with how everything else works. I'd really hate to see this wonderful idea wasted, as if done correctly, it will unlock a universe of possibilities, which, from what I gather, is what the plugin sets out to do. Please try looking at a better way to integrate Spout into our clients... a new launcher isn't the answer. Don't let all your great work go wasted!
     
  6. Offline

    MagikarpLOL123

    This plugin is awsome. But whenever I try to move on my server I get an end of stream message! Please Help!
     
  7. Offline

    godgodgodgo

    Do you know how I can fix this error?

    2011-08-07 16:47:15 [SEVERE] java.lang.NullPointerException
    2011-08-07 16:47:15 [SEVERE] at com.rawcritics.TyrOvC.OreObfuscationPlugin.Spout.OreObfuscateChunkPacketListener.checkPacket(OreObfuscateChunkPacketListener.java:32)
    2011-08-07 16:47:15 [SEVERE] at org.getspout.spoutapi.packet.listener.Listeners.canSendUncompressedPacket(Listeners.java:36)
    2011-08-07 16:47:15 [SEVERE] at org.getspout.spout.MapChunkThread.handle(MapChunkThread.java:113)
    2011-08-07 16:47:15 [SEVERE] at org.getspout.spout.MapChunkThread.run(MapChunkThread.java:100)
    2011-08-07 16:47:15 [SEVERE] at java.lang.Thread.run(Thread.java:636)

    It's spamming my console
     
  8. WHat is a GenericItemWidget?

    How does it show up on a screen
     
  9. Offline

    omnija

    thanks alot, ill give it a try, also is there no way to allow bukkit and spout to work along side each other? because im still using achievements which is not spout yet.
     
  10. Offline

    Top_Cat

    @woodzy You can't run bukkitcontrib and Spout together

    @fatmarley This will be fixed in the next update

    @nubpro huh? The keyboard listener uses Keyboard

    @MagikarpLOL123 Can I see the stacktrace? Are you running the ore-obfuscation plugin?

    @rob4001 You have to attach it to the screen, screen.attachWidget(widget)

    @omnija I don't understand, this works fine with bukkit
     
  11. Offline

    Stephen304

    Can a spout client be used with a BukkitContrib server?
    I tried and I get this error in the console: (I don't want to use spout just yet on my server)
    Code:
    11:55:41 [INFO] Stephen304 [/192.168.1.3:57601] logged in with entity id 30018 at ([World1] -41.829014571529996, 70.0, 62.989023439690385)
    11:55:44 [SEVERE] java.io.IOException: Bad packet id 42
    11:55:44 [SEVERE]       at net.minecraft.server.Packet.a(Packet.java:73)
    11:55:44 [SEVERE]       at net.minecraft.server.NetworkManager.g(NetworkManager.java:149)
    11:55:44 [SEVERE]       at net.minecraft.server.NetworkManager.c(NetworkManager.java:259)
    11:55:44 [SEVERE]       at net.minecraft.server.NetworkReaderThread.run(SourceFile:84)
    11:55:44 [WARNING] Stephen304 tried to set an invalid carried item
    11:55:44 [INFO] Stephen304 lost connection: disconnect.genericReason
    And yes, I am joining locally over my lan.
     
  12. Offline

    Top_Cat

  13. Offline

    nubpro

    I don't get it.
    I mean I'm requesting a plugin which only implemented with keyboard listener.
     
  14. Offline

    theblackveil

  15. Offline

    Top_Cat

    I don't know, is the main menu showing a spoutcraft version?
     
  16. Offline

    Stephen304

    Dev/offline mode would be nice. My friends never cooperate when I ask them to help me test something.
     
  17. Offline

    Mr_H4mm3r

    The whole thing would be easier if Notch wanted to Spout be in the minecraft when you downloaded/updated??
     
  18. Offline

    Yhtomitsu

    just a quick question my firend is running a server with spout he can connect using the launcher but i can, it is onyl letting me use the normal minecraft.exe file any idea whats going on
     
  19. Offline

    Top_Cat

    @Yhtomitsu No, could you get a stacktrace?
     
  20. Offline

    Cosmic Break

    How do I write it so that I can start spoutcraft with more ram?
     
  21. Offline

    BPOtacon

    from what i've done you cant use BukkitContrib and Spout but you should try using Achievements with Spout and see what you get, if it works it works if not wait for an update
     
  22. Offline

    KingPin

    any eta on this new version that fixes the arraycopy issue? thank you.


     
  23. Offline

    firefly_goat

    So when my friend joins my server I get a error thing and he gets Buffer overflow.
    Here is the error i get in my server thing :p
    Code:
    19:33:35 [INFO] tobbetob6 [/81.229.248.167:57685] logged in with entity id 2079
    at ([world] 2.924959832829219, 70.23152379758702, 101.36227106697986)
    19:33:57 [INFO] [Spout] Successfully authenticated tobbetob6's Spoutcraft client
    . Running client version: 101
    19:33:58 [ALLVARLIG] java.net.SocketException: Socket closed
    19:33:58 [ALLVARLIG]    at java.net.SocketOutputStream.socketWrite(Unknown Sourc
    e)
    19:33:58 [ALLVARLIG]    at java.net.SocketOutputStream.write(Unknown Source)
    19:33:58 [ALLVARLIG]    at java.io.BufferedOutputStream.flushBuffer(Unknown Sour
    ce)
    19:33:58 [ALLVARLIG]    at java.io.BufferedOutputStream.flush(Unknown Source)
    19:33:58 [ALLVARLIG]    at java.io.DataOutputStream.flush(Unknown Source)
    19:33:58 [ALLVARLIG]    at net.minecraft.server.NetworkWriterThread.run(SourceFi
    le:116)
     
  24. Offline

    Polyurethan

    MAIN:
    Code:
    public class Spitems extends JavaPlugin {
    
        public void onEnable() {
    
            PluginManager pm = getServer().getPluginManager();
            pm.registerEvent(Event.Type.CUSTOM_EVENT, new Sp_KeyListener(this),
                    Event.Priority.Normal, this);
    
            pm.registerEvent(Event.Type.CUSTOM_EVENT, new Sp_ButtonListener(this),
                    Event.Priority.Normal, this);
    
            System.out.println("[SPITEMS] Version " + getDescription().getVersion()
                    + " enabled.");
    
        }
    
        public void onDisable() {
    
            System.out.println("[SPITEMS] disabled.");
        }
    
    }
    KEYLISTENER:
    Code:
    public class Sp_KeyListener extends InputListener {
    
        private Spitems plugin;
    
        public Sp_KeyListener(Spitems plugin) {
            this.plugin = plugin;
        }
    
        public void onKeyPressedEvent(KeyPressedEvent event) {
            if (event.getKey() == Keyboard.KEY_B) {
    
                ScreenType screen_type = event.getScreenType();
                if ((screen_type != null)
                        && ((screen_type == ScreenType.GAME_SCREEN))) {
    
                    SpoutPlayer s_player = event.getPlayer();
    
                    InGameHUD hudscreen = s_player.getMainScreen();
    
                    GenericPopup popup_screen = new GenericPopup();
                    popup_screen.setVisible(true);
                    popup_screen.setHeight(300);
                    popup_screen.setWidth(400);
    
                    GenericButton button_1 = new GenericButton();
                    button_1.setText("ON");
                    button_1.setWidth(40);
                    button_1.setHeight(20);
                    button_1.setX(5);
                    button_1.setY(5);
                    popup_screen.attachWidget(button_1);
    
                    hudscreen.attachPopupScreen(popup_screen);
                    hudscreen.updateWidget(popup_screen);
                }
    
            }
    
        }
    }
    BUTTONLISTENER:
    Code:
    public class Sp_ButtonListener extends ScreenListener {
        private Spitems plugin;
        public Sp_ButtonListener(Spitems plugin) {
            this.plugin = plugin;
        }
        @Override
        public void onButtonClick(ButtonClickEvent event) {
            UUID button_uuid = event.getButton().getId();
    
    //  Problems HERE :how update widgets, how reach button_1
    //
            if (event.getPlayer().getMainScreen().getActivePopup().containsWidget(button_uuid)) {
    
                if (event.getButton().getText() == "ON") {
                    event.getButton().setText("OFF");
    
                    event.getPlayer().sendMessage("Read ON from Button");
    
                    Widget dfgd = event.getPlayer().getMainScreen()
                            .getActivePopup().getWidget(button_uuid);
    
                    event.getPlayer().getMainScreen().getActivePopup()
                            .updateWidget(dfgd);
    
                    event.getPlayer().getMainScreen().render();
    
    
                } else if (event.getButton().getText() == "OFF") {
                    event.getButton().setText("ON");
    
                    event.getPlayer().sendMessage("Read OFF from Button");
    
                    Widget dfgd = event.getPlayer().getMainScreen()
                            .getActivePopup().getWidget(button_uuid);
    
                    event.getPlayer().getMainScreen().getActivePopup()
                            .updateWidget(dfgd);
    
                    event.getPlayer().getMainScreen().render();
                }
            }
        }
    }
    How can i update the View of the widget "button_1" ?
    (the text change but not optically on button)
    How can i reach the declared buttonname : button_1?

    Java Button normal :
    button_1.setActionCommand("switch");

    Listener:
    public void actionPerformed(ActionEvent e) {
    if ("switch".equals(e.getActionCommand())) {
    b2.setEnabled(false);


    Big THX to the SpoutDev-Team for his work.
     
  25. Offline

    bastrian

    Whats a shit with the autodownload function. And there is no way to disable the Automatic download of spout.jar.
    And i have NO plugin that support/need Spout.
     
  26. Offline

    powback

    create a new file called Minecraft.cmd in the main .spoutcraft folder. (in %appdata%)
    Open it with notepad and type:

    start javaw -Xmx2000M -Djava.library.path=bin/natives -cp bin/minecraft.jar;bin/jinput.jar;bin/lwjgl.jar;bin/lwjgl_util.jar net.minecraft.client.Minecraft USERNAME PASSWORD

    where -Xmx2000M is the amount of allowed memory.

    You shuld launch the launcher a few times so spout get updated =D
     
  27. Offline

    Blacktiger07

    i get this error in my sevrer console...i can connect and play on my server but i think this error isnt good so pls help me!

    Code:
    20:33:38 [INFO] Blacktiger07 [/5.85.9.43:51121] logged in with entity id 104 at ([roleplay] 9.8125, 84.0, -212.0)
    20:33:39 [INFO] [Spout] Successfully authenticated Blacktiger07's Spoutcraft client. Running client version: 101
    20:33:50 [SCHWERWIEGEND] java.net.UnknownHostException: mc.zauberstuhl.de
    20:33:50 [SCHWERWIEGEND]        at java.net.PlainSocketImpl.connect(Unknown Source)
    20:33:50 [SCHWERWIEGEND]        at java.net.SocksSocketImpl.connect(Unknown Source)
    20:33:50 [SCHWERWIEGEND]        at java.net.Socket.connect(Unknown Source)
    20:33:50 [SCHWERWIEGEND]        at java.net.Socket.connect(Unknown Source)
    20:33:50 [SCHWERWIEGEND]        at sun.net.NetworkClient.doConnect(Unknown Source)
    20:33:50 [SCHWERWIEGEND]        at sun.net.www.http.HttpClient.openServer(Unknown Source)
    20:33:50 [SCHWERWIEGEND]        at sun.net.www.http.HttpClient.openServer(Unknown Source)
    20:33:50 [SCHWERWIEGEND]        at sun.net.www.http.HttpClient.<init>(Unknown Source)
    20:33:50 [SCHWERWIEGEND]        at sun.net.www.http.HttpClient.New(Unknown Source)
    20:33:50 [SCHWERWIEGEND]        at sun.net.www.http.HttpClient.New(Unknown Source)
    20:33:50 [SCHWERWIEGEND]        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
    20:33:50 [SCHWERWIEGEND]        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    20:33:50 [SCHWERWIEGEND]        at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
    20:33:50 [SCHWERWIEGEND]        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    20:33:50 [SCHWERWIEGEND]        at java.net.URL.openStream(Unknown Source)
    20:33:50 [SCHWERWIEGEND]        at zauberstuhl.BukkitUpdater.ThreadHelper.sendData(ThreadHelper.java:60)
    20:33:50 [SCHWERWIEGEND]        at zauberstuhl.BukkitUpdater.AsyncOverview.u2d(AsyncOverview.java:89)
    20:33:50 [SCHWERWIEGEND]        at zauberstuhl.BukkitUpdater.AsyncOverview.run(AsyncOverview.java:50)
    20:33:50 [SCHWERWIEGEND]        at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    20:33:50 [SCHWERWIEGEND]        at java.lang.Thread.run(Unknown Source)
    20:33:50 [SCHWERWIEGEND] java.lang.NullPointerException
    20:33:50 [SCHWERWIEGEND]        at zauberstuhl.BukkitUpdater.AsyncOverview.u2d(AsyncOverview.java:91)
    20:33:50 [SCHWERWIEGEND]        at zauberstuhl.BukkitUpdater.AsyncOverview.run(AsyncOverview.java:50)
    20:33:50 [SCHWERWIEGEND]        at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    20:33:50 [SCHWERWIEGEND]        at java.lang.Thread.run(Unknown Source)
     
  28. Offline

    KingPin

    thats from bukkitupdater not spout. remove it and error goes away.
     
  29. Offline

    Danelli

    I am trying to use effective arrows but it wont work. I am using the spout plugin. do I need anything else?
     
  30. Offline

    Cosmic Break

    i get bad login when i try that.
     
  31. Offline

    lipe123

    Its Logblock, how the F would spout just randomly auto download to your server?! Common sense ftw.
     
Thread Status:
Not open for further replies.

Share This Page