Code:
LoginT = ex. nw_#@domain.com
PassT = Password
LCountT = 22
nvT = Neverwinter
vicT = @
#IfWinNotExist Silencer 2.0
F1::
Gui, Add, Text,, Login: use # in place of numbers
Gui, Add, Edit, w200 vLoginSS, %LoginT%
Gui, Add, Checkbox, checked vZero, Accs have leading zero? ie 01-09
Gui, Add, Text,, Pass:
Gui, Add, Edit, w100 vPass Password, %PassT%
Gui, Add, Text,, How Many Accounts:
Gui, Add, Edit, w50 vLCount, %LCountT%
Gui, Add, Text,, Window Title
Gui, Add, Edit, w100 vnv, %nvT%
Gui, Add, Text,, Victim:
Gui, Add, Edit, w150 vvictim, %vicT%
;Gui, Add, Checkbox, checked vUnignore, Unignore?
Gui, Add, Button, default, Silence...
Gui, Show,, Silencer 2.0
return
ButtonSilence...:
Gui, Submit
Gui, Destroy
LoginT = %LoginSS%
PassT = %Pass%
LCountT = %LCount%
nvT = %nv%
vicT = %victim%
StringSplit, LoginA, LoginSS, #
AIndex = 0
loop, %LCount%
{
WinActivate, %nv%
WinWaitActive, %nv%
CoordMode, Mouse, Relative
CoordMode, Pixel, Relative
AIndex++
If (Zero = 1)
{
If (AIndex < 10)
{
AIndex = 0%AIndex%
}
}
Loop ;looks for login button
{
ImageSearch,,, 0, 475, 300, 650, login.bmp
if (ErrorLevel = 0)
{
break
}
sleep, 500
}
MouseClick, left, % Random(20,300), % Random(305,330) ;clicks login field
sleep, 50
SendInput ^a ;selects all text
sleep, 50
SendInput, %LoginA1%%AIndex%%LoginA2% ;replaces text with current login
sleep, 50
MouseClick, left, % Random(20,300), % Random(410,435) ;clicks pass field
sleep, 50
SendInput, %Pass% ;enters password
sleep, 50
MouseClick, left, % Random(80,270), % Random(515,580) ;clicks login
sleep, 250
MouseMove, 400, 300
Loop ;looks for enterworld button to ensure on character select
{
ImageSearch,,, 560, 500, 760, 610, enterworld.bmp
if (ErrorLevel = 0)
{
break
}
sleep, 500
}
sleep, 250
MouseClick, left, % Random(550,750), % Random(530,610) ;clicks enter world
sleep, 250
MouseMove, 400, 300
Loop ;looks for health bar to ensure in game
{
ImageSearch,,, 200, 580, 600, 650, health.bmp
if (ErrorLevel = 0)
{
break
}
sleep, 500
}
sleep, 1000
SendInput, /
sleep, 250
SendInput, ignore_spammer %victim%
sleep, 400
SendInput, {Enter}
sleep, 500
; if(Unignore = 1) ;This section unignores the victim
; {
; SendInput, / ;frees up the ignore list so you can
; sleep, 250
; SendInput, unignore %victim% ;report them again after the 24hrs is up
; sleep, 400
; SendInput, {Enter} ;if you want to.
; }
sleep, 1000 ;waits 1s before starting to logout
SendInput, {Esc} ;stupidest fking logout sequence ever,
MouseMove, 410, 345, 2 ;but it should be working every time now
sleep, 200
Click
sleep, 250
MouseMove, 475, 360, 2
sleep, 250
Click
sleep, 500
MouseMove, 460, 370, 2
sleep, 250
Click
sleep, 1000
MouseMove, 400, 300
}
return
F2::Pause ;if something goes wrong, press F2 to stop
F5::Reload ;for editing purposes while script is running /save press F5
Random(min,max)
{
Random, out, %min%, %max%
return out
}
#IfWinActive, Silencer ;Closes Gui but keeps script running when pressing esc or the X
Esc::
Gui, Destroy
GuiClose:
Gui, Destroy
if you can handle 20+ at once version:
Code:
#IfWinNotExist Silencer
F1::
Gui, Add, Text,, Victim:
Gui, Add, Edit, w150 vvictim, @
Gui, Add, Text,, nv#:
Gui, Add, Edit, w50 vLCount, 22
Gui, Add, Button, default, Silence...
Gui, Show,, Silencer
return
ButtonSilence...:
Gui, Submit
AIndex = 0
SetTitleMatchMode, 3
loop, %LCount%
{
AIndex++
WinActivate, nv%AIndex% ;switch between neverwint windows
sleep, 500
send, /
sleep, 500
send, ignore_spammer %victim% ;report victim as spam
sleep, 500
send, {enter} ;send chat
}
Gui, Destroy
return
F2::Pause ;if something goes wrong, press F2 to stop
F5::Reload ;for editing purposes while script is running /save press F5
#IfWinActive, Silencer ;Closes Gui but keeps script running when pressing esc or the X
Esc::
Gui, Destroy
GuiClose:
Gui, Destroy
Press F1 to launch the gui