Looking to others stats : X

09/06/2009 03:48 12tails#1
hi all...

here i am again... hehe xD

why is this happening... someone can help??

Look at the photo xD
09/06/2009 03:59 Zion~#2
The dura is 0 so the item breaks, it needs to be repaired.
09/06/2009 04:00 12tails#3
are you sure?? ¬¬

@
omg... i don't maked dura.... all itens have dura 2 -.-''... but take a look at the potency too
09/06/2009 04:05 12tails#4
the item is NOT broken.... just when i look at others gear appears like that... but if i look at status they are normal... so... i wnna to know why this happen... also.. i don't fixed the intes dura yet... and look at potency... 4000 + oO wtf!
09/06/2009 04:14 CptSky#5
When you send the item packet. For your equipment, you send the dura but you don't send the dura when someone check the equipment.

Check this error.
09/06/2009 05:35 samehvan#6
at your iteminfo.cs iteminfo packet ,the packet.long just after this line

Code:
                        Packet.Long(Item.UID);
			Packet.Long(Item.ItemID);
needs to be 4 Packet.Int(value);

i ddnt do the r8 calculation yet but u can put any numbers like this for example

Code:
                Packet.Long(Item.UID);
	        Packet.Long(Item.ItemID);
          	Packet.Int(10);
          	Packet.Int(20);
          	Packet.Int(20);
          	Packet.Int(20);
same at ViewOtherEquips packet
09/06/2009 13:05 12tails#7
samehvan... srry but won't solved... take a look

Code:
        public static byte[] ViewOthersEquip(int Target, Structs.Struct.ItemInfo Item)
        {
            PacketBuilder Packet = new PacketBuilder(1008, 48);
            Packet.Long(Target);
            Packet.Long(Item.ItemID);
            Packet.Int(Item.Dura);//12
            Packet.Int(Item.Dura);
            Packet.Short(5000);
            Packet.Short(4);//16-17
            Packet.Int(Item.Position);
            Packet.Int(0);
            Packet.Int(0);
            Packet.Int(0);
            Packet.Int(0);
            Packet.Int(0);
            Packet.Int(Item.Soc1);
            Packet.Int(Item.Soc2);
            Packet.Short(0);
            Packet.Int(Item.Plus);
            Packet.Int(Item.Bless);
            Packet.Int(0);
            Packet.Long(Item.Enchant);
            Packet.Int(0);
            Packet.Short(0);
            Packet.Short(0);
            Packet.Long(Item.Color);
            Packet.Long(Item.Progress);
            return Packet.getFinal();
        }
and this:

Code:
        public static byte[] ItemInfo(int UID, int itemid, int Plus, int Progress, int Minus, int Enchant, int soc1, int soc2, int currentdura, int maxdura, int Location, int SocketProgress, int Free, int Locked, int Color)
      	{
			PacketBuilder Packet = new PacketBuilder(1008, 48);
			Packet.Long(UID);
			Packet.Long(itemid);
			//Packet.Int(Math.Abs(200-currentdura) & 0xff);
			//Packet.Int((byte)(currentdura / 2.56) & 0xff);
			//Packet.Int(Math.Abs(200-maxdura) & 0xff);
          	//Packet.Int((byte)(maxdura / 2.56) & 0xff);
          	//Packet.Long(0);
            Packet.Int(10);
            Packet.Int(20);
            Packet.Int(20);
            Packet.Int(20);
          	Packet.Short(1);
          	Packet.Int(Location);
            Packet.Int(0);
            Packet.Short(SocketProgress);
            Packet.Int(0);
          	Packet.Int(0);
          	Packet.Int(soc1);
          	Packet.Int(soc2);
          	Packet.Short(2);
          	Packet.Int(Plus);
          	Packet.Int(Minus);
          	Packet.Int(Free); // Free / Unfree
          	Packet.Long(Enchant);
          	Packet.Int(0);
          	Packet.Short(0); // Suspicious item??
          	Packet.Short(Locked); //Boolean 1- yes 0 - no (locked)
          	Packet.Long(Color); //Item color. 2-9(headgear is 3-9)
            Packet.Long(Progress); // Composition Progress
          	return Packet.getFinal();
      	}
09/06/2009 18:43 samehvan#8
here is my View other packet , may be it has some different bytes than yours ,if any errors make it's values as 0

Code:
public static byte[] ViewOthersEquip(int Target, Structs.Struct.ItemInfo Item)
        {
            PacketBuilder Packet = new PacketBuilder(1008, 48);
            Packet.Long(Target);
            Packet.Long(Item.ItemID);
            Packet.Int(10);//12
            Packet.Int(20);
            Packet.Int(20);
            Packet.Int(20);
            Packet.Short(4);//16-17
            Packet.Int(Item.Position);
            Packet.Int(0);
            Packet.Short(Item.SocketProgress);
            Packet.Int(0);
            Packet.Int(0);
            Packet.Int(Item.Soc1);
            Packet.Int(Item.Soc2);
            Packet.Short(0);
            Packet.Int(Item.Plus);
            Packet.Int(Item.Bless);
            Packet.Int(Item.Free);
            Packet.Long(Item.Enchant);            
            Packet.Int(0);
            Packet.Short(0);
            Packet.Short(Item.Locked);
            Packet.Long(Item.Color);
            Packet.Long(Item.Progress);
            return Packet.getFinal();
        }