Jump to content

Question

Posted

pws mporw na valw otan den exoun target oi players na kanoun ta skills epanw tous... Diladi otan enas Bishop den exei kanena target na kanei ta heal epanw tou.

 

Ligi voi8ia paidia. Eimai Newbie.  :-\

Recommended Posts

  • 0
Posted
  On 5/22/2013 at 8:20 PM, Komnis said:

pws mporw na valw otan den exoun target oi players na kanoun ta skills epanw tous... Diladi otan enas Bishop den exei kanena target na kanei ta heal epanw tou.

 

Ligi voi8ia paidia. Eimai Newbie.  :-\

 

Νομίζω κάτι με αυτό γίνεται <set name="target" val="TARGET_SELF"/> δοκίμασε κάποιες εκδοχές !!

  • 0
Posted
  On 5/23/2013 at 8:26 AM, ~Sens said:

Νομίζω κάτι με αυτό γίνεται <set name="target" val="TARGET_SELF"/> δοκίμασε κάποιες εκδοχές !!

 

oxi den einai kati tetio... to exw psaksei... kai 2 fores piga na to valw alla kai pali tipota. :P

  • 0
Posted

<skill id="100" levels="15" name="Stun Attack">

  <table name="#mpConsume">20 21 21 22 23 23 25 26 27 29 29 30 32 33 34</table>

  <table name="#power">30 33 35 41 44 48 55 59 64 73 79 84 96 102 109</table>

  <table name="#magicLvl">18 19 20 22 23 24 26 27 28 30 31 32 34 35 36</table>

  <set name="weaponsAllowed" val="16392"/>

  <set name="mpConsume" val="#mpConsume"/>

  <set name="nextActionAttack" val="true" />

  <set name="saveVs" val="CON"/>

  <set name="power" val="#power"/>

  <set name="magicLvl" val="#magicLvl"/>

  <set name="lvlDepend" val="1"/>

  <set name="target" val="TARGET_ONE"/>

  <set name="overHit" val="true"/>

  <set name="SSBoost" val="2.0"/>

  <set name="reuseDelay" val="13000"/>

  <set name="hitTime" val="1080"/>

  <set name="coolTime" val="720"/>

  <set name="skillType" val="PDAM"/>

  <set name="operateType" val="OP_ACTIVE"/>

  <set name="castRange" val="40"/>

  <set name="effectRange" val="400"/>

  <set name="isDebuff" val="true" />

  <for>

    <effect count="1" name="Stun" time="9" val="0" stackOrder="1" stackType="Stun" effectPower="50" effectType="STUN"/>

  </for>

</skill>

 

Alazis To Target Se "TARGET_PARTY" An thes na To pernei olo to Party i  "TARGET_SELF" An thes esy

 

  • 0
Posted
  On 5/28/2013 at 9:34 AM, Cronia said:

<skill id="100" levels="15" name="Stun Attack">

  <table name="#mpConsume">20 21 21 22 23 23 25 26 27 29 29 30 32 33 34</table>

  <table name="#power">30 33 35 41 44 48 55 59 64 73 79 84 96 102 109</table>

  <table name="#magicLvl">18 19 20 22 23 24 26 27 28 30 31 32 34 35 36</table>

  <set name="weaponsAllowed" val="16392"/>

  <set name="mpConsume" val="#mpConsume"/>

  <set name="nextActionAttack" val="true" />

  <set name="saveVs" val="CON"/>

  <set name="power" val="#power"/>

  <set name="magicLvl" val="#magicLvl"/>

  <set name="lvlDepend" val="1"/>

  <set name="target" val="TARGET_ONE"/>

  <set name="overHit" val="true"/>

  <set name="SSBoost" val="2.0"/>

  <set name="reuseDelay" val="13000"/>

  <set name="hitTime" val="1080"/>

  <set name="coolTime" val="720"/>

  <set name="skillType" val="PDAM"/>

  <set name="operateType" val="OP_ACTIVE"/>

  <set name="castRange" val="40"/>

  <set name="effectRange" val="400"/>

  <set name="isDebuff" val="true" />

  <for>

    <effect count="1" name="Stun" time="9" val="0" stackOrder="1" stackType="Stun" effectPower="50" effectType="STUN"/>

  </for>

</skill>

 

Alazis To Target Se "TARGET_PARTY" An thes na To pernei olo to Party i  "TARGET_SELF" An thes esy

 

Έτσι όπως το λες εσύ,ακόμα και να έχουν target οι παίκτες,πάλι έπανω τους θα γίνεται.

δεν είναι dp side,είναι core.

  • 0
Posted
  On 5/28/2013 at 9:34 AM, Cronia said:

<skill id="100" levels="15" name="Stun Attack">

  <table name="#mpConsume">20 21 21 22 23 23 25 26 27 29 29 30 32 33 34</table>

  <table name="#power">30 33 35 41 44 48 55 59 64 73 79 84 96 102 109</table>

  <table name="#magicLvl">18 19 20 22 23 24 26 27 28 30 31 32 34 35 36</table>

  <set name="weaponsAllowed" val="16392"/>

  <set name="mpConsume" val="#mpConsume"/>

  <set name="nextActionAttack" val="true" />

  <set name="saveVs" val="CON"/>

  <set name="power" val="#power"/>

  <set name="magicLvl" val="#magicLvl"/>

  <set name="lvlDepend" val="1"/>

  <set name="target" val="TARGET_ONE"/>

  <set name="overHit" val="true"/>

  <set name="SSBoost" val="2.0"/>

  <set name="reuseDelay" val="13000"/>

  <set name="hitTime" val="1080"/>

  <set name="coolTime" val="720"/>

  <set name="skillType" val="PDAM"/>

  <set name="operateType" val="OP_ACTIVE"/>

  <set name="castRange" val="40"/>

  <set name="effectRange" val="400"/>

  <set name="isDebuff" val="true" />

  <for>

    <effect count="1" name="Stun" time="9" val="0" stackOrder="1" stackType="Stun" effectPower="50" effectType="STUN"/>

  </for>

</skill>

 

Alazis To Target Se "TARGET_PARTY" An thes na To pernei olo to Party i  "TARGET_SELF" An thes esy

 

oxi egw 8elw na min exoun target. na min exoun tipota epileksi k na to kanei tote epanw tous. otan dld dn exoun target oti skill na patisei px buff i heal na to kanei epanw tou

  • 0
Posted
  On 5/22/2013 at 8:20 PM, Komnis said:

pws mporw na valw otan den exoun target oi players na kanoun ta skills epanw tous... Diladi otan enas Bishop den exei kanena target na kanei ta heal epanw tou.

 

Ligi voi8ia paidia. Eimai Newbie.  :-\

 

network/clientpackets/requestMagicSkilluse.java

	// Get the L2Skill template corresponding to the skillID received from the client
	final L2Skill skill = SkillTable.getInstance().getInfo(_magicId, level);
	if (skill != null)
	{
+			if (activeChar.getTarget() == null)
+				switch (skill.getSkillType())
+				{
+					case HEAL:
+					case BUFF:
+						if (skill.getTargetType()==SkillTargetType.TARGET_ONE)
+						activeChar.setTarget(activeChar);
+				}
		if (skill.getId()==51)
		{
			if (!activeChar.isBehindTarget() || !activeChar.isBehind(activeChar.getTarget().getActingPlayer()))
				return;
		}

 

not tested, dokimase to ama vgalei bug pesmou na to ftia3w

  • 0
Posted
  On 5/29/2013 at 10:53 PM, xdem said:

network/clientpackets/requestMagicSkilluse.java

 

den iparxei to requestmagicskilluse.java

 

to pack m apo edw to eftiaksa...

 

http://maxcheaters.com/forum/index.php?topic=145109.0

 

ean mporeis na me voi8iseis parakalw :)

  • 0
Posted

RequestMagicSkillUse legete kai den iparxei periptosei na min iparxei sto pack soy giati afto to packet erxete apo ton client, apla psa3e edw: gameserver/network/clientpackets/RequestMagicSkillUse.java

  • 0
Posted
  On 6/1/2013 at 10:50 AM, xdem said:

RequestMagicSkillUse legete kai den iparxei periptosei na min iparxei sto pack soy giati afto to packet erxete apo ton client, apla psa3e edw: gameserver/network/clientpackets/RequestMagicSkillUse.java

 

wraia to vrika. alla to simio auto dn mporw na vrw g na pros8esw ton kodika...

 

olo k olo pou mou exei mesa ekei einai auto edw:

 

/*
* 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 net.sf.l2j.gameserver.network.clientpackets;

import java.util.logging.Logger;

import net.sf.l2j.Config;
import net.sf.l2j.gameserver.datatables.SkillTable;
import net.sf.l2j.gameserver.model.L2Skill;
import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
import net.sf.l2j.gameserver.network.serverpackets.ActionFailed;
import net.sf.l2j.gameserver.templates.skills.L2SkillType;

/**
* This class ...
*
* @version $Revision: 1.7.2.1.2.3 $ $Date: 2005/03/27 15:29:30 $
*/
public final class RequestMagicSkillUse extends L2GameClientPacket
{
private static final String _C__2F_REQUESTMAGICSKILLUSE = "[C] 2F RequestMagicSkillUse";
private static Logger _log = Logger.getLogger(RequestMagicSkillUse.class.getName());

private int _magicId;
private boolean _ctrlPressed;
private boolean _shiftPressed;

@Override
protected void readImpl()
{
	_magicId      = readD();              // Identifier of the used skill
	_ctrlPressed  = readD() != 0;         // True if it's a ForceAttack : Ctrl pressed
	_shiftPressed = readC() != 0;         // True if Shift pressed
}

@Override
protected void runImpl()
{
	// Get the current L2PcInstance of the player
	L2PcInstance activeChar = getClient().getActiveChar();

	if (activeChar == null)
		return;

	// Get the level of the used skill
	int level = activeChar.getSkillLevel(_magicId);
	if (level <= 0)
	{
		activeChar.sendPacket(ActionFailed.STATIC_PACKET);
		return;
	}

	// Get the L2Skill template corresponding to the skillID received from the client
	L2Skill skill = SkillTable.getInstance().getInfo(_magicId, level);

	// Check the validity of the skill
	if (skill != null)
	{
		if ((activeChar.isTransformed() || activeChar.isInStance())
				&& !activeChar.containsAllowedTransformSkill(skill.getId()))
		{
			activeChar.sendPacket(ActionFailed.STATIC_PACKET);
			return;
		}
		// _log.fine("	skill:"+skill.getName() + " level:"+skill.getLevel() + " passive:"+skill.isPassive());
		// _log.fine("	range:"+skill.getCastRange()+" targettype:"+skill.getTargetType()+" optype:"+skill.getOperateType()+" power:"+skill.getPower());
		// _log.fine("	reusedelay:"+skill.getReuseDelay()+" hittime:"+skill.getHitTime());
		// _log.fine("	currentState:"+activeChar.getCurrentState());	//for debug

		// If Alternate rule Karma punishment is set to true, forbid skill Return to player with Karma
		if (skill.getSkillType() == L2SkillType.RECALL && !Config.ALT_GAME_KARMA_PLAYER_CAN_TELEPORT && activeChar.getKarma() > 0)
			return;

		// players mounted on pets cannot use any toggle skills
		if (skill.isToggle() && activeChar.isMounted())
				return;
		// activeChar.stopMove();
		activeChar.useMagic(skill, _ctrlPressed, _shiftPressed);
	}
	else
	{
		activeChar.sendPacket(ActionFailed.STATIC_PACKET);
		_log.warning("No skill found with id " + _magicId + " and level " + level + " !!");
	}
}

/* (non-Javadoc)
 * @see net.sf.l2j.gameserver.clientpackets.ClientBasePacket#getType()
 */
@Override
public String getType()
{
	return _C__2F_REQUESTMAGICSKILLUSE;
}

@Override
protected boolean triggersOnActionRequest()
{
	return true;
}
}

  • 0
Posted
  On 6/2/2013 at 2:30 PM, xdem said:

mas douleveis re file? mprosta sou einai

 

if (skill != null)

{

 

nai ein to monadiko auto p exei... ta ipolipa dn ta exei...

entaksi sorry p ginomai ligo pri3as alla dn kserw polla k eim lg epifilaktikos...

 

miso... paw na to dokimasw...

  • 0
Posted
  On 6/2/2013 at 2:33 PM, Komnis said:

nai ein to monadiko auto p exei... ta ipolipa dn ta exei...

entaksi sorry p ginomai ligo pri3as alla dn kserw polla k eim lg epifilaktikos...

 

miso... paw na to dokimasw...

 

koita otan zitas code help lege pack k client ...

  • 0
Posted
  On 6/2/2013 at 2:35 PM, GsL said:

koita otan zitas code help lege pack k client ...

 

opos eipa k prin dn kserw polla. dn kserw pws legete to pack... :P kanenas dn kserei na m pei. xD

exw steilei to guide pou akolou8isa. oso mporw dinw parapanw stixia g na mporesw na voi8isw tous allous wste autoi me ti sira tous na me voi8isoun. eimai kainourios k to paleuw oso mporw.

 

mou pianei la8os auto edw:

if (skill.getTargetType()==SkillTargetType.TARGET_ONE)

 

ti kanw?

  • 0
Posted
  On 6/2/2013 at 2:46 PM, Komnis said:

opos eipa k prin dn kserw polla. dn kserw pws legete to pack... :P kanenas dn kserei na m pei. xD

exw steilei to guide pou akolou8isa. oso mporw dinw parapanw stixia g na mporesw na voi8isw tous allous wste autoi me ti sira tous na me voi8isoun. eimai kainourios k to paleuw oso mporw.

 

mou pianei la8os auto edw:

if (skill.getTargetType()==SkillTargetType.TARGET_ONE)

 

ti kanw?

 

SkillTargetType kanto TargetType

Guest
This topic is now closed to further replies.


  • Posts

    • Thnx for share, i can't pm u for password  
    • I'm looking for the best current files that are up to date for the year 2025, not files that are stuck in 2020.
    • EXOPLANET 2.0     GRAND OPENING 09.05.2025 We are thrilled to announce the upcoming launch of a brand new server. This isn’t just a copy of the previous server – it’s the next step in the development of Exoplanet. Based on our past experience, we’re bringing you a server that is faster, more stable, and more fun than ever before.     GRAND OPENING:  09.05.2025 at 20:00 GMT+1 BETA TEST:   04.05.2025    Client: High Five Rates: x10   Website: https://l2exoplanet.net Facebook: https://www.facebook.com/L2-Exoplanet-106811564103836 Discord: https://discord.gg/4fzhW7ZSPc         Game Rates    Experience: x10  Skill Points: x10  Adena: x8  Drop: x8  Spoil: x8  Quest: x5  Raid Boss Drop: x5  Fame: x2  Epaulette: x8  Manor: x8      Safe Enchant: +3  Maximum Enchant: +16  Normal Scroll Chance: 60%  Blessed Scroll Chance: 63%  Attribute Stone Chance: 50%  Attribute Crystal Chance: 30%      Game Settings    Multibox - 3 game clients per HWID  Autoloot  Autolearn Skills Auto Farm  NPC Buffer   Buff Slots (24+4/12)  Buff Duration (2h)  Olympiad Period 7days (new heroes appear every monday)  Seven Signs Period  Class Transfer for Adena  Max Sub-Class 3  Sub-Class Max Level 85  Essence Interface  Champions System  Vote Reward System  Dayli Reward System  PC Points Reward (500PC = 1 Donate Coin)      Epic Bosses Respawn Times     Queen Ant:  24 Hours +/- 4 Hours   Beleth: 3 Days +/- 8 Hours   Baium: 3 Days +/- 8 Hours   Antharas: 4 Days +/- 8 Hours   Valakas:  5 Days +/- 8 Hours     Instance Info     Normal Freya = 6 Players   Hard Freya = 12 Players   Frintezza = 6 Players   Zaken 83 Day = 6 Players   Zaken 60 Day = 6 Players   Zaken Nightly = 9 Players   Tiat = 6 Players   Beleth = 12 Players
    • EXOPLANET 2.0     GRAND OPENING 09.05.2025 We are thrilled to announce the upcoming launch of a brand new server. This isn’t just a copy of the previous server – it’s the next step in the development of Exoplanet. Based on our past experience, we’re bringing you a server that is faster, more stable, and more fun than ever before.     GRAND OPENING:  09.05.2025 at 20:00 GMT+1 BETA TEST:   04.05.2025    Client: High Five Rates: x10   Website: https://l2exoplanet.net Facebook: https://www.facebook.com/L2-Exoplanet-106811564103836 Discord: https://discord.gg/4fzhW7ZSPc         Game Rates    Experience: x10  Skill Points: x10  Adena: x8  Drop: x8  Spoil: x8  Quest: x5  Raid Boss Drop: x5  Fame: x2  Epaulette: x8  Manor: x8      Safe Enchant: +3  Maximum Enchant: +16  Normal Scroll Chance: 60%  Blessed Scroll Chance: 63%  Attribute Stone Chance: 50%  Attribute Crystal Chance: 30%      Game Settings    Multibox - 3 game clients per HWID  Autoloot  Autolearn Skills Auto Farm  NPC Buffer   Buff Slots (24+4/12)  Buff Duration (2h)  Olympiad Period 7days (new heroes appear every monday)  Seven Signs Period  Class Transfer for Adena  Max Sub-Class 3  Sub-Class Max Level 85  Essence Interface  Champions System  Vote Reward System  Dayli Reward System  PC Points Reward (500PC = 1 Donate Coin)      Epic Bosses Respawn Times     Queen Ant:  24 Hours +/- 4 Hours   Beleth: 3 Days +/- 8 Hours   Baium: 3 Days +/- 8 Hours   Antharas: 4 Days +/- 8 Hours   Valakas:  5 Days +/- 8 Hours     Instance Info     Normal Freya = 6 Players   Hard Freya = 12 Players   Frintezza = 6 Players   Zaken 83 Day = 6 Players   Zaken 60 Day = 6 Players   Zaken Nightly = 9 Players   Tiat = 6 Players   Beleth = 12 Players      
  • Topics

×
×
  • Create New...