| View previous topic :: View next topic |
| Author |
Message |
1337pwnage1337 Expert Cheater
Reputation: 0
Joined: 08 Oct 2008 Posts: 190 Location: last seen off the coast of hopes and dreams
|
Posted: Tue Feb 03, 2009 2:49 pm Post subject: [Q]Text Finder... |
|
|
is it possible to use a timer to search and see if text is on a web page, and if it is then click on it, and if not refresh the page until it finds some???
Well i do this thing called DragCave (http://dragcave.net/) and every time a "Rare Egg" appears it is gone before a SECOND IS UP!!! and i was wondering if i could make a thing that it refreshes the page until the egg i want appears, then click the image above the text is possible???
***I DONT CARE IF U THINK DRAGCAVE IS STUPID!!!*** _________________
|
|
| Back to top |
|
 |
SXGuy I post too much
Reputation: 0
Joined: 19 Sep 2006 Posts: 3551
|
Posted: Tue Feb 03, 2009 5:28 pm Post subject: |
|
|
each egg that appears of the page has a unique name, if you click one and its availible it will use a link like this
http://dragcave.net/get/Dscu
Dscu is the unique id for that particular egg.
If you manage to discover the unique id for the egg you are trying to find, then you could keep refreshing the page until it becomes availible. |
|
| Back to top |
|
 |
Localhost I post too much
Reputation: 0
Joined: 28 Apr 2007 Posts: 3402
|
Posted: Wed Feb 04, 2009 6:05 pm Post subject: |
|
|
The thing is, if you did that, the site would suspect you as a DoS attack (Denial of Service attack)...
They would block you VERY fast. _________________
|
|
| Back to top |
|
 |
1337pwnage1337 Expert Cheater
Reputation: 0
Joined: 08 Oct 2008 Posts: 190 Location: last seen off the coast of hopes and dreams
|
Posted: Wed Feb 04, 2009 7:19 pm Post subject: |
|
|
| localhost wrote: | The thing is, if you did that, the site would suspect you as a DoS attack (Denial of Service attack)...
They would block you VERY fast. |
Ya thats what i thought so can anyone help me get the eggs i want?@@@@@??@?@@?@?@?@? _________________
|
|
| Back to top |
|
 |
SXGuy I post too much
Reputation: 0
Joined: 19 Sep 2006 Posts: 3551
|
Posted: Thu Feb 05, 2009 6:08 am Post subject: |
|
|
DOS Attack would require refreshing the page something like every second, If you are afraid of being blocked because of this, then how do you imagine to be able to capture the egg you want?
Its a web game, meaning the only way to capture an egg is to refresh the page until you notice it, there is no other way of getting the egg.
Not only that, but when i tried the game i noticed over 300 players, chances are, the egg seems to be taken quickly because 1/300 people notice the egg first.
So either risk being blocked for DOS'ing, or give up.
And finally, how else do you think that the eggs are taken as soon as they appear? people are not physhic, they obviously refresh the page continously until they notice the egg.
Rather than refreshing the link i suggested, just set up a macro bot, which will refresh the main page every second or however long you think you should wait before rechecking, and then search for text for that egg, and when found, select it with your mouse.
Autoit can do it quite easily.
Something like this.
| Code: |
#include <IE.au3>
$oIE = _IECreate("http://dragcave.net")
$sMyString = "egg name full link text" //change!!
$oLinks = _IELinkGetCollection($oIE)
For $oLink in $oLinks
$sLinkText = _IEPropertyGet($oLink, "innerText")
If StringInStr($sLinkText, $sMyString) Then
_IEAction($oLink, "click")
ExitLoop
EndIf
Next
|
Thats the most basic example, you would need to edit it abit so that if the link is found and clicked, you then check to see if you gained the egg or not, and if not, repeat the process, but this should get u started. |
|
| Back to top |
|
 |
1337pwnage1337 Expert Cheater
Reputation: 0
Joined: 08 Oct 2008 Posts: 190 Location: last seen off the coast of hopes and dreams
|
Posted: Thu Feb 05, 2009 1:25 pm Post subject: |
|
|
Thanks but can i get it to click on the picture above the text? i had never heard of autoit until now so im new to it... _________________
|
|
| Back to top |
|
 |
NINTENDO Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Nov 2007 Posts: 1371
|
Posted: Sat Feb 07, 2009 6:11 pm Post subject: |
|
|
| 1337pwnage1337 wrote: | | Thanks but can i get it to click on the picture above the text? i had never heard of autoit until now so im new to it... |
if you know the cords.. but why would you do something like this? These kind of attacks costs the companies money you know.. bandwidth aint free. _________________
Intel over amd yes. |
|
| Back to top |
|
 |
|