Jump to content

loverplus_kr

Members
  • Posts

    123
  • Credits

  • Joined

  • Last visited

    Never
  • Feedback

    0%

Everything posted by loverplus_kr

  1. [Hidden post: You need 450 posts to see it. You currently have 99.]
  2. Good job!
  3. The file could not be found. Please check the download link.
  4. ^^ I like kimchee~ I want mi goreng. :) :) Korea forum http://dreampds.xo.to
  5. wow~ very nice cool~ I want sauce.....
  6. and file name is L2RebirthMasterInstance.java L2RebirthMasterInstance.java <- new file
  7. l2jfree ndex: L2PcInstance.java =================================================================== --- L2PcInstance.java (revision 3713) +++ L2PcInstance.java (working copy) @@ -260,8 +260,8 @@ private static final String DELETE_SKILL_SAVE = "DELETE FROM character_skills_save WHERE charId=? AND class_index=?"; // Character Character SQL String Definitions: - private static final String UPDATE_CHARACTER = "UPDATE characters SET level=?,maxHp=?,curHp=?,maxCp=?,curCp=?,maxMp=?,curMp=?,face=?,hairStyle=?,hairColor=?,heading=?,x=?,y=?,z=?,exp=?,expBeforeDeath=?,sp=?,karma=?,pvpkills=?,pkkills=?,rec_have=?,rec_left=?,clanid=?,race=?,classid=?,deletetime=?,title=?,accesslevel=?,online=?,isin7sdungeon=?,clan_privs=?,wantspeace=?,base_class=?,onlinetime=?,in_jail=?,jail_timer=?,newbie=?,nobless=?,pledge_rank=?,subpledge=?,last_recom_date=?,lvl_joined_academy=?,apprentice=?,sponsor=?,varka_ketra_ally=?,clan_join_expiry_time=?,clan_create_expiry_time=?,banchat_timer=?,char_name=?,death_penalty_level=? WHERE charId=?"; - private static final String RESTORE_CHARACTER = "SELECT account_name, charId, char_name, level, maxHp, curHp, maxCp, curCp, maxMp, curMp, face, hairStyle, hairColor, sex, heading, x, y, z, exp, expBeforeDeath, sp, karma, pvpkills, pkkills, clanid, race, classid, deletetime, cancraft, title, rec_have, rec_left, accesslevel, online, char_slot, lastAccess, clan_privs, wantspeace, base_class, onlinetime, isin7sdungeon, in_jail, jail_timer, banchat_timer, newbie, nobless, pledge_rank, subpledge, last_recom_date, lvl_joined_academy, apprentice, sponsor, varka_ketra_ally, clan_join_expiry_time,clan_create_expiry_time,charViP,death_penalty_level FROM characters WHERE charId=?"; + private static final String UPDATE_CHARACTER = "UPDATE characters SET level=?,maxHp=?,curHp=?,maxCp=?,curCp=?,maxMp=?,curMp=?,face=?,hairStyle=?,hairColor=?,heading=?,x=?,y=?,z=?,exp=?,expBeforeDeath=?,sp=?,karma=?,pvpkills=?,pkkills=?,rec_have=?,rec_left=?,clanid=?,race=?,classid=?,deletetime=?,title=?,accesslevel=?,online=?,isin7sdungeon=?,clan_privs=?,wantspeace=?,base_class=?,onlinetime=?,in_jail=?,jail_timer=?,newbie=?,nobless=?,pledge_rank=?,subpledge=?,last_recom_date=?,lvl_joined_academy=?,apprentice=?,sponsor=?,varka_ketra_ally=?,clan_join_expiry_time=?,clan_create_expiry_time=?,banchat_timer=?,char_name=?,death_penalty_level=?,rebirths=? WHERE charId=?"; + private static final String RESTORE_CHARACTER = "SELECT account_name, charId, char_name, level, maxHp, curHp, maxCp, curCp, maxMp, curMp, face, hairStyle, hairColor, sex, heading, x, y, z, exp, expBeforeDeath, sp, karma, pvpkills, pkkills, clanid, race, classid, deletetime, cancraft, title, rec_have, rec_left, accesslevel, online, char_slot, lastAccess, clan_privs, wantspeace, base_class, onlinetime, isin7sdungeon, in_jail, jail_timer, banchat_timer, newbie, nobless, pledge_rank, subpledge, last_recom_date, lvl_joined_academy, apprentice, sponsor, varka_ketra_ally, clan_join_expiry_time,clan_create_expiry_time,charViP,death_penalty_level,rebirths FROM characters WHERE charId=?"; // Character Subclass SQL String Definitions: private static final String RESTORE_CHAR_SUBCLASSES = "SELECT class_id,exp,sp,level,class_index FROM character_subclasses WHERE charId=? ORDER BY class_index ASC"; @@ -693,6 +693,9 @@ //Death Penalty Buff Level private int _deathPenaltyBuffLevel = 0; + // Rebirth limit support + private int _rebirths = 0; + private boolean _hero = false; private boolean _noble = false; private boolean _inOlympiadMode = false; @@ -6197,6 +6200,7 @@ player.setLvlJoinedAcademy(rset.getInt("lvl_joined_academy")); player.setAllianceWithVarkaKetra(rset.getInt("varka_ketra_ally")); player.setDeathPenaltyBuffLevel(rset.getInt("death_penalty_level")); + player.setRebirths(rset.getInt("rebirths"); // Add the L2PcInstance object in _allObjects @@ -6565,7 +6569,8 @@ statement.setLong(48, getBanChatTimer()); statement.setString(49, getName()); statement.setLong(50, getDeathPenaltyBuffLevel()); - statement.setInt(51, getObjectId()); + statement.setInt(51, getRebirths()); + statement.setInt(52, getObjectId()); statement.execute(); statement.close(); } @@ -11655,6 +11660,16 @@ _deathPenaltyBuffLevel = level; } + public int getRebirths() + { + return _rebirths; + } + + public void setRebirths(int rebirths) + { + _rebirths = rebirths; + } + public void calculateDeathPenaltyBuffLevel(L2Character killer) { if( !(killer instanceof L2PlayableInstance) ------------------ end ----------- and /* 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.l2jfree.gameserver.model.actor.instance; import com.l2jfree.gameserver.datatables.ItemTable; import com.l2jfree.gameserver.model.L2ItemInstance; import com.l2jfree.gameserver.model.L2Skill; import com.l2jfree.gameserver.model.base.ClassId; import com.l2jfree.gameserver.model.base.Experience; import com.l2jfree.gameserver.network.SystemMessageId; import com.l2jfree.gameserver.network.serverpackets.SystemMessage; import com.l2jfree.gameserver.network.serverpackets.NpcHtmlMessage; import com.l2jfree.gameserver.templates.chars.L2NpcTemplate; /** * Rebirth Npc's Instance * * @author HanWik */ public class L2RebirthMasterInstance extends L2NpcInstance { int itemId; // item ID which should be given int count; // how many of the item should be given? public L2RebirthMasterInstance(int objectId, L2NpcTemplate template) { super(objectId, template); } @Override public void onBypassFeedback(L2PcInstance player, String command) { if (command.startsWith("Rebirth")) { ClassId classId = player.getClassId(); int jobLevel = classId.level(); if (player.getLevel() >= 85 && jobLevel == 3) { L2ItemInstance item = ItemTable.getInstance().createItem("Rebirth Item", 8569, 1, player); player.getInventory().addItem("Rebirth Item", item.getItemId(), 1, player, null); ClassId _baseClass = classId; for (ClassId child : ClassId.values()) { if (classId.childOf(child)) { _baseClass = child; for (ClassId child2 : ClassId.values()) { if (_baseClass.childOf(child2)) { _baseClass = child2; for (ClassId child3 : ClassId.values()) { if (_baseClass.childOf(child3)) _baseClass = child3; } } } } } for (L2Skill skill : player.getAllSkills()) player.removeSkill(skill); player.sendSkillList(); player.setClassId(_baseClass.getId()); if (player.isSubClassActive()) player.getSubClasses().get(player.getClassIndex()).setClassId(player.getActiveClass()); else player.setBaseClass(player.getActiveClass()); player.broadcastUserInfo(); player.rewardSkills(); // system sound for 1st and 2nd occupation player.sendPacket(new SystemMessage(SystemMessageId.CLASS_TRANSFER)); // Update the overloaded status of the L2PcInstance player.refreshOverloaded(); // Update the expertise status of the L2PcInstance player.refreshExpertisePenalty(); player.setClassId(_baseClass.getId()); if (player.isSubClassActive()) player.getSubClasses().get(player.getClassIndex()).setClassId(player.getActiveClass()); else player.setBaseClass(player.getActiveClass()); long pXp = player.getExp(); long tXp = Experience.LEVEL[1]; player.removeExpAndSp(pXp - tXp, 0); player.sendMessage("환생을 축하합니다!."); } else player.sendMessage("환생은 85레벨이 되어야만 가능합니다."); } } }
  8. more data want error 1 page ~ end page a matter of consequence first error commission
  9. 작성글 상위로 옮기기 위한 댓글입니다.
  10. [ERROR] BUILD ERROR [iNFO] ------------------------------------------------------------------------ [iNFO] Failed to resolve artifact. Missing: ---------- 1) l2emuproject:l2emu-commons:jar:1.0.3 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=l2emuproject -DartifactId=l2emu-commons -Dversion=1.0.3 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=l2emuproject -DartifactId=l2emu-commons -Dversion=1.0.3 -Dpackaging=jar -Dfile=/path/to/file -Durl= -DrepositoryId=[id] Path to dependency: 1) l2emuproject:l2emu-game:jar:1.0.3 2) l2emuproject:l2emu-commons:jar:1.0.3 ---------- 1 required artifact is missing. for artifact: l2emuproject:l2emu-game:jar:1.0.3 from the specified remote repositories: apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository), central (http://repo1.maven.org/maven2), L2-Emu Repository (http://svn-l2emu.no-ip.org/maven/), mevenide repo (http://mevenide.codehaus.org/repository), central L2Emu Project (http://ns360719.ovh.net/maven), Maven Snapshots (http://snapshots.maven.codehaus.org/maven2), Central L2Emu Project (http://svn-l2emu.no-ip.org/maven/), maven 2 (default) (http://repo1.maven.org/maven2), ibiblio maven2 (http://www.ibiblio.org/maven2) [iNFO] ------------------------------------------------------------------------ [iNFO] For more information, run Maven with the -e switch [iNFO] ------------------------------------------------------------------------ [iNFO] Total time: 35 seconds [iNFO] Finished at: Wed Jun 24 16:51:19 KST 2009 [iNFO] Final Memory: 8M/14M [iNFO] ------------------------------------------------------------------------
  11. quests._1003_Valakas._1003
  12. builder error~! "svn" command
  13. l2j-free - Revision 6316 글쓴이: admin » 2009-06-20, (토) 9:33 am l2j-free - Revision 6316 http://rapidshare.com/files/246470703/l2j-free_-_Revision_6316.7z.html From : http://dreampds.xo.to/
  14. Microsoft Windows [Version 5.2.3790] © Copyright 1985-2003 Microsoft Corp. G:\Download\trunk\l2jfree-core>mvn clean:clean [iNFO] Scanning for projects... [iNFO] Searching repository for plugin with prefix: 'clean'. WAGON_VERSION: 1.0-beta-2 [iNFO] ------------------------------------------------------------------------ [iNFO] Building Unnamed - l2jfree:l2jfree-core:jar:1.3.0 [iNFO] task-segment: [clean:clean] [iNFO] ------------------------------------------------------------------------ [iNFO] [clean:clean] [iNFO] ------------------------------------------------------------------------ [iNFO] BUILD SUCCESSFUL [iNFO] ------------------------------------------------------------------------ [iNFO] Total time: 1 second [iNFO] Finished at: Tue Jun 23 19:13:45 KST 2009 [iNFO] Final Memory: 7M/12M [iNFO] ------------------------------------------------------------------------ G:\Download\trunk\l2jfree-core>mvn assembly:assembly -Dmaven.test.skip=true [iNFO] Scanning for projects... WAGON_VERSION: 1.0-beta-2 [iNFO] ------------------------------------------------------------------------ [iNFO] Building Unnamed - l2jfree:l2jfree-core:jar:1.3.0 [iNFO] task-segment: [assembly:assembly] (aggregator-style) [iNFO] ------------------------------------------------------------------------ [iNFO] Preparing assembly:assembly [iNFO] ------------------------------------------------------------------------ [iNFO] Building Unnamed - l2jfree:l2jfree-core:jar:1.3.0 [iNFO] ------------------------------------------------------------------------ [iNFO] [buildnumber:create {execution: default}] [iNFO] Checking for local modifications: skipped. [iNFO] Updating project files from SCM: skipped. Provider message: The svn command failed. Command output: 'svn'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는 배치 파일이 아닙니다. [iNFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [iNFO] ------------------------------------------------------------------------ [iNFO] Cannot get the revision information from the scm repository : Error! [iNFO] ------------------------------------------------------------------------ [iNFO] For more information, run Maven with the -e switch [iNFO] ------------------------------------------------------------------------ [iNFO] Total time: 1 second [iNFO] Finished at: Tue Jun 23 19:14:08 KST 2009 [iNFO] Final Memory: 7M/13M [iNFO] ------------------------------------------------------------------------ G:\Download\trunk\l2jfree-core>
×
×
  • 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