![]() Shoutbox (View Full Shoutbox)
|
||||
Click Refresh to load shouts. |
||||
|
packet.dll for 8.31
|
|
10-02-2008, 10:14 AM
(This post was last modified: 10-26-2008 12:08 PM by Azura. Edit Reason: )
Post: #1
|
|||
|
|||
|
packet.dll for 8.31
This version of packet.dll is sort of different from earlier versions.
First of, it only got one exported function which is SendPacket. XTEA function have been removed from being an exported function, I have got the impresion it was almost not used at all, but if its a function many need I or someone else can add it again. The SendPacket function now only got two parameters, ProcessID and Packet. This is the main use of the dll and I think it wasnt widly used to something else. Reason I did those changes is because I copied the function I use to send packets, with the parameters I have for it (works same as old SendPacket did, just some small changes). I hope this dont make to much problems, hopefully it even becomes easier for most of you. SendPacket function have been fixed to include the new checksum. Example codes. Delphi: Code: procedure SendPacket(ProcessID: Cardinal; Packet: Pointer); stdcall; external 'packet.dll';VB: (Thanks to Sketchy) Code: Private Declare Sub SendPacket Lib "packet.dll" (ByVal ProcessID As Long, ByRef Packet As Byte)C/C++: (Thanks to Stiju) Code: #include <windows.h>In general the parameters are first parameter: ProcessID (4 bytes big variable) second parameter: Packet (pointer to a byte array) As some might notice the Packet parameter in VB have changed, did this so the SafeArray parameter should not be needed to use. packet.dll and sources is attached |
|||
|
10-02-2008, 10:17 AM
Post: #2
|
|||
|
|||
|
packet.dll for 8.31
Thanks again, I'll test it as soon as I can.
Jo3 |
|||
|
10-02-2008, 10:21 AM
Post: #3
|
|||
|
|||
|
packet.dll for 8.31
thank you very much, i was waiting that
![]()
|
|||
|
10-02-2008, 10:34 AM
Post: #4
|
|||
|
|||
|
packet.dll for 8.31
sweet, thanks!
|
|||
|
10-02-2008, 10:39 AM
Post: #5
|
|||
|
|||
|
packet.dll for 8.31
"compile error:
Array argument must be ByRef" I'll try the old way and tell you if it still works.. |
|||
|
10-02-2008, 10:39 AM
Post: #6
|
|||
|
|||
|
packet.dll for 8.31
Cant edit last post, but hastily posted and forgot to give you a realy big thanks
|
|||
|
10-02-2008, 10:46 AM
Post: #7
|
|||
|
|||
|
packet.dll for 8.31
Azura, I love how you have reputation beyond repute.
![]() Question, I don't know anything about asm coding, and I was wanting to be able to call the 8.21 packet.dll with SendPacket821, 8.22 with SendPacket822, and 8.31 with SendPacket 8.31. I edited the SendPacket line in the asm code to SendPacket821, but when I call it it says there's no reference to it in packet.dll. If you could help me I would appreciate it. Jo3 |
|||
|
10-02-2008, 10:50 AM
Post: #8
|
|||
|
|||
packet.dll for 8.31
DarkstaR Wrote:"compile error:Damn VB ![]() Why must it be that -.- I dont have VB installed on my comp, but play around some with it and see if you can get it to work, else I fix the code Jo3Bingham Wrote:Question, I don't know anything about asm coding, and I was wanting to be able to call the 8.21 packet.dll with SendPacket821, 8.22 with SendPacket822, and 8.31 with SendPacket 8.31. I edited the SendPacket line in the asm code to SendPacket821, but when I call it it says there's no reference to it in packet.dll. If you could help me I would appreciate it.You need to change SendPacket both in the code and when you are compiling the code, so it exports the function as SendPacket821 |
|||
|
10-02-2008, 10:58 AM
Post: #9
|
|||
|
|||
|
packet.dll for 8.31
I hate you, lol
![]() Oh well... That won't keep me from trying on my own ![]() I'm planning on adding the CRC to the old packet.dll. Fantastic job man :icon6: Quote:GOD is a DJ |
|||
|
10-02-2008, 11:07 AM
Post: #10
|
|||
|
|||
|
packet.dll for 8.31
Public Declare Sub SendPacket Lib "packet.dll" (ByVal ProcessID As Long, ByRef Packet() As Byte, Optional ByVal Encrypt As Byte = True, Optional ByVal SafeArray As Byte = True)
Is what i was using and it crasehd vb alltogether, heh at least I saved. I'll play around with it and try to find a solution, I'll post here when I have, but if anybody finds one for this before I do i would appreciate the help
|
|||
|
« Next Oldest | Next Newest »
|

![[-]](images/mint/collapse.gif)








