Typing Terror script help..

Discussion in 'Code Snippets and Tutorials' started by Will, Mar 24, 2009.

  1. Will

    Will Level IV

    Joined:
    Mar 1, 2009
    Messages:
    1,067
    Likes Received:
    53
    Code (Text):
    1. program TypingTerror;
    2.  
    3. begin
    4.  
    5. repeat;
    6.  
    7. Sendkeys('A');
    8. Sendkeys('B');
    9. Sendkeys('C');
    10. Sendkeys('D');
    11. Sendkeys('E');
    12. Sendkeys('F');
    13. Sendkeys('G');
    14. Sendkeys('H');
    15. Sendkeys('I');
    16. Sendkeys('J');
    17. Sendkeys('K');
    18. Sendkeys('L');
    19. Sendkeys('M');
    20. Sendkeys('N');
    21. Sendkeys('O');
    22. Sendkeys('P');
    23. Sendkeys('Q');
    24. Sendkeys('R');
    25. Sendkeys('S');
    26. Sendkeys('T');
    27. Sendkeys('U');
    28. Sendkeys('V');
    29. Sendkeys('W');
    30. Sendkeys('X');
    31. Sendkeys('Y');
    32. Sendkeys('Z');
    33.  
    34. until(false);
    35. end.
    and the other one:

    Code (Text):
    1.  
    2. program TypingTerror;
    3.  
    4. begin
    5.  
    6. repeat;
    7.  
    8. Sendkeys('A');
    9. Wait(10);
    10. Sendkeys('B');
    11. Wait(10);
    12. Sendkeys('C');
    13. Wait(10);
    14. Sendkeys('D');
    15. Wait(10);
    16. Sendkeys('E');
    17. Wait(10);
    18. Sendkeys('F');
    19. Wait(10);
    20. Sendkeys('G');
    21. Wait(10);
    22. Sendkeys('H');
    23. Wait(10);
    24. Sendkeys('I');
    25. Wait(10);
    26. Sendkeys('J');
    27. Wait(10);
    28. Sendkeys('K');
    29. Wait(10);
    30. Sendkeys('L');
    31. Wait(10);
    32. Sendkeys('M');
    33. Wait(10);
    34. Sendkeys('N');
    35. Wait(10);
    36. Sendkeys('O');
    37. Wait(10);
    38. Sendkeys('P');
    39. Wait(10);
    40. Sendkeys('Q');
    41. Wait(10);
    42. Sendkeys('R');
    43. Wait(10);
    44. Sendkeys('S');
    45. Wait(10);
    46. Sendkeys('T');
    47. Wait(10);
    48. Sendkeys('U');
    49. Wait(10);
    50. Sendkeys('V');
    51. Wait(10);
    52. Sendkeys('W');
    53. Wait(10);
    54. Sendkeys('X');
    55. Wait(10);
    56. Sendkeys('Y');
    57. Wait(10);
    58. Sendkeys('Z');
    59. Wait(10);
    60.  
    61. until(false);
    62. end.
    63.  

    Can anyone see anything wrong with these codes?

    I haven't tested them, just wanting to see if there's anything painstakingly obvious before I test. And also wanting to know which would be better to put on this site for download?


    -W
     
  2. jazzeh

    jazzeh Level I

    Joined:
    Jan 1, 2008
    Messages:
    144
    Likes Received:
    15
    I don't really consider it much of a script since it just spams the letters hoping to get one right. The accuracy bonus will never be more than 0%. There's no logic put into the script and I would ask for a refund if I paid even one point for it.

    It's like a script I had seen for evil fuzzles that clicked 30 spots on the screen hoping a fuzzle was there when it clicked. It would be extremely lucky if it clicked a bonus.. and because of that, the scores were terrible. You even had to turn it off when it was time to buy upgrades otherwise it would buy stuff you didn't want.
     
  3. Will

    Will Level IV

    Joined:
    Mar 1, 2009
    Messages:
    1,067
    Likes Received:
    53
    While it does simply spam letters, that is, essentially, the only way you can illegitimately finish Typing Terror, short of a Score Sender.

    I resent that there is no logic put into the script .. it will play Typing Terror, and will attain a score of, probably, ~2600. That is, an average score of completion (3600), minus the 200 point (?) bonus you would get for 100% accuracy (each round, so *5).



    If you can think of a way to automate playing Typing Terror, so that the script will variate the letters it uses according to the bots, which is impossible (I think), please tell me ;D
     
  4. jazzeh

    jazzeh Level I

    Joined:
    Jan 1, 2008
    Messages:
    144
    Likes Received:
    15
    I've seen this script many times already. Do a google search of "typing terror scar" and you'll find six that are all pretty much the same. It types if there are no robots on the screen. It types into scar if you pressed the start arrow on scar. It doesn't know, it doesn't care. It just spams all the letters.

    I've also tried the script before and it doesn't average 2600. In fact, I just got through running it 3 times and my highest score was 1689. The game is a lot of luck, hoping you get the broken bots. When you're really playing the game, you can choose to not destroy the lower scoring bots unless they're about to take your life. That's how you can boost your score.

    I decided long ago that a script to play typing terror would be too much trouble. There are trainers and score senders that do the job much better and there you don't have to worry about getting lucky with a lot of broken bots.
     
  5. Will

    Will Level IV

    Joined:
    Mar 1, 2009
    Messages:
    1,067
    Likes Received:
    53
    I guess I won't release it then.

    There's no way I can make it to even compare to the ease of just generating a score in it.
     
  6. jazzeh

    jazzeh Level I

    Joined:
    Jan 1, 2008
    Messages:
    144
    Likes Received:
    15
    SCAR scripts aren't favored because of the speed and ease of score sending. I still prefer SCAR because it actually plays the game. Plus there's the challenge of writing a script that plays the game like a human. I've written a couple scripts. Trouble at the National Neopian, Eye of the Storm, Techo Says, Sutek's Tomb, The Castle of Eliv Thade, just to name a few. I had a working one for Shenkuu Tangram but they changed the game size and I haven't adjusted the script. I also worked on Time Tunnel and Bouncy Supreme but those proved to be too much math for me.

    I still have a Neggsweeper player but it was written to work on the old layout and my Firefox setup. Greasemonkey does the job much better and you can actually do other things while the game is being played.

    I think it's great that your trying to automate the game. Perhaps you can add in a findcolor check and have it press the spacebar between levels. I can see reading the letter on the boss but that's about it.
     
  7. Will

    Will Level IV

    Joined:
    Mar 1, 2009
    Messages:
    1,067
    Likes Received:
    53
    That's why I prefer SCAR scripts to score sending as well. It's much harder to detect the use of a SCAR script, considering it is actually playing the game for you, and hence giving you a viable playing time.

    This is about my 20th script for SCAR. I wrote a lot of scripts for RuneScape when I played that - mostly for friends who wanted to 'macro' and auto-train, who would give me a percentage of their takings for making the script allowing them to do so.

    I might try messing around with this script a bit more, but for now I'd say it's going to be incredibly hard, and a lot of work, for something that won't measure up to score sending. :/