Spigot <Legacy> ConnectFour [for GameBox V1 ONLY] 1.2.1

Connect four while preventing your opponent from doing the same.

  1. Nikl I suggest you make the Tictactoe game for gamebox!:D
     
  2. It's already on my ToDo list ;)
     
  3. :rolleyes:thats great!
     
  4. there is a bug: the original inventory will disappear while being killed or kick during gameplay.:rolleyes: this is very serious,
     
  5. Nope, with normal setting this did not happen. Only with keepInventory on true there were problems. And they were solved in GameBox version 1.1.2 ;)

    If you still have problems with the new GameBox version please PM me with details.
     
  6. :eek::eek:
     
  7. yes:(there is a problem with latest update. "Could not pass event InventoryClickEvent to GameBox v1.1.2"
     
  8. Error log please :)

    I'll pm you
     
  9. is is possible to add a spectate mode :oops:
     
    • Creative Creative x 1
  10. Interesting idea!

    I'll make a note for it. Atm there are a few too many things to work on ^^ I'd like to add some more games first and support MySQL.
     
  11. :Dits ok looking forward your progression!
     
  12. There's no invite GUI for some odd reason.

    [​IMG]

    But when I open the Connect4 GUI there's only 3 options, training, competition and toplist.

    [​IMG]
     
  13. Since you can invite people to different game modes there is one invite GUI per game mode. If you click on the game mode training you will be in the invite GUI for training and if you click on competition you will be in the invite GUI for competition.

    If you are using the newest GameBox version you can use the clickable message you get when you are invited to go to the correct invitation GUI :)
     
  14. Nice plugin! Nice dev, nice mechanics.
     
    • Friendly Friendly x 1
  15. [23:00:33] [Server thread/ERROR]: **** THIS IS NOT AN ISSUE TO DO WITH PER WORLD PLUGINS ****
    Could not pass event InventoryClickEvent to GameBox v1.4.0
    org.bukkit.event.EventException
    at us.Myles.PWP.TransparentListeners.PerWorldPluginLoader$1.execute(PerWorldPluginLoader.java:122) ~[?:?]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
    at us.Myles.PWP.TransparentListeners.PWPRegisteredListener.callEvent(PWPRegisteredListener.java:30) [PerWorldPlugins.jar:?]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
    at net.minecraft.server.v1_11_R1.PlayerConnection.a(PlayerConnection.java:1844) [spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
    at net.minecraft.server.v1_11_R1.PacketPlayInWindowClick.a(SourceFile:33) [spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
    at net.minecraft.server.v1_11_R1.PacketPlayInWindowClick.a(SourceFile:10) [spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
    at net.minecraft.server.v1_11_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_72]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_72]
    at net.minecraft.server.v1_11_R1.SystemUtils.a(SourceFile:46) [spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
    at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:739) [spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
    at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399) [spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
    at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:675) [spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
    at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:574) [spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_72]
    Caused by: java.lang.NullPointerException
    at me.nikl.gamebox.guis.gui.MainGui.updateTokens(MainGui.java:164) ~[?:?]
    at me.nikl.gamebox.guis.GUIManager.updateTokens(GUIManager.java:399) ~[?:?]
    at me.nikl.gamebox.players.GBPlayer.setTokens(GBPlayer.java:64) ~[?:?]
    at me.nikl.gamebox.PluginManager.wonTokens(PluginManager.java:702) ~[?:?]
    at me.nikl.gamebox.GameBox.wonTokens(GameBox.java:318) ~[?:?]
    at me.nikl.battleship.game.GameManager.onGameEnd(GameManager.java:493) ~[?:?]
    at me.nikl.battleship.game.Game.won(Game.java:741) ~[?:?]
    at me.nikl.battleship.game.GameManager.onInventoryClick(GameManager.java:257) ~[?:?]
    at me.nikl.gamebox.PluginManager.onInvClick(PluginManager.java:287) ~[?:?]
    at sun.reflect.GeneratedMethodAccessor631.invoke(Unknown Source) ~[?:?]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_72]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_72]
    at us.Myles.PWP.TransparentListeners.PerWorldPluginLoader$1.execute(PerWorldPluginLoader.java:120) ~[?:?]
    ... 16 more
     
    • Informative Informative x 1
  16. This was a GameBox problem and not a ConnectFour issue. Please refer to my answer in the GameBox thread.

    Thanks for reporting :)
     
    #19 Nikl, Jun 3, 2017
    Last edited: Jun 4, 2017