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 


I started writing this script

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Random spam
View previous topic :: View next topic  
Author Message
clash of clans hacks
Master Cheater
Reputation: 63

Joined: 18 Jul 2007
Posts: 368
Location: Remember when we all used to put funny lines here?

PostPosted: Sun Jun 03, 2012 4:41 pm    Post subject: I started writing this script Reply with quote

Code:
; Opens PCO
Run("C:\Program Files\Pokemon Cyrus Online (11.3.2012)\Pokemon Cyrus Online.exe")

; Wait for game to load
WinWaitActive("Pokemon Cyrus Online Updater", "Play PCO")
Sleep(500)

; Selects play
Send("{tab}{tab}{Enter}")

; Enters password.
If WinExists("Pokemon Cyrus Online") Then
Sleep(10000)
WinActivate("Pokemon Cyrus Online")
WinWaitActive("Pokemon Cyrus Online")
Send("{tab}{enter}")
Sleep(500)
Send("{tab}")
Sleep(500)
Send("paswoord")
Sleep(500)
send("{enter}")
Sleep(1000)
Endif

; Starts game.
Send("{tab}{enter}")

; Waits for game to load.
Sleep(10000)
WinActivate("Pokemon Cyrus Online : www.pokecyrus.net")
WinWaitActive("Pokemon Cyrus Online : www.pokecyrus.net")

; Walks to high grass
Send("{DOWN down}")
Sleep(5000)
Send("{DOWN down}")
Sleep(1000)
Send("{DOWN up}")
Send("{RIGHT down}")
Sleep(3000)
Send("{RIGHT down}")
Sleep(2000)
If WinExists("", "Turn 1") Then
   WinActivate("", "Turn 1")
   WinWaitActive("", "Turn 1")
   
EndIf


Then I remembered I have no idea wtf I'm doing.
Back to top
View user's profile Send private message
Cheat Engine User
Something epic
Ban
Reputation: 61

Joined: 22 Jun 2007
Posts: 2071

PostPosted: Sun Jun 03, 2012 4:41 pm    Post subject: Reply with quote

I suggest you stop writing it.
Back to top
View user's profile Send private message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Sun Jun 03, 2012 4:42 pm    Post subject: Reply with quote

shit looks like something x0r came up with
Back to top
View user's profile Send private message
Aniblaze
Grandmaster Cheater Supreme
Reputation: 138

Joined: 23 Apr 2006
Posts: 1757
Location: The Netherlands

PostPosted: Sun Jun 03, 2012 4:42 pm    Post subject: Reply with quote

Yuck.
Back to top
View user's profile Send private message
potaters
Grandmaster Cheater
Reputation: 72

Joined: 13 Apr 2009
Posts: 969

PostPosted: Sun Jun 03, 2012 4:45 pm    Post subject: Reply with quote

what language is this, why does it look so simple.
Back to top
View user's profile Send private message
Cheat Engine User
Something epic
Ban
Reputation: 61

Joined: 22 Jun 2007
Posts: 2071

PostPosted: Sun Jun 03, 2012 4:47 pm    Post subject: Reply with quote

Slugsnack wrote:
shit looks like something x0r came up with

Nah x0r would add in comments which CPU you need to have at least, in gibberishly language to make him sound more interesting.
Back to top
View user's profile Send private message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Sun Jun 03, 2012 4:52 pm    Post subject: Reply with quote

Holland wrote:
Slugsnack wrote:
shit looks like something x0r came up with

Nah x0r would add in comments which CPU you need to have at least, in gibberishly language to make him sound more interesting.

or he'd probably use techniques he doesn't understand and misapply them
Back to top
View user's profile Send private message
Cheat Engine User
Something epic
Ban
Reputation: 61

Joined: 22 Jun 2007
Posts: 2071

PostPosted: Sun Jun 03, 2012 4:59 pm    Post subject: Reply with quote

I fucking hate do while.

The buttfuckery-ing bad thing was I actually NEEDED it once.

(Also, FindProcessForFags is not a good name for a function + he uses that, what's it called? hebrew? heweisnd? something kind of variable naming where you put the type in front of the name bVariable if it's a bool, but forgets to do it for ProcessEntry, tsk tsk. That kinda confirms too that he has no clue what he was doing and just copypasta'd it from dat msdn)
Back to top
View user's profile Send private message
Aviar³
Grandmaster Cheater
Reputation: 50

Joined: 03 Jan 2008
Posts: 655
Location: Canada

PostPosted: Sun Jun 03, 2012 5:33 pm    Post subject: Reply with quote

So...I shouldn't cast pointers? But, but, what about void*?
_________________
This is the inception of deception, checking the depth of your perception.
Back to top
View user's profile Send private message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Sun Jun 03, 2012 5:42 pm    Post subject: Reply with quote

Holland wrote:
I fucking hate do while.

The buttfuckery-ing bad thing was I actually NEEDED it once.

(Also, FindProcessForFags is not a good name for a function + he uses that, what's it called? hebrew? heweisnd? something kind of variable naming where you put the type in front of the name bVariable if it's a bool, but forgets to do it for ProcessEntry, tsk tsk. That kinda confirms too that he has no clue what he was doing and just copypasta'd it from dat msdn)

well i don't feel there's anything wrong with do while but i guess it's your own taste

i suppose the function name was him trying to be 'funny' and the term you're looking for is hungarian notation. it's common not to prepend for structure names though. see the msdn example. this is not to say it's good nor the correct way to use hungarian notation but nevertheless he is following convention in this case

Aviar³ wrote:
So...I shouldn't cast pointers? But, but, what about void*?

i was slightly inaccurate there actually. what i meant to say is that you should never cast from void * to other pointer types because void * can be implicitly, automatically and safely cast to any other pointer type (other than function pointers where it is undefined behaviour). as i stated in that post, there is a very good reason why this redundant casting should never, ever, EVER be done

casting pointers unnecessarily like how x0r did it is quite common practice amongst beginners who try to shut up the compiler (which clearly doesn't know what the fuck it's complaining about). the same people cast function pointers unnecessarily and fuck shit up

note this is the case for C, not C++ (another reason it is brain-damaged to treat the two as the same language)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Random spam 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