• Welcome to Valhalla Legends Archive.
 

Sending Simple Ingame Packets.

Started by phvckmeh, March 31, 2004, 10:08 PM

Previous topic - Next topic

phvckmeh

alright im making sorta a stand-alone mod for DIABLO2
basicly what it will do is send that packet that displays the time over your head. ive already got that worked out, and i know what packet i need to send, but i need to know how to accutally send the packet ingame diablo 2

ive tried d2hackit but i really need to do this in VB

basicly what happens is ever 1 seconds, a timer goes off and i want it to send the packet (which i know already) to the server, this way i have a constant "clock" overhead

thx guys 8)

Eli_1

You need to use code injection, I'll try to find the article on it I found a couple weeks ago and post it here if I can.

Noodlez

You can use Adron's winsock hook OCX. I used to use it, it worked wonders.

phvckmeh

where can i find it? search returned nothing

Adron

Hmm... Well, I'm not sure where that is at. Where did you get it Noodlez?

Noodlez

Quote from: Adron on April 02, 2004, 09:48 AM
Hmm... Well, I'm not sure where that is at. Where did you get it Noodlez?
I'm pretty sure you gave me a link to it. One time Grok sent it to me, but it was missing a DLL and didn't work properly.

Adron


Adron

Quote from: Noodlez on April 02, 2004, 01:45 PM
Quote from: Adron on April 02, 2004, 09:48 AM
Hmm... Well, I'm not sure where that is at. Where did you get it Noodlez?
I'm pretty sure you gave me a link to it. One time Grok sent it to me, but it was missing a DLL and didn't work properly.

What's the date for your files?



Noodlez


phvckmeh


Adron

It should be possible to unpack them all, regsvr32 the ocx, edit the sample sources to match your configuration and then hit Run.

Tuberload

#13
Quote
thx now how would i use em??
Quote from: Adron on April 13, 2004, 03:50 PM
It should be possible to unpack them all, regsvr32 the ocx, edit the sample sources to match your configuration and then hit Run.

<headvysarcasm>Whoa, to much to fast...can't...absorb...information. ;D</heavysarcasm>
Quote"Pray not for lighter burdens, but for stronger backs." -- Teddy Roosevelt
"Your forefathers have given you freedom, so good luck, see you around, hope you make it" -- Unknown

Eli_1

#14
Quote from: Tuberload on April 13, 2004, 03:56 PM
Quote
thx now how would i use em??
Quote from: Adron on April 13, 2004, 03:50 PM
It should be possible to unpack them all, regsvr32 the ocx, edit the sample sources to match your configuration and then hit Run.

Whoa, to much to fast...can't...absorb...information. ;D
Translation:

1.) Unzip the source in "WinsockHookExamples.zip
2.) Start -> Run -> regsvr32 somepath\WinsockHook.OCX
3.) View source that comes with "WinsockHookSamples.zip"
4.) Edit it to fit your needs.
5.) Run it.