danvandan
Members-
Posts
55 -
Credits
0 -
Joined
-
Last visited
Never -
Feedback
0%
About danvandan
Contact Methods
-
Website URL
http://l2blackblood.hit.bg
Profile Information
-
Gender
Male
-
Location
Bulgaria-Varna
-
Interests
L2Developer
danvandan's Achievements
Newbie (1/16)
0
Reputation
-
thx a lot and keep sharing ... :)
-
thx for share i will test it on l2j ... others.java WTF ?! it is not patch ... ==================================================== L2Party.java ==================================================== import com.l2jfree.gameserver.model.entity.underground_coliseum.UCWaiting; import com.l2jfree.gameserver.model.entity.underground_coliseum.UCPoint; import com.l2jfree.gameserver.model.entity.underground_coliseum.UCTeam; #################################################### private Object _ucState = null; #################################################### if (isLeader && getPartyMembers().size() > 1) broadcastToPartyMembersNewLeader(); + if(getUCState() != null) + { + if(getUCState() instanceof UCWaiting) + { + UCWaiting waiting = (UCWaiting)getUCState(); + if(_members == null || _members.size() < Config.UC_PARTY_LIMIT) + { + waiting.setParty(null); + waiting.clean(); + } + } + else if(getUCState() instanceof UCTeam) + { + UCTeam team = (UCTeam)getUCState(); + UCTeam otherTeam = team.getOtherTeam(); + + if(_members == null || _members.size() < Config.UC_PARTY_LIMIT) + { + UCPoint[] points = team.getBaseArena().getPoints(); + + for (UCPoint point : points) + point.actionDoors(false); + + team.setParty(null); + team.clean(true); + + otherTeam.setStatus(UCTeam.WIN); + } + + if(player.isDead()) + UCTeam.resPlayer(player); + + player.setTeam(0); + player.cleanUCStats(); + player.teleToLocation(team.getBaseArena().getReturnPoint(), true); + } + } L2PartyRoom room = getPartyRoom(); if (getPartyMembers().size() == 1) #################################################### public Object getUCState() { return _ucState; } public void setUCState(Object uc) { _ucState = uc; } ==================================================== L2PcInstance.java ==================================================== import com.l2jfree.gameserver.model.entity.underground_coliseum.UCTeam; #################################################### private int UCKills = 0; private int UCDeaths = 0; private static final int UC_STATE_NONE = 0; private static final int UC_STATE_POINT = 1; private static final int UC_STATE_ARENA = 2; private int UCState = 0; #################################################### @doDie method if (isInParty() && getParty().isInDimensionalRift()) getParty().getDimensionalRift().memberDead(this); + if (getAgathionId() != 0) + setAgathionId(0); + + if(killer != null && getParty() != null && getParty().getUCState() instanceof UCTeam) + ((UCTeam)getParty().getUCState()).onKill(this, killer.getActingPlayer()); // Calculate death penalty buff calculateDeathPenaltyBuffLevel(killer); #################################################### public int getUCKills() { return UCKills; } public void increaseKillCountUC() { UCKills++; } public int getUCDeaths() { return UCDeaths; } public void increaseDeathCountUC() { UCDeaths++; } public void cleanUCStats() { UCDeaths = 0; UCKills = 0; } public void setUCState(int state) { UCState = state; } public int getUCState() { return UCState; } ==================================================== L2GameServer.java ==================================================== import com.l2jfree.gameserver.instancemanager.games.UndergroundColiseumManager; #################################################### UndergroundColiseumManager.getInstance(); ==================================================== SystemMessageId.java ==================================================== */ STARSTONE_COLLECTION_FAILED(2424), + /** + * ID: 2427<br> + * Message: The Red Team is victorious. + */ + THE_RED_TEAM_IS_VICTORIOUS(2427), + + /** + * ID: 2428<br> + * Message: The Blue Team is victorious. + */ + THE_BLUE_TEAM_IS_VICTORIOUS(2428), /** * ID: 2449<br> //*/ ==================================================== Config.java ==================================================== public static boolean ALLOW_NAIA_MULTY_PARTY_INVASION; public static int ALT_NAIA_ROOM_DURATION; + public static ArrayList<Integer> UC_WARDAYS = new ArrayList<Integer>(7); + public static int UC_START_HOUR; + public static int UC_END_HOUR; + public static int UC_ROUND_TIME; + public static int UC_PARTY_LIMIT; #################################################### ALLOW_NAIA_MULTY_PARTY_INVASION = Boolean.parseBoolean(altSettings.getProperty("AllowNaiaMultiPartyInvasion", "false")); ALT_NAIA_ROOM_DURATION = Integer.parseInt(altSettings.getProperty("AltNaiaRoomDuration", "5")); + String[] UCWardeys = altSettings.getProperty("UCWarDay", "5,6,1").split(","); + + for (String warday : UCWardeys) + UC_WARDAYS.add(Integer.parseInt(warday)); + + UC_START_HOUR = Integer.parseInt(altSettings.getProperty("UCStartHour", "21")); + UC_END_HOUR = Integer.parseInt(altSettings.getProperty("UCEndHour", "23")); + UC_ROUND_TIME = Integer.parseInt(altSettings.getProperty("UCRoundTime", "10")); + UC_PARTY_LIMIT = Integer.parseInt(altSettings.getProperty("UCPartyLimit", "7")); } } ==================================================== npc.sql ==================================================== UPDATE `npc` SET `level`='70',`type`='L2UndergroundColiseumManager' WHERE `id`='32377'; UPDATE `npc` SET `level`='45', `hp`='38120', `mp`='678', `patk`='1538', `pdef`='381', `matk`='713', `mdef`='464', `type`='L2UndergroundColiseumTower' WHERE `id`='18539'; UPDATE `npc` SET `level`='55', `hp`='73028', `mp`='988', `patk`='3799', `pdef`='515', `matk`='1767', `mdef`='628', `type`='L2UndergroundColiseumTower' WHERE `id`='18540'; UPDATE `npc` SET `level`='65', `hp`='102244', `mp`='1320', `patk`='8234', `pdef`='670', `matk`='3825', `mdef`='816', `type`='L2UndergroundColiseumTower' WHERE `id`='18541'; UPDATE `npc` SET `level`='75', `hp`='117407', `mp`='1674', `patk`='12467', `pdef`='838', `matk`='5792', `mdef`='1021', `type`='L2UndergroundColiseumTower' WHERE `id`='18542'; UPDATE `npc` SET `level`='80', `hp`='178902', `mp`='1859', `patk`='18111', `pdef`='923', `matk`='8416', `mdef`='1125', `type`='L2UndergroundColiseumTower' WHERE `id`='18543';
-
[RELEASE] Ultimate Flooder [/RELEASE]
danvandan replied to SupeRMarios's topic in Hacks & Cheats [English]
It looks intresting. I don't test it yet but i decrypt Password: MadeByflAmingw0rm -
[Share Christmas Gift] Java L2J Server Full Core!.
danvandan replied to Kràtos's topic in Server Shares & Files [L2J]
ok i like that here i see 3 new events but in the code i see a lot of think that we don't need like : custom leveling system , handlers WTF ??!?!, custom CommunityBoard, tvt event rework, town war, 50 000 lines for what ??!?! -
really useless you can logout any time... man who create it have a lot of free time for ...
-
[Share]Vote for the next auto event
danvandan replied to Rizel's topic in Server Shares & Files [L2J]
I like it a lot but it would be better if you make guide how to make it with more events like DM, town war and more ... -
[REQUEST] Gracia final skill missing
danvandan replied to Kabamaru®'s question in Request Server Development Help [L2J]
you mean trigger system??!! because i don't see other ... what you can need ... -
[HELP] With an L2J Auto Updater !
danvandan replied to DJ_ExTaCy1337's question in Request Server Development Help [L2J]
look here : http://www.maxcheaters.com/forum/index.php?topic=60751.0 -
[Help] Difference when creating new skills?
danvandan replied to imspecial's question in Request Server Development Help [L2J]
0x30= % use with mul 0x40= just numbers use with add Can be used with: mul order Value Final % 2 +100% 1.9 +90% 1.8 +80% 1.7 +70% 1.6 +60% 1.5 +50% 1.4 +40% 1.3 +30% 1.2 +20% 1.1 +10% 1 0% 0.9 -10% 0.8 -20% 0.7 -30% 0.6 -40% 0.5 -50% 0.4 -60% 0.3 -70% 0.2 -80% 0.1 -90% 0 -100% Can be used with: add order Value Final 1 1 -1 -1 -
[REQUEST] Gracia final skill missing
danvandan replied to Kabamaru®'s question in Request Server Development Help [L2J]
<skill id="912" levels="1" name="Summon Imperial Phoenix"> <set name="mpConsume" val="145"/> <set name="itemConsumeId" val="1461"/> <set name="itemConsumeCount" val="2"/> <set name="itemConsumeIdOT" val="1461"/> <set name="itemConsumeCountOT" val="1"/> <set name="itemConsumeSteps" val="4"/> <set name="summonTotalLifeTime" val="1200000"/> <set name="summonTimeLostIdle" val="500"/> <set name="summonTimeLostActive" val="1000"/> <set name="target" val="TARGET_SELF"/> <set name="reuseDelay" val="45000"/> <set name="hitTime" val="15000"/> <set name="skillType" val="SUMMON"/> <set name="isMagic" val="true"/> <set name="operateType" val="OP_ACTIVE"/> <set name="npcId" val="14918"/> </skill> <skill id="761" levels="1" name="Seed of Revenge"> <set name="mpConsume" val="36"/> <set name="hitTime" val="2500"/> <set name="coolTime" val="1666"/> <set name="reuseDelay" val="95000"/> <set name="staticReuse" val="true"/> <set name="target" val="TARGET_SELF"/> <set name="skillType" val="BUFF"/> <set name="operateType" val="OP_ACTIVE"/> <set name="castRange" val="-1"/> <set name="triggeredId" val="5561"/> <set name="triggeredLevel" val="1"/> <for> <effect count="1" name="BestowSkill" time="60" noicon="1" val="0"/> <effect count="1" name="Buff" time="60" val="0" stackOrder="1" stackType="special_buff"> <add order="0x40" stat="pAtk" val="75"/> <add order="0x40" stat="earthRes" val="20"/> </effect> </for> </skill> <skill id="5561" levels="1" name="Seed of Revenge"> <set name="activationChance" val="5"/> <set name="chanceType" val="ON_ATTACKED"/> <set name="target" val="TARGET_SELF"/> <set name="skillType" val="BUFF"/> <set name="operateType" val="OP_PASSIVE"/> <set name="castRange" val="-1"/> <for> <effect count="1" name="Buff" time="20" val="0" stackOrder="1" stackType="knight_buff"> <add order="0x40" stat="pAtk" val="118"/> <mul order="0x30" stat="cAtk" val="1.10"/> </effect> </for> </skill> <skill id="786" levels="1" name="Eva's Will"> <set name="mpConsume" val="36"/> <set name="hitTime" val="2500"/> <set name="coolTime" val="1666"/> <set name="reuseDelay" val="95000"/> <set name="staticReuse" val="true"/> <set name="target" val="TARGET_SELF"/> <set name="skillType" val="BUFF"/> <set name="operateType" val="OP_ACTIVE"/> <set name="castRange" val="-1"/> <set name="triggeredId" val="5563"/> <set name="triggeredLevel" val="1"/> <for> <effect count="1" name="BestowSkill" time="60" noicon="1" val="0"/> <effect count="1" name="Buff" time="60" val="0" stackOrder="1" stackType="special_buff"> <add order="0x40" stat="mDef" val="75"/> <add order="0x40" stat="waterRes" val="20"/> </effect> </for> </skill> <skill id="5563" levels="1" name="Eva's Will"> <set name="activationChance" val="5"/> <set name="chanceType" val="ON_ATTACKED"/> <set name="target" val="TARGET_SELF"/> <set name="skillType" val="BUFF"/> <set name="operateType" val="OP_PASSIVE"/> <set name="castRange" val="-1"/> <for> <effect count="1" name="Buff" time="20" val="0" stackOrder="1" stackType="knight_buff"> <mul order="0x30" stat="mDef" val="1.10"/> <add order="0x40" stat="rCrit" val="18"/> </effect> </for> </skill> <skill id="788" levels="1" name="Pain of Shilen"> <set name="mpConsume" val="36"/> <set name="hitTime" val="2500"/> <set name="coolTime" val="1666"/> <set name="reuseDelay" val="95000"/> <set name="staticReuse" val="true"/> <set name="target" val="TARGET_SELF"/> <set name="skillType" val="BUFF"/> <set name="operateType" val="OP_ACTIVE"/> <set name="castRange" val="-1"/> <set name="triggeredId" val="5564"/> <set name="triggeredLevel" val="1"/> <for> <effect count="1" name="BestowSkill" time="60" noicon="1" val="0"/> <effect count="1" name="Buff" time="60" val="0" stackOrder="1" stackType="special_buff"> <mul order="0x30" stat="cAtk" val="1.05"/> <add order="0x40" stat="windRes" val="20"/> </effect> </for> </skill> <skill id="5564" levels="3" name="Pain of Shillien"> <set name="activationChance" val="5"/> <set name="chanceType" val="ON_ATTACKED"/> <set name="target" val="TARGET_SELF"/> <set name="skillType" val="BUFF"/> <set name="operateType" val="OP_PASSIVE"/> <set name="castRange" val="-1"/> <for> <effect count="1" name="Buff" time="20" val="0" stackOrder="1" stackType="knight_buff"> <mul order="0x30" stat="cAtk" val="1.10"/> <add order="0x40" stat="absorbDam" val="8"/> </effect> </for> </skill> <skill id="784" levels="1" name="Spirit of Phoenix"> <set name="mpConsume" val="36"/> <set name="hitTime" val="2500"/> <set name="coolTime" val="1666"/> <set name="reuseDelay" val="95000"/> <set name="staticReuse" val="true"/> <set name="target" val="TARGET_SELF"/> <set name="skillType" val="BUFF"/> <set name="operateType" val="OP_ACTIVE"/> <set name="castRange" val="-1"/> <set name="triggeredId" val="5562"/> <set name="triggeredLevel" val="1"/> <for> <effect count="1" name="BestowSkill" time="60" noicon="1" val="0"/> <effect count="1" name="Buff" time="60" val="0" stackOrder="1" stackType="special_buff"> <add order="0x40" stat="pDef" val="75"/> <add order="0x40" stat="fireRes" val="20"/> </effect> </for> </skill> <skill id="5562" levels="1" name="Spirit of Phoenix"> <set name="activationChance" val="5"/> <set name="chanceType" val="ON_ATTACKED"/> <set name="target" val="TARGET_SELF"/> <set name="skillType" val="BUFF"/> <set name="operateType" val="OP_PASSIVE"/> <set name="castRange" val="-1"/> <for> <effect count="1" name="Buff" time="20" val="0" stackOrder="1" stackType="knight_buff"> <mul order="0x30" stat="pDef" val="1.10"/> <mul order="0x30" stat="gainHp" val="1.5"/> </effect> </for> </skill> -
!!!!!!!!!!!!!!use Search button!!!!!!!!!!!!!! GUIDE HOW TO UPDATE WITHOUT LOOSE DATA : http://www.maxcheaters.com/forum/index.php?topic=22370.0
-
it is the SVN : http://svn.assembla.com/svn/L2J-Archid/ it is rev 653 : http://www.rapidshare.com/files/248896076/L2JArchid_rev653.rar but L2J-Archid is death and have lots of bugs so i dont recoment it. Try L2J-Equal L2J-Equal SVN : http://my-svn.assembla.com/svn/L2J-Equal/
-
Make A weapon Non-dropable
danvandan replied to oprea's question in Request Server Development Help [L2J]
1.)Open Navicat 2.)find your weapon id in weapon or custom_weapon table 3.)make .sql file : UPDATE weapon SET sellable='false' where item_id='ITEM ID'; UPDATE weapon SET dropable='false' where item_id='ITEM ID'; UPDATE weapon SET tradeable='false' where item_id='ITEM ID'; -
make .sql file : DELETE FROM items WHERE item_id = 'ITEM ID'; but remember it will remove from all players inventory ITEM ID!!! Thanks to DragonHunter
-
Game Guarddd Helppp
danvandan replied to Egealka's question in Request Server Development Help [L2J]
just add new line in your host file: 216.107.250.194 nprotect.lineage2.com