Jump to content

Cheating this Game


Recommended Posts

Trying to cheat at this game :):

http://www.miniclip.com/horse.htm

So I tried this code, but it doesn't make the horse move. Can anyone tell me why? Is there another/better way to send the keys?

HotKeySet ("^0", "Running")

While 1 
    sleep (100)
WEnd

Func Running ()

$x = 0
While $x < 75
    Send ("z")
    Sleep (100)
    Send ("x")
    
    $x = $x + 1
WEnd

EndFunc
Link to comment
Share on other sites

That should work fine, i can't test it atm but be sure that game has 'focus' before trying to send keys to it. ( I notice that even after it loads you have to mouse click inside the game box to give it focus)

Yea I did that, but it didn't work. Tested script in Notepad, and it does exaclty what it should, not sure why this doesn't work with the game.
Link to comment
Share on other sites

I've had some problems setting hotkeys on games while the game is in full screen mode. The only way I've been able to get around it is with _IsPressed. There are other ways around it with windows 2000+, if that is the problem, but I'm on windows 98 and as of yet I haven't found out anything that will help.

Nomad

EDIT: 0 for 2 today, I need to read more before posting, lol. Sorry.

Edited by Nomad
Link to comment
Share on other sites

dont know if this would work, but maybe ( if you have VB6.0, or if not i could make the thing? ) you can just add a flash control or a IE control, and then having it load JUST the flash game, it might work?, or be easier... once again, im a nobody, i know nothing ^^ thats about the extent of my VB knowledge...

# MY LOVE FOR YOU... IS LIKE A TRUCK- #
Link to comment
Share on other sites

Omgosh,.... whooped that game badly. Thanks for the help...

:)

HotKeySet ("^0", "Running")

While 1 
    sleep (100)
WEnd

Func Running ()
Opt ("SendKeyDownDelay", 100) 
$x = 0
While $x < 50
    Send ("z")
;Sleep (100)
    Send ("x")
        $x = $x + 1
WEnd
EndFunc
Edited by litlmike
Link to comment
Share on other sites

yeah this also worked for me

#include <Misc.au3>
HotKeySet("0","KICKASS")
while 1
    sleep(100)
WEnd

Func KICKASS()
While 1
    ControlSend("Horse Racin' - Miniclip.com - Mozilla Firefox","","","{x}")
    ControlSend("Horse Racin' - Miniclip.com - Mozilla Firefox","","","{z}")
    ControlSend("Horse Racin' - Miniclip.com - Mozilla Firefox","","","{Space}")
WEnd
EndFunc

Bored so i added jumping :)

Edited by thatsgreat2345
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...