Jump to content

Thelasthero

Members
  • Posts

    1,486
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Thelasthero

  1. well in putty i connect to my pc, and i know commands like cd dir, but when i press dir there are only three files. nothing more. and lol i bought pc, so i can use explorer programs..... how to do that.
  2. eh ama ta pliroseis omos meta eisai gg 49 euro ton mina kai einai apo tis pio gamates eteries......
  3. Guys, i have bought deticated pc from www.tophost.gr with os: Linux CentOS, they told me that i will have to install plesk, but i don't know how to do that. They also told me that i can connect my pc with putty. I found putty, connected to pc but i get only a black screen.
  4. eh..... Check that in the code: activeChar.teleToLocation(leaderx, leadery, leaderz); activeChar.sendMessage("You have been teleported to your leader!"); activeChar.getInventory().destroyItemByItemId("RessSystem", 3470, 1, activeChar, activeChar.getTarget()); activeChar.sendMessage("One GoldBar has dissapeared! Thank you!"); RessSystem?? xexe. Anyway very usefull like .ch thanks.
  5. well, i copied the base code from portable aug., but some changes were needed to work... not only the imports, portable aug was made for gracia final...
  6. Guys, i made an itemhandler (credits to me so don't start saying c/p and and and), that when you double click on gold dragon(3481), cancel augment window pops up, and the item GETS consumed(not 100%). <<I have tested it so give me feedback. I won't explain how to register an itemhandler or how to register it with configs... there are plenty of guides... (MADE IN L2J INTERLUDE) Here you go: Create a file CancelAugPortable.java in java/net/sf/l2j/gameserver/handler/itemhandlers and paste: /* * 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 2, 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, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA * 02111-1307, USA. * * http://www.gnu.org/copyleft/gpl.html */ package net.sf.l2j.gameserver.handler.itemhandlers; import net.sf.l2j.gameserver.handler.IItemHandler; import net.sf.l2j.gameserver.model.L2ItemInstance; import net.sf.l2j.gameserver.model.actor.instance.L2PlayableInstance; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.serverpackets.ExShowVariationMakeWindow; public class CancelAugPortable implements IItemHandler { private static final int ITEM_IDS[] = { 3481 }; public void useItem(L2PlayableInstance playable, L2ItemInstance item) { if (!(playable instanceof L2PcInstance)) return; L2PcInstance activeChar = (L2PcInstance)playable; if (activeChar.isInCombat()) { activeChar.sendMessage("You cant cancel Augment while you are attacking"); return; } else if (activeChar.isInJail()) { activeChar.sendMessage("You cant cancel Augment while you are in jail"); return; } else if (activeChar.isInOlympiadMode()) { activeChar.sendMessage("You cant cancel Augment while you are on olympiad game"); return; } else activeChar.sendPacket(new ExShowVariationCancelWindow()); } public int[] getItemIds() { return ITEM_IDS; } } Idea was taken from TheEnd's share with portable augment.
  7. well thanks, but i checked in my server core and this code already exists... i tried l2j attacker and works(not 100%, i have to wait sometime untill it work).
  8. well, i will try this thanks, but i don't really think that fixes j killer......
  9. Guys, i need fast fix for serk's attacker (shared not the one he sells). Please help me and Thanks!
  10. well l2reliable had l2strict's pack and failed because of bugs..... how can we trust it is protected now..
  11. you don't have to insult him. dude go make a better website. server features are kinda nice.... but when i saw the website i closed my internet explorer...
  12. eh here if you become lvl 2 you don't need more lol. even kick you have. dude remove invul command from all gms to be pvp server. btw c/p from www.l2-gm.com
  13. Guys i downloaded and added epic armor, but it is shadow item and dissapears. I tried to make it not to be shadow but i didn't manage to. Help ???
  14. dude please don't continue this, we are both spamming. it isn't copy paste man really, i am not so noob, i can make a simple code.
  15. well sorry, i forgot 1 line. added. about the creating a patch, 1000 sorries i didn't see that... actually not, it gets consumed normally i didn't forget something. AND IT IS NOT c/p .
  16. updated added configs.... uh i need a guide on how to make diffs :@
  17. no it will take from players 1 gold dragon and it will make them hero. it is not useless man. lol. if someone has errors with hero item, that's easier. P.S tested and works. adding configs......
×
×
  • Create New...