frixionburne Posted December 22, 2006 Share Posted December 22, 2006 Im working ona script for grand Theft Auto: San Andreas. I have the function and the hotkey set up so when i open the program, i can hit the hotkey and start the script. the script inputs whatever codes I typed in for a way of putting in cheat codes faster than i can type them. this is what it looks like: CODE hotkeyset("{F1}", "start") while 1 sleep(100) wend func start() hotkeyset("{F1}", "start") sleep(1000) send("baguvix") sleep(500) send("fullclip") EndFunc the "baguvix" and "fullclip" sends are the two codes i have in right now. I tested in notepad to make sure the text was sent, which it was. In the game however, i can see the character moving as if i were pressing the keys, but the codes never activate. any ideas on what i can do to fix that? Link to comment Share on other sites More sharing options...
kindlin Posted December 22, 2006 Share Posted December 22, 2006 I know nothing about Grand Theft Auto: San Andreas but I'd think you would probably have to hit enter or something before you could start typing. Send("{enter}") Send("fullclip{enter}") is what I'd think you would actually have to do. If you have to hit some combination like "ctrl-x" like in simcity then use Send("^x") Send("fullclip{enter}") btw, "^" = ctrl, "!" = alt, "+" = shift Link to comment Share on other sites More sharing options...
frixionburne Posted December 22, 2006 Author Share Posted December 22, 2006 (edited) well, as far as the game goes, it doesn't require an {enter} press, however, ill try it just for shits and giggles. EDI: FIXED IT! the problem is that the game couldn't keep up with how fast the script was inputting keys. I added a delya after every key press and presto, cheat activated. Edited December 22, 2006 by frixionburne Link to comment Share on other sites More sharing options...
frixionburne Posted December 22, 2006 Author Share Posted December 22, 2006 BAH! now only works liek 10% of the time. ok so heres the criteria for the inputting of codes. 1) code is keypresses, there is no "chatbox" to input them in. More or less you enter game, type a few letters, and the code pops. 2) I've tried adding huge delays, delays even slower than a 5 year old with palsy would type, and that works maybe 10% of the time.... still open to suggestions. Link to comment Share on other sites More sharing options...
James Posted December 22, 2006 Share Posted December 22, 2006 How about you use hotkeys for both cheats? F1 does one cheat and F2 does another. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
HackerZer0 Posted December 22, 2006 Share Posted December 22, 2006 maybe some sort of anti-macro thingie is on san andreas... Earn money on CASHCRATE by sitting around doing nothing.. Link to comment Share on other sites More sharing options...
frixionburne Posted December 23, 2006 Author Share Posted December 23, 2006 maybe some sort of anti-macro thingie is on san andreas...that could be the problem, but i cant see why rockstar would put out a game with cheats....and then put an anti cheat in...ah well, looks like im writing it in c++ Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now