Jump to content

scriptnub

Active Members
  • Posts

    23
  • Joined

  • Last visited

scriptnub's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. #include <IE.au3> #include <String.au3> $oIE = _IEAttach("http://www.immoral-attack.com", "url") If @error Then $oIE = _IECreate("http://www.immoral-attack.com") EndIf While 1 $oSubmit = _IEGetObjByName($oIE, "attack") _IEAction($oSubmit, "click") _IELoadWait($oIE) $String = _StringBetween(_IEBodyReadHTML($oIE), '<CENTER><A href="', '">Continue Slaying Monsters</A></CENTER>') If @error Then ClipPut(_IEDocReadHTML($oIE)) MsgBox("", "", "Error") Exit EndIf _IENavigate($oIE, "http://www.immoral-attack.com/" & $String[0]) WEnd I know absolutely nothing about coding but if anyone can help me convert this script to Chrome or FF i'd be greatly appreciative
  2. Well in my attempt to make a new script out of a previous one i already had i failed horribly #include <IE.au3> #include <String.au3> If WinExists("TORN CITY") Then $oIE = _IEAttach("TORN CITY") Else $oIE = _IECreate("http://www.torn.com") EndIf MsgBox("", "", "Press for start.") While 1 $oSubmit = _IEGetObjByName($oIE, "City") _IEAction($oSubmit, "click") _IELoadWait($oIE) $String = _StringBetween(_IEBodyReadHTML($oIE), '<CENTER><A href="', '">Cyber Force</A></CENTER>') If @error Then ClipPut(_IEDocReadHTML($oIE)) MsgBox("", "", "Error") Exit EndIf _IENavigate($oIE, "http://Torn.com/" & $String[0]) WEnd All i want this script to do is click 2 buttons continuously, the first button is "City" the second is "Cyber Force" please let me know how to fix this script.
  3. that did it... thank you
  4. The error occurs when I have a security check for the game. Once that happens the script closes and I'm forced to open the script again. When i open the new script it opens a new IE page to start the process over I'm wanting to start a new script without having to open a new IE page so I can use the page i'm already on
  5. #include <IE.au3> #include <String.au3> $oIE = _IECreate("http://www.immoral-attack.com") MsgBox("", "", "Press for start.") While 1 $oSubmit = _IEGetObjByName($oIE, "attack") _IEAction($oSubmit, "click") _IELoadWait($oIE) $String = _StringBetween(_IEBodyReadHTML($oIE), '<CENTER><A href="', '">Continue Slaying Monsters</A></CENTER>') If @error Then ClipPut(_IEDocReadHTML($oIE)) MsgBox("", "", "Error") Exit EndIf _IENavigate($oIE, "http://www.immoral-attack.com/" & $String[0]) WEnd This script was made for me a long time ago and I love it, only thing that could make it better is if instead of making me open a new page when the script Errors it just lets me keep the same page up and keep going from where it left off. Hopefully someone can assist me in making these changes thanks
  6. I'm not familiar at all with autoit and i would very much like to get a script made... its a very simple script, just slicking 2 buttons continuously and warning me when a security check comes up if anyone is able to help please contact me: yahoo: l7ez_nuts msn: email_account11@yahoo.com thank you
  7. I'm not familiar at all with autoit and i would very much like to get a script made... its a very simple script, just slicking 2 buttons continuously and warning me when a security check comes up if anyone is able to help please contact me: yahoo: l7ez_nuts msn: email_account11@yahoo.com thank you
  8. getting an error, anything else?
  9. Here is the original script: #include <IE.au3> #include <String.au3> $oIE = _IECreate("http://www.immoral-attack.com") MsgBox("", "", "Press for start.") While 1 $oSubmit = _IEGetObjByName($oIE, "attack") _IEAction($oSubmit, "click") _IELoadWait($oIE) $String = _StringBetween(_IEBodyReadHTML($oIE), '<CENTER><A href="', '">Continue Slaying Monsters</A></CENTER>') If @error Then ClipPut(_IEDocReadHTML($oIE)) MsgBox("", "", "Error") Exit EndIf _IENavigate($oIE, "http://www.immoral-attack.com/" & $String[0]) WEnd Everytime I get a security test, the script errors and in order for me to keep using it I have to relog. Being able to attach the script instead of create would be very helpful
  10. I tried ControlClick and it also couldn't click the "script-proof" button any other suggestion?
  11. Alright, I have the script made and it would work perfectly except for one thing. The two buttons are different, one will show it being clicked and one doesnt, the one that doesnt is having problems clicking. The game has had a history of scripters so they have made it as script proof as they can, but im sure theres a way to accomplish this, if you have some ideas PM me so i can send you the script, or add me to msn
  12. Still needing some help, feel free to add me. How do I get the script to click on the appropiate buttons?
  13. I'm trying to make a very simple script out of another script that I have that involves clicking one button, waiting about a second and then clicking another button continuously. I've never made a script and know absolutlely nothing about coding. I'm hoping someone will help me fix this problem Please add me to msn, l7ez_nuts@yahoo.com
  14. thats because this is a foreign language to me ... i still need advice on what to do with the top post this script was created as a _IECreate file... i changed the create to attach so that a new window doest pop up every time i turn it on... now when i start it i get an automatic error.... im wanting this to be resolved P.S. i did read the help file... as i said... doesnt make sense
  15. still needing help with this...any suggestions?
×
×
  • Create New...