Jump to content

[DEV]DjSt3rios

Members
  • Posts

    672
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Everything posted by [DEV]DjSt3rios

  1. Hello, I would like to ask what code should i use to delete an item. I imported L2ItemInstance and PcInventory and then i tried this code: getInventory().destroyItemByItemId("heroweap", 6611, 1, st, null); and i also tried to add st. in front, like this st.getInventory().destroyItemByItemId("heroweap", 6611, 1, st, null); But still i get an error on getInventory. What can i do?
  2. This is what i thought too.. so i believe L2j has less bugs than l2jfrozen right?
  3. looks nice, well i want to make a code on eclipse, to spawn some NPC and make them move to a place i want in a slow speed. I will check the Walker Routes thing, if anyone has any other idea please post here. thanks
  4. Hello, I would like to ask if i could do some NPCs to move to a certain position... i mean make them walk somewhere, at a specified time. Thanks in advance.
  5. Hmm for interlude, i was thinking of L2j but it has some bugs too.
  6. Hello, I would like to ask which is the best pack, i mean which pack has the least bugs? I Need a pack without many features, but WITHOUT BUGS! Please tell me your opinion, thanks.
  7. Hello, I tried today to make Hide skill for Interlude, well i made it alone i didnt c/p anything so here is what i have: In skills folder: <skill id="3267" levels="1" name="Hide"> <set name="target" val="TARGET_SELF" /> <set name="skillType" val="BUFF" /> <set name="reuseDelay" val="180000" /> <set name="operateType" val="OP_ACTIVE" /> <for> <effect name="Invis" time="15" val="0" /> </for> </skill> and my EffectInvis.java file: /* * 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 com.it.br.gameserver.skills.effects; import com.it.br.gameserver.model.actor.instance.L2PcInstance; import com.it.br.gameserver.model.L2Effect; import com.it.br.gameserver.network.L2GameClient; import com.it.br.gameserver.skills.Env; public class EffectInvis extends L2Effect { private L2GameClient _client; public L2GameClient getClient() { return _client; } public void setClient(L2GameClient client) { _client = client; } public EffectInvis(Env env, EffectTemplate template) { super(env, template); } @Override public EffectType getEffectType() { return L2Effect.EffectType.INVISIBLE; } @Override public boolean onStart() { final L2PcInstance activeChar = getClient().getActiveChar(); activeChar.getAppearance().setInvisible(); activeChar.broadcastUserInfo(); activeChar.decayMe(); activeChar.spawnMe(); return true; } @Override public boolean onActionTime() { final L2PcInstance activeChar = getClient().getActiveChar(); activeChar.getAppearance().setVisible(); activeChar.broadcastUserInfo(); return false; } @Override public void onExit() public void onExit() { final L2PcInstance activeChar = getClient().getActiveChar(); activeChar.getAppearance().setVisible(); activeChar.broadcastUserInfo(); } } Now my problem: I get the skill in game, with black icon(this is not a problem actually) but when i click it, it doesn't do anything. Can anyone tell me why? I can't find the problem.. thanks.
  8. And why if i remove the code for the crest it works fine? It was working fine before the code.. and if i remove the code now, the npc will be normal.
  9. this is not the problem, if i remove the code the Crests, the npcs are fine, so something with writeD is wrong, but im not sure. BTW if i //spawn it its fine... so the problem is not the npc...
  10. Ok i found it but i have a problem guys, some NPC are inside the ground, and you can see only the chest and the head :/ any idea how to fix this?
  11. Well it may not work on Interlude. I dont know, i've seen many interlude having this though, but i dont really understand where they found it, anyway i will test this again, and i will post if i have any problems.
  12. And why its not working then? I tested it 2 times and it didn't work :S
  13. Thats for gracia. I need it for Interlude!
  14. hmm, thanks for your answers.
  15. Hello, I would like to ask 2 things. First of all, How can i change the olympiad match time? and one more question, there is a bug that they go with wyvern in olympiad stadium and they heal their friends etc, how could i fix that? thanks for your time.
  16. Have you even tried it? and its not fake, right now i don't have my good computer, so i can not open like 10 Lineage boxes, and this is the reason that i can not test it. So as you don't know how lineage is coded, test it and then tell your opinion.
  17. Thats true buddy, and thanks for the support! :)
  18. hmm weird, my friend told me it works... i couldn't test it as i had a problem with my computer... :/
  19. Well, as a friend of mine tested it and it doesnt have problems, but i am not sure if you are doing some activities, like a bishop heals etc all the party, might cause problems... but anyway if someone find problems, i will remove it.. i just want to help this community, and i would like to get some karma, thats why i am trying to help here :)
×
×
  • 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