- Joined
- Sep 9, 2008
- Messages
- 586
- Reaction score
- 13
i currently am making a program that will send packets to a certain game called Khan Online..
Now i want to attach my program to the process named khanclient.exe..
i currently have this code
By Clicking my command1 my program will send a packet to the game,
that packet opens the storage.
but when i send it i get no errors.. but i also dont get any result..
should i attach my program to the process 1st?
can someone help me on how to attach my program to that certain process? thanks..
anyways, if you can tell me something better / better code that would be great.
if somethings wrong w/ my code please dont hesitate to correct it.. thanks!
this is a screenshot of my program
Now i want to attach my program to the process named khanclient.exe..
i currently have this code
Code:
Option Explicit
Private Sub Command1_Click()
Winsock1.SendData "0A 00 0A 19 5E BF F1 51 18 2E"
End Sub
Private Sub Form_Load()
Command1.Enabled = False
Winsock1.Connect "61.19.250.152", 2104
End Sub
Private Sub Form_Unload(Cancel As Integer)
Winsock1.Close
End Sub
Private Sub Winsock1_Connect()
Command1.Enabled = True
End Sub
Private Sub Winsock1_DataArrival(ByVal bytesTotal As Long)
Dim temp As String
temp = String(bytesTotal, Chr$(0))
Winsock1.GetData temp, vbString, bytesTotal
MsgBox temp
End Sub
By Clicking my command1 my program will send a packet to the game,
that packet opens the storage.
but when i send it i get no errors.. but i also dont get any result..
should i attach my program to the process 1st?
can someone help me on how to attach my program to that certain process? thanks..
anyways, if you can tell me something better / better code that would be great.
if somethings wrong w/ my code please dont hesitate to correct it.. thanks!
this is a screenshot of my program
Last edited:

