| 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?
|
Posted: Sun Jun 03, 2012 4:41 pm Post subject: I started writing this script |
|
|
| 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 |
|
 |
Cheat Engine User Something epic
Reputation: 61
Joined: 22 Jun 2007 Posts: 2071
|
Posted: Sun Jun 03, 2012 4:41 pm Post subject: |
|
|
| I suggest you stop writing it.
|
|
| Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Sun Jun 03, 2012 4:42 pm Post subject: |
|
|
| shit looks like something x0r came up with
|
|
| Back to top |
|
 |
Aniblaze Grandmaster Cheater Supreme
Reputation: 138
Joined: 23 Apr 2006 Posts: 1757 Location: The Netherlands
|
Posted: Sun Jun 03, 2012 4:42 pm Post subject: |
|
|
| Yuck.
|
|
| Back to top |
|
 |
potaters Grandmaster Cheater
Reputation: 72
Joined: 13 Apr 2009 Posts: 969
|
Posted: Sun Jun 03, 2012 4:45 pm Post subject: |
|
|
| what language is this, why does it look so simple.
|
|
| Back to top |
|
 |
Cheat Engine User Something epic
Reputation: 61
Joined: 22 Jun 2007 Posts: 2071
|
Posted: Sun Jun 03, 2012 4:47 pm Post subject: |
|
|
| 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 |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Sun Jun 03, 2012 4:52 pm Post subject: |
|
|
| 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 |
|
 |
Cheat Engine User Something epic
Reputation: 61
Joined: 22 Jun 2007 Posts: 2071
|
Posted: Sun Jun 03, 2012 4:59 pm Post subject: |
|
|
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 |
|
 |
Aviar³ Grandmaster Cheater
Reputation: 50
Joined: 03 Jan 2008 Posts: 655 Location: Canada
|
Posted: Sun Jun 03, 2012 5:33 pm Post subject: |
|
|
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 |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Sun Jun 03, 2012 5:42 pm Post subject: |
|
|
| 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 |
|
 |
|