Jump to content

HellRose

Members
  • Posts

    11
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

About HellRose

Profile Information

  • Gender
    Female

HellRose's Achievements

Newbie

Newbie (1/16)

0

Reputation

  1. If I could do it on my own, I wasn't going to ask for help.... :/ Can anyone help me adapt it for T2.3 so that the damn revita pops would finally work? :(
  2. Edited it like that, started the server and got this error: 1. ERROR in D:\L2 server\gameserver\data\scripts\handlers\skillhandlers\GiveVita lity.java (at line 36) if (target.isPlayer()) ^^^^^^^^ The method isPlayer() is undefined for the type L2Object ---------- 2. ERROR in D:\L2 server\gameserver\data\scripts\handlers\skillhandlers\GiveVita lity.java (at line 42) SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.YOU_FE EL_S1_EFFECT); ^^^^^^^^^^^^^ SystemMessage cannot be resolved to a type ---------- 3. ERROR in D:\L2 server\gameserver\data\scripts\handlers\skillhandlers\GiveVita lity.java (at line 42) SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.YOU_FE EL_S1_EFFECT); ^^^^^^^^^^^^^ SystemMessage cannot be resolved ---------- 4. ERROR in D:\L2 server\gameserver\data\scripts\handlers\skillhandlers\GiveVita lity.java (at line 42) SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.YOU_FE EL_S1_EFFECT); ^^^^^^^^^^^^^^^ SystemMessageId cannot be resolved ---------- 5. ERROR in D:\L2 server\gameserver\data\scripts\handlers\skillhandlers\GiveVita lity.java (at line 47) target.getActingPlayer().sendPacket(new UserInfo(target.getActingPlayer( ))); ^^^^^^^^ UserInfo cannot be resolved to a type ---------- 5 problems (5 errors)The method isPlayer() is undefined for the type net.sf.l2j. gameserver.model.L2Object SystemMessage cannot be resolved to a type SystemMessage cannot be resolved SystemMessageId cannot be resolved UserInfo cannot be resolved to a type Failed executing script: D:\L2 server\gameserver\data\scripts\handlers\MasterHan dler.java. See MasterHandler.java.error.log for details.
  3. Hm.. This is the GiveVitality.java in gameserver/data/scripts/handlers/skillhandlers/ package handlers.skillhandlers; import net.sf.l2j.gameserver.handler.ISkillHandler; import net.sf.l2j.gameserver.model.L2Object; import net.sf.l2j.gameserver.model.L2Skill; import net.sf.l2j.gameserver.model.actor.L2Character; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.templates.skills.L2SkillType; public class GiveVitality implements ISkillHandler { private static final L2SkillType[] SKILL_IDS = { L2SkillType.GIVE_VITALITY }; public void useSkill(L2Character activeChar, L2Skill skill, L2Object[] targets) { for (L2Object target : targets) { if (target instanceof L2PcInstance) { ((L2PcInstance) target).updateVitalityPoints((float)skill.getPower(), false, false); } } } public L2SkillType[] getSkillIds() { return SKILL_IDS; } } Anything else?
  4. I made it like this: <skill id="22006" levels="1" name="Halloween Candy"> <set name="itemConsumeCount" val="1" /> <set name="target" val="TARGET_SELF" /> <set name="skillType" val="GIVE_VITALITY" /> <set name="operateType" val="OP_ACTIVE" /> <set name="isPotion" val="true" /> <set name="power" val="20000" /> </skill> I've restarted the server after that and still no change. I tried //skill_test 22006 and it just gives the effect, but no vitality.
  5. This is the itemhandler -> http://svn.l2jserver.com/trunk/L2J_Server/java/com/l2jserver/gameserver/handler/ItemHandler.java , if I'm not wrong.. Skill, where can I find that? :/ When I press it - nothing happens in-game and there's nothing new in the gameserver console too.
  6. http://l2.naturalbornkillers.it/index.php?action=show;type=item;id=20034 This is a revita pop. When used it replenishes vitality lvl to 4.
  7. Hello. I'm having a problem with the revita pops in my server. When I try to use them - nothing happens, absolutely nothing. I spawn them with id 20034. The server is using L2J gracia final. Any ideas? :/
  8. The problem is that I can't edit class files (at least I don't know how :/). My question is, can I get the java files back? I need to edit 1 more thing and I can't when the files are .class? I'm not sure how to explain this better..
  9. Worked! But now I have one more problem... I forgot to delete 1 more thing and now all the files are compiled and in .class format :( I tried deleting everything and trying again, but again I get .class files, no java.. Any ideas how I can fix this?
  10. Hello. In l2j gracia final server, how can I modify the welcome messages on login? By welcome messages I mean: "Welcome to the World of Lineage II." and "This server uses L2J, a project founded by L2Chef and developed by the L2J Dev Team at l2jserver.com" Thanks in advance. :/
×
×
  • Create New...