Jump to content

ganjaradio

Members
  • Posts

    538
  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    0%

Everything posted by ganjaradio

  1. the recipes or the skills? sry for the dumb question and thx for answering
  2. How can i make an npc that crafts items. What i mean: The main html will have the items, for example dynasty main with an icon or not and when u click it a new html window to pop up that will show incredients and it will be saying how much will be needed and how much u have in ur inventory and ofc a button that will be used to make the item.
  3. bale ena check an brisketai mesa sto zone sou na tou bgazei kiauto tin epilogi, checkare k me ton gm p kanei respawn sto idio loc
  4. have u got any errors? how are u spawning it(which command i mean) ? what type is it?
  5. l2lige has an option to add wall hack in ur l2.ini, although never used it
  6. player.addExpAndSp(long exp, long sp); try this: /* * 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 l2f.gameserver.handler.items.impl; import l2f.gameserver.handler.items.IItemHandler; import l2f.gameserver.model.Playable; import l2f.gameserver.model.Player; import l2f.gameserver.model.items.ItemInstance; import l2f.gameserver.utils.Location; import l2f.gameserver.utils.Log; /** * @author Alex * */ public class ExpItem implements IItemHandler { private static final int[] _itemIds = { 111, 1111 }; private static long _xp1 = 500; private static long _xp2 = 2000; private static long _sp1 = 500; private static long _sp2 = 2000; @Override public boolean useItem(Playable playable, ItemInstance item, boolean ctrl) { if ((playable == null) || !playable.isPlayer()) return false; final Player player = (Player) playable; final int itemId = item.getItemId(); switch (itemId) { case 111: player.addExpAndSp(_xp1, _sp1); player.sendMessage("The gods gave you " + _xp1 + " xp and " + _sp1 + " sp."); break; case 1111: player.addExpAndSp(_xp2, _sp2); player.sendMessage("The gods gave you " + _xp2 + " xp and " + _sp2 + " sp."); break; default: return false; } return true; } @Override public final int[] getItemIds() { return _itemIds; } @Override public boolean pickupItem(Playable playable, ItemInstance item) { return true; } @Override public void dropItem(Player player, ItemInstance item, long count, Location loc) { if (item.isEquipped()) { player.getInventory().unEquipItem(item); player.sendUserInfo(true); } item = player.getInventory().removeItemByObjectId(item.getObjectId(), count); if (item == null) { player.sendActionFailed(); return; } Log.LogItem(player, Log.Drop, item); item.dropToTheGround(player, loc); player.disableDrop(1000); player.sendChanges(); } } the pack that i used ot write it is stormdc
  7. what error do u have then?
  8. yeah env.int needs to be saved to 111
  9. alla3e ta rwsika se agglika
  10. sry didnt see the post earlier, here is a video to see how to fix it:
  11. are u using file editor?
  12. my bad then, then u should change the protocol from the server that accepts, itll be difficult and u need server side to work , so u cant do this in someone else's server
  13. did u save it to 111? or 413? if not save it to 111
  14. just take the ui files (systextures) adn the interface.xdat and interface.u
  15. it just creates the xp faster so u can c/p to win time
  16. In order to change the xp for next level you need to go to: l2f.gameserver.model.base.Experience.java This tool will ease your life: http://www.mediafire.com/file/qygpjy6evn9wqlc/Xp+For+Next+Level.exe When finished coppy from xp.txt into the experience.java. Created by me (Pack Based: StormDC) Virus Total: https://www.virustotal.com/en/file/1cd91430849b7203d79257cb000db04a9a78523819f995df74e188d60b8843f5/analysis/1491138246/
  17. ah ok thank u. lock it
  18. i dont rly want to play, i want for 2-3 ppl to test some things, client mostly
  19. is a server with 512 mb ram ok for 2 ppl online?
  20. ur not rly helping with this
  21. here is a batch file that checks ur ping (ms) towards LoL EUNE Gameserver/ www.mediafire.com/file/4wne81jgy4gyz4j/LoL_Ping_Check.bat PS: to check the code just right click and edit Dont know if its shared again
  22. personally im using 512 mb ram and working perfectly, with stormdc. change it to 512mb. right click on gameserver.bat and edit it, in order to change the ram usage
×
×
  • 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