[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

    hackmaster521

    Well, it looks great but for me and my friends the guns dont fire
     
  2. Offline

    puffnuget

    Bug: When in a sniper zoom and a player drops their weapon/dies they will re spawn with the zoom and can not get rid of it untill they grab another sniper.
     
  3. Offline

    hackmaster521

    Does anybody know how to fix the "guns dont fire" bug?
     
  4. Offline

    Magpie

    I do plan to.
    Hopefully ready this afternoon, One question though, Commentary or just like words on the bottom of the screen?
     
  5. Offline

    TheFluffey

    I had the same. Revert your general to "R" as reload, "Z" as zoom, and "right" as shoot.

    Update -
    Hit detection seems much improved with permeable blocks!

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

    shmickle1

    How do i insert the sniper i.d. into my mob arena classes? because it won't load them into the class.
     
  7. Offline

    TheFluffey

    use a spaces as shown:
    318 : [ID]

    You need spaces like 318 : 1049

    Additional bug to report:
    left+shift does not work anymore (For zooming) , all guns refuse to shoot.

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

    shmickle1

    So my id is like 1040 for the gun, but doesn't " : " mean the quantity? so it won't load it right.... well imma go try it, Thanks for the help! :)

    This is what happened when i put that into the mob arena classes:

    17:01:47 [SEVERE] Error occurred while enabling MobArena v0.94.3.24 (Is it up to date?): null; mapping values are not allowed here
    mapping values are not allowed here
    in "<reader>", line 10, column 20:
    items: 318 : 1040, 318 : 1041:200, slime_ba ...
    ^

    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:733)
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:305)
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:179)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:563)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:423)
    at org.bukkit.util.config.Configuration.load(Configuration.java:90)
    at com.garbagemule.MobArena.MobArena.loadConfig(MobArena.java:103)
    at com.garbagemule.MobArena.MobArena.onEnable(MobArena.java:62)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:231)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1057)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:379)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:191)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:174)
    at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:357)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:344)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)

    Please help :)

    TheFluffey

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

    dta1

    Here it goes im not sure if any of the guns are going to work so try them at your own risk.
    I added GoldenGun, Minigun, Barret 50 Cal, M4, Glock, and Famas.
    If this works I am up to adding more
    http://dl.dropbox.com/u/60701738/GunPack.zip

    EDIT: oh yeah most of the guns arent configurable.... yet

    your .yml file is messed up go to
    http://yaml-online-parser.appspot.com
    to check it

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

    shmickle1

    What is this supposed to do? i pasted my log in there, and this shows up:


    while parsing a block mapping
    in "<unicode string>", line 4, column 5:
    - {it: updates, in: real-time}17:0 ...
    ^
    expected <block end>, but found '<scalar>'
    in "<unicode string>", line 4, column 33:
    - {it: updates, in: real-time}17:01:47 [SEVERE] Error occurred ...
     
  11. Offline

    dta1

    i dont know exactly maybe if you paste your yaml file i can figure it out but i cant tell whats wrong from just that snippet

    puffnuget does that mean it worked?

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

    TheFluffey

    shmickle1

    items: 318 : 1040, 318 : 1041:200,

    What is this 200? if : is the quanitity for the item, than this may not work :(
     
  13. Offline

    shmickle1

    i was gonna do a sniper than 200 ammo. but what does 318 : 1040 mean? and does ALL of this go into mob arena? what aboutt the config.yml files, in the gun pack folder...

    TheFluffey

    i entered in the mob arena class set up folder, this..... Recon Sniper:
    items: 318 : 1040, 318 : 1041, slime_ball:20, cooked_pork:10
    armor: 306,307,308,309

    and this came up....
    20:32:41 [SEVERE] Error occurred while enabling MobArena v0.94.3.24 (Is it up to date?): null; mapping values are not allowed here
    mapping values are not allowed here
    in "<reader>", line 10, column 20:
    items: 318 : 1040, 318 : 1041, slime_ball:2 ...
    ^

    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:733)
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:305)
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:179)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:563)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:423)
    at org.bukkit.util.config.Configuration.load(Configuration.java:90)
    at com.garbagemule.MobArena.MobArena.loadConfig(MobArena.java:103)
    at com.garbagemule.MobArena.MobArena.onEnable(MobArena.java:62)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:231)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1057)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:379)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:191)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:174)
    at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:357)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:344)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)

    TheFluffey

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

    Dagumboss

    Couple of questions/suggestions.

    One, is it possible to use the custom item subnodes in the gun and ammo recipes? Ie, make a recipe for a gun called Barrel which does nothing, but is a part of other recipes? If not, please implement that :D

    Also, permissions? I would love to have a Gunsmith profession.
     
  15. Offline

    PlanetCraft

    I have an issue.I loaded up the new version on my server and everything worked normal.Sniper worked perfect :p Then I put in all my guns from the config before.No errors in the log BUT In-game none of the guns worked.Not the sniper or any of them :( I could see the textures but no sound or fire EXCEPT the reload sounds.Can you help me ? Thanks !!
     
  16. Offline

    redhotmo

    Me = Noob i dont even know what spout is. so please explain and do you already have a premade one ? And will my friends have to get spout (what ever that is)
     
  17. Offline

    atlan1

    Already reported but thanks again.
    I already fixed the bug with respawn. Can anyone of you report if there are any other situations where the zoom remains? Please post it.
    Ok, I will fix it.

    Remove the space between the colon and the ids and put the amount behind another colon as separator.
    And note: If you put in only one colon, the second value will be interpreted as the amount. So if you want to put the data value aswell, you have to put: [ID]:[DATA]:[AMOUNT]

    Well, if you want that we help you, you have to provide more information about your bug.(version, conifg, errors)

    1. Yes I'll implement that, but currently you can also put the gun or ammo id into the recipe ([ID]:[DATA])
    2. There are enough plugins that you can use to permit your players to have/use/craft items with the given ids.


    I guess you forgot to change the shot/reload/zoom keys/clicks. Otherwise I don't know why they should not not work without an error?
    www.spout.org

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

    PlanetCraft

    Guns still refuse too fire :(
     
  19. Offline

    atlan1

    UPDATE: Version 1.3
    • Fixed big mistake with shooting and reloading (thats why some of you couldn't shoot at all)
    • Added more config debug messages, means if you did something wrong in the config, the log will tell you what.
    • Improved hit detection.
    • Added new effects: 'spawn' (you can now spawn creatures with shooting) and 'push' (pushes the target away from the shooter)
    For further information see the first post, after I updated it.
     
  20. Offline

    MineBot

    I'm not sure if this has been asked, but I have two questions. One is:
    -Does everyone on the server have to use Spoutcraft to see the textures?
    -Is there a way to change the texture from Flint to something else?

    I want to make like a wand item, with a blaze rod texture.

    Please Reply,
    MineBot
    (P.S: Thanks in advance)
     
  21. Offline

    atlan1

    MineBot - Yes, everyone will have to use SpoutCraft
    - Yes, just use SpoutCraft ;)
     
  22. Offline

    hackmaster521

    The guns work fine but appear as flint, help?

    The examples dont work, they say "You didn't assigned ammo for the (anygunhere)

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

    TheFluffey

    All these questions bore and bug me... I may just make a tutorial. :)

    OFFICIAL 1.3 Bug Report/Suggestions:

    How to add your own? Use TheFluffey and I will add yours if it is valid and relevant.

    Bugs:
    Priority MINOR to MAJOR
    1. [Minor] shift+left is a toggle... But this goes on to add a suggestion below!
    2. [Medium]ONLY with recoil on, movement is inverted when aiming down sight.
    3. [Major] Headshot damage is STILL broken... Does headshot damage always.
    4. [Major] Rate of Fire dropoff: In-Between ROF 3 and 4, the rate gets MUCH slower...
    Suggestions [1.4]:
    Priority MINOR to MAJOR
    1. [Minor] Make the zoom key toggle-able or hold (Click once to turn on, again to turn off, or hold to turn on, release to turn off.)
    2. [Medium] Add "Aim down site" feature... Like make it zoom into an image (SDK gun mod, etc)
    3. [Medium] Remove particles on Aim down site and effects (Such as smoke).
    4. [Major] Improve recoil so that it doesn't disrupt movement and aim ability (New recoil method!)
    5. [Major] Allow recoil to go to less increments before 0. Similar to improving ROF to 0, this will help with customization.

    Information on new release [1.3]:
    1. Hit detection seems MUCH Improved.
    2. You cannot reload anymore with a full magazine :D (NICE!)

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

    puffnuget

    Config for some ammo was messed up (You forgot to add a colon) But I fixed that. However I cant seem to shoot any of the guns
     
  25. Offline

    Deren909

    This Plugin Is.... AMAZING! War + GunPack = wondercrafters.hopto.org:25566 :D
     
  26. Offline

    PlanetCraft

    I have another issue :/
    My sniper works but as soon as I make another gun and then try to fire it ingame this happens in the log :(

    22:17:30 [SEVERE] Could not pass event org.bukkit.event.player.PlayerIntera
    nt to GunPack
    java.lang.NullPointerException
    at me.atlan1.GunPack.Util.performEffects(Util.java:174)
    at me.atlan1.GunPack.Classes.Gun.theActualShot(Gun.java:110)
    at me.atlan1.GunPack.Classes.Gun.shot(Gun.java:81)
    at me.atlan1.GunPack.GunPackPlayerListener.onPlayerInteract(GunPack
    rListener.java:39)
    at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoa
    ava:340)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListene
    a:57)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginMana
    ava:453)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInterac
    t(CraftEventFactory.java:187)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInterac
    t(CraftEventFactory.java:157)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:57
    at net.minecraft.server.Packet15Place.handle(SourceFile:39)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:10
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler
    :552)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.j
    8)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:43
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
     
  27. Offline

    dta1

    :confused: You addded me
    Ive never been so proud in my life
    :)

     
  28. Offline

    Jayjay36

    Hey, is it possible that you can make this work with chest shops? It would be cool if you can buy them from signs, it adds to the RPG sides of things ;)
     
  29. Offline

    fuzyfeet

    Speaking of hooking into other plugins, can you see if you can make it work with SpoutMats? Getting those custom ores and items as part of the recipes would be really nice.
     
  30. Offline

    shmickle1

    I entered this in and it just gave me flint, but I'm playing on spout craft,

    Recon Sniper:
    items: 318:1040, 318:1041, slime_ball:20, cooked_pork:10
    armor: 306,307,308,309

    TheFluffey
     

Share This Page