Forum
 
Go Back   D3scene > Hot Games > Warcraft 3 forum > Warcraft 3 Support

Spambot Problem

This is a discussion on Spambot Problem within the Warcraft 3 Support forum part of the Warcraft 3 forum category; Hey! I'm making a Spambot atm (for fun only). You can customize up to 10 messages which will be displayed ...

Welcome on D3scene.com! Make sure to register - it's free and very quick! You have to register before you can post and participate in our discussions with 35000 other registered members. Downloads, user profiles and some forums can only be seen by registered members. After you create your free account you will be able to customize many options, you will have the full access to new hacks, latest cheats and last but not least will see no advertisements at all. We would love to see you around in our community!
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 08-04-2008, 08:57 PM
t0pcraft-'s Avatar
Hacker
 
Join Date: Jan 2008
Location: Under Your Bed
Posts: 177
Reputation: 38
Rep Power: 1
t0pcraft- is on a distinguished road
Question Spambot Problem

Hey!
I'm making a Spambot atm (for fun only).
You can customize up to 10 messages which will be displayed in the given order.
Now i thought: Why don't you make a feature that allows the Bot to spam the messages randomized, meaning they are not displayed in the normal order, but in a random one.
Well, the problem is: I don't find a proper function/ I don't know how to randomize it!
(I'm using AutoIt3.)

I created some input boxes in which the user can put some text, and declared them:
Code:
$msg1_input = GuiCtrlCreateInput("1st Message Text", 85, 86, 260, 20)
$msg2_input = GuiCtrlCreateInput("2nd Message Text", 85, 110, 260, 20)
...
To handle with them, i did the following thing:
Code:
$msg1 = GUICtrlRead($msg1_input)
$msg2 = GUICtrlRead($msg2_input)
...
Now, the Spambot works really fine, BUT JUST IN THE NORMAL MODE:
Code:
Func Spambot ()
    Select
    Case $mode = 1
        While $stop > 2
       // Not Important
        WEnd
    Case $mode = 2
        While $stop > 2
        Send(Random($msg1, $msg2, $msg3, $msg4, $msg5, $msg6, $msg7, $msg8, $msg9, $msg10))
        Send ("{ENTER}")
        Sleep ($interval)
        WEnd
    EndSelect
EndFunc
The red code is the problem code (the Random part)
(PS: $mode is only the mode which i declared earlier (Normal or Random))

I know: the 'Random' function has to be like this here:
Code:
Random(-10, 10, 1)  ; generate an integer between -10 and 10
but I don't know how to do that with my variables...

Can any1 help me please?
I will highly appreciate answers that help me.

Regards, t0pcraft-

Last edited by t0pcraft-; 08-05-2008 at 02:08 PM.
Reply With Quote
D3scene
Welcome to D3scene - probably the best location for all Gamers.

To participate in our friendly environment you have to register. After completing registration you will have full access to all threads and features. We care about members and try to make your stay as pleasant as possible. We are unique with the following feature for members - you will not see a single Advertisement!


The best: registration is completely free. It will not cost you a single penny or harm you in any way. You will lose nothing except 1 minute of your time. So why not register? We would be happy to see you around!
  #2  
Old 08-05-2008, 01:59 AM
X-FreeLoOsE-X's Avatar
I smell good, today...
 
Join Date: Feb 2007
Location: In My Bed !
Posts: 1,269
Reputation: 175
Rep Power: 2
X-FreeLoOsE-X has a spectacular aura aboutX-FreeLoOsE-X has a spectacular aura about
Send a message via MSN to X-FreeLoOsE-X Send a message via Skype™ to X-FreeLoOsE-X
I think there is no " Random " option in AutoIT v3 (even in the Beta). You should try Macro-Scheduler, you may found how to.
Reply With Quote
  #3  
Old 08-05-2008, 02:02 AM
t0pcraft-'s Avatar
Hacker
 
Join Date: Jan 2008
Location: Under Your Bed
Posts: 177
Reputation: 38
Rep Power: 1
t0pcraft- is on a distinguished road
Quote:
Originally Posted by X-FreeLoOsE-X View Post
I think there is no " Random " option in AutoIT v3 (even in the Beta). You should try Macro-Scheduler, you may found how to.
there is one, i posted it
Random(-10, 10, 1) ; generate an integer between -10 and 10

when i have to use macro scheduler, i have to remake EVERYTHING... what i dont want
any1 else help?


€dit #1:
I tried to do it myself.. and it kinda works, but i got 1 problem more regarding this

Code:
Func Spambot ()
    Select
    Case $mode = 1
        While $stop > 2
        // Not Important
        WEnd
    Case $mode = 2
        While $stop > 2
            $randommessage = (Random(1, 10))
            If $randommessage = 1 Then
            Send($msg1)
            ElseIf
            If $randommessage = 2 Then
            Send($msg2)
            ElseIf
            If $randommessage = 3 Then
            Send($msg3)
            ElseIf
            If $randommessage = 4 Then
            Send($msg4)
            ElseIf
            If $randommessage = 5 Then
            Send($msg5)
            ElseIf    
            If $randommessage = 6 Then
            Send($msg6)
            ElseIf    
            If $randommessage = 7 Then
            Send($msg7)
            ElseIf    
            If $randommessage = 8 Then
            Send($msg8)
            ElseIf
            If $randommessage = 9 Then
            Send($msg9)
            ElseIf
            If $randommessage = 10 Then
            Send($msg10)
            ElseIf
            Send ("{ENTER}")
            Sleep ($interval)
        WEnd
    EndSelect
EndFunc
this would be fine, i think... but there is one error:

"Wend" statement with no matching "While" statement.:

i really dont understand why it says its wrong.. because it is not!


€dit #2:

i reworked it, and now there is NO more error

the new function is like this:

Code:
Func Spambot ()
    Select
        Case $mode = 1
            While $stop > 2
            // Not Important
            WEnd
        Case $mode = 2
            While $stop > 2
                $randommessage = (Random(1, 10))
                    Select
                        Case $randommessage = 1
                            Send($msg1)
                            Send ("{ENTER}")
                            Sleep ($interval)
                        Case $randommessage = 2
                            Send($msg2)
                            Send ("{ENTER}")
                            Sleep ($interval)
                        Case $randommessage = 3
                            Send($msg3)
                            Send ("{ENTER}")
                            Sleep ($interval)
                        Case $randommessage = 4
                            Send($msg4)
                            Send ("{ENTER}")
                            Sleep ($interval)
                        Case $randommessage = 5
                            Send($msg5)
                            Send ("{ENTER}")
                            Sleep ($interval)
                        Case $randommessage = 6
                            Send($msg6)
                            Send ("{ENTER}")
                            Sleep ($interval)
                        Case $randommessage = 7
                            Send($msg7)
                            Send ("{ENTER}")
                            Sleep ($interval)
                        Case $randommessage = 8
                            Send($msg8)
                            Send ("{ENTER}")
                            Sleep ($interval)
                        Case $randommessage = 9
                            Send($msg9)
                            Send ("{ENTER}")
                            Sleep ($interval)
                        Case $randommessage = 10
                            Send($msg10)
                            Send ("{ENTER}")
                            Sleep ($interval)
                    EndSelect
            WEnd
        EndSelect
EndFunc
No More Error, Fine....BUT IT DOESN'T DO ANYTHING... What Should I Do?

F I N A L_ E D I T:

Forget about everything Not important anymore

[x] close

Last edited by t0pcraft-; 08-07-2008 at 07:28 AM.
Reply With Quote
  #4  
Old 08-14-2008, 08:57 PM
WinneR's Avatar
Wc3 + C & C RA3 Mod :)
 
Join Date: May 2008
Location: Denmark (Hilleroed)
Posts: 751
Reputation: 379
Rep Power: 2
WinneR is just really niceWinneR is just really niceWinneR is just really niceWinneR is just really nice
Send a message via MSN to WinneR
Well, i don't use spambot, but i hope you will get it to work
Reply With Quote
  #5  
Old 08-14-2008, 11:43 PM
t0pcraft-'s Avatar
Hacker
 
Join Date: Jan 2008
Location: Under Your Bed
Posts: 177
Reputation: 38
Rep Power: 1
t0pcraft- is on a distinguished road
the spambot is ready, i think i'll up it here at d3scene
Reply With Quote
D3scene
Welcome to D3scene - probably the best location for all Gamers.

To participate in our friendly environment you have to register. After completing registration you will have full access to all threads and features. We care about members and try to make your stay as pleasant as possible. We are unique with the following feature for members - you will not see a single Advertisement!


The best: registration is completely free. It will not cost you a single penny or harm you in any way. You will lose nothing except 1 minute of your time. So why not register? We would be happy to see you around!
Reply

Tags
autoit, bot, problem, spam, spambot

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem installing windows. Blarg Computer guides 2 06-16-2008 02:41 AM
Link Properties problem Kiel2k Mu Support 6 06-15-2008 04:28 AM
Hacking Problem Tiro Milagroso CS 1.6 Hacks 2 06-06-2008 08:09 AM
Problem Torian kel WoW Support 2 05-24-2007 10:53 AM
another wc hosting, but not like the other problem vi3tboy360 Warcraft 3 Support 6 04-15-2007 11:26 AM


All times are GMT +1. The time now is 09:02 AM.


vBulletin style developed by Transverse Styles
Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.

»About D3scene »Navigation