Jump to content

^Wyatt

Members
  • Posts

    1,418
  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    0%

Everything posted by ^Wyatt

  1. 1. remove that link 2. u could try this change this + if(o.isEquipable() && o.isEquipped() && !checkItem(o)) + { + int slot = activeChar.getInventory().getSlotFromItem(o); + activeChar.getInventory().unEquipItemInBodySlotAndRecord(slot); + activeChar.sendMessage(o.getItemName()+" unequiped because is not allowed inside this zone."); for + if(o.isEquipable() && o.isEquipped() && !checkItem(o)) + { + int slot = activeChar.getInventory().getSlotFromItem(o); + activeChar.getInventory().unEquipItemInBodySlotAndRecord(slot); + InventoryUpdate iu = new InventoryUpdate(); + iu.addModifiedItem(o); + activeChar.sendPacket(iu); + activeChar.sendMessage(o.getItemName()+" unequiped because is not allowed inside this zone.");
  2. url -> 192.168.1.1 inside any explorer... and try to find something like... "port forwarding"...
  3. And with... if ((_inEventCTF && CTF.is_started()) || (_inEventTvT && TvT.is_started()) || (_inEventVIP && VIP._started) || (_inEventDM && DM.is_started())) { setPvpKills(getPvpKills()+1); return; } ?
  4. Let me see the part of the code where are you doing the item removal.
  5. Well but... duplicating something like olympiad... it's just kinda suicide, the bugs that you can get with it could be awesome, if you "don't know java" try to duplicate things like TvT, but olympiads... hum...
  6. Duplicating olympiad system...? rolf... for sure easier creating it from scratch xd
  7. Raise ant guards aggro range O.o npcaidata.sql
  8. general.properties # --------------------------------------------------------------------------- # Custom Components # --------------------------------------------------------------------------- # Default: False CustomSpawnlistTable = True # Option to save GM spawn only in the custom table. # Default: False SaveGmSpawnOnCustom = True # Option to delete spawn in alternate table. # Default: False DeleteGmSpawnOnCustom = True # Default: False CustomNpcTable = True # Default: False CustomNpcSkillsTable = True # Default: False CustomArmorSetsTable = True # Default: False CustomTeleportTable = True # Default: False CustomDroplistTable = True # Default: False CustomMerchantTables = True # Default: False CustomNpcBufferTables = True # Default: False CustomSkillsLoad = True # Default: False CustomItemsLoad = True # Default: False CustomMultisellLoad = True
  9. Cannot see anything strange inside the frozen patch, btw I'm not used to IL and I didn't create the frozen patch. Maybe someone else could help you.
  10. Which template id has it? Chronicle? Pack? Is it inside npcaidata table?
  11. Change + private static List<String> grades, classes = new FastList<String>(); for + private static List<String> grades = new FastList<String>(), classes = new FastList<String>(); Pastbin links updated with this modification.
  12. Try this... public class MiniReward { static HashMap<String, Integer> Ips = new HashMap<String, Integer>(); public static void getInstance() { ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new Runnable() { @Override public void run() { Collection<L2PcInstance> pls = L2World.getInstance().getAllPlayers().values(); for (L2PcInstance p : pls) { String pIp = p.getClient().getConnection().getInetAddress().getHostAddress(); if (!Ips.containsKey(pIp)) { Ips.put(pIp, 1); reward(p); } else { int count = Ips.get(pIp); if (count < Config.DUALBOXES_ALLOWED) { Ips.remove(pIp); Ips.put(pIp, count+1); reward(p); } else { p.sendMessage("Already "+Config.DUALBOXES_ALLOWED+" character(s) of your ip have been rewarded, so this character won't be rewarded."); } } } Ips.clear(); } }, 0, 86400 * 1000); } private static void reward(L2PcInstance player) { for (int i : Config.MINI_REWARD.keySet()) { player.addItem("Mini Reward.", i, Config.MINI_REWARD.get(i), player, true); } } }
  13. line 78 - boolean canReward = false; (playerIps empty array in that position) line 80 - if (playerIps.containsKey(pIp)) (won't enter here .> array empty) line 96 - if (canReward) (won't enter here .> boolean is false) I think we should think what are we posting before doing it, not?
  14. Did u check if got u a message like "your protocol version is different" at window downstairs when the "Disconnected from the server" appeared?
  15. That's not dualbox protection O.o... you're splitting by ip
  16. Still looking for it? I'm having some free and boring time...
  17. but is the event starting? if yes -> give to that command a delay to be executed, with ThreadPoolManager
  18. If the chance is not 100% u can get both of them or only 1, with different categories.
  19. different categories = drops can stack same category = u'll get adena OR golden coins I think...
  20. Since when is necessary to share free codes in order to prove your skills? And for sure, if u wanna prove it by sharing codes, if u share a "stupid thing", as you said, you're not proving anything. You just need to make some screenshots of your work, quote any server where have you been working on, etc. If you can.
  21. Do you understand the meaning of what I wrote? quote from our main forum post I said I only had to ban & block 1 user and the reason was this. Any other wannabe customer or fake customer that says to you that I blocked/banned him is just lying. The discussion ends here, please. And for God, 1 mod to lock this?...
  22. Why...? well there are too much reasons... haters, no-lifers, etc. anyone with active customer status (without being a leacher) was banned/blocked I only had to ban & block 1 customer and was coz of leach. Some mod lock this topic please.
  23. Show proofs of that, please. You are partially correct. Last 2 months I started the new university year and I had not enough time to update/support at the same lvl I was doing before. So, as I see I have not enough time to handle it and also the L2 situation is worse and worse... I decided to stop the project development & licenses_giving until I have time to waste in it. I will save the time of the last customers to give it back when I get the time to take it again.
  24. Don't share my code without post restriction. Delete it. I said you to split the method "loadConfigs()" that you are using in your workspace and to post it here. If you don't understand it go and request for help to google translator...
  25. read it carefully and understand it
×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock