joekiller/ps99-loot-loop-ahk-macro

Pet Simulator 99 AutoHotkey 2 Macro

★ 0Forks 0AutoHotkeyGitHub ↗Compare

README

ps99-loot-loop-ahk-macro

Pet Simulator 99 AutoHotkey 2 Macros

About

The primary file to focus on is LootLoop.ahk, anything else was just experimenting or unfinished.

To use the macro, install AutoHotkey 2 and then load LoopLoop.

As the game has evolved or had events, some of the macros are less useful than others but they remain as examples. BigGames almost always recycles elements of events so the pieces from the past typically could be repurposed later on.

The macro is designed to be as maximally interruptible as possible. This means most logic is very fast and pauses are executed through async SetTimer calls.

Usage

Scale your Petsim window to the minimum size, 800x600.

  • F4 to cycle through modes.
  • F3 to start and stop the macro.
  • F5 toggles and then enables or disables 'click click' mode.

Modes

The macro has the following modes:

  • LootMode - focuses on spending keys or spinny wheel tickets. Most useful for the wheels, at this point. When in LootMode and it is enabled, the macro will detect if the user it trying to 'loot' something and rapidly continue it.
    • For wheels, spin once and then enable loop mode and it'll keep spinning until you run out of tickets.
    • For Area 33 (Wild West), enter the secret key area and claim the prize once and then once you exit, turn on LootMode and it'll continue to enter and pick the middle chest.
    • For chests it'll hit e every 5 seconds to spend all the keys but since BigGames allowed opening 100 at a time, this isn't as useful or needed anymore.
  • ClickClickMode - when in click click it will start disabled and then if you click it enable and continue clicking ever 10ms until you click again. This is useful for those massive piles of items that don't allow opening 100 at a time. It's useful on those that do as you can AFK open nearly everything. Obviously useful for anytime you want to click like in a chest raid and nav while it clicks.
  • MultiChestMode - this is intended for if you had multiple windows all opening chests at the same time. it'll pick the least recently used roblox window, hit e to open the chest, and move on to the next one.
  • MerchantClickMode - this was for the RNG event to keep buying dice. it's a good example of an advanced (for me) macro; and that's about it.
  • DingDingMode - this will just hit 0 over and over. bind 0 to an item you want to open over and over and it'll just keep spamming the key.
  • StairwayMode - this just walks the stairway to heaven and spam hits E.
  • EButtonHuntMode - spam hit E over and over. If there is an event where you need to press E to claim stuff, you can walk around the map and just pick everything up as you get close, just watch those eggs.

JumpingBean Modes

JumpingBean modes are multi-window anti-idle. When enabled, the macro will activate the least recently used roblox window, then do a sequence of keypresses to kill the idle timer and activate ultimates.

  • press down space for 100 ms and release it, The jump is good for anti-idle.
  • press r over and over for 4 seconds. The r will trigger ultimates if you are hatching as most hatch sequences last <4s.

of the modes, FastJumpingBeanMode is the most useful if you are running alts.

  • JumpingBeanMode - Switches windows every 30 seconds.
  • FastJumpingBeanMode - same as jumping bean but moves to next window once it finishes.
    • while FastJumpingBeanMode is enabled, a 10 minute timer will start and unless F3 is hit to reset the timer, it'll spam that the timer has expired. This is helpful when you might be AFK typically but come back and use the PC for a while. The timer will remind you, "oh hey, don't wanna time out here right?" So, just hit F3 2x for however many windows you have and have it cycle through making everyone jump; killing afk timers and resetting the reminder.
  • SweepJumpingBeanMode - sweeps the mouse starting in the upper left, to the upper right, down, back left, and up which is useful when you need autotap to destroy all the breakables. Lasts ~5 sweeps before going to the next
  • FastSweepJumpingBeanMode - same as previous but just one sweep

Notes

  • the OCR never worked for me; but I didn't try hard.
  • I no longer play this, so don't expect updates.

Contributors

joekiller

Issues