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

No system message at the moment.

I've changed the Skill.xml as An4rchy proposed:

 

so, check what will do

Code: [select]

 

setIsFlying(true);

 

Now characters can transform into aurabird falcon, while on aden continent but vertical movement still isn't possible and if you click somewhere to move, character doesn't really move. there are just some seconds passing, while nothing happens, then character "jumps" forward.

 

: //

 

so well, you thin I should re-change skill and look for the message when trying to transform?

  • 0
Posted

well, lets state what things works and what doesnt:

- transformation (as skill) is done well (you get the skills so all the process is done)

 

- we dont know if the packets system works ( i cant find what are the move packets and if there is another packet of flymove) if some1 can find them, just add some debug information to know if they are send/recived and if core try to do anything with them

 

-Wyverns dont have any problem to fly (right?) in Aden

  • 0
Posted

Found this parts in model/actor/L2Character.java

 

	final boolean verticalMovementOnly = isFlying() && distance == 0 && dz != 0;
	if (verticalMovementOnly)
		distance = Math.abs(dz);

	// make water move short and use no geodata checks for swimming chars
	// distance in a click can easily be over 3000
	if (Config.GEODATA > 0 && isInsideZone(ZONE_WATER) && distance > 700)
	{
		double divider = 700 / distance;
		x = curX + (int) (divider * dx);
		y = curY + (int) (divider * dy);
		z = curZ + (int) (divider * dz);
		dx = (x - curX);
		dy = (y - curY);
		dz = (z - curZ);
		distance = Math.sqrt(dx * dx + dy * dy);
	}

 

AND

 

// Apply Z distance for flying or swimming for correct timing calculations
	if ((isFlying() || isInsideZone(ZONE_WATER)) && !verticalMovementOnly)
		distance = Math.sqrt(distance * distance + dz * dz);

 

I guess "vertical movement" is for swimming AND flying...maybe the solution is somewhere around here or somewhere else in the L2Character.java? I don't really understand the code...

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

    • Hi I would like to buy your panel, please reach me out from discord: doncarlo thanks in advance 🙂
    • Hi,   I am looking for experienced L2J developer who can handle Java work – systems, shops, buffer, custom features and client-side edits. Paid work. If you are interested, contact me: Discord: doncarlo
    • Hi all, I am looking for very experienced L2J developer to join and help with my Lineage 2 Interlude project (server launching soon). What I need: Build and manage shop system (manager shops) Buffer service, GM shop, custom services Good understanding of server-side (L2J) and also client-side edits Clean, stable and professional work (no random fixes) Important: Must have real experience with L2J / Interlude Must understand how to properly structure systems, not just copy-paste This is paid work, I respect your time and effort. If you are serious and experienced, contact me on Discord: doncarlo Thanks.    
    • Hey, I went through your NimeraCP and honestly, it looks really solid. Instantly bought for my server! Compared to most L2 panels, this is on a completely different level — the UI is clean, modern, and doesn’t feel like some 15-year-old system. I really like how everything is in one place — shop, referrals, rewards, roll & lucky wheel. The automation and real-time features (If you ask Splicho nicely, hahaha) are a big win too, since most panels are missing that. Overall though, great job. It feels like a next-gen panel, not just another copy. Definitely has the potential to be one of the top solutions in the L2 scene.
    • Helloo i was wonder if in interlude there is a way to increase font ui size ?  becouse sometimes when i put the game in full screen all the bars buff inventory etc are very  small  and i dont see very good .. , some one know if i can edit something in system?
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..