Jump to content

Recommended Posts

Posted

hi everyone,here i will share something with you,are you tired of viewing wrong stats and 0 MDef in all the server characters? Here's the patch :D

 

go to L2_GameServer/java/net/sf/l2j/gameserver/network/serverpackets/GMViewCharacterInfo.java

 

and do what i say:

 

                                                This is for Gracia Final

 

5. @@ -99,7 +99,7 @@

  6.          writeD(_activeChar.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_DECO4));

  7.          writeD(_activeChar.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_DECO5));

  8.          writeD(_activeChar.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_DECO6));

  9. -        writeD(0); // T3 Unknown

  10. +        writeD(_activeChar.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_BELT)); // CT2.3

  11.          // end of T1 new D's

  12.         

  13.        writeD(_activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_HAIRALL));

  14. @@ -128,65 +128,36 @@

  15.          writeD(_activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_DECO4));

  16.          writeD(_activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_DECO5));

  17.          writeD(_activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_DECO6));

  18. -        writeD(0); // T3 Unknown

  19. -        writeD(0); // T3 Unknown

  20. -        writeD(0); // T3 Unknown

  21. -        // end of T1 new D's

  22. +        writeD(_activeChar.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_BELT)); // CT2.3

  23.         

  24. -        // c6 new h's

  25. -        writeH(0x00);

  26. -        writeH(0x00);

  27. -        writeH(0x00);

  28. -        writeH(0x00);

  29. -        writeH(0x00);

  30. -        writeH(0x00);

  31. -        writeH(0x00);

  32. -        writeH(0x00);

  33. -        writeH(0x00);

  34. -        writeH(0x00);

  35. -        writeH(0x00);

  36. -        writeH(0x00);

  37. -        writeH(0x00);

  38. -        writeH(0x00);

  39. +        writeD(_activeChar.getInventory().getPaperdollAugmentationId(Inventory.PAPERDOLL_UNDER));

  40. +        writeD(_activeChar.getInventory().getPaperdollAugmentationId(Inventory.PAPERDOLL_REAR));

  41. +        writeD(_activeChar.getInventory().getPaperdollAugmentationId(Inventory.PAPERDOLL_LEAR));

  42. +        writeD(_activeChar.getInventory().getPaperdollAugmentationId(Inventory.PAPERDOLL_NECK));

  43. +        writeD(_activeChar.getInventory().getPaperdollAugmentationId(Inventory.PAPERDOLL_RFINGER));

  44. +        writeD(_activeChar.getInventory().getPaperdollAugmentationId(Inventory.PAPERDOLL_LFINGER));

  45. +        writeD(_activeChar.getInventory().getPaperdollAugmentationId(Inventory.PAPERDOLL_HEAD));

  46.          writeD(_activeChar.getInventory().getPaperdollAugmentationId(Inventory.PAPERDOLL_RHAND));

  47. -        writeH(0x00);

  48. -

  49. -        writeH(0x00);

  50. -        writeH(0x00);

  51. -        writeH(0x00);

  52. -        writeH(0x00);

  53. -        writeH(0x00);

  54. -        writeH(0x00);

  55. -        writeH(0x00);

  56. -        writeH(0x00);

  57. -        writeH(0x00);

  58. -        writeH(0x00);

  59. -        writeH(0x00);

  60. +        writeD(_activeChar.getInventory().getPaperdollAugmentationId(Inventory.PAPERDOLL_LHAND));

  61. +        writeD(_activeChar.getInventory().getPaperdollAugmentationId(Inventory.PAPERDOLL_GLOVES));

  62. +        writeD(_activeChar.getInventory().getPaperdollAugmentationId(Inventory.PAPERDOLL_CHEST));

  63. +        writeD(_activeChar.getInventory().getPaperdollAugmentationId(Inventory.PAPERDOLL_LEGS));

  64. +        writeD(_activeChar.getInventory().getPaperdollAugmentationId(Inventory.PAPERDOLL_FEET));

  65. +        writeD(_activeChar.getInventory().getPaperdollAugmentationId(Inventory.PAPERDOLL_BACK));

  66.          writeD(_activeChar.getInventory().getPaperdollAugmentationId(Inventory.PAPERDOLL_LRHAND));

  67. -        writeH(0x00);

  68. -        writeH(0x00);

  69. -        writeH(0x00);

  70. -        writeH(0x00);

  71. -        // end of c6 new h's

  72. -       

  73. -        // start of T1 new h's

  74. -        writeH(0x00);

  75. -        writeH(0x00);

  76. -        writeH(0x00);

  77. -        writeH(0x00);

  78. -        writeH(0x00);

  79. -        writeH(0x00);

  80. -        writeH(0x00);

  81. -        writeH(0x00);

  82. -        writeH(0x00);

  83. -        writeH(0x00);

  84. -        writeH(0x00);

  85. -        writeH(0x00);

  86. -        writeH(0x00);

  87. -        writeH(0x00);

  88. -        writeH(0x00);

  89. -        writeH(0x00);

  90. -        // end of T1 new h's

  91. +        writeD(_activeChar.getInventory().getPaperdollAugmentationId(Inventory.PAPERDOLL_HAIR));

  92. +        writeD(_activeChar.getInventory().getPaperdollAugmentationId(Inventory.PAPERDOLL_HAIR2));

  93. +        writeD(_activeChar.getInventory().getPaperdollAugmentationId(Inventory.PAPERDOLL_RBRACELET));

  94. +        writeD(_activeChar.getInventory().getPaperdollAugmentationId(Inventory.PAPERDOLL_LBRACELET));

  95. +        writeD(_activeChar.getInventory().getPaperdollAugmentationId(Inventory.PAPERDOLL_DECO1));

  96. +        writeD(_activeChar.getInventory().getPaperdollAugmentationId(Inventory.PAPERDOLL_DECO2));

  97. +        writeD(_activeChar.getInventory().getPaperdollAugmentationId(Inventory.PAPERDOLL_DECO3));

  98. +        writeD(_activeChar.getInventory().getPaperdollAugmentationId(Inventory.PAPERDOLL_DECO4));

  99. +        writeD(_activeChar.getInventory().getPaperdollAugmentationId(Inventory.PAPERDOLL_DECO5));

100. +        writeD(_activeChar.getInventory().getPaperdollAugmentationId(Inventory.PAPERDOLL_DECO6));

101. +        writeD(_activeChar.getInventory().getPaperdollAugmentationId(Inventory.PAPERDOLL_BELT)); // CT2.3

102. +        writeD(0x00); // CT2.3

103. +        writeD(0x01); // CT2.3

104. 

105.        writeD(_activeChar.getPAtk(null));

106.        writeD(_activeChar.getPAtkSpd());

107. 

 

credits:goes to me and some help from l2jserver

Guest
This topic is now closed to further replies.


×
×
  • Create New...