[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

    TheFluffey

  2. Offline

    Lamp23

    That's what I get
     
  3. Offline

    Adkos

    Can someone explain me what is the correct syntax for using custom items from 'SpoutMaterials' in recipes for 'GunPack' ?

    I've tried almost everyting, and still have :
    - "Too low ingredients" in console error, even if I specified 9 items...
    - "Is it up to date ?" error
    - no error, but not working as well :)

    Recipes with vanilla items works fine, but... hee... I don't wanna use vanilla ^^'
     
  4. Offline

    atlan1

    The point is that you set the type to shapeless, which means you put the ingredients somewhere in the crafting grid and the output is crafted(like for dyes). But in this type you can't register a material more than one times (You put 0 several times). If you want a shaped recipe you have to register 9 materials, no more and no less.
    First of all, thank you for those textures!
    You said you get a listener error, which means that your guns where loaded, but on shooting there is something going wrong, doesn't it?
    Could you please post the error in tags.
    I can only fix it with the whole error, but post it in code tags, please.
    There is just something wrong with the recipes of the config. It's my pack, isn't it? I'll look if I did something wrong with my own config (lol):D
    I see recoil is assigned but knockback (new node in v1.5) isn't.
     
  5. Offline

    TheFluffey

    Show Spoiler



    Suggestions:
    1. Yet to fix potion particles.
    2. PLEASE add an on screen Ammo-Counter, and make it so that one magazine (OR Ammo), reloads. In other words, make an internal value of the number of ammo we specify, display it on screen through spout, and make only 1 ammo (Now a clip or magazine) reload the gun. Much smoother system, and on-screen ammo is COOL!
    3. Add bullet spread so we can make guns shoot at random in a bigger radius (UNLESS Aim-Down-Sight...) So in other words, the gun is innacurate unless aimed down sight - this can be configurable by the user ex: bulletspread: 100 (MAX) 0 (NONE)
    4. Add a projectile number for guns so shotguns can shoot multiple bullets.
     
  6. Offline

    Leo Verto

    I really like this plugin and I'm looking forward to new weapon packs but could you please add it to Bukkit.dev so it can be automatically updated by CraftBukkitUpToDate.
    Thanks in advantage.
     
  7. Offline

    erickmind

    yes... I have to enter with spoutcraft?????
     
  8. Offline

    Adkos

    ... wich put me back to my first error : by putting a "shaped" recipes, even if I put 9 items, I have a "too low items on recipes, skipping" error :(

    I gave you an exemple, it will be more simple :
    If I wanna make this :
    [​IMG]
    Where :
    - long barrel ID is 318:1074
    - metal receiver (the black stuff in the middl) ID is 318:1064
    - woodenstock ID is 318:1075
    - magazine ID is 318:1070
    - wooden grip ID is 318:1075
    - and complete weapon ID is 318:1084

    What kind of code I have to do, and where I have to put it ?
     
  9. Offline

    atlan1

    Already working on 1./2./3. You had exactly the same idea which I had a couple of days before: I am working on an guns HUD. This should be a surprise... but never mind. Thanks for the compiled list.
    Never heard about the CraftBukkitUpToDate, but I will create a page on BukkitDev.
    Yes. Please read the first post - requirements - carefully.
    For this it should look like that:
    Code:
    NameOfTheGun:
         type: 'shaped'
         amount: '1'
         ingredients: '0,0,0,318:1074,318:1064,318:1075,318:1070,318:1075,0'
    
    If it doesn't work still I will look for a bug in version 1.5.
     
  10. Offline

    erickmind

    ahh... can u make this plugin without spout??? sorry if this is too difficult =X
     
  11. Offline

    Adkos

    Thanks again, it's a pleasure to see such an active develloper !

    I've copy/paste your code, just re-ajusting the data values, and here's the result :
    Code:
    2012-02-17 22:05:37 [SEVERE] Error occurred while enabling GunPack v1.5 (Is it up to date?): null
    java.lang.NullPointerException
        at org.getspout.spout.inventory.SimpleSpoutShapedRecipe.addToCraftingManager(SimpleSpoutShapedRecipe.java:62)
        at org.getspout.spout.inventory.SimpleMaterialManager.registerSpoutRecipe(SimpleMaterialManager.java:177)
        at me.atlan1.GunPack.GunPack.loadRecipes(GunPack.java:488)
        at me.atlan1.GunPack.GunPack.onEnable(GunPack.java:103)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1057)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:380)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:237)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:220)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:179)
        at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
     
  12. Offline

    uberevan

    HOW I USE THIS MOD

    I couple it with "monster apocalypse". So in this server you spawn on a blank flatworld. Except for a obsidian room with supplies. Including: Armor,Weapons, and Ammo. You also get building supplies. So at the start you get 1-4 days (depending on amount of people) to build a base of stone. Then you have to survive one night. But with the monstert apocalypse mod thers x4 mobs. Plus special mobs (cave spiders that blow up x2 of creeper and pigzombies that when killed throw 20 zombies at you). This is x10 better with this awesome mods weapons.

    THX
     
  13. Offline

    atlan1

    Ok, I just tried it with the ammo items of GunPack. Perhaps there is an incompability between SpoutMaterials and GunPack. I will look into that and hope that I can fix it for the next version.

    uberevan - Cool. Seems to be something like a free mob fighting plugin. Very nice.
     
  14. Offline

    Adkos

    Do not say anything else, this is the solution !
    What if I create my weapon parts as "ammo", and no guns use it ?
    You said that ammo works fine in recipes, so if I convert my weapon parts as ammo, it could work :)

    I'll try as soon as possible, and tell you if it works.
    Thanks a lot !

    EDIT : well, bad news... I've created my weapon parts as ammo. Okay, works fine.
    Then I've write a "shaped" recipes using the "weapon parts as amo". And it comes back, the "too low ingredients" error ...
    I think that each time I use something else than a vanilla item ID, the recipe don't work. Is it just me ?

    EDIT2: Try with "shapeless" recipe, and only "Long Barrel" as ingredient. Weird result !
    No consol error, and when I put the barrel into a workbench, it gives nothing.
    But when I take the barrel back, the weapon appear in the workbench, and I can take it !
    So I can put and take back the barrel as many time as I wish to have infinite weapon !
    Dunno if I'm clear, i can make a video if necessary.
     
  15. i putted the .Jar in my pluging but it diddnt create an map when i started the server, it dont event show up on the list.
    can you help me..
     
  16. Offline

    mortymatty

    Could you please help, when I put the jar in my plugins folder, I started the server, the plugin wasn't picked up, restarted it, wasn't picked up. There are no error codes, or is this plugin outdated, it just doesn't pick it up. I hope you reply to this soon so I can make a call of duty styled battlefield, without using bows. Lots of thanks - Mortymatty
     
  17. With #3 do u mean that u can configure the bullet spread (accuracy) for each weapon, or they have to be the same for all weapons? just wondering...
     
  18. Offline

    TheFluffey

    Configure the spread, so unless you are aiming down site bullets spread within a circular radius of dead accurate.
     
  19. Offline

    dta1

    hey atlan1 when do you think R4 for this is going to come out

    wow i realized i was running 1.4 sorry for not updating it
    http://dl.dropbox.com/u/60701738/GunPack.zip

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

    dragonlord645

    " Failed to identify packet id: 56
    Unknown packet 56. Skipping contents."

    ?? I dont know what that means but when i try to kill other people using guns that happens, but i can kill monsters its just that
     
  21. Offline

    Name_n

    not that its already not good enough, but is there a way to make ammo shoot out of dispensers?
     
  22. Offline

    Adkos

    You can't, as there is no ammo at all in this plugin :)

    In fact, a gun from this plugin simply deal damages to the thing you aim at. There's not bullet or arrow that is shoot from the gun. "Ammo" item is just here to let the gun deal damages, not to "launch" something.
    No ammo, no shoot allowed...

    As dispenser can't "look at something", they can't deal damages to anything.
    If you're looking for guns in minecraft with real bullets, look at the awesome "SDK Gun Mod". It's pretty hard to install, you can't configure anything, and ther's no bukkit compatibility.
    It's all up to you :)
     
  23. Offline

    TheFluffey

    You speak French? I am learning French... But j'aim tu beacuop apres cette remarque :D
     
  24. Offline

    Adkos

    I speak it as it's my mother tong ;)
    Maybe you wanna say "je te remercie beaucoup pour cette remarque" ? (= I really thank you for your answer)
     
  25. Offline

    TheFluffey

    Yea..., I am a 1st year... ahahahah I probably just said I love you. alot for that answer or something...
     
  26. Offline

    Adkos

    TheFluffey : Keep it up, French isreally a difficult tongue, even if you're french :)

    atlan1 :
    ... still have a probleme too.

    I've created some weapon parts with MoreMaterial, great, everything works fine.
    I've created complete weapons with GunPack, great, everything works fine.

    Now, I wanna craft my weapon parts to obtain complete weapon. Anyone can help me ?
    I've tried several custom recipes plugins, nothing happen...

    The MoreMaterial plugin develloper tell me that :
    I don't really know what he mean, but maybe you do.
    I really think that if people can craft weapon parts, then use those parts to craft weapons, your plugin can be 10x better than the awesomness it already have !
    Can you do something ?
     
  27. Offline

    atlan1

    Yes, I think in the next version it will work. I can do what ZNickq said.
     
  28. Offline

    dta1

  29. Offline

    Adkos

    I think that your error is here:
    Code:
        Sniper:
            items: wood_sword,318:1036:1,318:1029:64,318:1029:64,318:1029:64,apple:3,grilled_pork:3
            armor: 306,311,316,301
    If I remember well, MobArena need "spaces" between each item. That you don't do.
    Try and tell us :)
     
  30. Offline

    atlan1

    I don't know if it is only the weird formatting, but in your config the itemlist of some classes go over 2 lines.
    Perhaps this is causing the error. If not hmm post the whole error log, perhaps I can say whats wrong from this.
     

Share This Page