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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...