• Welcome to Valhalla Legends Archive.
 

VB6 0x0E Packet Help

Started by TriCk, June 23, 2004, 06:06 PM

Previous topic - Next topic

TriCk

[VB6]

Ok heres my problem,
I've tried about 2 different ways of sending the packet &HE, i'm trying to get speed, like those floods that u see that send 5 lines, i'd like to get that working with my ops bot, to integrate it into my bot if people want to ban people with different ways of sending the packets...

Thanks

Edit:

I've already tried these:


Buffer2 = Buffer2 & Chr(&HFF) & Chr(PacketID) & MakeWORD(Len(Buffer) + 4) & Buffer
If Form1.sck1(Index).State = sckConnected Then Form1.sck1(Index).SendData Buffer2
Clear2
Clear

Buffer2 is just another string, and Clear2 clears buffer2

If Form1.sck1(Index).State = sckConnected Then Form1.sck1(Index).SendData Chr(&HFF) & Chr(PacketID) & MakeWORD(Len(Buffer) + 4) & Buffer

Spht

#1
Quote from: TriCk on June 23, 2004, 06:06 PM
[VB6]

Ok heres my problem,
I've tried about 2 different ways of sending the packet &HE, i'm trying to get speed, like those floods that u see that send 5 lines, i'd like to get that working with my ops bot, to integrate it into my bot if people want to ban people with different ways of sending the packets...

Thanks

Edit:

I've already tried these:


Buffer2 = Buffer2 & Chr(&HFF) & Chr(PacketID) & MakeWORD(Len(Buffer) + 4) & Buffer
If Form1.sck1(Index).State = sckConnected Then Form1.sck1(Index).SendData Buffer2
Clear2
Clear

Buffer2 is just another string, and Clear2 clears buffer2

If Form1.sck1(Index).State = sckConnected Then Form1.sck1(Index).SendData Chr(&HFF) & Chr(PacketID) & MakeWORD(Len(Buffer) + 4) & Buffer


Are you saying that your send chat doesn't work?  If so, does Buffer (the chat message) contain a null terminator?  If not, add it.  Messages are typically null terminated.

TriCk

#2
Have u seen those floods come in spam 5 lines and leave?
I was wondering how that was done so quickly......
What way was the packet sent

R.a.B.B.i.T

With no delay.
Those packets are sent all at once, and usually don't go through other subs.  I've seen a few flood sources that insert the header, length, and data, then clear the buffer all in 1 foul swoop.  Also, floodbots don't use queues.

TriCk

Could someone possibly help with some example code?

Stealth

Quote from: TriCk on June 23, 2004, 10:44 PM
Could someone possibly help with some example code?

You've asked this in two threads now. Have you tried perhaps learning VB before spamming the forums with code requests?
- Stealth
Author of StealthBot

TriCk

#6
Stealth, I do, i just want to know if people have faster ways of sending that packet, and as for the other one, i've done trial and error atleast 20 times, with no good results....

These forums are the last thing i come to if i have a problem.

Blaze

#7
Don't most Spam bots use local hashes to save time with connection?
Quote
Mitosis: Haha, Im great arent I!
hismajesty[yL]: No

UserLoser.

Quote from: TriCk on June 23, 2004, 11:13 PM
... i just want to know if people have faster ways of sending that packet, ...

Disable use of nagel algorithm (see setsockopt) and don't use VB

Eric

#9
Quote from: UserLoser. on June 24, 2004, 12:59 AM
Quote from: TriCk on June 23, 2004, 11:13 PM
... i just want to know if people have faster ways of sending that packet, ...

Disable use of nagel algorithm (see setsockopt) and don't use VB

But VB is so elite :(

LordNevar

Quote from: LoRd[nK] on June 24, 2004, 02:57 AM
Quote from: UserLoser. on June 24, 2004, 12:59 AM
Quote from: TriCk on June 23, 2004, 11:13 PM
... i just want to know if people have faster ways of sending that packet, ...

Disable use of nagel algorithm (see setsockopt) and don't use VB

But VB is so elite :(

HAHA..... I can die happy now lol!

A good fortune may forbode a bad luck, which may in turn disguise a good fortune.
The greatest trick the Devil ever pulled, was convincing the world he didn't exsist.