Results 1 to 4 of 4

Thread: VB6 - Basic Flood Protection

  1. #1

    Thread Starter
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    VB6 - Basic Flood Protection

    Well i made a basic chat client to connect to battle.net servers. Recently their has been heaps of updates so my bot has been discontinued. But here is the function its pretty basic.

    VB Code:
    1. Public Function SendData(Text As String)
    2. Form1.txtsend.Text = Form1.txtsend.Text + 1
    3. 'Basicaly, just adds one digit to the Flood Counter Txt
    4. 'Then sends the actual text through Clean Slate...
    5.  
    6. 'But if the FloodC is >= 1, then it'll wait until it
    7. 'drops back down to 0, before it proceeds to send
    8. 'more data.
    9. If Form1.txtsend.Text >= "1" Then
    10.    Do Until Form1.txtsend.Text = "0"
    11.        DoEvents
    12.    Loop
    13. End If
    14. DoEvents
    15. End Function

  2. #2
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,803

    Re: VB6 - Basic Flood Protection

    It would be nice to see it in action (to see where this code would be used)

    You should give an example

  3. #3
    Hyperactive Member boku's Avatar
    Join Date
    Dec 2004
    Posts
    386

    Re: VB6 - Basic Flood Protection

    Try this;
    Attached Files Attached Files
    -BoKu-

  4. #4
    New Member
    Join Date
    Aug 2009
    Posts
    9

    Re: VB6 - Basic Flood Protection

    working on server/client VB6 based games ? if ti works , please tell me how to use it

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width