Register for your free account! | Forgot your password?

You last visited: Today at 05:19

  • 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/26/2013, 05:02   #361
 
ntldr32's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 75
Received Thanks: 34
oh man, i feel like a stupid here, there is nothing wrong with that function, and all the ids sre correct,
i just "FORGET TO MOVE TO TARGET" b4 i call "useSkill". omg lol
ntldr32 is offline  
Old 07/28/2013, 23:44   #362
 
ntldr32's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 75
Received Thanks: 34
Quote:
Originally Posted by Interest07 View Post
Move struct:

PHP Code:
Imports pwi_lib
Public Class movement
    
Public Sub moveTo(ByVal targetID As Integer)
        
Dim targetXtargetYtargetZ As Single
        Dim mob 
As New monsters
        
For As Integer 0 To mob.count 1
            
If targetID mob.getMonsterID(iThen
                targetX 
mob.getX(i)
                
targetY mob.getY(i)
                
targetZ mob.getZ(i)
                
moveTo(targetX 1targetY 1targetZ0)
            
End If
        
Next
    End Sub
    
Public Sub moveTo(ByVal X As SingleByVal Y As SingleByVal Z As SingleByVal height As Single)
        
Dim client As New e_client
        Dim pr_handle 
As Integer e_client.PROCESS_INFORMATION
        Dim ofs 
as New offsets
        Dim actionStruct 
As Integer MemFunctions.MemReadInt(pr_handlee_client.CHAR_DATA_BASE ofs.ACTIONSTRCT2_Offset)
        
Dim actionList As Integer MemFunctions.MemReadInt(pr_handleactionStruct 48)
        
Dim moveAction As Integer MemFunctions.MemReadInt(pr_handleactionList 4)
        
Dim flag As Integer MemFunctions.MemReadInt(pr_handlemoveAction 100)
        
MemFunctions.MemWriteInt(pr_handlemoveAction 80)
        
MemFunctions.MemWriteInt(pr_handlemoveAction 241)
        
MemFunctions.MemWriteFloat(pr_handlemoveAction ofs.ActionMoveX_OffsetX)
        
MemFunctions.MemWriteFloat(pr_handlemoveAction ofs.ActionMoveY_OffsetY)
        
MemFunctions.MemWriteFloat(pr_handlemoveAction ofs.ActionMoveZ_OffsetZ)
        
MemFunctions.MemWriteFloat(pr_handlemoveAction ofs.ActionHeight_OffSetheight)
        
MemFunctions.MemWriteInt(pr_handlemoveAction 100flag 1)
        
MemFunctions.MemWriteInt(pr_handlemoveAction 1080)
        
MemFunctions.MemWriteInt(pr_handlemoveAction + &H2C0)
        
MemFunctions.MemWriteInt(pr_handleactionStruct + &HCmoveAction)
        
MemFunctions.MemWriteInt(pr_handleactionStruct + &H181)
        
MemFunctions.MemWriteInt(pr_handleactionStruct + &H14moveAction)
    
End Sub
End 
Class 
Is it safe if I do this?, I mean what if i ignore the parameter "height", can make me banned?
ntldr32 is offline  
Old 07/29/2013, 00:31   #363
 
elite*gold: 0
Join Date: Nov 2012
Posts: 96
Received Thanks: 81
Quote:
Originally Posted by ntldr32 View Post
I mean what if i ignore the parameter "height", can make me banned?
hm banned i dont know...while testing stuff i made so much critical or invalid actions and none of my accounts got banned.
but if you dont use height on moving, your bot never work for flying or swimming mobs.
like using range chars and try then to move to mob for looting...
so what is the point on dont use height
Murmuring is offline  
Old 07/29/2013, 01:05   #364
 
Sᴡoosh's Avatar
 
elite*gold: 20
Join Date: May 2009
Posts: 1,290
Received Thanks: 326
Server doesn't log faulty packets or setbacks based on geo calculation. Wrong height doesn't get you banned. When setback happens, players don't even get your wrong position - server only broadcasts new movement vector if it is legal. So, GMs don't notice your heightmap error either.
Sᴡoosh is offline  
Old 07/29/2013, 19:52   #365
 
ntldr32's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 75
Received Thanks: 34
Quote:
Originally Posted by Murmuring View Post
so what is the point on dont use height
bcos i dont know what is "height" on that function,
is that the Z cordinat that count from sea level (like geologist count the height of a mountain),
or its a number count from ground level (like arcitech count the height of a building)?, idk,...
i also need to know how to stop movement after we reach the requirmnt skill range,
so far to stop movement i do move to my current coordinat after reach the requird range for skill.
ntldr32 is offline  
Old 07/29/2013, 21:59   #366
 
elite*gold: 0
Join Date: Nov 2012
Posts: 96
Received Thanks: 81
take a look in the link and at page 23 for more info
Murmuring is offline  
Old 07/29/2013, 23:58   #367
 
Interest07's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 862
Received Thanks: 576
To stop use the idle action struct.Height is the height you fill in when you alt + click on a point in the map (to fly somewhere)
Interest07 is offline  
Old 08/12/2013, 00:26   #368
 
elite*gold: 0
Join Date: Aug 2009
Posts: 8
Received Thanks: 0
I found all offsets that i need, only except is the item list base, don't know how to find...
can anyone help me?
somatando is offline  
Old 08/12/2013, 11:03   #369
 
elite*gold: 10
Join Date: Sep 2010
Posts: 400
Received Thanks: 234
You should be able to find pretty much everything you need via the
Edit: Whoops, I somehow posted this in the wrong thread lol. I posted the current list offsets the other day...
dumbfck is offline  
Thanks
1 User
Old 08/12/2013, 17:33   #370
 
elite*gold: 0
Join Date: Aug 2009
Posts: 8
Received Thanks: 0
Quote:
Originally Posted by dumbfck View Post
You should be able to find pretty much everything you need via the
Edit: Whoops, I somehow posted this in the wrong thread lol. I posted the current list offsets the other day...
My pw is pwbr, so i think it have different offsets.
but gonna try, thanks!
somatando is offline  
Old 10/12/2013, 10:42   #371
 
elite*gold: 0
Join Date: May 2013
Posts: 14
Received Thanks: 0
I can get send packet in your tools :

realBaseAddress=0xB8FBCC
SendPacketAddress=0x415A7E7020000000 --??? send packet is wrong?
playerCounterOffset=0x00000980
playerIntervalOffset=0x00000934

And, How I can use sendpacket target mod_id?

Sry, My english very bad ^^
oneormore is offline  
Old 10/14/2013, 13:49   #372
 
elite*gold: 0
Join Date: Sep 2013
Posts: 146
Received Thanks: 84
Hi everyone - i got a question related to genie skills:

Thanks again to Interest for sharing this - so the structure should be like this:
7400<skill id>0001<target id>

As for SkillID of Extrem Poison (ID=972 -> 03 cc) and
my targetID (ID=-2146419000-> 46 41 90 00)

I think i should send thisPacket: 7400 CC03 0001 00904146

But the game tells me "Unable to cast genie skill."
Anyone knows what iam doing wrong?

____

BTW: 7400FE030001701F0500 is working just fine for holy path
Stark77 is offline  
Old 10/23/2013, 02:38   #373
 
elite*gold: 0
Join Date: Dec 2008
Posts: 1
Received Thanks: 0
Function SellItem not run. Please help me!

Tks!

packet = "2500"
packet &= "02000000"
packet &= "10000000" 'nBytes following
packet &= "01000000" 'nDifferent items being sold
packet &= Int2Hex(itemTypeId)
packet &= Int2Hex(invIndex)
packet &= Int2Hex(amount)
MotAiDo is offline  
Old 10/25/2013, 11:06   #374
 
elite*gold: 0
Join Date: Oct 2013
Posts: 1
Received Thanks: 0
Question

Quote:
Originally Posted by Interest07 View Post
Just in case you don't have the action structs...


Follow:

Interaction struct (regular attack, pickup item, initiate dialogue with npc, use skill or harvest resource):


Move struct:

Im trying to useskill with the code on my bot, I have to convert it into vb language and this is my code.

interactWith sub

I've tried it in PW-ID and just got a report bug
anybody can explain it?
Salll is offline  
Old 11/24/2013, 06:34   #375
 
Smurfin's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 1,243
Received Thanks: 670
Quote:
Originally Posted by Interest07 View Post
I use MHS to set a breakpoint at the sendPacketFunction (0x659450 in PWI atm) to run this script:

Code:
void On_BP_1(LPVOID lpvAddress, LPPROC_INFO_MHS lpProcInfo)
{
	DWORD pktSize_ptr = lpProcInfo->pcContext->Esp+8;
	DWORD pktSize = 0;
	
	ReadProcessMemory(lpProcInfo->hProcess, (void *)pktSize_ptr, &pktSize, 4, NULL);
	
	DWORD pkt_ptr_ptr = lpProcInfo->pcContext->Esp+4;
	DWORD pkt_ptr = 0;
	BYTE bp_newpacket[255] = {0};
	char bp_packet[1024] = {0};	

	ReadProcessMemory(lpProcInfo->hProcess, (void *)pkt_ptr_ptr, &pkt_ptr, 4, NULL);
	ReadProcessMemory(lpProcInfo->hProcess, (void *)pkt_ptr, &bp_newpacket, pktSize, NULL);
	
	for (int i = 0; i < pktSize; i++){
		SPrintF(&bp_packet[i*3], "%02X ", bp_newpacket[i]);
	}

	DWORD callingFunctionAddress = 0;
	DWORD callingfunctionAddress_ptr = lpProcInfo->pcContext->Esp;
	
	ReadProcessMemory(lpProcInfo->hProcess, (void *)callingfunctionAddress_ptr, &callingFunctionAddress, 4, NULL);
	



PrintF("[%08X] Packet: %s",callingFunctionAddress, bp_packet);
}
Hi Interest07,

I had opened process elementclient.exe in mhs, open disassambler in it, then went to sendpacketaddress (0x6F55E0 for indo) , opened script editor, saved it to On_BP_1.lss (it's On_BP_1 , one, right ?) in mhs folder, but nothing happened.

when should I start seeing packets coming ? or maybe I missed something , also, the add breakpoint menu setting only has script function and parm, there is no setting to point it to the script file, how mhs knows where to run the script.

here is the screenshot, please check what's missing to be done
Smurfin 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 05:20.


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.