Jump to content
  • 0

L2Gameserverpacket For Clan War Title Icon(Double Fist)


Question

Posted

Hello, i usually find what i'm looking for, but this time... I need those double fists shown in the title, like in the picture
nova03a.jpg

I have found that RelationChanged packet has to do something with it.. but didn't understood if it actually has something to do.
So, if someone knows anything, even clues, please reply  :-X

7 answers to this question

Recommended Posts

  • 0
Posted (edited)

I guess you're right. It's about _relation and its sending info via UserInfo.java

 

For example

// 0x40 leader rights
// siege flags: attacker - 0x180 sword over name, defender - 0x80 shield, 0xC0 crown (|leader), 0x1C0 flag (|leader)
writeD(_relation);

I guess the same with dat fist. Somehow.. :D

public static final int RELATION_MUTUAL_WAR = 0x08000; // double fist
public static final int RELATION_1SIDED_WAR = 0x10000; // single fist

Check L2PcInstance for the use @ public int getRelation(L2PcInstance target)

 

 

if (getClan().isAtWarWith(target.getClan().getClanId()))
    result |= RelationChanged.RELATION_MUTUAL_WAR;

 

Boom, double fist :P

Edited by SweeTs
  • 0
Posted

I guess you're right. It's about _relation and its sending info via UserInfo.java

 

For example

// 0x40 leader rights
// siege flags: attacker - 0x180 sword over name, defender - 0x80 shield, 0xC0 crown (|leader), 0x1C0 flag (|leader)
writeD(_relation);

I guess the same with dat fist. Somehow.. :D

public static final int RELATION_MUTUAL_WAR = 0x08000; // double fist
public static final int RELATION_1SIDED_WAR = 0x10000; // single fist

Check L2PcInstance for the use @ public int getRelation(L2PcInstance target)

if (getClan().isAtWarWith(target.getClan().getClanId()))
    result |= RelationChanged.RELATION_MUTUAL_WAR;

Boom, double fist :P

Well, the problem is, 

 

// 0x40 leader rights
// siege flags: attacker - 0x180 sword over name, defender - 0x80 shield, 0xC0 crown (|leader), 0x1C0 flag (|leader)
writeD(_relation);

is used for sieges, not for clan wars... so, in my thinking, RelationChanged should control the title but it doesn't. I tried changing the relation, it didn't work :/

  • 0
Posted

Yes, then I added the relation for the fists change controlled @ L2PcInstance :) Anyway, what's your idea? :P

  • 0
Posted

Yes, then I added the relation for the fists change controlled @ L2PcInstance :) Anyway, what's your idea? :P

RelationChanged should control the icon in the title but it doesn't :/ and i don't understand why

  • 0
Posted

dont mess with the stupid methods, moderate it directly from the packet @ byte, 

 

if (statement)

  writeD( )//ur id goes there

else

  writeD(  )// classic relation

 

to calculate the ID perform the bitwise operations providen by l2j, or sniff them from phx

 

xdem

  • 0
Posted (edited)

dont mess with the stupid methods, moderate it directly from the packet @ byte, 

 

if (statement)

  writeD( )//ur id goes there

else

  writeD(  )// classic relation

 

to calculate the ID perform the bitwise operations providen by l2j, or sniff them from phx

 

xdem

i guess i will have to try sniffing packets with phx, thanks :)

 

EDIT: after all day of searching and sniffing, i've found out that relationchanged packet works only when some other clan related packets are sent, makes it impossilble to use alone... Thanks for the help and have great holidays.

Edited by povis111
  • 0
Posted

i guess i will have to try sniffing packets with phx, thanks :)

 

EDIT: after all day of searching and sniffing, i've found out that relationchanged packet works only when some other clan related packets are sent, makes it impossilble to use alone... Thanks for the help and have great holidays.

Have nice holidays too.

 

locked.

Guest
This topic is now closed to further replies.


  • Posts

    • Top Up the Way You Like — PayPal is Back with Us! We're excited to announce that we now accept PayPal again! That means even more ways to fund your balance in our store Available Payment Methods: ➡ Cryptocurrency (USDT, BTC, ETH, LTC, and more) ➡ Crypto Bot in Telegram ➡ Telegram Stars ➡ Bank Cards ➡ Lolz Balance ➡ Binance Pay ➡ Crystal Pay — crystalpay.io ➡ Wata (Bank Cards) ➡ Payeer ➡ AliPay ➡ PayPal (Friends & Family only) Also Available on the Website: ➡ Binance Gift Cards ➡ Google Pay/Apple Pay Promo Code: PAYPAL5 (5% Discount) How to Buy: ➡ Online Store: Click ➡ Telegram Bot: Click Other Services: ➡ SMM Panel: Click Returning customers enjoy extra discounts and promo codes! Support: ➡ Telegram: https://t.me/solomon_bog ➡ Telegram Channel: https://t.me/accsforyou_shop ➡ Discord: https://discord.gg/y9AStFFsrh ➡ WhatsApp: https://wa.me/79051904467 ➡ ✉ Email: solomonbog@socnet.store You can also use these contacts to: — Get consultation on wholesale purchases — Establish a partnership (Current partners: https://socnet.bgng.io/partners) — Become our supplier SocNet — Your Store for Digital Goods & Premium Subscriptions
    • Top Up the Way You Like — PayPal is Back with Us! We're excited to announce that we now accept PayPal again! That means even more ways to fund your balance in our store Available Payment Methods: ➡ Cryptocurrency (USDT, BTC, ETH, LTC, and more) ➡ Crypto Bot in Telegram ➡ Telegram Stars ➡ Bank Cards ➡ Lolz Balance ➡ Binance Pay ➡ Crystal Pay — crystalpay.io ➡ Wata (Bank Cards) ➡ Payeer ➡ AliPay ➡ PayPal (Friends & Family only) Also Available on the Website: ➡ Binance Gift Cards ➡ Google Pay/Apple Pay Promo Code: PAYPAL5 (5% Discount) How to Buy: ➡ Online Store: Click ➡ Telegram Bot: Click Other Services: ➡ SMM Panel: Click Returning customers enjoy extra discounts and promo codes! Support: ➡ Telegram: https://t.me/solomon_bog ➡ Telegram Channel: https://t.me/accsforyou_shop ➡ Discord: https://discord.gg/y9AStFFsrh ➡ WhatsApp: https://wa.me/79051904467 ➡ ✉ Email: solomonbog@socnet.store You can also use these contacts to: — Get consultation on wholesale purchases — Establish a partnership (Current partners: https://socnet.bgng.io/partners) — Become our supplier SocNet — Your Store for Digital Goods & Premium Subscriptions
    • We are taking new orders. Kindly DM us on Telegram!
    • Dear friends, Just a reminder - our Open Beta Test begins today at 18:00! Join us to explore the world together, test the update, and help us make it even better. See you in game!    The Chronicle 4 client is now available for download.
    • I tried mate with a fresh Freya, H5, H5 part 5, and always the same issue. I can't enter inside the Game, as it appears black. I. Can hear sound and so on from the starting location and quest, but I can't see a thing I installed the chinese language on windows, and still does not work , I always get black screen when i try to enter into the game after selecting the characters. I hear sounds, environment and so on, but i can see anything Also tried with a fresh freya client as well, i can see the english words and so on, but i cant enter inside the game...i dont understand whats going wrong
  • 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