[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

    Typical_Name

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Oh, darn. Is there any way it can be fixed, or is it completely impossible to code something to where it uses both? (If the latter, you should inform the spout devs about this.)
  2. Offline

    atlan1

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

    If I have more time I will see if I can implement a fix into Spoutcraft on my own.
    I thought we implemented permissions properly, but since many people were complaining about it, I will see what's going wrong.

  3. Offline

    GoTheRedSox

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    hmm.. when i start up the plugin on my server i get this error:
    Code:
    2012-06-18 17:29:18 [SEVERE] Could not load 'plugins/GunsPlus.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.NoSuchFieldError: MOUSE_RIGHT
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:151)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:213)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:189)
        at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:166)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.NoSuchFieldError: MOUSE_RIGHT
        at team.GunsPlus.Enum.KeyType.<init>(KeyType.java:15)
        at team.GunsPlus.GunsPlus.<clinit>(GunsPlus.java:59)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:140)
        ... 8 more
    im using the latest version of spout and this plugin it was working up to the past few updates. is there anything i can do to fix this? or is it a problem with the plugin. it appears to be working with others fine.
  4. Offline

    Iceman4391

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Okay, thank you so much. I hope this gets resolved. And if you find out whats wrong, please let me know for future references. Thanks.
    :D
  5. Offline

    atlan1

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    This only occures if you are using SpoutPlugin versions lower than #1197.
  6. Offline

    GoTheRedSox

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    ok ill check on that thanks
  7. Offline

    penguinbait

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Iw as wondering if there was a place to post loadout requests
  8. Offline

    Thanatos_Ghost

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    So i'm making a survival server and to be extremely more difficult i was wandering is there a way to add durability to guns so each gets a number of shots before it breaks?
  9. Offline

    penguinbait

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

    This post has been edited 1 time. It was last edited by penguinbait Jun 20, 2012.
  10. Offline

    atlan1

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    It is impossible if you have the imagination of a durability bar like on tools. What we could do is giving a gun a invisible durability and remove it after a certain amount of shoots.
    Perhaps post it under suggestions. Also I looked into that error.
  11. Offline

    Thanatos_Ghost

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Exactly how would you do that would you have to add something new to general or would it be like copying the code for durability from the weapons editing it to where say a pistol can only shoot 10 clips before it breaks. Also.... HI PENG! *TrollFace.JPeg* and Atlan is it possible to make a grenade launcher that the grenades have a chance of exploding or making ones that make fog when exploded so you can't be seen. And my last question is who did you get for the textures because i can code but, have the artistic makings of an earthworm.

    Okay that was a lie here is my last question for this reply: Is there a way to make guns have a chance of shooting like after shootable: True, would it work putting a percentage of it actually shooting or jamming up in which then you have to un-jam it and that takes like 2x Times longer then reloading.

    This post has been edited 1 time. It was last edited by Thanatos_Ghost Jun 20, 2012.
  12. Offline

    GoTheRedSox

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    plugin is working great now! but there is one problem. only ops can shoot. is there a way to fix this? im not getting any errors or anything.
  13. Offline

    Thanatos_Ghost

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Maybe check Perms.
  14. Offline

    djslapandtickle

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    This is what I get when I try to start my server.

    17:35:56 [SEVERE] Could not load 'plugins\GunsPlus.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.NoSuchFieldError: MOUSE_RIGH
    T
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:151)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:305)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:230)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:213)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:189)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.java:53)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:166)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.NoSuchFieldError: MOUSE_RIGHT
    at team.GunsPlus.Enum.KeyType.<init>(KeyType.java:15)
    at team.GunsPlus.GunsPlus.<clinit>(GunsPlus.java:59)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:140)
    ... 8 more
  15. Offline

    GoTheRedSox

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    do u have a link to the permissions for the plugin?
  16. Offline

    atlan1

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  17. Offline

    atlan1

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    1. Yes that would be possible. Perhaps we will do something like that in the future. Create a ticket for it to remember me.
    2. Would be a possible feature after Grenades+ has been released.
    3. Other games and mods.
    4. You can use the missing-chance node under accuracy.
    5. Not possible.
    Known caveat. You have to use at least SpoutPlugin build #1197.
  18. Offline

    penguinbait

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @atlan1 could you check it again? I posted the errors with debug mode on
  19. Offline

    GoTheRedSox

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    ok thanks i put those in but there is still a problem they can shoot the first time they log in with a gun but when they log off then back on they cant shoot/zoom anymore? idk if this is just a problem with the permissions or if its a problem with the plugin
  20. Offline

    atlan1

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Permissions are working fine for myself. Just paste your permissions file on pastebin.com and send me a pm.
  21. Offline

    soul_man

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Is there a way as of now to insert a texture for the shots instead of using arrows etc. or no texture at all?
  22. Offline

    atlan1

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I am not sure what you mean. If you mean the ammo textures, yes you can use a custom texture, aswell as for guns. You can also use a projectile like arrows or fireballs.
  23. Offline

    TheFluffey

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    He is wondering if you could retexture the projectiles - not currently.
  24. Offline

    soul_man

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    yeah sorry I kind of said it in a confusing way. I know that I can use custom textures for the guns and zoom, and that you can use already existing projectiles like snowballs and stuff. But is there a way in the guns.yml that I can add a custom texture for the projectile? Just to rephrase it for you even though TheFluffey said no, which I believe to be correct.
  25. Offline

    GoTheRedSox

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    ok i sent you a pm of the link to the pastebin
  26. Offline

    atlan1

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yea, he is correct. We can't change the texture of e.g. the arrow, but what I can do - and I thought of implementing it perhaps - is that we use custom item drops as projectiles. That way we could have a custom texture on the "projectile" which is actually a drop.
    soul_man likes this.
  27. Offline

    penguinbait

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Atlan, the ticket about my bug, I cant use debug mode because it defaults because it doesnt find it in the general.yml and the default is false so i cant show it in debug mode. EDIT: Do you think a plugin is conflicting with it?

    This post has been edited 1 time. It was last edited by penguinbait Jun 22, 2012.
  28. Offline

    soul_man

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Brilliant Idea I like it, btw wonderful plugin.
  29. Offline

    Thanatos_Ghost

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Would it be possible to make for every 10 shots there is a .01 chance 10 won't fire?
  30. Offline

    atlan1

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Ah, thats really weird. I ve really no idea what could cause that. But I will release a new version today which perhaps fixes that problem.
    You could to:
    missing-chance: 10
    This means every 10 shot could miss.

Share This Page