Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

Chat spammer

timer

  • Please log in to reply
16 replies to this topic

#13 Nonja

Nonja

    CC Lurker

  • Just Joined
  • Pip
  • 2 posts

Posted 09 February 2011 - 11:41 AM

You can add a me.hide() statement on the start button,but what should happen is it'll send the keys in the text box,for example if you have a chat text box selected after it's started then it will spam.

Lol adding me.hide() was a dirty trick, but well played... >-) haha. Anyway, I got the spammer to work. Can anyone give advice on how to change the time interval on the timer so it doesn't send a message every billionth of a second?

Edited by Nonja, 09 February 2011 - 12:14 PM.

  • 0

#14 CommittedC0der

CommittedC0der

    CC Leader

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1065 posts
  • Programming Language:C#
  • Learning:C#, JavaScript, PL/SQL

Posted 09 February 2011 - 12:24 PM

In the timer porperties change the interval value. The frequance is in milliseconds, so the ratio is 1000m = 1 second.
Or you can use this code.
timer1.Interval = 1000

~ Committed. :)
  • 1
There IS a war going on for your mind.
Nothing of eternal significance happens besides prayer.

#15 Demon

Demon

    CC Newcomer

  • Just Joined
  • PipPip
  • 18 posts

Posted 10 February 2011 - 06:23 AM

Try this and add a text box:

Timer1.Interval = Textbox2.Text x 1000 '1000 is one second

You can add whatever and make it whatever amount.
  • 0

#16 Silent_Viper

Silent_Viper

    CC Lurker

  • Just Joined
  • Pip
  • 4 posts

Posted 30 July 2011 - 04:09 PM

Would of been better with some pictures but anyways thanks.
  • 0

#17 CapitalA

CapitalA

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 01 May 2012 - 04:51 PM

the timer code you should use this code. Because some people cant use that code.. The Enter was not function.

Here the code:
SendKeys.Send(TextBox1.Text & "{Enter}")

To make it more advance, you can create a hotkey for it.

Make sure paste this code to add the function.

Paste it above your form code.

Here the ScreenShot.
Posted Image
The Code:
Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vkey As Long) As Integer


Now, Create 1 more timer and set the Timer Behavior Enable to True.

The Screenshot.
Posted Image

Paste this code on your Timer2.

Here the code for Hotkey:
Dim starthotkey As Boolean

Dim stophotkey As Boolean

Dim resethotkey As Boolean

starthotkey = GetAsyncKeyState(Keys.F1)

stophotkey = GetAsyncKeyState(Keys.F2)

resethotkey = GetAsyncKeyState(Keys.F3)

If starthotkey = True Then

Timer1.Start()

Else

If stophotkey = True Then

Timer1.Stop()

Else

If resethotkey = True Then

TextBox2.Text = ""

End If

End If

End If

End Sub

Hotkey:
F1 = Start
F2 = Stop
F3 = Reset

p/s: my spammer got a test box for test the spammer. so i create a reset hotkey for clear the test box.

You also can add the speed control.

Like This.
Posted Image



Add 3 RadioButton and paste the code at the radio button.

Posted Image

The Code:
Timer1.Interval = (100)

Timer1.Interval = (50)

Timer1.Interval = (1)

Information:
100 = Normal speed
50 = Medium speed
1 = Fast Speed!


This is my Spammer look like.
Posted Image

wanna try it? just download. Make sure dont change anything! because it was protected.

Attached Files


  • 0





Also tagged with one or more of these keywords: timer

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download