Results 1 to 3 of 3

Thread: AutoHotKey script for Dice Escape

  1. #1
    Alienator's Avatar
    Joined
    Jun 2012
    Posts
    71
    Pronouns
    he/him
    Userbars
    6
    Thanks
    50
    Thanked
    64/27
    DL/UL
    20/0
    Mentioned
    3 times
    Time Online
    3d 8h 3m
    Avg. Time Online
    1m

    AutoHotKey script for Dice Escape

    So I've been recently trying to semi-legit some avatars and high scores for flash and shockwave games, and happening upon Dice Escape, I realized the opportunity to just build a key-pusher script.

    I used Jellyneo's Dice Escape guide ([Only registered and activated users can see links. ]) and wrote three different scripts that all play the game at slightly different speeds based on the pauses between simulated key presses.

    All that you have to do is install AutoHotKey to your computer, and download this glorified txt file (it is labeled .AHK to be runnable by AutoHotKey). Once you launch the hotkey script, login to your neopets account in the browser you use to play shockwave games in (not just flash, as Dice Escape is one of the few games that specifically requires an older version of shockwave), and open the dice escape game. Once you are on the main menu screen, as soon as you hit "Start Game", press "Alt+J" on your keyboard to activate the AutoHotKey script trigger. As soon as you hit this key combo, the script will begin putting in a sequence of arrow key presses and space bar presses to advance to the next level. The one hitch that I have run into is with level 2: Occasionally (Read as 1 in 20-ish times) the teleporter is flopped to the opposite side from usual and this throws off my hardcoded script. If this occurs, kill AutoHotKey from your task bar, end the game to get back to the main menu, relaunch the hotkey script, and try again.

    It seemed to be pretty reliable from my testing last night and I easily could have replaced any of the current high scores posted (especially considering how few people are actually playing the shockwave games).

    When I wrote two subsequent alterations of the script to speed it up slightly, the final and fastest script occasionally had some hitches where the game would lag for a moment but the script would continue running, causing certain keystrokes to be missed as inputs by the game. In those cases, I just restarted the game and then tried again.

    I've attached the three scripts that I ended up with. Hopefully these will help someone who has shockwave running but needs a little help with the actual playing of the game. I know many people are just AoB'ing these games, but this was just a fun way for me to try and set up a semi-legit way to get this particular game's avatar and trophy.

    Rename them from .txt to .ahk and Have fun!

    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]

    Thanks @Iscariot for such an
    awesome drawing of one of my pets!

  2. The Following 5 Users Say Thank You to Alienator For This Useful Post:

    Flordibel (1 Week Ago),j03 (1 Week Ago),♥ kittyray ♥ (1 Week Ago),Unown (1 Week Ago),♥ ZeroTwo ♥ (1 Week Ago)

  3. #2
    Unown's Avatar
    Joined
    Mar 2020
    Posts
    1,023
    Userbars
    27
    Thanks
    988
    Thanked
    2,528/618
    DL/UL
    55/2
    Mentioned
    105 times
    Time Online
    26d 22h 30m
    Avg. Time Online
    49m
    This is quite amazing!

    I didn't test it myself - but do take note of those levels where you have to wait for the platforms to raise/lower before being able to step on them and any keystroke done while waiting would not count as movement. (I play it manually and sometimes get screwed over by that when I do not look carefully)

    I think everyone's computer works differently and sometimes IE/Safari lags a little more especially since it's on older versions.

    But other than that, nice!


    NEOPETS GUIDES
    Spoiler:

    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]


  4. The Following 2 Users Say Thank You to Unown For This Useful Post:

    Alienator (1 Week Ago),♥ ZeroTwo ♥ (1 Week Ago)

  5. #3
    *hair toss*
    Flordibel's Avatar
    Joined
    Jun 2017
    Posts
    1,992
    Pronouns
    She/her/hers
    Userbars
    57
    Thanks
    2,506
    Thanked
    7,920/1,560
    DL/UL
    48/0
    Mentioned
    298 times
    Time Online
    65d 17h 35m
    Avg. Time Online
    52m
    Thanks for publishing an AHK script! I love AHK and use it for emoji insertion (lol, sometimes it's just easier than the Win + . command), so this is awesome and utilizes a program I already run! Awesome!
    [Only registered and activated users can see links. ]

    Please do not DM me on Discord unless you are requesting verification. My cK PMs are open if you are in need of assistance.

    Spoiler:


    "View of Flor from below" - Bat, 2021

  6. The Following User Says Thank You to Flordibel For This Useful Post:

    Alienator (1 Week Ago)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •