Please helpWhat's wrong with that code?
Code:public override void AddRecipeGroups() { RecipeGroup group = new RecipeGroup(() => Lang.misc[37] + " " + GetItem("Wings").item.name, new int[] { ItemType(ItemID.AngelWings), ItemType(ItemID.DemonWings), ItemType(ItemID.Jetpack), ItemType(ItemID.ButterflyWings), ItemType(ItemID.FairyWings), ItemType(ItemID.HarpyWings), ItemType(ItemID.BoneWings), ItemType(ItemID.FlameWings), ItemType(ItemID.FrozenWings), ItemType(ItemID.GhostWings), ItemType(ItemID.SteampunkWings), ItemType(ItemID.LeafWings), ItemType(ItemID.BatWings), ItemType(ItemID.BeeWings), ItemType(ItemID.TatteredFairyWings), ItemType(ItemID.SpookyWings), ItemType(ItemID.FestiveWings), ItemType(ItemID.BeetleWings), ItemType(ItemID.FinWings), ItemType(ItemID.FishronWings), ItemType(ItemID.MothronWings), ItemType(ItemID.WingsSolar), ItemType(ItemID.WingsVortex), ItemType(ItemID.WingsNebula), ItemType(ItemID.WingsStardust), ItemType(ItemID.Hoverboard) }); RecipeGroup.RegisterGroup("EpicModpack:Wings", group); }
EDIT: Also, game crashes whenever I try to get into a world or create new one. What's wrong?
Eny moded items have them they didnt beforeWhich mods are you using ?
If I were you, I would open up the server using the tmodloaderserver.exe or one of the bats and check the output as you are playing. My guess is one of your mods is throwing exceptions due to bad coding, causing NPC desync.Multiplayer performance issue : whenever I join a server my FPS drops to about 5-15,depending on who's hosting. Single player is OK. Vanilla Multiplayer is also OK. Turning frame skip off makes the game smooth but slow and NPC's start teleporting around. The friend that I'm trying to play with reports no issues with frame rate, while having the same ingame settings and more-or-less the same level hardware.
Could having too many mods(40, including big ones like Tremor and Thorium) kill my multiplayer performance?
If it helps, my specs are : AMD FX-6100, NVIDIA GTX 660 2GB, 8 GB DDR3 RAM, Windows 7
His specs : Intel Core i3 2120, Radeon R7 260x, 8 GB DDR3 RAM, Win10
If I were you, I would open up the server using the tmodloaderserver.exe or one of the bats and check the output as you are playing. My guess is one of your mods is throwing exceptions due to bad coding, causing NPC desync.
Instead of spawning NPCID.SkeletronHand, spawn your own modNPC. I'm not sure what you are asking, unless you haven't actually decompiled Terraria and are trying to do this through npc.aiStyle instead of actual AI code.Does anybody know how you would replace Skeletrons hands with custom ones, when creating a skeletron like boss, or at the least how to remove them from spawning?
I am trying to do this through npc.aiStyle, how can I decompile Terraria?Instead of spawning NPCID.SkeletronHand, spawn your own modNPC. I'm not sure what you are asking, unless you haven't actually decompiled Terraria and are trying to do this through npc.aiStyle instead of actual AI code.
You decompile Terraria through ilspy. google for download. For a whole skeletron-type boss, there are a few bits of code related to drawing the arm bones that you'll also have to find to get it looking right. You'll have to make your own head and your own arms, but adapting the vanilla code should be straightforward albeit mysterious.I am trying to do this through npc.aiStyle, how can I decompile Terraria?
Do you think all the files needed will be listed under skeletron, or will I have to look up other parts?You decompile Terraria through ilspy. google for download. For a whole skeletron-type boss, there are a few bits of code related to drawing the arm bones that you'll also have to find to get it looking right. You'll have to make your own head and your own arms, but adapting the vanilla code should be straightforward albeit mysterious.
You'll look in NPC.cs for the AI and the arm bone drawing is in Main.cs when you search for "type == 36" (36 is the NPCID of SkeltronHand)Do you think all the files needed will be listed under skeletron, or will I have to look up other parts?
Thanks a ton!You'll look in NPC.cs for the AI and the arm bone drawing is in Main.cs when you search for "type == 36" (36 is the NPCID of SkeltronHand)
Is ilspy supposed to take a while to look at the large main files?You'll look in NPC.cs for the AI and the arm bone drawing is in Main.cs when you search for "type == 36" (36 is the NPCID of SkeltronHand)
Yeah, expect 10 minutes maybe for NPC or Main. You can click save code and it'll save the whole thing as a Visual studio project you can open up. My computer it takes 13 minutes?, but it all depends mostly on how much RAM you have and your processor speed.Thanks a ton!
[doublepost=1478123450,1478123261][/doublepost]
Is ilspy supposed to take a while to look at the large main files?