Jump to content

brett16

Members
  • Posts

    158
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by brett16

  1. How do we make it so same Masteries don't stack? Example would be something like the Light armor mastery from HE or TH and the light armor mastery from a prophet, So they do not stack and you only get 1 from whatever class your active sub is.
  2. It's a nice guide. I also added these lines so you can only subclass another class in the same race you are. Now I would like to make it so there subclass stacks with their main class. Does anyone know of a guide I could learn how to do this?
  3. Gameserver.bat stops loading at these lines. Any idea what might be causing this?
  4. Eclipse can't resolve AntiFeedManager.getInstance() is an error im getting. It's a interlude source code if that matters.
  5. Microsoft Windows Server 2003 x64 Intel Xeon CPU X3323 2.50GHz 2.50 GHz, 4GB Ram How many players can this run without lag? and how many players till it starts lagging? Also I have to check info how much bandwidth l2j servers use?
  6. I Have the gain XP & SP through pvp kill, What I'm not sure about is how to add XP & SP to a party if a party member gets a pvp kill. This is what I tried. I'm really not sure what the variable would be to add the addExpAndSp configs to the party.
  7. I Have the gain XP & SP through pvp kill, What I'm not sure about is how to add XP & SP to a party if a party member gets a pvp kill. This is what I tried. I'm really not sure what the variable would be to add the addExpAndSp configs to the party.
  8. How do you edit how many kills you need to play whatever sound file?
  9. How do you edit how many kills you need to play whatever sound file?
  10. well I put your code into the CompSoulPacks.java and replaced all of it.
  11. Hmm I changed it like you said but still opens into soulshots.
  12. Maybe I did this wrong but I used 4 ids from the compressed soulshot pack, when I open them I still get soulshots.
  13. Sorry for double post. Would it be easier to create my own pack items? I need 4 in total for now. These are the list of items I need to have a chance to open in the first pack. the amount of 1 for these is fine. Pack 1: Random chance to get these items. 6861 6863 6853 6855 6857 6859 6865 6867 6869 6871 6873 6875 6877 6879 6881 6883 6885 6887 6889 6891 6893 6895 6897 6899 7580 6847 6849 6851 Pack 2 random chance to get these: Random amount 1-5 Sealed Tateossian Earring Part Sealed Tateossian Ring Gem Sealed Tateossian Necklace Chain Sealed Imperial Crusader Breastplate Part Sealed Imperial Crusader Gaiters Pattern Sealed Imperial Crusader Gauntlets Design Sealed Imperial Crusader Boots Design Sealed Imperial Crusader Helmet Pattern Sealed Imperial Crusader Shield Part Sealed Draconic Leather Armor Part Sealed Draconic Leather Gloves Fabric Sealed Draconic Leather Boots Design Sealed Draconic Leather Helmet Pattern Sealed Major Arcana Robe Part Sealed Major Arcana Gloves fabric Sealed Major Arcana Boots Design Sealed Major Arcana Circlet Pattern Forgotten Blade Edge Basalt Battlehammer Head Imperial Staff Head Angel Slayer Blade Shining Bow Shaft Dragon Hunter Axe Blade Saint Spear Blade Demon Splinter Blade Heavens Divider Edge Draconic Bow Shaft Arcana Mace Head Pack 3 random chance to get these items: Random amount 1-3 Arcsmith's Anvil Warsmith's Mold Leolin's Mold Maestro Mold Warsmith's Holder Pack 4 random chance to get these items: Random amount 1-5 Compound Braid Durable Metal Plate Enria Metallic Fiber Varnish of Purity Thons Oriharukon Coarse Bone Powder Synthetic Cokes Mithril Alloy Asofe I will be getting the item codes for those later but this is just to show you want I'm trying to do.
  14. Thank you, This is the whole .java and I wanted to make sure I entered it correct. Because Eclipse is giving me an error saying Rnd cannot be resolved.
  15. Yea I will be having lots more items to have a chance to get when the pack opens. So I will need to try to find that out. Thank you for your help.
  16. I was going to try to create my own compressed pack to open into a list of possible items. I didn't know where to start so I thought I would edit some that already exist. I wasn't really sure how to do this so I thought I would post what I got to see if I'm on the right track. Don't want to mess up the file and my source code. Current code from CompShotPacks.java What I want to do is add a list of possible items that have a random chance to open and a random min-max amount. This is my attempt I don't know the code to do random min-max amount yet. Hopefully it would open and give you a 20% chance to recieve 1 of item 7580 and 30% chance to recieve 1 of 6847. This pack doesn't need random amount because its for recipes. But if I edit the next pack I want it to open up into mats then I would need the random min-max amount. Which I don't know how to add so I can set the min amount and max amount right there. Example: Open pack, (Rnd.get(100) >20) itemToCreateId = 57; (Rnd.get(3 - 5) (Get Min 3 or max of 5) I don't know what the min max is so I just took a guess.
  17. Removed the line and worked. Thanks
  18. I typed the code in my post wrong, The only thing different from what you posted and what I had was there was no space between int itemReward = Config.MOD_GVE_AMOUNT_PACK_BY_PVP; and if (Rnd.get(100) >50) but adding the space between the 2 made it work, so thank you.
  19. L2 factor is very bad, poor coding. I'm currently working on my faction system it's interlude, I don't have a server box or anything. It's just running off my computer.
  20. I found it and turned the teleport back to town from true to false but it didn't work.
  21. I added int itemReward = Config.MOD_GVE_AMOUNT_PACK_BY_PVP; if (Rnd.get(100) > 50) addItem("Loot", 5139, itemReward, this, true); { } still gives me 5139 100%
×
×
  • Create New...