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

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

  1. Offline

    SirTyler

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Having missing values in your guns file can cause errors most of the times, try filling in the nodes with something in order to attempt a fix on these problems.
  2. Offline

    Xeovas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Okay, the point of my post was that the criticals were set to 0 but you can still get criticals. Like i said. i dont know if its a plugin problem or if it just needs a permissions fix. But we did test out the mod on two servers and it happened on both. We know it has something to do with criticals because it would only happen when it would say [Critical !]
  3. Offline

    alecbh

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I know, that error just seemed strangely connected with that value. That still doesn't answer my last two questions; what do you do if you don't have a zoom texture? Make a blank transparency and use that for everything? And is the sound bug I'm having just me, or is it happening for anyone else?
  4. Offline

    SirTyler

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    The sound bug looks like its cause you have no sound set for that gun (if its the one you showed). As for the zoom texture just make a transparent image for the texture, I will see about adding null nodes for them but currently they require something.
  5. Offline

    Dartkitten

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I have all the weapons set up and I worked on end for hours. Well, It says
    "
    Config Error: Null
    "
    I just about raged, it loaded none of my ammo or gun ID's or recipes.
    when I had tried with only 2 custom guns, it worked, I have no idea why it isn't now, please help! I can send my weps config so you can fix and note me of my error if nessisary.
  6. Offline

    Pugli

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hello ! I have a problem. If i try to sell weapons with Showcase Standalone somebody go forward to the block and he got the weapon always in his hand. But the bullets are not bugged. Ammo shop can create, Weapon shop can't any idea?
  7. Offline

    SirTyler

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    post your config (preferably on pastebin.com or something similar). We will take a look at it.

    You will have to better explain this error as I do not know what the exact problem your encountering.
  8. Offline

    Pugli

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    So.. i make a Showcase with a weapon, and somebody just go near to the shop (block) and he got automaticly the item why?

    This post has been edited 1 time. It was last edited by Pugli May 18, 2012.
  9. Offline

    SirTyler

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It may have to do with Showcase and how they operate, some plugins may not support custom items or durability values.
  10. Offline

    Pugli

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    but.... i was use RPG Essentials with custom items and its works!!! how about this plugin?
  11. Offline

    SirTyler

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    As I said, I don't really understand why this error is happening, it may have an error with our stopping stacking but I will look into it when more information can be supplied.
  12. Offline

    atlan1

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  13. Offline

    Pugli

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thank you but.. how to i put this into my server? can you update the guns+ plugin to this configuration? and i just overwrite the old version

    This post has been edited 1 time. It was last edited by Pugli May 18, 2012.
  14. Offline

    Typical_Name

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    By the way, everything in the gunpacks is public domain, right? I've been using a few of the image and sound files from Atlan's pack for my own guns and it just occurred to me that I wasn't sure if it was legal...
  15. Offline

    Dartkitten

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)

    This post has been edited 1 time. It was last edited by Dartkitten May 19, 2012.
  16. Offline

    Dartkitten

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Well, the audio for the sniper is taken from CounterStrike I believe. So, I would assume it is but you might want to wait for someone else to comment back on that
  17. Offline

    SirTyler

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    There are no rights or patents on any of it so I believe its up, need to hear from atlan though.
  18. Offline

    atlan1

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    No just use them, I took all the textures and sounds out of other games and mods. I am not even sure if this was legal :p
  19. Offline

    Tako64

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hi i was just wondering how to get the guns.(sorry i'm a noob)[creeper]
  20. Offline

    alecbh

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I have sounds for everything; I just redacted the URLs because I've spent hours making the sounds and textures, and I don't want someone else just grabbing them and claiming that they made them. Sound works just fine unless I hit an enemy, and then there's no sound or recoil.
  21. Offline

    SirTyler

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Strange bug, If anyone can reproduce this I will compare the two and see if we can find a fix.
  22. Offline

    Pugli

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    same problem in my server.... plus! the showcase standalone still bugged...
  23. Offline

    SirTyler

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Please post your gun yml on the BukkitDev page, I will take a look and see if I can figure it out.
  24. Offline

    Pugli

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    done
  25. Offline

    alecbh

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I also realized that it doesn't use any ammo if you hit your target; here's the error message I got:


    Code:
    2012-05-19 15:40:36 [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:459)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:177)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:147)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:605)
        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:113)
        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:558)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:450)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.IllegalArgumentException: effect type cannot be null
        at org.apache.commons.lang.Validate.notNull(Validate.java:203)
        at org.bukkit.potion.PotionEffect.<init>(PotionEffect.java:18)
        at team.GunsPlus.Util.GunUtils.performEffects(GunUtils.java:468)
        at team.GunsPlus.GunsPlusPlayer.fire(GunsPlusPlayer.java:163)
        at team.GunsPlus.GunsPlusListener.onPlayerInteract(GunsPlusListener.java:108)
        at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
        ... 13 more
    2012-05-19 15:42:08 [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:459)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:177)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:147)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:605)
        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:113)
        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:558)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:450)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.IllegalArgumentException: effect type cannot be null
        at org.apache.commons.lang.Validate.notNull(Validate.java:203)
        at org.bukkit.potion.PotionEffect.<init>(PotionEffect.java:18)
        at team.GunsPlus.Util.GunUtils.performEffects(GunUtils.java:468)
        at team.GunsPlus.GunsPlusPlayer.fire(GunsPlusPlayer.java:163)
        at team.GunsPlus.GunsPlusListener.onPlayerInteract(GunsPlusListener.java:108)
        at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
        ... 13 more
    2012-05-19 15:42:32 [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:459)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:177)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:147)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:605)
        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:113)
        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:558)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:450)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.IllegalArgumentException: effect type cannot be null
        at org.apache.commons.lang.Validate.notNull(Validate.java:203)
        at org.bukkit.potion.PotionEffect.<init>(PotionEffect.java:18)
        at team.GunsPlus.Util.GunUtils.performEffects(GunUtils.java:468)
        at team.GunsPlus.GunsPlusPlayer.fire(GunsPlusPlayer.java:163)
        at team.GunsPlus.GunsPlusListener.onPlayerInteract(GunsPlusListener.java:108)
        at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
        ... 13 more
    2012-05-19 15:42:35 [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:459)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:177)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:147)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:605)
        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:113)
        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:558)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:450)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.IllegalArgumentException: effect type cannot be null
        at org.apache.commons.lang.Validate.notNull(Validate.java:203)
        at org.bukkit.potion.PotionEffect.<init>(PotionEffect.java:18)
        at team.GunsPlus.Util.GunUtils.performEffects(GunUtils.java:468)
        at team.GunsPlus.GunsPlusPlayer.fire(GunsPlusPlayer.java:163)
        at team.GunsPlus.GunsPlusListener.onPlayerInteract(GunsPlusListener.java:108)
        at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
        ... 13 more
    2012-05-19 15:42:36 [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:459)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:177)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:147)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:605)
        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:113)
        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:558)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:450)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.IllegalArgumentException: effect type cannot be null
        at org.apache.commons.lang.Validate.notNull(Validate.java:203)
        at org.bukkit.potion.PotionEffect.<init>(PotionEffect.java:18)
        at team.GunsPlus.Util.GunUtils.performEffects(GunUtils.java:468)
        at team.GunsPlus.GunsPlusPlayer.fire(GunsPlusPlayer.java:163)
        at team.GunsPlus.GunsPlusListener.onPlayerInteract(GunsPlusListener.java:108)
        at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
        ... 13 more
  26. Offline

    SirTyler

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ah, seems you have no effects on your gun so it is having problems.
  27. Offline

    alecbh

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Aha. Added the default effects from the sniper rifle and they work. Thanks!
  28. Offline

    Dartkitten

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  29. Offline

    SirTyler

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ive been trying to figure out several of the bugs, so far I have not figured out this one.
  30. Offline

    Typical_Name

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Actually just putting a '' (double ', not a quotation mark) in the zoom texture node has always worked for me.


    Anyways, I have one of my guns set to launch a fire charge, but it only rarely starts a fire (like maybe 2 or 3 fires for an entire stack of ammo expended, if that). Do fire charges just not work very well, or is something wrong with the gun?



    Btw, when are bayonets and grenades coming out? I be looking forward to them.

Share This Page