Jump to content

Recommended Posts

Posted (edited)

Hey,  correct me if i am wrong, but what i have noticed that 99% interlude packs still have this bug. I saw this in Acis, Frozen, Mobius and actually in all older packs.

 

DIFF:

Index: java/net/sf/l2j/gameserver/network/serverpackets/CharInfo.java
===================================================================
--- java/net/sf/l2j/gameserver/network/serverpackets/CharInfo.java	(revision 5)
+++ java/net/sf/l2j/gameserver/network/serverpackets/CharInfo.java	(working copy)
@@ -34,7 +34,7 @@
 		writeD(_activeChar.getX());
 		writeD(_activeChar.getY());
 		writeD(_activeChar.getZ());
-		writeD(_activeChar.getHeading());
+		writeD(0);
 		writeD(_activeChar.getObjectId());
 		writeS(_activeChar.getName());
 		writeD(_activeChar.getRace().ordinal());
@@ -180,7 +180,7 @@
 		
 		writeD(_activeChar.getAppearance().getNameColor());
 		
-		writeD(0x00); // isRunning() as in UserInfo?
+		writeD(_activeChar.getHeading());
 		
 		writeD(_activeChar.getPledgeClass());
 		writeD(_activeChar.getPledgeType());

 

Edited by Vilmis
  • Like 4
  • Thanks 2
Posted (edited)
		writeC(0x03);
		writeD(_activeChar.getX());
		writeD(_activeChar.getY());
		writeD(_activeChar.getZ());
		writeD(_activeChar.getHeading()); /* Removing this because it's Vehicle ID */

You are fixed character model heading only for known players, but for self in UserInfo forgot.

Edited by Rootware
Posted (edited)
43 minutes ago, Rootware said:

		writeC(0x03);
		writeD(_activeChar.getX());
		writeD(_activeChar.getY());
		writeD(_activeChar.getZ());
		writeD(_activeChar.getHeading()); /* Removing this because it's Vehicle ID */

You are fixed character model heading only for known players, but for self in UserInfo forgot.

I know this and yep, it's vehicle id.
Btw, what's about userinfo i think this  is client bug (ncsoft bug) or am i wrong? UserInfo even can not send heading. That's why never tried to fix it. I saw this bug in new clients and etc.

Edited by Vilmis
  • Like 1
Posted (edited)
1 hour ago, Vilmis said:

I know this and yep, it's vehicle id.
Btw, what's about userinfo i think this  is client bug (ncsoft bug) or am i wrong? UserInfo even can not send heading. That's why never tried to fix it. I saw this bug in new clients and etc.

 

When you entering to the world you can see own/another character always with wrong heading. It's client bug, because model in client always spawns w/o server heading - always look to the east. While teleporting the heading saving and processing correct for all characters own or another.

Edited by Rootware
Posted
32 minutes ago, Rootware said:

 

When you entering to the world you can see own/another character always with wrong heading. It's client bug, because model in client always spawns w/o server heading - always look to the east. While teleporting the heading saving and processing correct for all characters own or another.

I know that as well, mate, but thanks for your info.
For example: UserInfo doesn't send heading at all, but for some reason many l2j packs still have this heading in UserInfo. Instead of heading should be vehicle id as well, but not heading.

Posted (edited)
1 hour ago, Vilmis said:

I know that as well, mate, but thanks for your info.
For example: UserInfo doesn't send heading at all, but for some reason many l2j packs still have this heading in UserInfo. Instead of heading should be vehicle id as well, but not heading.

 

Sure. You are right, my mistake. I meant TeleportToLacation packet. You can send him with special params (for disable black screen for teleport) after UserInfo packet while character entering onto the world and you will see correct character rotation.

Edited by Rootware
  • Like 1
Posted (edited)

the only heading mistake on mobius god clients* is on teleport etc  

 

i havent see something else wrong

 

 

edit* i just read u talk about c6

 

my bad

Edited by Pamela32
Posted (edited)

It has been fixed since Kamael on L2J, so postIL chronicles, and probably few downgrades, aren't impacted.

 

If you ask "why", I would answer "why not" ? If we use a base L2J IL, we inherit from all L2J issues. Whoever use L2J IL shares a common pool of issues than people can eventually see and fix.

 

I won't blame you if you don't have EventTrigger, ShortCutDelete (than L2J doesn't even have nowadays, btw), ExDuelEnemyRelation or ExMPCCPartyInfoUpdate packets. Or one of the 20+ PvP event.

 

It's all about seeing it, first. That's simply tell you than every project shares the same mommy DNA.

 

Ty for the find.

 

@sotid Everytime you addKnownObject a Player on your knownlist. Which is : teleport and enterworld. Few appreciations of that edit is on a market, people won't be on the same heading anymore, or if you want to backstab correctly a Player (which didn't yet move) upon teleport on pvp grounds.

Edited by Tryskell
  • Like 1
Posted
23 minutes ago, Tryskell said:

@sotid Everytime you addKnownObject a Player on your knownlist. Which is : teleport and enterworld. Few appreciations of that edit is on a market, people won't be on the same heading anymore, or if you want to backstab correctly a Player (which didn't yet move) upon teleport on pvp grounds.

Thank you!

Posted (edited)
4 minutes ago, sotid said:

Thank you!

 

For self teleport heading, you have to correctly address Player heading upon TeleportToLocation packet. CharInfo is only for others people who are appearing on a zone you are "seeing the first time".

 

Will be part of aCis rev 382, it is validated on L2OvC.

Edited by Tryskell
Posted
59 minutes ago, Tryskell said:

 

For self teleport heading, you have to correctly address Player heading upon TeleportToLocation packet. CharInfo is only for others people who are appearing on a zone you are "seeing the first time".

What you want do in TeleportToLocation packet? It doesn't have heading in interlude packet. Also, on teleport you don't need add correction or something like that for heading, because heading stays same after teleport and broadcasting correctly for others. 
Just only one main problem is to fix heading on first log in for yourself, because it's a visual bug of UserInfo which doesn't send heading at all.

Posted
2 minutes ago, Vilmis said:

What you want do in TeleportToLocation packet? It doesn't have heading in interlude packet. Also, on teleport you don't need add correction or something like that for heading, because heading stays same after teleport and broadcasting correctly for others. 
Just only one main problem is to fix heading on first log in for yourself, because it's a visual bug of UserInfo which doesn't send heading at all.

 

Try this up.

 

	@Override
	protected final void writeImpl()
	{
		writeC(0x22);
		
		writeD(_objectId);
		writeD(_x);
		writeD(_y);
		writeD(_z);
		writeD(_isFastTeleport ? 1 : 0); // 0 - with black screen, 1 - fast teleport (for correcting position)
		writeD(_heading);
	}

 

Posted (edited)
1 hour ago, Rootware said:

 

Try this up.

 


	@Override
	protected final void writeImpl()
	{
		writeC(0x22);
		
		writeD(_objectId);
		writeD(_x);
		writeD(_y);
		writeD(_z);
		writeD(_isFastTeleport ? 1 : 0); // 0 - with black screen, 1 - fast teleport (for correcting position)
		writeD(_heading);
	}

 

Did you try? This „FastTeleport“ works in interlude, but heading doesn't look like would be working as i mentioned before or maybe i'm wrong? You can add almost everything whatever you want to writeImpl() if they are in the bottom they won't break the packet.

btw, if  TeleportToLocation would send heading which means //goup should fix your heading when entered to world again and have heading from database, but it doesn't.

Edited by Vilmis

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
Reply to this topic...

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



  • Posts

    • Great product, easy to install/handle and nice guy @Splicho! Amazing work mate.
    • SOCNET STORE — is a unique place where you can find everything you need for your work on the Internet!   We offer the following range of products and services: Verified accounts with blue tick marks and confirmed documents in Instagram, Facebook, Twitter (X), LinkedIn; Gift cards and premium subscriptions for your services (Instagram Meta, Facebook Meta, Discord Nitro, Telegram Premium, YouTube Premium, Spotify Premium, ChatGPT, Netflix Premium, LinkedIn Premium, Twitter Premium, etc.); Telegram bot for purchasing Telegram Stars with a minimum markup with automatic delivery; Replenishment of your advertising accounts (in TikTok ADS, Facebook ADS, Google ADS, Bing ADS) + linking a bank card; Payment for any other service or subscription with a markup from 5 to 25% (depending on the cost of the subscription) Available payment methods: via PayPal, any cryptocurrency (+Binance Pay), Telegram Stars, Cash App, or any bank card.   ⭐ Our online store ⭐ SOCNET.STORE ⭐ Our Telegram Stars Bot ⭐ SOCNET.CC ⭐ Our SMM-Panel for social media promotion ⭐ SOCNET.PRO ⭐ Telegram store ⭐ SOCNET.SHOP   ✅ News resources ➡ Telegram channel: https://t.me/socnet_news ✅ Contacts and support ➡ Telegram support: https://t.me/socnet_support ➡ Discord support: socnet_support ➡ Discord server: https://discord.gg/y9AStFFsrh ➡ WhatsApp support: https://wa.me/79051904467 ➡ WhatsApp channel:  https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n ➡ Email support: solomonbog@socnet.store We have been operating for a long time and have gathered a huge list of reviews about our work! Our large list of positive and honest reviews is presented on our website!  ⭐ VERIFIED ACCOUNTS ⭐   Verified old Instagram Meta account (2010-2020) with an active blue checkmark | Subscription has already been paid for 1 month in advance, account confirmed by documents: from $70 Verified old Facebook Meta account (2010-2023) with an active blue checkmark | Subscription has already been paid for 1 month in advance, account confirmed by documents: from $70 Verified Linkedin account (2010-2024) with an active checkmark and confirmed documents | Checkmark does not require renewal: from $80 Verified old Twitter (X) account (2010-2022) with an active blue checkmark | GEO: Tier 1-3 (your choice) | Subscription has already been paid for 1 month in advance: from $16   ⭐ TELEGRAM STARS ⭐   Telegram Stars | 1 star from $0.0175 | Discounts for bulk orders | Delivery within 1-2 minutes automatically   ⭐ GIFT SERVICES & PREMIUM SUBSCRIPTIONS ⭐ DISCORD NITRO Discord Nitro Classic (Basic) GIFT | 1/12 MONTHS | NO LOGIN OR PASSWORD NEEDED | Full subscription guarantee | Price from: $3.15 Discord Nitro FULL | 1/12 MONTHS | NO LOGIN OR PASSWORD NEEDED | Full subscription guarantee | Price from: $6.8 SPOTIFY PREMIUM Individual Spotify Premium plan for 1 month ON YOUR ACCOUNT | Available worldwide | Price from: $2.49 Family Spotify Premium plan for 1 month ON YOUR ACCOUNT | Works in any country | Price from: $3.75 Personal YouTube Premium Music on your account | 1 month | Ad-free YouTube | Price from: $3.75 Family YouTube Premium Music on your account | 1 month | Ad-free YouTube | Price from: $4.35 TELEGRAM PREMIUM Telegram Premium subscription for 1 month on your account | Authorization required (via TDATA or phone number) | Price from: $6 Telegram Premium subscription for 3 months on your account | No account authorization required | Guaranteed for full period | Price from: $17 Telegram Premium subscription for 6 months on your account | No account authorization required | Guaranteed for full period | Price from: $22 Telegram Premium subscription for 12 months on your account | No account authorization required | Guaranteed for full period | Price from: $37 GOOGLE VOICE • Google Voice Accounts (GMAIL US NEW) | Age/Year: Random 2024 | Phone Verified: Yes | Price from: $13 TWITTER(X) PREMIUM • Twitter Premium X subscription on your Twitter account for 1 month/1 year (your choice). Authorization in your Twitter account is required. Price from: $13 per month • Twitter X Premium Plus subscription with GROK AI on your Twitter account for 1 month/1 year (your choice). Authorization in your Twitter account is required. Price from: $55 NETFLIX PREMIUM • Netflix Premium subscription for 1 month on your personal account for any country, renewable after expiration | Price from: $10 CANVA PRO • CANVA PRO subscription for 1 month via invitation to your email | Price from: $1 CHATGPT 5 • Shared ChatGPT 5 Plus account FOR 2/5 USERS | Price from: $5 / $10 • Group ChatGPT 5 Plus subscription on your own email address for 1 month | Price from: $5 • Personal ChatGPT 5 Plus account FOR 1 USER or CHAT GPT PLUS subscription on your own account | Price from: $18 • ChatGPT 5 PRO account with UNLIMITED REQUESTS | Dedicated personal account FOR 1 USER ONLY or ON YOUR ACCOUNT | Works in any country or region | Price from: $220 Payment for any other subscription and replenishment of advertising accounts: Additional 5–20% to the cost of the subscription on the site or to the replenishment amount depending on the total purchase amount.   Attention: This text block does not represent our full product range; for more details, please visit the relevant links below! If you have any questions, our support team is always ready to help!      ⭐ Our online store ⭐ SOCNET.STORE ⭐ Our Telegram Stars Bot ⭐ SOCNET.CC ⭐ Our SMM-Panel for social media promotion ⭐ SOCNET.PRO ⭐ Telegram store ⭐ SOCNET.SHOP   ✅ News resources ➡ Telegram channel: https://t.me/socnet_news ✅ Contacts and support ➡ Telegram support: https://t.me/socnet_support ➡ Discord support: socnet_support ➡ Discord server: https://discord.gg/y9AStFFsrh ➡ WhatsApp support: https://wa.me/79051904467 ➡ WhatsApp channel:  https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n ➡ Email support: solomonbog@socnet.store We have been operating for a long time and have gathered a huge list of reviews about our work! Our large list of positive and honest reviews is presented on our website! ⭐ 10% – 20% Discount or $1 BONUS for your registration ⭐ If you’d like to receive a $1 BONUS for your registration OR a DISCOUNT of 10% – 20% on your first purchase, simply leave a comment: "SEND ME MY BONUS, MY USERNAME IS..." You can also use the ready promo code across all our stores: "SOCNET" (15% discount!) ⭐ We invite you to COOPERATE and EARN with us ⭐ Want to sell your product or service in our stores and earn money? Want to become our partner or propose a mutually beneficial collaboration? You can contact us through the CONTACTS listed in this thread. Frequently Asked Questions and Refund Policy If you have any questions or issues, our fast customer support is always ready to respond to your requests! Refunds for services that do not fully meet the stated requirements or quality will only be issued if a guarantee and duration are explicitly mentioned in the product description. In all other cases, refunds will not be fully processed! By purchasing such services, you automatically agree to our refund policy for non-provided services. We currently accept CRYPTOMUS, Payeer, NotPayments, Perfect Money, Russian and Ukrainian bank cards, AliPay, BinancePay, CryptoBot, credit cards, and PayPal. The $1 registration bonus can only be used for purchases and only once after your first registration in any SOCNET project. We value every customer and provide replacements in case of invalid accounts through our contact methods! p.s.: Purchase bonuses can be used across any SOCNET projects: web store or Telegram bots.
    • SOCNET STORE — is a unique place where you can find everything you need for your work on the Internet!   We offer the following range of products and services: Verified accounts with blue tick marks and confirmed documents in Instagram, Facebook, Twitter (X), LinkedIn; Gift cards and premium subscriptions for your services (Instagram Meta, Facebook Meta, Discord Nitro, Telegram Premium, YouTube Premium, Spotify Premium, ChatGPT, Netflix Premium, LinkedIn Premium, Twitter Premium, etc.); Telegram bot for purchasing Telegram Stars with a minimum markup with automatic delivery; Replenishment of your advertising accounts (in TikTok ADS, Facebook ADS, Google ADS, Bing ADS) + linking a bank card; Payment for any other service or subscription with a markup from 5 to 25% (depending on the cost of the subscription) Available payment methods: via PayPal, any cryptocurrency (+Binance Pay), Telegram Stars, Cash App, or any bank card.   ⭐ Our online store ⭐ SOCNET.STORE ⭐ Our Telegram Stars Bot ⭐ SOCNET.CC ⭐ Our SMM-Panel for social media promotion ⭐ SOCNET.PRO ⭐ Telegram store ⭐ SOCNET.SHOP   ✅ News resources ➡ Telegram channel: https://t.me/socnet_news ✅ Contacts and support ➡ Telegram support: https://t.me/socnet_support ➡ Discord support: socnet_support ➡ Discord server: https://discord.gg/y9AStFFsrh ➡ WhatsApp support: https://wa.me/79051904467 ➡ WhatsApp channel:  https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n ➡ Email support: solomonbog@socnet.store We have been operating for a long time and have gathered a huge list of reviews about our work! Our large list of positive and honest reviews is presented on our website!   ⭐ VERIFIED ACCOUNTS ⭐   Verified old Instagram Meta account (2010-2020) with an active blue checkmark | Subscription has already been paid for 1 month in advance, account confirmed by documents: from $70 Verified old Facebook Meta account (2010-2023) with an active blue checkmark | Subscription has already been paid for 1 month in advance, account confirmed by documents: from $70 Verified Linkedin account (2010-2024) with an active checkmark and confirmed documents | Checkmark does not require renewal: from $80 Verified old Twitter (X) account (2010-2022) with an active blue checkmark | GEO: Tier 1-3 (your choice) | Subscription has already been paid for 1 month in advance: from $16   ⭐ TELEGRAM STARS ⭐   Telegram Stars | 1 star from $0.0175 | Discounts for bulk orders | Delivery within 1-2 minutes automatically   ⭐ GIFT SERVICES & PREMIUM SUBSCRIPTIONS ⭐ DISCORD NITRO Discord Nitro Classic (Basic) GIFT | 1/12 MONTHS | NO LOGIN OR PASSWORD NEEDED | Full subscription guarantee | Price from: $3.15 Discord Nitro FULL | 1/12 MONTHS | NO LOGIN OR PASSWORD NEEDED | Full subscription guarantee | Price from: $6.8 SPOTIFY PREMIUM Individual Spotify Premium plan for 1 month ON YOUR ACCOUNT | Available worldwide | Price from: $2.49 Family Spotify Premium plan for 1 month ON YOUR ACCOUNT | Works in any country | Price from: $3.75 Personal YouTube Premium Music on your account | 1 month | Ad-free YouTube | Price from: $3.75 Family YouTube Premium Music on your account | 1 month | Ad-free YouTube | Price from: $4.35 TELEGRAM PREMIUM Telegram Premium subscription for 1 month on your account | Authorization required (via TDATA or phone number) | Price from: $6 Telegram Premium subscription for 3 months on your account | No account authorization required | Guaranteed for full period | Price from: $17 Telegram Premium subscription for 6 months on your account | No account authorization required | Guaranteed for full period | Price from: $22 Telegram Premium subscription for 12 months on your account | No account authorization required | Guaranteed for full period | Price from: $37 GOOGLE VOICE • Google Voice Accounts (GMAIL US NEW) | Age/Year: Random 2024 | Phone Verified: Yes | Price from: $13 TWITTER(X) PREMIUM • Twitter Premium X subscription on your Twitter account for 1 month/1 year (your choice). Authorization in your Twitter account is required. Price from: $13 per month • Twitter X Premium Plus subscription with GROK AI on your Twitter account for 1 month/1 year (your choice). Authorization in your Twitter account is required. Price from: $55 NETFLIX PREMIUM • Netflix Premium subscription for 1 month on your personal account for any country, renewable after expiration | Price from: $10 CANVA PRO • CANVA PRO subscription for 1 month via invitation to your email | Price from: $1 CHATGPT 5 • Shared ChatGPT 5 Plus account FOR 2/5 USERS | Price from: $5 / $10 • Group ChatGPT 5 Plus subscription on your own email address for 1 month | Price from: $5 • Personal ChatGPT 5 Plus account FOR 1 USER or CHAT GPT PLUS subscription on your own account | Price from: $18 • ChatGPT 5 PRO account with UNLIMITED REQUESTS | Dedicated personal account FOR 1 USER ONLY or ON YOUR ACCOUNT | Works in any country or region | Price from: $220 Payment for any other subscription and replenishment of advertising accounts: Additional 5–20% to the cost of the subscription on the site or to the replenishment amount depending on the total purchase amount.   Attention: This text block does not represent our full product range; for more details, please visit the relevant links below! If you have any questions, our support team is always ready to help!      ⭐ Our online store ⭐ SOCNET.STORE ⭐ Our Telegram Stars Bot ⭐ SOCNET.CC ⭐ Our SMM-Panel for social media promotion ⭐ SOCNET.PRO ⭐ Telegram store ⭐ SOCNET.SHOP   ✅ News resources ➡ Telegram channel: https://t.me/socnet_news ✅ Contacts and support ➡ Telegram support: https://t.me/socnet_support ➡ Discord support: socnet_support ➡ Discord server: https://discord.gg/y9AStFFsrh ➡ WhatsApp support: https://wa.me/79051904467 ➡ WhatsApp channel:  https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n ➡ Email support: solomonbog@socnet.store We have been operating for a long time and have gathered a huge list of reviews about our work! Our large list of positive and honest reviews is presented on our website! ⭐ 10% – 20% Discount or $1 BONUS for your registration ⭐ If you’d like to receive a $1 BONUS for your registration OR a DISCOUNT of 10% – 20% on your first purchase, simply leave a comment: "SEND ME MY BONUS, MY USERNAME IS..." You can also use the ready promo code across all our stores: "SOCNET" (15% discount!) ⭐ We invite you to COOPERATE and EARN with us ⭐ Want to sell your product or service in our stores and earn money? Want to become our partner or propose a mutually beneficial collaboration? You can contact us through the CONTACTS listed in this thread. Frequently Asked Questions and Refund Policy If you have any questions or issues, our fast customer support is always ready to respond to your requests! Refunds for services that do not fully meet the stated requirements or quality will only be issued if a guarantee and duration are explicitly mentioned in the product description. In all other cases, refunds will not be fully processed! By purchasing such services, you automatically agree to our refund policy for non-provided services. We currently accept CRYPTOMUS, Payeer, NotPayments, Perfect Money, Russian and Ukrainian bank cards, AliPay, BinancePay, CryptoBot, credit cards, and PayPal. The $1 registration bonus can only be used for purchases and only once after your first registration in any SOCNET project. We value every customer and provide replacements in case of invalid accounts through our contact methods! p.s.: Purchase bonuses can be used across any SOCNET projects: web store or Telegram bots.
    • How can I set up a complete set to be exchanged all at once, instead of piece by piece? Example:     {{{[draconic_bow_cheapshot];1}};{{[draconic_bow];1};{[red_soul_crystal_13];1};{[gemstone_s];82}}}; This draconic is exchanged for a draconic bow +0, red soul, and gemstones. If I wanted to set it so that 5 draconic_bow_cheapshot are exchanged for the bow +0, red soul, and gemstones, then when I open the Multisell, I see only 1 draconic_bow_cheapshot with probably a + icon, and when I click it, I see 5 draconic_bow_cheapshot to exchange for the draconic bow +0, red soul, and gemstones. How would this line look like?       I did it this way and it's giving an error on the L2 server. What could be wrong?   MultiSell_begin [armor_shop_dynaa] 533 is_dutyfree = 1 selllist={ {{{[epic_dk_heavy_armor];1;[epic_dk_heavy_legs];1;[epic_dk_heavy_gloves];1;[epic_dk_heavy_boots];1;[epic_dk_heavy_helmet];1}};{{[lembrancade];1};{[stonewater];1};{[stonewind];1}}}; {{{[epic_dk_light_armor];1;[epic_dk_light_gloves];1;[epic_dk_light_boots];1;[epic_dk_light_helmet];1}};{{[lembrancade];1};{[stonewater];1};{[stonewind];1}}}; {{{[epic_dk_robe_armor];1;[epic_dk_robe_gloves];1;[epic_dk_robe_boots];1;[epic_dk_robe_helmet];1}};{{[lembrancade];1};{[stonewater];1};{[stonewind];1}}} } MultiSell_end    
  • 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