Hey hybris can you ake a guide about the packet builder, because i read the one you made about the Items and i read that but it was not all that clear to me so if you have any free time on your hands can you please make this thnx
EDIT: ok I was looking at the packet builder at the skills and this is what i have learnt...
Ok i read and learned some were that it reads up instead of down so for skills that last 2 packet datas are the number ascociated with the skill so lets say fire, ... here is the packet
Quote:
public static byte[] Fire()
* * * * {
* * * * * * byte[] PacketData = new byte[0x0c];
* * * * * * PacketData[0] = 0x0c;
* * * * * * PacketData[1] = 0x00;
* * * * * * PacketData[2] = 0x4f;
* * * * * * PacketData[3] = 0x04;
* * * * * * PacketData[4] = 0x00; //Exp
* * * * * * PacketData[5] = 0x00; // '
* * * * * * PacketData[6] = 0x00; // '
* * * * * * PacketData[7] = 0x00; // '
* * * * * * PacketData[8] = 0xe9;
* * * * * * PacketData[9] = 0x03;
* * * * * * PacketData[0x0a] = 0x03; //Level
* * * * * * PacketData[0x0b] = 0x00;
* * * * * * return PacketData;
* * * * * * //0c 00 4f 04 0a de 04 00 e2 04 06 00
* * * * }
|
--that is the packet for the skill fire.
Quote:
PacketData[8] = 0xe9;
PacketData[9] = 0x03;
|
--thats is the last 2 packet data for it, and since it reads from down to up the hexa would be 03E9.
-- so you open up your calculator in accessories and put it on hexa input 03E9
-- then turn it to dec. and you will find that the number is 1001 the same number as the skill fire.
-- and the bottom numbers represent the all of the Packet data 0 - 9
that is all that i got from the skills packet builder.. the only thing i need to know is all of the other stuff lol
can some one who knows about the packet builder please tell me if this stuff typed is accurate
EDIT#2:
ok i just found something else out, it may be nothing really big or anything but i found out the patern that goes when makeing up the Paket Data line.
Quote:
PacketData[0]
PacketData[1]
PacketData[2]
PacketData[3]
PacketData[4]
PacketData[5]
PacketData[6]
PacketData[7]
PacketData[8]
PacketData[9]
PacketData[0x0a]*
PacketData[0x0b]
|
so this is what i found out, like i said nothing big and probably you guys already no this but for ppl who dont know this here you go.
you see the number that is in quotations right after "PacketData",
--it goes 1-9, (i think or it may just be for the skill packet)
--then it will go a,b,c,d,e,f and it will look like this
Quote:
PacketData[0xa]
PacketData[0xb]
PacketData[0xc]
PacketData[0xd]* * * * * *
PacketData[0xe]
PacketData[0xf]
|
-- and after you get through a-f it starts were you left off with 9 so it will be 10-19 so it will look like this
Quote:
PacketData[0x10]
PacketData[0x11]
PacketData[0x12]
PacketData[0x13]* * * * * *
PacketData[0x14]
PacketData[0x15]
PacketData[0x16]
PacketData[0x17]
PacketData[0x18]
PacketData[0x19]
|
-- so lets give an e.g. of a long packet
Quote:
PacketData[1]
PacketData[2]
PacketData[3]
PacketData[4]
PacketData[5]
PacketData[6]
PacketData[7]
PacketData[8]
PacketData[9]
PacketData[0xa]
PacketData[0xb]
PacketData[0xc]
PacketData[0xd]
PacketData[0xe]
PacketData[0xf]
PacketData[0x10]
PacketData[0x11]
PacketData[0x12]
PacketData[0x13]
PacketData[0x14]
PacketData[0x15]
PacketData[0x16]
PacketData[0x17]
PacketData[0x18]
PacketData[0x19]
PacketData[0x1a]
PacketData[0x1b]
PacketData[0x1c]
PacketData[0x1d]
PacketData[0x1e]
PacketData[0x1f]
PacketData[0x20]
PacketData[0x21]
PacketData[0x22]
PacketData[0x23]
PacketData[0x24]
PacketData[0x25]
PacketData[0x26]
PacketData[0x27]
PacketData[0x28]
PacketData[0x29]
PacketData[0x2a]
PacketData[0x2b]
PacketData[0x2c]
PacketData[0x2e]
PacketData[0x2f]
|
--and so on and so on that is needed, but you need to find out all the other stuff that goes after the packet data on your own, depending on what you are doing, but yet again this is not big breaking news im pretty sure most of you knew this information, but again i guess this could be used for the nubs, but i cant rreally call ppl nubs cause i am still a nub at this stuff lol, but this is mainly for those who dont know this and can use this format to make packets for their server.. good day
** i still need to no how to find out what you need to put after the packet depending on what you are doing so if anybody can help me figure this out that would be great... thnx