Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[Q]Text Finder...

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
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

PostPosted: Tue Feb 03, 2009 2:49 pm    Post subject: [Q]Text Finder... Reply with quote

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
View user's profile Send private message AIM Address
SXGuy
I post too much
Reputation: 0

Joined: 19 Sep 2006
Posts: 3551

PostPosted: Tue Feb 03, 2009 5:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
Localhost
I post too much
Reputation: 0

Joined: 28 Apr 2007
Posts: 3402

PostPosted: Wed Feb 04, 2009 6:05 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
1337pwnage1337
Expert Cheater
Reputation: 0

Joined: 08 Oct 2008
Posts: 190
Location: last seen off the coast of hopes and dreams

PostPosted: Wed Feb 04, 2009 7:19 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
SXGuy
I post too much
Reputation: 0

Joined: 19 Sep 2006
Posts: 3551

PostPosted: Thu Feb 05, 2009 6:08 am    Post subject: Reply with quote

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
View user's profile Send private message
1337pwnage1337
Expert Cheater
Reputation: 0

Joined: 08 Oct 2008
Posts: 190
Location: last seen off the coast of hopes and dreams

PostPosted: Thu Feb 05, 2009 1:25 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Sat Feb 07, 2009 6:11 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites