Jump to content

'Baggos'

Legendary Member
  • Posts

    3,875
  • Joined

  • Last visited

  • Days Won

    28
  • Feedback

    100%

Everything posted by 'Baggos'

  1. Πήγαινε Gmaeserver/clientpackets/EnterWorld.java * activeChar.sendMessage("This server uses ΒΑΛΕ ΟΤΙ ΘΕΣ, a project founded by L2Chef and"); * activeChar.sendMessage("developed by the ΚΑΙ ΕΔΩ"); SevenSigns.getInstance().sendCurrentPeriodMsg(activeChar); Announcements.getInstance().showAnnouncements(activeChar); loadTutorial(activeChar);
  2. Κάντο delete, και ξανά εγκατάσταση. Όμως βάλε μία πιο καινούρια έκδοση...
  3. what would be important to you? an event with 3 lines and the sell it for 60 euros? I made this code for my old server. if you not need this, does not matter.
  4. If you drink a red tassel, with "little" wine... nothing is sad.. then you will see the things un-sad. everything is fun dude ... no one controls us here.
  5. I know.. i understand your theory. :) But the level that i am, i can not find a way to put it otherwise the config ...
  6. Is absolute nice with this change. (And yesterday). It's clean and have a good image. But need and config. And i'ill pass config for adena like you make it, yesterday.
  7. Yesterday then Tessa clean the code, i try to put .bowitems without adena. I take message. Now is the same but the price is only in code and no in config. Why need this change anyway? On gameserver i do not take a error or something.
  8. Αφού δεν είχε αποτέλεσμα ούτε +1 με το val=100, γιατί να είχε με το val=400? Αλλάζεις την τιμή και αυτό απλά ανεβαίνει, ουδεμία σχέση δεν έχει και 1000 να πάει αυτό αν δεν ψάξει καλύτερα τα config του. Επίσης, το L2J Hellas έχει δικό του φόρουμ Fastcow.
  9. This is without config price. Me and who's people try this code, need to edit all time the price from java code. Right? I'm not saying it's a problem, but it works as is the code. And before... everyone considers him right or wrong with its own meaning.
  10. Ψάξε στα Config και θα το βρεις. Τι Project έχεις?
  11. What is right for you? i have pass check for adena Mage and fighter items. I don't say about this line "if (!Config.ALT_GAME_KARMA_PLAYER_CAN_USE_GK && activeChar.getKarma() > 0)". only for check in adena, why is wrong?
  12. I have change something here.. Is still wrong like that? /* * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * this program. If not, see <http://www.gnu.org/licenses/>. */ package com.l2jfrozen.gameserver.handler.voicedcommandhandlers; import com.l2jfrozen.Config; import com.l2jfrozen.gameserver.handler.IVoicedCommandHandler; import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance; public class ClassItems implements IVoicedCommandHandler { private static String[] _voicedCommands = { "daggeritems", "bowitems", "tankitems", "mageitems" }; /** * @see com.l2jfrozen.gameserver.handler.IVoicedCommandHandler(java.lang.String, * com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance, java.lang.String) */ @SuppressWarnings("javadoc") @Override public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target) { if(activeChar.isInOlympiadMode()) { activeChar.sendMessage("Sorry,you are in the Olympiad now."); return false; } if(activeChar.isInDuel()) { activeChar.sendMessage("Sorry,you are in a duel!"); return false; } if(activeChar.atEvent) { activeChar.sendMessage("Sorry,you are on event now."); return false; } if(!Config.ALT_GAME_KARMA_PLAYER_CAN_USE_GK && activeChar.getKarma() > 0) { activeChar.sendMessage("Sorry,PK player can't use this."); return false; } if(activeChar.isDead()) { activeChar.sendMessage("Sorry,Dead player can't take items."); return false; } if(activeChar.isFakeDeath()) { activeChar.sendMessage("Sorry,on fake death mode can't use this."); return false; } if(command.equalsIgnoreCase("daggeritems")) { } if(activeChar.getInventory().getInventoryItemCount(57, 0) >= Config.FIGHTER_ITEMS_PRICE) { activeChar.getInventory().reduceAdena("Adena", Config.FIGHTER_ITEMS_PRICE, activeChar, null); activeChar.getInventory().addItem("Angel Slayer", 6367, 1, activeChar, activeChar); activeChar.getInventory().addItem("Dragonic Light", 6379, 1, activeChar, activeChar ); activeChar.getInventory().addItem("Dragonic Boots", 6380, 1, activeChar, activeChar); activeChar.getInventory().addItem("Dragonic Gloves", 6381, 1, activeChar, activeChar ); activeChar.getInventory().addItem("Dragonic Helmet", 6382, 1, activeChar, activeChar); activeChar.getInventory().addItem("TEO Necklace", 920, 1, activeChar, activeChar ); activeChar.getInventory().addItem("TEO Earring", 858, 2, activeChar, activeChar); activeChar.getInventory().addItem("TEO Ring", 889, 2, activeChar, activeChar ); activeChar.sendMessage("Now You Have Dagger Items On Your Invetory. Take a Look!."); } else if (command.equalsIgnoreCase("bowitems")) { activeChar.getInventory().reduceAdena("Adena", Config.FIGHTER_ITEMS_PRICE, activeChar, null); activeChar.getInventory().addItem("Draconic Bow", 7577, 1, activeChar, activeChar); activeChar.getInventory().addItem("Draconic Light", 6379, 1, activeChar, activeChar ); activeChar.getInventory().addItem("Draconic Boots", 6380, 1, activeChar, activeChar); activeChar.getInventory().addItem("Draconic Gloves", 6381, 1, activeChar, activeChar ); activeChar.getInventory().addItem("Draconic Helmet", 6382, 1, activeChar, activeChar); activeChar.getInventory().addItem("TEO Necklace", 920, 1, activeChar, activeChar ); activeChar.getInventory().addItem("TEO Earring", 858, 2, activeChar, activeChar); activeChar.getInventory().addItem("TEO Ring", 889, 2, activeChar, activeChar ); activeChar.sendMessage("Now You Have Bow Items On Your Invetory. Take a Look!."); } else if (command.equalsIgnoreCase("tankitems")) { activeChar.getInventory().reduceAdena("Adena", Config.FIGHTER_ITEMS_PRICE, activeChar, null); activeChar.getInventory().addItem("Forgotten Blade", 6582, 1, activeChar, activeChar); activeChar.getInventory().addItem("Imperial Armor", 6373, 1, activeChar, activeChar ); activeChar.getInventory().addItem("Imperial ArmorP2", 6374, 1, activeChar, activeChar); activeChar.getInventory().addItem("Imperial Gloves", 6375, 1, activeChar, activeChar ); activeChar.getInventory().addItem("Imperial Boots", 6376, 1, activeChar, activeChar); activeChar.getInventory().addItem("Imperial Helmet", 6378, 1, activeChar, activeChar ); activeChar.getInventory().addItem("TEO Necklace", 920, 1, activeChar, activeChar); activeChar.getInventory().addItem("TEO Earring", 858, 2, activeChar, activeChar); activeChar.getInventory().addItem("TEO Ring", 889, 2, activeChar, activeChar ); activeChar.sendMessage("Now You Have Tank Items On Your Invetory. Take a Look!."); } else if (command.equalsIgnoreCase("mageitems")) { if(activeChar.getInventory().getInventoryItemCount(57, 0) >= Config.MAGE_ITEMS_PRICE) { activeChar.getInventory().destroyItemByItemId("Adena", 57, Config.MAGE_ITEMS_PRICE, activeChar, null); activeChar.getInventory().addItem("Arcana Mace Acumen", 6608, 1, activeChar, activeChar); activeChar.getInventory().addItem("DC Robe", 2407, 1, activeChar, activeChar ); activeChar.getInventory().addItem("DC Gloves", 5767, 1, activeChar, activeChar); activeChar.getInventory().addItem("DC Boots", 5779, 1, activeChar, activeChar ); activeChar.getInventory().addItem("DC Helmet", 512, 1, activeChar, activeChar); activeChar.getInventory().addItem("TEO Necklace", 920, 1, activeChar, activeChar ); activeChar.getInventory().addItem("TEO Earring", 858, 2, activeChar, activeChar); activeChar.getInventory().addItem("TEO Ring", 889, 2, activeChar, activeChar ); activeChar.sendMessage("Now You Have Mage Items On Your Invetory. Take a Look!"); activeChar.sendMessage("You do not have enough Adena"); return false; } return true; } return false; } /** * @see com.l2jfrozen.gameserver.handler.IVoicedCommandHandler#getVoicedCommandList() */ @Override public String[] getVoicedCommandList() { return _voicedCommands; } }
  13. Ακριβώς! Γι'αυτο σε ρώτησα αν με άλλο Buff μένει τόσο. Είναι κάποιο check στα settings. (Άλλωστε αν είναι νταν 300, ούτε καν 301, τότε θα πας στα settings και θα κάνεις αναζήτηση "speed", εκεί θα το βρεις). # Maximum character running speed. # Retail: 250 MaxRunSpeed = 250
  14. Αν βάλεις κάποιο άλλο Buff, πάλι μένει 300?
  15. Κοίτα, δε θυμάμαι ακριβώς, αλλά βάλε κάτω από το "<effect name="Buff" time="144000" count="1" val="0">" αυτό εδώ <add order="0x40" stat="runSpd" val="100" /> ή αντιγραφή/επικόλληση το παρακάτω. <skill id="7029" levels="4" name="Super Haste"> <table name="#pAtk"> 1 100 1000 10000 </table> <table name="#Tab-runSpd"> 1.5 2 3 4 </table> <table name="#Tab-mReuse"> 1 2 4 30 </table> <table name="#Tab-mAtkSpd"> 1.5 1.8 3 4 </table> <table name="#Tab-pAtkSpd"> 1.2 1.5 2 3 </table> <set name="power" val="0.0" /> <set name="target" val="TARGET_SELF" /> <set name="skillType" val="CONT" /> <set name="operateType" val="OP_TOGGLE" /> <set name="castRange" val="-1" /> <set name="effectRange" val="-1" /> <for> <effect name="Buff" time="144000" count="1" val="0"> <add order="0x40" stat="runSpd" val="100" /> <mul order="0x30" stat="runSpd" val="#Tab-runSpd" /> <div order="0x30" stat="mReuse" val="#Tab-mReuse" /> <mul order="0x30" stat="mAtkSpd" val="#Tab-mAtkSpd" /> <mul order="0x30" stat="pAtkSpd" val="#Tab-pAtkSpd" /> <mul order="0x30" stat="pAtk" val="#pAtk" /> <mul order="0x30" stat="mAtk" val="#pAtk" /> </effect> </for> </skill>
  16. Δε λέω να πας στη navicat. Στα xml του. Θα είναι π.χ 7000-9000.xml, άνοιξε το και κάνε "Search" εκει θα βρεις τα στατς του.
  17. Yes Tessa... Is right. Thank you. I realized my mistake.
  18. Since yesterday evening I try to do only with the gameserver. The same again. But now with a old version, working coble (Special). Maybe in next version anyone can't to see this problem with the error. or my computer is crazy.. who's know... Thank you very mutch for your consolation sir or madam whatever. edit: Can be locked.
  19. I use luna... But now im gonna to try with a old version.
  20. I have try so mutch things. And this... One by one "check out" but the same... i have download a old version eclipse... I hope to work... My eclipse: Eclipse IDE for Java Developers
  21. Βρες τι id έχει και πήγαινε στα stats των skill και φτιάξε το
  22. I have try with this and before, and i take error on the last line before "return true". But i have problem with my eclipse... maybe here is the problem...
  23. Hello members of mxc. I have a problem with my eclipse. if i change something on java, i can't to see if is wrong or not... for example: i don't take the red line with the wrong. only if i put build/run 1. in picture, the right is with yellow while the error with red. And i don't take a line with the wrong... if you see in "+" i don't have error.
  24. Too many error if i change something in code. I'll not change something. It's work like that. I can't find a way to work without all this check. If someone can to make this code work without all this check, then give here to help. I have 2 year to see a code. in the past on L2Network Project, this code helped a lot.
  25. Give a try here.. But like that i have 1 error on last line of the code. /* * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * this program. If not, see <http://www.gnu.org/licenses/>. */ package com.l2jfrozen.gameserver.handler; import com.l2jfrozen.Config; import com.l2jfrozen.gameserver.handler.IVoicedCommandHandler; import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance; import com.l2jfrozen.gameserver.network.serverpackets.ItemList; public class ClassItems implements IVoicedCommandHandler { private static String[] _voicedCommands = { "daggeritems", "bowitems", "tankitems", "mageitems" }; /** * @see com.l2jfrozen.gameserver.handler.IVoicedCommandHandler(java.lang.String, * com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance, java.lang.String) */ @Override public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target) { { activeChar.sendMessage("You do not have enough Adena"); } if(activeChar.isInOlympiadMode()) { activeChar.sendMessage("Sorry,you are in the Olympiad now."); return false; } else if(activeChar.isInDuel()) { activeChar.sendMessage("Sorry,you are in a duel!"); return false; } else if(activeChar.atEvent) { activeChar.sendMessage("Sorry,you are on event now."); return false; } else if(!Config.ALT_GAME_KARMA_PLAYER_CAN_USE_GK && activeChar.getKarma() > 0) { activeChar.sendMessage("Sorry,PK player can't use this."); return false; } else if(activeChar.isDead()) { activeChar.sendMessage("Sorry,Dead player can't take items."); return false; } else if(activeChar.isFakeDeath()) { activeChar.sendMessage("Sorry,on fake death mode can't use this."); return false; } if(command.equalsIgnoreCase("daggeritems")) { if(activeChar.getInventory().getInventoryItemCount(57, 0) >= Config.FIGHTER_ITEMS_PRICE) { activeChar.getInventory().reduceAdena("Adena", Config.FIGHTER_ITEMS_PRICE, activeChar, null); activeChar.getInventory().addItem("Angel Slayer", 6367, 1, activeChar, activeChar); activeChar.getInventory().addItem("Dragonic Light", 6379, 1, activeChar, activeChar ); activeChar.getInventory().addItem("Dragonic Boots", 6380, 1, activeChar, activeChar); activeChar.getInventory().addItem("Dragonic Gloves", 6381, 1, activeChar, activeChar ); activeChar.getInventory().addItem("Dragonic Helmet", 6382, 1, activeChar, activeChar); activeChar.getInventory().addItem("TEO Necklace", 920, 1, activeChar, activeChar ); activeChar.getInventory().addItem("TEO Earring", 858, 2, activeChar, activeChar); activeChar.getInventory().addItem("TEO Ring", 889, 2, activeChar, activeChar ); activeChar.sendMessage("Now You Have Dagger Items On Your Invetory. Take a Look!."); } if(command.equalsIgnoreCase("bowitems")) { if(activeChar.getInventory().getInventoryItemCount(57, 0) >= Config.FIGHTER_ITEMS_PRICE) { activeChar.getInventory().reduceAdena("Adena", Config.FIGHTER_ITEMS_PRICE, activeChar, null); activeChar.getInventory().addItem("Draconic Bow", 7577, 1, activeChar, activeChar); activeChar.getInventory().addItem("Draconic Light", 6379, 1, activeChar, activeChar ); activeChar.getInventory().addItem("Draconic Boots", 6380, 1, activeChar, activeChar); activeChar.getInventory().addItem("Draconic Gloves", 6381, 1, activeChar, activeChar ); activeChar.getInventory().addItem("Draconic Helmet", 6382, 1, activeChar, activeChar); activeChar.getInventory().addItem("TEO Necklace", 920, 1, activeChar, activeChar ); activeChar.getInventory().addItem("TEO Earring", 858, 2, activeChar, activeChar); activeChar.getInventory().addItem("TEO Ring", 889, 2, activeChar, activeChar ); activeChar.sendMessage("Now You Have Bow Items On Your Invetory. Take a Look!."); } if(command.equalsIgnoreCase("tankitems")) { if(activeChar.getInventory().getInventoryItemCount(57, 0) >= Config.FIGHTER_ITEMS_PRICE) { activeChar.getInventory().reduceAdena("Adena", Config.FIGHTER_ITEMS_PRICE, activeChar, null); activeChar.getInventory().addItem("Forgotten Blade", 6582, 1, activeChar, activeChar); activeChar.getInventory().addItem("Imperial Armor", 6373, 1, activeChar, activeChar ); activeChar.getInventory().addItem("Imperial ArmorP2", 6374, 1, activeChar, activeChar); activeChar.getInventory().addItem("Imperial Gloves", 6375, 1, activeChar, activeChar ); activeChar.getInventory().addItem("Imperial Boots", 6376, 1, activeChar, activeChar); activeChar.getInventory().addItem("Imperial Helmet", 6378, 1, activeChar, activeChar ); activeChar.getInventory().addItem("TEO Necklace", 920, 1, activeChar, activeChar); activeChar.getInventory().addItem("TEO Earring", 858, 2, activeChar, activeChar); activeChar.getInventory().addItem("TEO Ring", 889, 2, activeChar, activeChar ); activeChar.sendMessage("Now You Have Tank Items On Your Invetory. Take a Look!."); } else if(command.equalsIgnoreCase("mageitems")) { if(activeChar.getInventory().getInventoryItemCount(57, 0) >= Config.MAGE_ITEMS_PRICE) { activeChar.getInventory().destroyItemByItemId("Adena", 57, Config.MAGE_ITEMS_PRICE, activeChar, null); activeChar.getInventory().addItem("Arcana Mace Acumen", 6608, 1, activeChar, activeChar); activeChar.getInventory().addItem("DC Robe", 2407, 1, activeChar, activeChar ); activeChar.getInventory().addItem("DC Gloves", 5767, 1, activeChar, activeChar); activeChar.getInventory().addItem("DC Boots", 5779, 1, activeChar, activeChar ); activeChar.getInventory().addItem("DC Helmet", 512, 1, activeChar, activeChar); activeChar.getInventory().addItem("TEO Necklace", 920, 1, activeChar, activeChar ); activeChar.getInventory().addItem("TEO Earring", 858, 2, activeChar, activeChar); activeChar.getInventory().addItem("TEO Ring", 889, 2, activeChar, activeChar ); activeChar.sendMessage("Now You Have Mage Items On Your Invetory. Take a Look!"); /** * @see com.l2jfrozen.gameserver.handler.IVoicedCommandHandler#getVoicedCommandList() */ @Override public String[] getVoicedCommandList() { return _voicedCommands; } }
×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..

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