So how can i get these subtypes and how to Construct them ?
... packet log... trial and error or reverse engineering.Quote:
So how can i get these subtypes and how to Construct them ?
Multiple issues with doing that...Quote:
well im using smthing like case "test":
{
client.Entity.AddFlag(Parse(data[1]);
}
and it works fine with me but after i reach 100 for example the flags r repeted So i guess i cant know what flag offsets
Binary | Decimal 1 = 1 10 = 2 100 = 4 1000 = 8 10000 = 16 100000 = 32 1000000 = 64
Cool im focusing on building packet atm so there is missing Packet 1135 of length 48 ..Does 48 means that packet consists of 48 bytes ?Quote:
Multiple issues with doing that...
#1: You are continually adding flags. They are UNIQUE values written at SPECIFIC bits inside the 'pool'. You are not removing old ones so your character will be coated in effects after a few.
#2: Due to the nature of bitfields you need to SHIFT, not add number (for example it goes something like
so obviously by trying effects between 8 and 16 you're just combining effects rather then finding new ones. That's why bitshifting is so simple. You skip over unwanted/invalid values and don't need to bother with a calculator.Code:Binary | Decimal 1 = 1 10 = 2 100 = 4 1000 = 8 10000 = 16 100000 = 32 1000000 = 64
When the server says unhandled packet type X of length Y then yes. It means the client just sent a packet with that length and the server has no way of knowing what that packet is/handling it.Quote:
Cool im focusing on building packet atm so there is missing Packet 1135 of length 48 ..Does 48 means that packet consists of 48 bytes ?
i know how to strcuture packet ill take any other strcutured packet as an example and ill follow its way of coding beside but to sniff packets i have to get working packet sniffer if u have one and wanna share it would be cool and i forgot what u said really about these effects ..Could u remind meQuote:
in the very first thread you posted about those effects, I told you how to get them and what packets you need to edit so you can see those effects.
You just have to learn how to sniff/structure packets
Yea i mean when i know its length and Number ill be able to construct it like any other Packets and send it to client to make it workQuote:
When the server says unhandled packet type X of length Y then yes. It means the client just sent a packet with that length and the server has no way of knowing what that packet is/handling it.
It does NOT mean that all packets of that type are that length. Many packets are variable length (packets with any non fixed strings such as chat or names, lists of things such as members in guild or items in warehouse, etc). It's a starting point and nothing more.