Register for your free account! | Forgot your password?

You last visited: Today at 00:06

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Sending Packets

Discussion on Sending Packets within the PW Hacks, Bots, Cheats, Exploits forum part of the Perfect World category.

Reply
 
Old 07/14/2015, 21:51   #421
 
elite*gold: 0
Join Date: Oct 2010
Posts: 3
Received Thanks: 0
Hi, I've noticed neither c# nor autoit will send packets over 127 bytes in size and crash the client. Is this related to the methods of allocating memory in these examples or is there a restriction put up by elementclient (doubtful about this because I've sniffed packets bigger than the "limit")? If it's the latter, are there any workarounds?
suigetsu4229 is offline  
Old 07/15/2015, 09:30   #422
 
Sᴡoosh's Avatar
 
elite*gold: 20
Join Date: May 2009
Posts: 1,290
Received Thanks: 326
No, it's due to the fact that byte length isn't a byte, it'S a CUInt (packed int). After 127, it is two bytes long with a special encoding.
Sᴡoosh is offline  
Old 07/16/2015, 11:35   #423
 
elite*gold: 0
Join Date: Oct 2010
Posts: 3
Received Thanks: 0
Quote:
Originally Posted by Sᴡoosh View Post
No, it's due to the fact that byte length isn't a byte, it'S a CUInt (packed int). After 127, it is two bytes long with a special encoding.
Hey, thanks for your answer. However, I'm still lost as to how to pass two bytes as packet length. Here, in the opcode:

PHP Code:
            0x60,                                   //PUSHAD
            
0xB80x000x000x000x00,           //MOV EAX, SendPacketAddress
            
0x8B0x0D0x000x000x000x00,     //MOV ECX, DWORD PTR [realBaseAddress]
            
0x8B0x490x20,                       //MOV ECX, DWORD PTR [ECX+20]
            
0xBF0x000x000x000x00,           //MOV EDI, packetAddress
            
0x6A0x00,  <--                        //PUSH packetSize
            
0x57,                                   //PUSH EDI
            
0xFF0xD0,                             //CALL EAX
            
0x61,                                   //POPAD
            
0xC3                                    //RET 
There's only place for one byte to write. I tried adding an additional byte and encoding the length in 128 base, but that produces the same result - crashes the client. Sorry if this is really easy and I'm missing something obvious, but I've tried to do this for a good few hours and I can't seem to figure it out myself.
suigetsu4229 is offline  
Old 07/16/2015, 12:47   #424
 
Sᴡoosh's Avatar
 
elite*gold: 20
Join Date: May 2009
Posts: 1,290
Received Thanks: 326
Yeah, Push only supports one byte as opcode. There's a different function that handles this correctly. This function was never meant to be called directly by the programmers.

What the hell are you sending in a C22 packet that's over 127 bytes btw?
Sᴡoosh is offline  
Old 07/16/2015, 13:33   #425
 
elite*gold: 0
Join Date: Oct 2010
Posts: 3
Received Thanks: 0
Quote:
Originally Posted by Sᴡoosh View Post
Yeah, Push only supports one byte as opcode. There's a different function that handles this correctly. This function was never meant to be called directly by the programmers.

What the hell are you sending in a C22 packet that's over 127 bytes btw?
The packet I'm trying to send is the one that recrafts weapons. Normal crafting packet is 18 or so bytes long, but this packet has additional 128 bytes as it needs to pass to the client itemTypeID and index in inventory of each ingredient. What boggles me, though, is that there's 32 empty bytes after itemTypeID bytes and another 32 after index bytes.

Anywho, there was a russian autocraft for 1.4.6- versions, but I guess it doesn't work anymore and I can't seem to find anything related to how it sends packets.

So, is this possible to be done by sending packets? My knowledge about asm and memory manipulating is still low so I wouldn't know how to find the function you mentioned.

Edit: Never mind, I just had to load packetsize into a register and push that register.
suigetsu4229 is offline  
Old 01/16/2017, 23:07   #426
 
elite*gold: 0
Join Date: Sep 2016
Posts: 2
Received Thanks: 0
how to find SendPacketAddress please.
ariesta1503 is offline  
Old 01/21/2017, 10:59   #427
 
elite*gold: 0
Join Date: Jun 2008
Posts: 37
Received Thanks: 21
I found out today how to double the accountstash to 32 slots, when you take everything out, it's gone again.
Just push an item from the stash to position 17, via packet, to expand
Kruger2001 is offline  
Old 01/25/2017, 23:28   #428
 
elite*gold: 0
Join Date: Apr 2007
Posts: 50
Received Thanks: 0
Quote:
Originally Posted by Kruger2001 View Post
I found out today how to double the accountstash to 32 slots, when you take everything out, it's gone again.
Just push an item from the stash to position 17, via packet, to expand
This I'd love to learn how to do. My stash shows 32 but i'm only able to use 16 slots.
Sh@dowX is offline  
Old 01/26/2017, 09:59   #429
 
elite*gold: 0
Join Date: Jun 2008
Posts: 37
Received Thanks: 21
Quote:
Originally Posted by Sh@dowX View Post
This I'd love to learn how to do. My stash shows 32 but i'm only able to use 16 slots.
Yes, I also noticed, I have a stack shared and one on each slot, thats worked for all 32 slots and so I thought it worked with everyone.
Kruger2001 is offline  
Old 01/26/2017, 19:31   #430
 
elite*gold: 0
Join Date: Jul 2011
Posts: 145
Received Thanks: 97
To put in more than 16 items put something stackable in your stash, split the stack into another slot of the stash by holding down alt key and dragging. Then swap something into your inventory into the newly occupied spot. I found this packet when they merged the servers.
jasty is offline  
Old 02/25/2017, 18:03   #431
 
elite*gold: 0
Join Date: Feb 2017
Posts: 1
Received Thanks: 0
Is it possible to start a catshop with packets (ingame)? I tried sending packet 0x54 (which opens the catshop creation window, as expected) and then 0x4c (copied exactly from a packet sniffer). It works only if I opened the catshop manually before, but not when I remove all items manually and send the same packets.
So, what else is needed for opening a catshop?
aplavin is offline  
Old 06/26/2017, 19:48   #432
 
elite*gold: 0
Join Date: Sep 2011
Posts: 25
Received Thanks: 0
wow, this thread has been going on for a while now lol
ppjdee is offline  
Old 03/26/2019, 04:32   #433
 
elite*gold: 0
Join Date: Dec 2016
Posts: 20
Received Thanks: 2
Quote:
Originally Posted by burple6 View Post
Here is the autoit code for hunting and gathering resources, as well as the interaction function in AutoIt form. Please note that the code is referencing variables and functions defined in Prophet Bot Recoded, but should be easily changed to suit your environment.



can you put these offset from the prophet in this code?

tonyphillips1 is offline  
Reply


Similar Threads Similar Threads
Help with sending packets in autoit
08/16/2010 - AutoIt - 1 Replies
ive been lookin around different sites for ways to send packets to the game server. the only examples i see is to create a server and a client which i dont need, i think. well to the point now, can someone lead me in a direction or tell me how to send packets to a game? also if i send packets then that means i dont need the game to be active, correct? Because in autoit when u use keys u need to have the game active, and control send does not work. ty
Sending Packets !!!
09/07/2008 - Kal Online - 14 Replies
now i know how to sniff / analyse packets ... but what then ? :) how can i send packets ?? to pimp or mix weapon for example i just need the way to send , and then i can depend on myself :D
Sending Packets (need advice)
03/20/2008 - Conquer Online 2 - 7 Replies
OK well im finaly trying to stop leaching off of everybodys work its been great n all download n play :D But im tired of being a begger n the past couple months ive been learning as much as i can about macros memery add blah blah you know ... After playing around with ce and ahk the past couple months i stumbled across wpe pro, theres not alot of tuturals and its hard to find good help. Well heres what ive been doing so far, open my CO then i attach it to my sniffer. I change my...
Scamming by sending packets???
04/15/2006 - Conquer Online 2 - 1 Replies
Well my friend and i came up with the idea to send packets to the server to show a certain item in the trade window. We want to use this as a type of scam. I didnt see this in any other threads and was wondering if anyone knew if this is possible and if they could point use in the right direction. My friend was pretty good with packets in CO 1.0 but we arent really sure to go about doing it. If anyone one could please lend a helping hand? P.S.- Before I get flamed for this because i know i...
Sending packets
10/12/2005 - Conquer Online 2 - 10 Replies
I've a question. Is it possible to send 1 packet multiple times at the exact same time?



All times are GMT +1. The time now is 00:07.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.