n0n4m30wn Posted June 18, 2007 Share Posted June 18, 2007 (edited) my favorite forum has a section for spam where everyone can spam for fun. well yesterday the admin has started a contest for who spam the most win a prize. so i googled and try to find a way to auto spam. (better than manual click new post repeatly) and I found here. autoit gonnabe the most amazing program i ever seen, it simple and easy to use. now i know the basic but im not quite sure how does internet coding work. i want the script to work like this, open up firefox, go to website, log in, go to a section, click new post, reply (insert text here), submit, goto click new post for amount of times. *I WILL NOT USE THIS SCRIPT TO ABUSE OTHER SITE SUCH AS THIS* It for fun. I thanks you for helping me. im a n00b. edit: ok here the code. it fill in subject and the body then submit. suddenly it reload page with boxes blank. i think thta tthe error. no posts has been made. expandcollapse popup#include <IE.au3> #include <GUIConstants.au3> #NoTrayIcon Dim $URL Dim $ispammingnow = 0 GUICreate("Spam", 300, 110, -1, -1) GUICtrlCreateLabel("Subject : ", 5, 20, 50, 15) $subject = GUICtrlCreateInput("", 65, 20, 120, 18, $ES_AUTOHSCROLL) GUICtrlCreateLabel("Text : ", 5, 50, 50, 15) $text = GUICtrlCreateInput("", 65, 50, 120, 18, $ES_AUTOHSCROLL) GUICtrlCreateLabel("Times : ", 5, 80, 50, 15) $times = GUICtrlCreateInput("", 65, 80, 120, 18, $ES_AUTOHSCROLL) $ok = GUICtrlCreateButton("Ok", 195, 20, 100, 70, $BS_DEFPUSHBUTTON) GUISetState() While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE _IEQuit($URL) Exit Case $msg = $ok $URL = _IECreate("http://www.freeproxyserver.net/cgi-bin/cgiproxy/nph-proxy.pl/011110A/http/achieve360points.com/forums/viewforum.php?f=35&sid=652155f670a896403826cfcb75408c1e", 0, 1, 1, -1) $i = 0 Do $clickim = _IEImgClick($URL, "Post new topic", "alt", 0, 1) $oForm = _IEFormGetObjByName($URL, "post") $osubj = _IEFormElementGetObjByName($oForm, "subject") $setValue = _IEFormElementSetValue($osubj, GUICtrlRead($subject)) Sleep(1500) $otext = _IEFormElementGetObjByName($oForm, "message") $setValue = _IEFormElementSetValue($otext, GUICtrlRead($text)) $SUBMIT = _IEFormSubmit($oForm, 1) Sleep(5000) _IENavigate($URL, "http://www.freeproxyserver.net/cgi-bin/cgiproxy/nph-proxy.pl/011110A/http/achieve360points.com/forums/viewforum.php?f=35&sid=652155f670a896403826cfcb75408c1e", 1) $i = $i + 1 Until $i = GUICtrlRead($times) _IEQuit($URL) EndSelect WEnd c4nm7 works hard fixing the problem. hopefully you guys can help Edited June 18, 2007 by n0n4m30wn Link to comment Share on other sites More sharing options...
Uten Posted June 18, 2007 Share Posted June 18, 2007 (edited) Hey, I'm a nice fellow to. Why did you not post a link to the forum? EDIT: I really, really, really want to win that contest.. Edited June 18, 2007 by Uten Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling Link to comment Share on other sites More sharing options...
n0n4m30wn Posted June 18, 2007 Author Share Posted June 18, 2007 Hey, I'm a nice fellow to. Why did you not post a link to the forum?EDIT: I really, really, really want to win that contest..Lol. I would but i dont want members around here go and abuse the section too much ^.^ Link to comment Share on other sites More sharing options...
Gif Posted June 18, 2007 Share Posted June 18, 2007 my favorite forum has a section for spam where everyone can spam for fun. well yesterday the admin has started a contest for who spam the most win a prize. so i googled and try to find a way to auto spam. (better than manual click new post repeatly) and I found here. autoit gonnabe the most amazing program i ever seen, it simple and easy to use. now i know the basic but im not quite sure how does internet coding work. i want the script to work like this, open up firefox, go to website, log in, go to a section, click new post, reply (insert text here), submit, goto click new post for amount of times. *I WILL NOT USE THIS SCRIPT TO ABUSE OTHER SITE SUCH AS THIS* It for fun. I thanks you for helping me. im a n00b. well you ask a lot for a starter!!! anyway do you have any problem doing this with Internet Explorer, without the window being visible? if not then look at the helpfile for _IE fist step: $url = _IEcreate(your site in quotes, 0, 0, 1, -1) then look at _IEFormGetObjByName () an example of setting values : #include <IE.au3> $oIE = _IECreate ("http://www.google.com") $oForm = _IEFormGetObjByName ($oIE, "f") $oQuery = _IEFormElementGetObjByName ($oForm, "q") _IEFormElementSetValue ($oQuery, "AutoIt IE.au3") _IEFormSubmit ($oForm) Link to comment Share on other sites More sharing options...
n0n4m30wn Posted June 18, 2007 Author Share Posted June 18, 2007 well you ask a lot for a starter!!! anyway do you have any problem doing this with Internet Explorer, without the window being visible? if not then look at the helpfile for _IE fist step: $url = _IEcreate(your site in quotes, 0, 0, 1, -1) then look at _IEFormGetObjByName () an example of setting values : #include <IE.au3> $oIE = _IECreate ("http://www.google.com") $oForm = _IEFormGetObjByName ($oIE, "f") $oQuery = _IEFormElementGetObjByName ($oForm, "q") _IEFormElementSetValue ($oQuery, "AutoIt IE.au3") _IEFormSubmit ($oForm)Thanks. Can you explain little more of where to put forum name and such. Also I want to use firefox for it to open. Link to comment Share on other sites More sharing options...
Gif Posted June 18, 2007 Share Posted June 18, 2007 Thanks. Can you explain little more of where to put forum name and such. Also I want to use firefox for it to open.why firefox? by using IE you will do your job automated , without the window being visible if you want and it's the only choice cause autoitdoesnt have firefox automated (or if you are ready to write a script of 4000 lines to automate firefox using objects)to find help about _IE look at helpfile in scite Link to comment Share on other sites More sharing options...
n0n4m30wn Posted June 18, 2007 Author Share Posted June 18, 2007 (edited) why firefox? by using IE you will do your job automated , without the window being visible if you want and it's the only choice cause autoitdoesnt have firefox automated (or if you are ready to write a script of 4000 lines to automate firefox using objects)to find help about _IE look at helpfile in sciteuh the HELP button is not working Really it not. can you paste all the help in here? EDIT: nvm i foundit.lol EDIT2: I went to the help file, i cant find IE section. was i supposed to look in SciTE help file? cuz i was looking for it in auto3lib help. also i cannot open scite help file. Edited June 18, 2007 by n0n4m30wn Link to comment Share on other sites More sharing options...
n0n4m30wn Posted June 18, 2007 Author Share Posted June 18, 2007 Okay I understand it a bit. Can anyone make a simple script that does the following action: goto site, login (create a variable for yes&no), find section by name, new topic, fill in blank, submit, goto new topic, loop until # of times stop. This is new to me and all, I can understand it how it works but i cannot code it correctly because idw the correct format and such. I really appreciate for anyone willing to make this script for me. Also this will be the only time i ask for a person to create the whole script for me. This way i can look over it and understand it more and add/ modify it. Basically that is how I learn Also the Scite helpfile wont open. Then I can learn from there. Link to comment Share on other sites More sharing options...
Uten Posted June 18, 2007 Share Posted June 18, 2007 Try to open AutoIt.chm Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling Link to comment Share on other sites More sharing options...
Uten Posted June 18, 2007 Share Posted June 18, 2007 (edited) And yes, you do have the latest release? Edited June 18, 2007 by Uten Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling Link to comment Share on other sites More sharing options...
n0n4m30wn Posted June 18, 2007 Author Share Posted June 18, 2007 And yes, you do have the latest release?yea v3 Link to comment Share on other sites More sharing options...
n0n4m30wn Posted June 18, 2007 Author Share Posted June 18, 2007 Can anyone please create the script i kindly requested for above? Then after there, I can quickly learn and makes new scripts. Really I want to win the spam constest. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted June 18, 2007 Moderators Share Posted June 18, 2007 Can anyone please create the script i kindly requested for above? Then after there, I can quickly learn and makes new scripts. Really I want to win the spam constest. Yes there are many of us that "can" do that, and quite easily at as well .You won't get anyone of any quality that helps you here. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
n0n4m30wn Posted June 18, 2007 Author Share Posted June 18, 2007 Yes there are many of us that "can" do that, and quite easily at as well .You won't get anyone of any quality that helps you here.Acutually c4nm7 is working on it. I thank him. Link to comment Share on other sites More sharing options...
LuckyMurari Posted June 18, 2007 Share Posted June 18, 2007 did he say that he's working it for u? Link to comment Share on other sites More sharing options...
n0n4m30wn Posted June 18, 2007 Author Share Posted June 18, 2007 did he say that he's working it for u?by PM. he currently testing it. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted June 18, 2007 Moderators Share Posted June 18, 2007 by PM. he currently testing it.Then my point is made. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Fossil Rock Posted June 18, 2007 Share Posted June 18, 2007 Lol. I would but i dont want members around here go and abuse the section too much ^.^I have my suspicions ... just what site would encourage it's members to spam? Doesn't sound legit to me ..... Agreement is not necessary - thinking for one's self is! Link to comment Share on other sites More sharing options...
Gif Posted June 18, 2007 Share Posted June 18, 2007 Then my point is made. what are u helping him Link to comment Share on other sites More sharing options...
n0n4m30wn Posted June 18, 2007 Author Share Posted June 18, 2007 what are u helping him guy dont fight please lol. could any1 of u expert help with this script? so far 04nm7 has little success. yea it hard >> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now