[MECH/FUN] Guns+ v1.8 - Guns, Guns, Guns Galore![SPOUT][1.4.7-R1.0]

Discussion in 'Archived: Plugin Releases' started by atlan1, Jan 31, 2012.

  1. Offline

    atlan1

    this error you got has nothing to do with Guns+. It's caused by spout, but I have no idea what could cause it. Perhaps it has to do with the world heigth increase on 1.2...
    Guns+ is the result of two crazy programmers who wanted to merge their gun plugins ;D
    the config files have changed at all, so you have to add the new nodes to your pack .
     
    Devintelo likes this.
  2. Offline

    Stuxrt

  3. Offline

    atlan1

    I really have no time to go through this long config files. What does the console say if you turn on debugging?
     
  4. Offline

    Stuxrt

    Just the Message Error: Name is Null repeated over and over for all the guns
     
  5. Offline

    atlan1

    Debug is set to true?
     
  6. Offline

    SirTyler

  7. Offline

    Stuxrt

  8. Offline

    penguinbait

    Why doesnt it work for 1.2.4???
     
  9. Offline

    Adkos

    Okay, I've found a way to make it (almost) work.
    You'll have to use :
    - Bukkit Beta Build 1.2.3 R02
    - Build 1033 of SpoutPlugin
    - Bleeding Edge version of Gun+
    - Latest dev version of Spoutcraft

    Then, go into the "config.yml" of Spout, and put the "ForceCraftBukkitBuildCheck" to "false".

    The Guns will load, and worked, but it still have some errors.
    If I shoot on the air or blocks, everything work fine.
    But if I shoot on player or mobs (= entity), the gun don't move, don't play sound, and consol give me errors. The mob is hurt and gun effects is still applied (putting the mob on fire for exemple).

    Here's the consol error :
    Code:
    2012-03-25 14:33:56 [SEVERE] Could not pass event PlayerInteractEvent to GunsPlus
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:441)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:138)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:691)
        at net.minecraft.server.Packet15Place.handle(SourceFile:39)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:116)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:169)
        at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    Caused by: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Double
        at team.GunsPlus.GunUtils.performEffects(GunUtils.java:363)
        at team.GunsPlus.Item.Gun.fire(Gun.java:120)
        at team.GunsPlus.GunsPlusListener.onPlayerInteract(GunsPlusListener.java:53)
        at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
        ... 13 more
    I bet on Spout fault.
     
  10. Offline

    penguinbait

    But if I use 1.2.3 spout, then how will I use it on 1.2.4?
     
  11. Offline

    atlan1

    Alright, seems you forgot to assign 'NONE' to your projectiles.
    Partially it's a guns+ bug aswell,but I fixed it in the latest version (it worked for me)

    spout 1.2.4 isn't out yet, so you have to wait until they are ready.

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

    penguinbait

    Do you know when it will be? Because I really want this plugin on my server.
     
  13. Offline

    Adkos

    penguinbait : turn back your server to 1.2.3.
    It's the only way for the moment :)
     
  14. Offline

    (M)Ich(i)

    I've got a Problem:

    19:43:17 [SCHWERWIEGEND] Could not load 'plugins\spoutcraft.jar' in folder 'plug
    ins'
    org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
    at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPlug
    inLoader.java:193)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:132)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:207)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:183)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.java:56)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:156)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
    ... 8 more
    19:43:17 [SCHWERWIEGEND] Could not load 'plugins\SpoutPlugin.jar' in folder 'plu
    gins'
    org.bukkit.plugin.InvalidPluginException: java.lang.VerifyError: class org.getsp
    out.spoutapi.plugin.SpoutPlugin overrides final method getName.()Ljava/lang/Stri
    ng;
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:150)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:287)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:211)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:207)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:183)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.java:56)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:156)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    Caused by: java.lang.VerifyError: class org.getspout.spoutapi.plugin.SpoutPlugin
    overrides final method getName.()Ljava/lang/String;
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$000(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:41)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:29)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$000(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:41)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:29)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:139)
    ... 8 more
    19:43:17 [SCHWERWIEGEND] Could not load 'plugins\Guns.jar' in folder 'plugins'
    org.bukkit.plugin.UnknownDependencyException: Spout
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:176)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:207)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:183)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.java:56)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:156)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
     
  15. Offline

    penguinbait

    Ok, will do

    Hey, since you can get it to work and i cant, will you send me the files? my email is [email protected]

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

    Adkos

    I can. But I warn you, it isn't for 1.2.4
    This config work for 1.2.3

    @(M)Ich(i)
    Spoutcraft.jar is not a plugin. It's meant to be use with spoutcraft launcher as a client game.
    For the second error with spoutplugin, I can't help you :(
     
  17. Offline

    (M)Ich(i)

    Oh...^^
     
  18. Offline

    Adkos

    @pengouinbait
    I prefer post the files just here, so everyone could use it :
    --> Download Gun+ bundle for 1.2.3 <--

    This bundle includes minecraft_server.jar, spoutplugin and gun+ plugin selected to work fine together for 1.2.3
    Simply drop everything to your plugin folder, except "minecraft_server.jar" that goes into your server root (rename it with the name in your .bat file).

    Enjoy :)
     
  19. Offline

    penguinbait

    I know I would need 1.2.3, I can do that

    Thanks

    Adkos
    What is the minecraft_server.jar supposed
    EDIT:Nevermind

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

    (M)Ich(i)

    Can i download SpoutCraft for playing on my Server ?
     
  21. Offline

    Adkos

    @pengouinbait : as it's name suggest, it's simply the server for minecraft, aka "bukkit" itself. Rename it the with the name of your own bukkit.

    @(M)Ich(i) : Try this URL for spoutcraft ;)
    http://get.spout.org/
     
  22. Offline

    penguinbait

    Also anyone who wants to help with the building of my server is welcome to help

    Adkos
    Ok (andi its PENGUINBAIT not PENGOUINBAIT

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

    (M)Ich(i)

    Can i play without SpoutCraft only with SpoutPlugin i'm to silly to play with SpoutCraft on my Server.
     
  24. Offline

    Adkos

    @(M)Ich(i) :
    Some plugin like Gun+ will use external data, like custom textures or custom sounds.
    The original minecraft launcher doesn't allow you to use external data.

    When you play, two entity are used : the server, and the client. If you wanna use external data, you have to modify both of them.
    For the server, it's quite simple, you just have to install spout plugin.
    For the client, Spoutcraft is the only launcher that allow that.

    If you use only the plugin, you will launch Gun+ with success. great !
    But when you'll connect to your server with classic minecraft, you'll don't see the guns (they will apear as flint) and you'll don't hear sounds.

    It's all up to you :)
     
  25. Offline

    (M)Ich(i)

    Ok thanks for help.:)
    But i still have this problem with the Guns Plugin and SpoutPlugin.:confused:
    Maybe the update to 1.2.4 will fix this Problem.:)

    Now I downloaded the jar file for the Server and now it works thanks for your help Adkos.:)

    Adkos

    How can I craft the Guns?

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

    penguinbait

    This. Plugin. Is. AWESOME!!!!!!!!!!!

    How can I craft the Guns?[/quote]Go into Gunsplus folder in the plugin folder then click recipies

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

    (M)Ich(i)

    And then?
     
  28. Offline

    penguinbait

    It tells you how to craft them in the recipie file
    EDIT: It uses item IDs
     
  29. Offline

    Adkos

    @(M)Ich(i)
    You are not really familiar with plugin edition, don't you ?
    Well, there is a start for everyting :)

    Go onto the Gun+ plus folder, you'll see many files. If you don't do anything, the only gun available is the sniper, without craft recipe.

    A good deal if you wanna play without configuring your own guns (that is pretty cool to do) is to doawnload a gunpack.
    You'll find the links in the first page of this topic.

    The gun pack is not up do date, except mine :)
    Download it, and replace your files with mine.

    For the recipes, have a look on it : http://wormcraft.ze-forum.com/t366-Spout-Armes-a-Feu.htm#p3253
    (french forum, but crafts is screenshot look. No need to speak french to understand an image)

    Enjoy ;)
     
  30. Offline

    penguinbait

    I love your Gun Pack Adkos
     
    Adkos likes this.

Share This Page