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

    Snow~

    I can't start Spoutcraft on my mac. :(
    And the best thing is: I get no error log ...
    So I don't know, where the problem is ...
    I always get a white screen.
    I tried to start it with the terminal, and with a "normal doubleclick" (I don't know how to call that).
    Can someone help me? I have already updated it to the build 564.
    Sorry, if you don't understand my VERY bad english, I am still learning. ^^



    Greetz, Snow~
     
  3. Ow lol. Yeah i feel kinda stupid now :p
     
  4. Offline

    BioRage

    @Afforess @Wulfspider

    Since my request for aid on MACSupport has been ignored twice, I'll just wait until you guys start for OSX support.

    Please inform me when you do :)

    I still enjoy W7 more than OSX.
     
  5. Offline

    Wulfspider

    We've been looking into Mac issues. It was not intentionally ignored. The app just seems to have issues, so for now use the .jar and assign it more memory.
     
    Snow~ and BioRage like this.
  6. Offline

    olloth

    We goofed up and forgot to allow an equivelent in the RB, in dev there is now MaterialData.getOrCreateMaterial(id, data) which returns a valid Material item for the MaterialManager class. As for normal materials, you get them from MaterialData.notchName such as MaterialData.grass.

    EDIT: I'm dumb Afforess already replied. I tested it and it's working however.
     
    desht likes this.
  7. Offline

    Jtmzac

    I am aware of that but wether skype is on or off my upload bandwidth usage is only a little different.
    The lag is only generated when there is an upload spike that pushes the upload past the 1mbps connection that I have.
    But I have just turned skype off when the lag gets bad and it helps a tiny bit but its still quite laggy on the server.
    But it's alright at the moment and we can wait it out until it improves I'm more interested in a fix for the visual bugs that I've been getting.
     
  8. Offline

    Vas

    Then why is it only spout and minecraft have issues? It's the absolute only program I've ever had, have issues on my internet. I can play Halo Custom lagless for hours on in, I can play EVE Online for hours on in, and it flips the hell out if you lose a single packet, I can play other games like Hoard and such online with no issues. Minecraft is the only game I've ever had network issues with, and the issues right now are only downloading it. I can't download it from spout but I can through the default client, even though it only took me 8 tries. Also, I did this again in town, at a wireless hotspot. Same issue. I also did this at a hotel, same issue. Can not be my network.
     
  9. Offline

    andrewkm

    @Afforess
    @Wulfspider
    Im running dev 468 and am still getting this on stop server.
    This has been happening for atleast 5+ devs (I update to the most recent as soon as its available)
    Code:
    2011-10-19 03:26:45 [SEVERE] Could not pass event PLAYER_QUIT to Spout
    java.lang.ClassCastException: com.ramblingwood.minecraft.jsonapi.dynamic.APIWrapperMethods$FauxPlayer cannot be cast to org.getspout.spout.player.SpoutCraftPlayer
     at org.getspout.spout.SpoutPlayerListener.onPlayerQuit(SpoutPlayerListener.java:200)
     at org.bukkit.plugin.java.JavaPluginLoader$2.execute(JavaPluginLoader.java:267)
     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
     at com.ramblingwood.minecraft.jsonapi.dynamic.APIWrapperMethods.disconnectAllFauxPlayers(APIWrapperMethods.java:372)
     at com.ramblingwood.minecraft.jsonapi.JSONAPI.onDisable(JSONAPI.java:382)
     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:176)
     at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:978)
     at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:296)
     at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:289)
     at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:166)
     at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:325)
     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:404)
     at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  10. Offline

    olloth



    That doesn't look like our fault, what is that API stuff?
     
  11. Offline

    wassilij

    Whats that? :O

    Code:
    2011-10-19 13:53:34 [INFO] Disconnecting EP7007 [/109.91.1.198:53436]: Failed to verify username! [internal error java.io.FileNotFoundException: http://gameserver.gamed.de/game/checkserver.jsp?user=EP7007&serverId=ba221922f12020ea]
    2011-10-19 13:53:34 [SEVERE] java.io.FileNotFoundException: http://gameserver.gamed.de/game/checkserver.jsp?user=EP7007&serverId=ba221922f12020ea
    2011-10-19 13:53:34 [SEVERE]     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1434)
    2011-10-19 13:53:34 [SEVERE]     at java.net.URL.openStream(URL.java:1010)
    2011-10-19 13:53:34 [SEVERE]     at net.minecraft.server.ThreadLoginVerifier.run(ThreadLoginVerifier.java:34)
    2011-10-19 13:53:34 [INFO] Disconnecting Parnius [/79.206.255.25:49323]: Failed to verify username! [internal error java.io.FileNotFoundException: http://gameserver.gamed.de/game/checkserver.jsp?user=Parnius&serverId=b2c8fc57c30f82ed]
    2011-10-19 13:53:34 [SEVERE] java.io.FileNotFoundException: http://gameserver.gamed.de/game/checkserver.jsp?user=Parnius&serverId=b2c8fc57c30f82ed
    2011-10-19 13:53:34 [SEVERE]     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1434)
    2011-10-19 13:53:34 [SEVERE]     at java.net.URL.openStream(URL.java:1010)
    2011-10-19 13:53:34 [SEVERE]     at net.minecraft.server.ThreadLoginVerifier.run(ThreadLoginVerifier.java:34)
    2011-10-19 13:53:35 [INFO] Disconnecting weinachtszmanns [/95.33.223.24:49929]: Failed to verify username! [internal error java.io.FileNotFoundException: http://gameserver.gamed.de/game/checkserver.jsp?user=weinachtszmanns&serverId=a560c3be0a06bb47]
    2011-10-19 13:53:35 [SEVERE] java.io.FileNotFoundException: http://gameserver.gamed.de/game/checkserver.jsp?user=weinachtszmanns&serverId=a560c3be0a06bb47
    2011-10-19 13:53:35 [SEVERE]     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1434)
    2011-10-19 13:53:35 [SEVERE]     at java.net.URL.openStream(URL.java:1010)
    2011-10-19 13:53:35 [SEVERE]     at net.minecraft.server.ThreadLoginVerifier.run(ThreadLoginVerifier.java:34)
    2011-10-19 13:53:35 [INFO] Disconnecting CChako [/91.89.200.13:49337]: Failed to verify username! [internal error java.io.FileNotFoundException: http://gameserver.gamed.de/game/checkserver.jsp?user=CChako&serverId=cd23e1af4f72fa41]
    2011-10-19 13:53:35 [SEVERE] java.io.FileNotFoundException: http://gameserver.gamed.de/game/checkserver.jsp?user=CChako&serverId=cd23e1af4f72fa41
    2011-10-19 13:53:35 [SEVERE]     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1434)
    2011-10-19 13:53:35 [SEVERE]     at java.net.URL.openStream(URL.java:1010)
    2011-10-19 13:53:35 [SEVERE]     at net.minecraft.server.ThreadLoginVerifier.run(ThreadLoginVerifier.java:34)
    2011-10-19 13:53:35 [INFO] Disconnecting wassilij [/91.65.147.26:55941]: Failed to verify username! [internal error java.io.FileNotFoundException: http://gameserver.gamed.de/game/checkserver.jsp?user=wassilij&serverId=4924d63ac1610856]
    2011-10-19 13:53:35 [SEVERE] java.io.FileNotFoundException: http://gameserver.gamed.de/game/checkserver.jsp?user=wassilij&serverId=4924d63ac1610856
    2011-10-19 13:53:35 [SEVERE]     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1434)
    2011-10-19 13:53:35 [SEVERE]     at java.net.URL.openStream(URL.java:1010)
    2011-10-19 13:53:35 [SEVERE]     at net.minecraft.server.ThreadLoginVerifier.run(ThreadLoginVerifier.java:34)
    2011-10-19 13:53:35 [INFO] Disconnecting JarJar_xD [/84.174.248.183:60390]: Failed to verify username! [internal error java.io.FileNotFoundException: http://gameserver.gamed.de/game/checkserver.jsp?user=JarJar_xD&serverId=34e40958e1a97809]
    2011-10-19 13:53:35 [SEVERE] java.io.FileNotFoundException: http://gameserver.gamed.de/game/checkserver.jsp?user=JarJar_xD&serverId=34e40958e1a97809
    2011-10-19 13:53:35 [SEVERE]     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1434)
    2011-10-19 13:53:35 [SEVERE]     at java.net.URL.openStream(URL.java:1010)
    2011-10-19 13:53:35 [SEVERE]     at net.minecraft.server.ThreadLoginVerifier.run(ThreadLoginVerifier.java:34)
     
  12. Offline

    Wulfspider

    No idea. That has nothing to do with Spout. The "Failed to verify username" looks like CommandBook though, but I'm not sure that the URL in the error is from that. Perhaps Mineshafter?
     
  13. Offline

    andrewkm

    JSONAPI plugin
    Hmm I'll let them know.

    I have just caught this btw - noticed it in my console randomly.
    Spout 469 CB 1344
    Code:
    \2011-10-19 10:02:42 [SEVERE] Could not pass event CHUNK_LOAD to Spout
    java.lang.NullPointerException
     at org.bukkit.craftbukkit.CraftChunk.getHandle(CraftChunk.java:39)
     at org.bukkit.craftbukkit.CraftChunk.<init>(CraftChunk.java:29)
     at org.getspout.spout.block.SpoutCraftChunk.<init>(SpoutCraftChunk.java:58)
     at org.getspout.spout.block.SpoutCraftChunk.replaceBukkitChunk(SpoutCraftChunk.java:232)
     at org.getspout.spout.SpoutWorldListener.onChunkLoad(SpoutWorldListener.java:36)
     at org.bukkit.plugin.java.JavaPluginLoader$52.execute(JavaPluginLoader.java:621)
     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
     at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:92)
     at org.bukkit.craftbukkit.CraftWorld.getChunkAt(CraftWorld.java:98)
     at org.bukkit.craftbukkit.CraftWorld.getBlockAt(CraftWorld.java:66)
     at org.bukkit.craftbukkit.block.CraftBlock.getRelative(CraftBlock.java:121)
     at org.getspout.spout.block.SpoutCraftBlock.getRelative(SpoutCraftBlock.java:115)
     at org.getspout.spout.block.SpoutCraftBlock.getRelative(SpoutCraftBlock.java:127)
     at org.getspout.spout.block.SpoutCraftBlock.getRelative(SpoutCraftBlock.java:35)
     at com.earth2me.essentials.signs.EssentialsSign.checkIfBlockBreaksSigns(EssentialsSign.java:222)
     at com.earth2me.essentials.signs.SignBlockListener.onBlockIgnite(SignBlockListener.java:187)
     at org.bukkit.plugin.java.JavaPluginLoader$37.execute(JavaPluginLoader.java:513)
     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
     at net.minecraft.server.BlockFire.a(BlockFire.java:126)
     at org.getspout.spout.block.mcblock.CustomBlock.a(CustomBlock.java:196)
     at net.minecraft.server.World.i(World.java:1891)
     at net.minecraft.server.World.doTick(World.java:1638)
     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:461)
     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
     at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Nov 13, 2016
  14. Offline

    Wulfspider

    It's an open issue, that is what I was telling you. If you read the comments, you would see what is going on. Basically we are waiting till after 1.9 though to actually make it an API.
     
  15. Ah now that does explain well keep up the good work and i cant wait for that feature its a defo must as i have buildings waiting at height limit waiting to go higher to be completed lol
    Thanks you for the reply.
     
  16. Offline

    Wulfspider

    Yeah, I can imagine people making some massive cities and whole universe sort of things haha.
     
  17. Offline

    Pamelloes

    Any idea when the next recommended build is going to be released?
     
  18. Offline

    Lightzaver

    when will we get singleplayer mod ports? because it says add support for custom blocks
     
  19. Offline

    qfox

    Can I use SpoutCraft client without premium?
     
  20. Offline

    olloth

    No, premium means you actually own the game, and we cannot legally let anyone play who does not own the game.

    The custom blocks aren't 100% ready yet and when they are it's entirely up to mod and plugin devs to port mods.

    https://github.com/mmoMinecraftDev/mmoInfo/blob/master/src/main/java/mmo/Info/MMOInfo.java

    There is more scattered around but I honestly can't find/follow it. Rycochet is an old school programmer and I can't really figure out what he is doing sometimes. :p

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

    funskill

    2011-10-20 18:23:08 [SEVERE] java.lang.NoClassDefFoundError: Could not initialize class net.minecraft.server.Block
    2011-10-20 18:23:08 [SEVERE] at net.minecraft.server.BiomeBase.<init>(SourceFile:33)
    2011-10-20 18:23:08 [SEVERE] at net.minecraft.server.BiomeOcean.<init>(SourceFile:6)
    2011-10-20 18:23:08 [SEVERE] at net.minecraft.server.BiomeBase.<clinit>(SourceFile:17)
    2011-10-20 18:23:08 [SEVERE] at net.minecraft.server.WorldChunkManager.<init>(SourceFile:22)
    2011-10-20 18:23:08 [SEVERE] at net.minecraft.server.WorldChunkManager.<init>(SourceFile:28)
    2011-10-20 18:23:08 [SEVERE] at net.minecraft.server.WorldProvider.a(SourceFile:38)
    2011-10-20 18:23:08 [SEVERE] at net.minecraft.server.WorldProvider.a(SourceFile:25)
    2011-10-20 18:23:08 [SEVERE] at net.minecraft.server.World.<init>(World.java:147)
    2011-10-20 18:23:08 [SEVERE] at net.minecraft.server.WorldServer.<init>(WorldServer.java:27)
    2011-10-20 18:23:08 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    2011-10-20 18:23:08 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
    2011-10-20 18:23:08 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    2011-10-20 18:23:08 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    2011-10-20 18:23:08 [SEVERE] Unexpected exception
    java.lang.NoClassDefFoundError: Could not initialize class net.minecraft.server.Block
    at net.minecraft.server.BiomeBase.<init>(SourceFile:33)
    at net.minecraft.server.BiomeOcean.<init>(SourceFile:6)
    at net.minecraft.server.BiomeBase.<clinit>(SourceFile:17)
    at net.minecraft.server.WorldChunkManager.<init>(SourceFile:22)
    at net.minecraft.server.WorldChunkManager.<init>(SourceFile:28)
    at net.minecraft.server.WorldProvider.a(SourceFile:38)
    at net.minecraft.server.WorldProvider.a(SourceFile:25)
    at net.minecraft.server.World.<init>(World.java:147)
    at net.minecraft.server.WorldServer.<init>(WorldServer.java:27)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)

    Please help me-e!
     
  22. Offline

    olloth

    Are you using some kind of wrapper for bukkit that messes with CraftBukkit? I think that's what causes this. If you notice though, spout isn't actually mentioned anywhere in that trace.
     
  23. Offline

    desht

    Are there any non-trivial examples (i.e. working plugins) out there which do some complex layouts using Containers? I've read through the Javadocs and the wiki tutorial on Widgets/Containers, and I sort of understand it, but not completely comfortable on the best approach to creating some more complex layouts. E.g. when to manually position GUI elements, when to let a Container automatically lay them out, when to nest Containers...

    So if there's any open source code out there which creates some non-trivial GUI screens, I'd be interested to take a look :)
     
    Marcos Cosmos likes this.
  24. Offline

    olloth

    https://github.com/organizations/mmoMinecraftDev Try some of these, @Rycochet is the one who made the Container actually and pull requested it to Spout.
     
  25. Offline

    desht

    Thanks. All I can see there, though, is the stuff under https://github.com/mmoMinecraftDev/mmoCore/tree/master/src/main/java/mmo/Core/gui - two classes which I'd already browsed. Is there more Spout code under mmoMinecraft somewhere?

    Yeah :eek:

    I'm getting to the point of admitting defeat here. Been banging my head against this for the last couple of hours, and Container is making less and less sense to me.

    What I want to achieve (initially): a label at the top of the screen, below that a vertical list of buttons (the number of buttons is variable, and could change during the game).

    I figured I could have a container hierarchy like this:

    Code:
    Popup
      Container
         Label
         Container
            Button1
            Button2
            ...
            ButtonN
    
    So a top-level container which contains a label and another container which in turn contains zero or more buttons.

    The code is roughly like this:

    Code:java
    1.  
    2. Container mainBox = new GenericContainer();
    3. Label title = new GenericLabel("some text");
    4.  
    5. Container buttonBox = new GenericContainer();
    6. for (int i = 0; i < nButtons; i++) {
    7. Button b = new GenericButton("button " + i);
    8. buttonBox.addChild(b);
    9. }
    10. mainBox.addChild(title);
    11. mainBox.addChild(buttonBox);
    12. popup.attachWidget(plugin, mainBox);
    13.  


    Not specifying any explicit sizes or layout options, but I figured that would be enough to at least see a label plus a list of buttons on the screen (according to the docs, Containers lay their children out vertically). But all I get is the label in the top left corner of the screen, and I see no buttons at all.

    Do I need to specify some layout options? Are explicit sizes needed? I really don't understand how Containers lay out their children when sizes (and positions?) are/are not specified.

    For example:
    • Does setLayout() only matter if automatic layout is enabled for a Container (i.e. if it has been given a height and/or width) ? Do you have to give a Container a height and width for automatic layout occur?
    • Does any layout happen if explicit height/width is not given to a Container? Or in that case do I need to use setX()/setY() on every widget on the screen?
    • If I use setX()/sety() on a widget which is a Container child, are those co-ordinates relative to the Container's position, or to the screen?
    • If I use setWidth()/setHeight() on a Container, then add more children than it currently has space for, what happens? Does it expand, does it stay the same size and clip its contents, or something else?
    • Is attempting to place a widget off the screen OK? Or is that undefined behaviour?
    I suspect these might need to answered by @Rycochet ...

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Dec 28, 2018
  26. Offline

    Afforess

    @desht

    Assuming that's the code you used exactly, you need to set a height and width for the buttons. Labels don't respect the height or width, which is why they work, but buttons do. They default to zero. Try setting some default values and see what happens.
     
  27. Offline

    desht

    Aha, that figures. I'll be doing some more experimentation tomorrow, will report back :)
     
  28. Offline

    qfox

    Sad but thanks. I'll tell my users about it.
    Anyway I think 15 euros is too much for it. Specifically if it beta.
     
  29. Offline

    Greylocke

    I noticed that .spm files in the world/spout_meta directory are no longer being updated. What does this mean?
     
  30. Offline

    olloth

    You are no longer using custom blocks which should be the only thing saved there? Or your custom blocks haven't changed any. One of those likely?

    It won't be a beta anymore in less than 30 days, consider it a preorder.

    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