Jump to content
  • 0

Question

Posted

Hi there,

 

i have a question. is it possible to make flying-transformations avaible everywhere in the world of l2, not just in the area of gracia? i'm sorry but i'm a web designer and i have no plan about java. wanna try to learn java when my final exam is done (i'm still in apprenticeship)

 

sorry 4 my bad englisch and thx 4 you answears <3

Recommended Posts

  • 0
Posted

Hi there,

 

i have a question. is it possible to make flying-transformations avaible everywhere in the world of l2, not just in the area of gracia? i'm sorry but i'm a web designer and i have no plan about java. wanna try to learn java when my final exam is done (i'm still in apprenticeship)

 

sorry 4 my bad englisch and thx 4 you answears <3

you can remove the checks for zones... i believe that there will be exist some checks for the zones... just delete the checks and here we are done :)
  • 0
Posted

hi there and thx 4 your answer...

where can I find the checks pls? thx

maybe is it->  check for the xml of the skill, for example 00800-00899 for Aura Bird - Falcon

                      and remove it:

<cond msgId="2721">
              <player landingZone="True" />
</cond>

 

  • 0
Posted

Well, since i don't really player interlude+ servers, could you explain exactly how does this work?

 

@AbsolutePower

I don't think it will be some checks, since you need to add coords where it will fly(from x,y,z to x,y,z to x,y,z etc).

  • 0
Posted

@An4rchy

It's about a the 2 transformation-skills aurabird owl and aurabird falcon. you can get one of the skills via quest on gracia continent (you can choose one). while your character is on gracia continent, you can use the skill and charakter transforms into a bird, that can fly around like wyverns do. but you can't use the skill, while your charakter is somewhere else then gracia area

  • 0
Posted

Hi there again.

maybe is it->  check for the xml of the skill, for example 00800-00899 for Aura Bird - Falcon

                      and remove it:

<cond msgId="2721">
              <player landingZone="True" />
</cond>

 

 

tried this out and now characters can transform into aurbirds everywhere. but there is still a hook: characters can transform but they can't fly. by clicking on the sky or using E and Q for moving down/up the character keeps down on the ground, just moving around there like he would walk...

 

any idea why or how to make flying possible? found a "landing_zones.xml" in zones directory. maybe it's possible to change the size of one of this zones, so that it covers the whole continent gracia and another covers the whole continent aden (or even create a new zone in there that does?)

but where can i look up the values i would have to set?

  • 0
Posted

since you know that you can fly without problems with a wyvern i would start there

L2PcInstance:

public boolean setmount(int npcId, int npcLevel, int -beep-tType)
{
	switch(-beep-tType)
	{
		case 0:
			setIsFlying(false);
			/* not used any more
			setIsRidingFenrirWolf(false);
			setIsRidingWFenrirWolf(false);
			setIsRidingGreatSnowWolf(false);*/
			setIsRidingStrider(false);
			break; //Dis-beep-ted
		case 1:
			setIsRidingStrider(true);
			if(isNoble())
			{
				L2Skill striderAssaultSkill = SkillTable.FrequentSkill.STRIDER_SIEGE_ASSAULT.getSkill();
				addSkill(striderAssaultSkill, false); // not saved to DB
			}
			break;
		case 2:
			setIsFlying(true);
			break; //Flying Wyvern
		case 3:
			/* not used any more
			switch (npcId)
			{
				case 16041:
					setIsRidingFenrirWolf(true);
					break;
				case 16042:
					setIsRidingWFenrirWolf(true);
					break;
				case 16037:
					setIsRidingGreatSnowWolf(true);
					break;
			}*/
			break;
	}

	_-beep-tType = -beep-tType;
	_-beep-tNpcId = npcId;
	_-beep-tLevel = npcLevel;

	return true;
}

so, check what will do

setIsFlying(true);

i dont have the l2j svn here so i cant make a search, but u just need to take a look what will that make, u can even try to put that in any script of transformation (datapack) at see what it does

 

EDIT: mountType is  m o u n t Type

  • 0
Posted

hi there.

still didn't solve the problem...but i found this in L2world.java

So could i just expand the value for "the east"? which value is it and which count do it have to be? or can I simply delete this part?

 

public final class L2World

{

private static Logger _log = Logger.getLogger(L2World.class.getName());

 

/**

* Gracia border

* Flying objects not allowed to the east of it.

*/

public static final int GRACIA_MAX_X = -166168;

public static final int GRACIA_MAX_Z = 6105;

public static final int GRACIA_MIN_Z = -895;

 

  • 0
Posted

hi there.

still didn't solve the problem...but i found this in L2world.java

So could i just expand the value for "the east"? which value is it and which count do it have to be? or can I simply delete this part?

 

public final class L2World

{

private static Logger _log = Logger.getLogger(L2World.class.getName());

 

/**

* Gracia border

* Flying objects not allowed to the east of it.

*/

public static final int GRACIA_MAX_X = -166168;

public static final int GRACIA_MAX_Z = 6105;

public static final int GRACIA_MIN_Z = -895;

 

This could work too.

I will check the skill id, if there's a special skill handler for it or something.

  • 0
Posted

Someone Said, that wouldn't work, 'cause it is used for other things, too. so I still have the same problem - how could I make flying possible everywhere? any idea?

  • 0
Posted

Don't touch L2World values...

 

About your problem, if you get a system message as refusal when you try to do the action, I would check here.

 

And so far, Falcon/etc are considered as transformation, not as mou.nt.

  • 0
Posted

And so far, Falcon/etc are considered as transformation, not as mou.nt.

More or less

@Override
public void onTransform()
{
	if ((getPlayer().getTransformationId() != 8) || getPlayer().isCursedWeaponEquipped())
	{
		return;
	}
	getPlayer().setIsFlyingMou.nted(true);

	transformedSkills();
}

 

public void setIsFlyingMou.nted(boolean val)
{
	_isFlyingMounted = val;
	setIsFlying(val);
}

So both, wyvern and falcon are isFlying

try to attack (or falcons only could use skills?) some1 that is flying with a wyvern, maybe its move packets problem

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • GX-Ext Which file of the svn files should i edit to make blow skills to have 100% chance so i can add the settings in the IlExt.ini? because when im changing it from the skilldata.txt it just helps
    • L2REBORN x10  l2reborn x1   LU4 MASTERWORRK BOHPTS - TOP PRICE discord - adver745645
    • 我们感谢您的 反馈 并希望让服务变得更加 优秀! 如果您使用过我们的服务并愿意分享您的体验(任何体验——积极或建设性),请在Trustpilot上留下评价,并获得$1作为感谢。 链接: https://www.trustpilot.com/review/socnet.pro 如何获得奖励: 1. 前往Trustpilot并留下您的评价 2. 向我们发送发布确认截图,以及带有与评价用户名一致的授权账户截图。 3. 指定哪个商店应收到这 $1 奖励。根据商店不同,可能需要您的用户名/电子邮箱。 您的反馈帮助我们成长,并让项目对社区中的每一位成员变得更好。感谢您与我们同行! 条款: 此活动仅适用于一个唯一用户。不允许多账号行为。 项目有效链接: 数字商品商店(网站): 前往 商店 Telegram 机器人: 前往 – 通过 Telegram 方便访问商店。 虚拟号码服务: 前往 用于购买 Telegram Stars 的 Telegram 机器人: 前往 – 在 Telegram 中快捷且优惠地购买 Stars。 SMM 面板: 前往 – 推广您的社交媒体账户。 我们想向您展示当前的 促销和特别优惠列表 用于购买我们提供的产品与服务: 1. 您可在首次购买时使用优惠码:SOCNET(15% 折扣) 2. 获得 $1 商店余额或 10–20% 折扣——只需在我们网站注册后,按照模板填写您的用户名:“SEND ME BONUS, MY USERNAME IS...”并在我们的论坛主题中发布! 3. 首次启动 SMM 面板可获得 $1:只需在我们的网站(Support)提交主题为 “Get Trial Bonus” 的工单。 4. 我们的 Telegram 频道以及 Stars 购买机器人中每周都有 Telegram Stars 抽奖! 新闻: ➡ Telegram 频道: https://t.me/accsforyou_shop ➡ WhatsApp 频道: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord 服务器: https://discord.gg/y9AStFFsrh 联系方式与支持: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • 我们感谢您的 反馈 并希望让服务变得更加 优秀! 如果您使用过我们的服务并愿意分享您的体验(任何体验——积极或建设性),请在Trustpilot上留下评价,并获得$1作为感谢。 链接: https://www.trustpilot.com/review/socnet.pro 如何获得奖励: 1. 前往Trustpilot并留下您的评价 2. 向我们发送发布确认截图,以及带有与评价用户名一致的授权账户截图。 3. 指定哪个商店应收到这 $1 奖励。根据商店不同,可能需要您的用户名/电子邮箱。 您的反馈帮助我们成长,并让项目对社区中的每一位成员变得更好。感谢您与我们同行! 条款: 此活动仅适用于一个唯一用户。不允许多账号行为。 项目有效链接: 数字商品商店(网站): 前往 商店 Telegram 机器人: 前往 – 通过 Telegram 方便访问商店。 虚拟号码服务: 前往 用于购买 Telegram Stars 的 Telegram 机器人: 前往 – 在 Telegram 中快捷且优惠地购买 Stars。 SMM 面板: 前往 – 推广您的社交媒体账户。 我们想向您展示当前的 促销和特别优惠列表 用于购买我们提供的产品与服务: 1. 您可在首次购买时使用优惠码:SOCNET(15% 折扣) 2. 获得 $1 商店余额或 10–20% 折扣——只需在我们网站注册后,按照模板填写您的用户名:“SEND ME BONUS, MY USERNAME IS...”并在我们的论坛主题中发布! 3. 首次启动 SMM 面板可获得 $1:只需在我们的网站(Support)提交主题为 “Get Trial Bonus” 的工单。 4. 我们的 Telegram 频道以及 Stars 购买机器人中每周都有 Telegram Stars 抽奖! 新闻: ➡ Telegram 频道: https://t.me/accsforyou_shop ➡ WhatsApp 频道: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord 服务器: https://discord.gg/y9AStFFsrh 联系方式与支持: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
  • Topics

×
×
  • 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