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

    • Hello and welcome Server started 2026-01-05 Web site: https://l2dragonlands.eu Discrod: https://discord.gg/ngQUY8FB8G Rates >Xp x500 >Sp x500 >Drop x25 >Spoil x25 Enchant rates: Safe/max enchant +500  Blessed and simple scrolls max enchant (+200)  Enchant maneger to make +500.  In server items are progresed in tiers. Weapons: Starter > Vesper > Vorpal > Elegia > Ferrum. Armors: Starter > Moirai > Vesper > Vesper Noble > Vorpal > Elegia > Scarlet. Jewels: Starter > Vesper > Vorpal > Elegia > Ferrum. Cloaks: Pearl White > Pitch Black > Frintezza > Class Cloka > Hero > Scarlet. Acessories: Goblin Circlet 1/2lvl > Half Mask Mage 1/2lvl > Half Mask Fighter 1/2lvl > Flame of valakas > Gem Mask > Ferrum Helmet. Belt: Mithril Belt > Vitality Belt. Badges: For fighter and mage from 1lvl to 6lvl upgraded in order. Bracelets: Mithril > Shiny Fighter/Mage > 1/2lvl custom talismans in bracelest. Agathion: 7 tiers upgrade in order eatch one. Clan item shop/ New weapon Spadona upgradeble from 1lvl till 85lvl. Farm zones in order: >Giran Harbor > WasteLand > Gateway > Valley of Saints > Chromatic > Ruins of Despair > Soul Harbor > Dragon Valley. >LvL up zone >PvP zone Custom instance zone. Custom buff maneger it will grand big boost in stats. Lotery maneger to gamble. Extra features ALT+B: >Events  >Rankings  >Clan  >RB Status  >Updates and other Auto Event system: >Team VS Team event - Auto event  >Capture The Flag - Auto event Olympiad: >Retail olympiad game  >Competition period [2] week  >Olympiad start time [18:00] end [00:00]  >Maximum enchant in the Olympiad is +10, not custom items in olympiada only normal ones from shop.
    • L2 VOID - ADVERTISING BANNER   L2 FURY - ANIMATED BANNER   L2 HEROIC - ANIMATED BANNER   L2 WEED - ANIMATED BANNER   L2 REFORGE - ANIMATED LOGO   L2 WARZONE - ANIMATED LOGO   L2 ACME - SPLASH SCREEN   L2 DRUGS - ANIMATED BANNER   L2 GOLD - ADVERTISING BANNER   L2 AARON - ADVERTISING BANNER  
    • Download Here: https://sitehunterus.blogspot.com/2025/12/fashionnova-checker-multi-threaded-high.html VirusTotal https://www.virustotal.com/gui/file/c69e889b53354aecb2bf8ca50b59c9e410bb5a42da4711e80fe04af5f2b3e945?nocache=1 Visit my Blogger list to download 100% free software https://www.freetoolss.com/ https://blackhat8.blogspot.com/ https://hack-crack9.blogspot.com/ https://hackernoons.blogspot.com/ https://sharetools99.blogspot.com/
    • I am very satisfied, wonderful work and trustworthy, thank you for my logo.
  • 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..

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