DarknzNet (11-26-2016),Fla1194 (11-27-2016),mrtonyderp (11-26-2016),vizionplayyz (11-27-2016)
I was bored so I made this simple spammer
If you want to piss off the enemy team, type "/all gg ez" in the box
(I'm not responsible for any chat bans!)
Cred to me
Screenshot:
If you need two scrn shots, tell me.
Virus scans:
https://www.virustotal.com/en/file/5...is/1480186776/
https://virusscan.jotti.org/en-US/fi...job/btjow9hipa
DarknzNet (11-26-2016),Fla1194 (11-27-2016),mrtonyderp (11-26-2016),vizionplayyz (11-27-2016)
File is safe to use. Approved.
Last edited by DarknzNet; 11-26-2016 at 12:33 PM.
AzzyG (11-27-2016)
I'll also change the speed. It spams way to fast now. @ @DarknzNet , how do you add change speed buttons?
- - - Updated - - -
If no one knows, I'll just change the speed
. . . malsignature.com . . .
[ global rules ] [ scam report ] [ image title ] [ name change ] [ anime force ]
[ league of legends marketplace rules ] [ battlefield marketplace rules ]
"because everytime you post a picture of anime in here
your virginity's time increases by 1 month"
~Smoke 2/18/2018
Former Staff 09-29-2018
Battlefield Minion 07-21-2018
Premium Seller 03-04-2018
Publicist 12-10-2017
League of Legends Minion 05-31-2017
Premium 02-05-2017
Member 10-13-2013
Didn't find any threads in OP's code, Thread.Sleep would freeze the GUI thread.
Instead I suggest OP uses tasks: (instead of timers as well)
or even betterCode:const int DELAY = 5; public async void sendMsg(){ //send keys await Task.Delay(DELAY); }
Then, put it in a do{}while() or call it recursively (not sure if tasks can cause stack memory overflow, so I suggest do while loop)Code:const int DELAY = 5; public async void sendMsg(){ //Sometimes sendkeys runs too fast, give some delay SendKeys("{ENTER}"); await Task.Delay(DELAY); SendKeys(message); await Task.Delay(DELAY); SendKeys("{ENTER}"); await Task.Delay(DELAY); }
PS: code written without an IDE or testing, so excuse possible false syntax.
Last edited by New; 11-28-2016 at 02:21 PM.
New
Current Project:
SimpleExaltHack
Outdated stuff I made in the past:
Famebot
Clientless tradebot
RotMG ping checker
Zautonexus crack
DarknzNet (11-28-2016)
Only stupid ppl use Thread.Sleep() in the gui thread
Async isn't perfect.
Everything before await is beeing invoked in the gui thread what means that it isn't 100% new thread and still can freeze the gui
Create new thread instead
Async is good for button clicks etc.
If you use infinite loop use Thread.
You can always abort it
Last edited by Zaczero; 11-28-2016 at 02:34 PM.
. . . malsignature.com . . .
[ global rules ] [ scam report ] [ image title ] [ name change ] [ anime force ]
[ league of legends marketplace rules ] [ battlefield marketplace rules ]
"because everytime you post a picture of anime in here
your virginity's time increases by 1 month"
~Smoke 2/18/2018
Former Staff 09-29-2018
Battlefield Minion 07-21-2018
Premium Seller 03-04-2018
Publicist 12-10-2017
League of Legends Minion 05-31-2017
Premium 02-05-2017
Member 10-13-2013
Threads are an overkill for sendkeys, also, his code uses Sendkeys(textbox1.text) which would crossthread with the gui thread since it tries to access textbox1, and could cause a deadlock, if crossthread checking is disabled
Not to mention that closing the app doesn't always terminate the thread.
New
Current Project:
SimpleExaltHack
Outdated stuff I made in the past:
Famebot
Clientless tradebot
RotMG ping checker
Zautonexus crack
It doesn't terminate the thread because you don't set thr.IsBackground = true;
I would suggest adding textbox1 value change event to change global variable and then use this variable in the new thread without crash
Ofc there is a way to invoke it in the gui thread but it is quite inefficient
. . . malsignature.com . . .
[ global rules ] [ scam report ] [ image title ] [ name change ] [ anime force ]
[ league of legends marketplace rules ] [ battlefield marketplace rules ]
"because everytime you post a picture of anime in here
your virginity's time increases by 1 month"
~Smoke 2/18/2018
Former Staff 09-29-2018
Battlefield Minion 07-21-2018
Premium Seller 03-04-2018
Publicist 12-10-2017
League of Legends Minion 05-31-2017
Premium 02-05-2017
Member 10-13-2013
Afaik, op has a stop button, thus he doesn't want an infinite loop.
You can always abort it? Internally maybe, with the return keyword, but good luck with thread.abort
Throwing an exception to the thread is unstable, you don't know where the code will stop running. Sure, it doesnt matter in this certain program, but why be lazy and do it like that.
Tasks work just fine, sendkeys wouldnt freeze the GUI even if you run it on the GUI thread, it's very lightweight.
Last edited by New; 11-28-2016 at 02:41 PM.
New
Current Project:
SimpleExaltHack
Outdated stuff I made in the past:
Famebot
Clientless tradebot
RotMG ping checker
Zautonexus crack