I've been messing around with the packets lately using the source of the plus notice clientless which works on .net, anyway...
I get most of the job done easily, but when it comes to 0x704C (Inventory item usage I believe) it starts being a ***** or my braincells are just limited but oh well, everyone been to the point where he brainstroms trying to learn something new with lots of failures, which brought me here, now my question is:
Why when I try to send a packet to use an item(global message item) it sometimes disconnects me or just doesn't do anything at all, here's what I got so far:
0x704C requires encryption which is why I set it to true, 10 is where the item is located inside the inventory(atleast what I think it is, although the item is in the first row, 4th slot from the left which means:
[1st][2nd][3rd][HERE])
237 is the decimal of ED(item mall)
29 is the item's index or something? I'm not sure
and the rest is self explanatory.
If you've found out what is possibly wrong or what I'm missing, I'd appreciate your help, cheers.
I've been messing around with the packets lately using the source of the plus notice clientless which works on .net, anyway...
I get most of the job done easily, but when it comes to 0x704C (Inventory item usage I believe) it starts being a ***** or my braincells are just limited but oh well, everyone been to the point where he brainstroms trying to learn something new with lots of failures, which brought me here, now my question is:
Why when I try to send a packet to use an item(global message item) it sometimes disconnects me or just doesn't do anything at all, here's what I got so far:
0x704C requires encryption which is why I set it to true, 10 is where the item is located inside the inventory(atleast what I think it is, although the item is in the first row, 4th slot from the left which means:
[1st][2nd][3rd][HERE])
237 is the decimal of ED(item mall)
29 is the item's index or something? I'm not sure
and the rest is self explanatory.
If you've found out what is possibly wrong or what I'm missing, I'd appreciate your help, cheers.
I noticed something today while sniffing packets and playing around, this is the packet for exchanging:
Code:
[S -> C][3080]
01
52 43 00 00
52 keeps changing depending on the character, so I think it's something like an ID which is assigned to the character on login (And it changes everytime).
Now my question is, is there a way to find the character name using that ID? Is there a packet I can send using that ID that could possibly return the character name?
Cheers.
I noticed something today while sniffing packets and playing around, this is the packet for exchanging:
Code:
[S -> C][3080]
01
52 43 00 00
52 keeps changing depending on the character, so I think it's something like an ID which is assigned to the character on login (And it changes everytime).
Now my question is, is there a way to find the character name using that ID? Is there a packet I can send using that ID that could possibly return the character name?
Cheers.
Packet 0x3015 SingleSpawn
Code:
public static void SingleSpawn(byte[] data)
{
using (BinaryReader br = new BinaryReader(new MemoryStream(data)))
{
uint id = br.ReadUInt32();
if ((id >= 1907 && id <= 1932) || (id >= 14875 && id <= 14900))
{
ParsePlayer(data);
}
else if (Framework.Global.PK2Global.dicCharacterData.ContainsKey(id))
{
if (Framework.Global.PK2Global.dicCharacterData[id].sr_name.Contains("MOB"))
{
ParseMonster(data);
}
else if (Framework.Global.PK2Global.dicCharacterData[id].sr_name.Contains("COS"))
{
ParseTransport(data);
OnLogMsg(
Framework.Global.PK2Global.dicCharacterData[id].sr_name);
}
else
{
Console.WriteLine("test");
}
}
else if (Framework.Global.PK2Global.dicItemData.ContainsKey(id))
{
ParseItem(data);
}
else
{
Console.WriteLine("test");
}
}
}
Sending Packets 03/26/2019 - PW Hacks, Bots, Cheats, Exploits - 432 Replies As per Smurfin's request:
reposting of what I posted in the Prophet's bot thread.
some example of functions you could use with sending packets (AutoIt code, see link below for C#):
;////Code for sending packets.
Sending Packets 11/29/2012 - AutoIt - 6 Replies Hey,
so I'm trying to send packets to a game called Pokemon World Online, I've been using WPE in order to sniff the packets, using WPE sending the packets its ridiculously easy so I've been trying to do the same with autoit script.
After a lot of research I know that TCP function should do it but I've always failed to use the same socket as the same or even to listen to the right ports or something, I'm completely lost here.
I know this can be done and I'm not asking for someone to...
Help sending packets 06/27/2012 - SRO Coding Corner - 2 Replies well i knew that i need to put the packet in a byte array
so i defined it BYTE pack = {
0x01, 0x00,
0x4F, 0x70,
0x20, 0x00,
0x04
};
and when i send it using the send through a socket like this
Question about sending packets with usigned variables 12/28/2010 - CO2 Programming - 6 Replies Ok so I started making a proxy in java and Have got up to receiving the password seed. But I've run into a problem java doesn't have unsigned variables so I had to edit the auth cryption to use short values. I can get the password seed perfectly its just forwarding it to the client I'm not sure how to do because the socket doesn't send a short array. I try sending the origional byte array but got no response from the client. If anyone can give me some pointers on how to do this I would...
[Question]Sending packets 10/28/2010 - RF Online - 3 Replies I'm working on a hack involving sending packets back to the server, but every time i try and set a packet back, it cuts me of. I get disconnected when I try to send a packet. Can someone enlighten me to why is this happening and how can I avoid it? Thanks.
P.S.
Don't go posting in my thread saying im a noob and shit. I ask cos I wanna learn. At least I do it on my own and not beg for hacks and cheats.