Pause 1.0.5

Please do not ask when mod authors will update their mods to 3.9.X
Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.

A simple SPT mod which allows you to pause the game including the raid timer.

⏸️ Pause
A simple SPT mod which allows you to pause the game including the raid timer. Press P to pause.


Mostly cobbled together from Kobrakon's Take a Break as a learning exercise.


Works with SPT-AKI versions:

- 3.7.1

- 3.7.0

- 3.6.1

- 3.6.0

- 3.5.8


[tabmenu]


Support

If you'd like to support development & future projects, please consider visiting my ko-fi page.


Screenshots

These don't show much, but you can at least see that the raid timer shows PAUSED when active.


p1.png


p2.png

  • Version 1.0.5

    Updated for 3.7.1


    - Day/night cycle should be getting paused again


    Installation Notes

    - Please make sure you don't have any previous Pause mods installed.

    - Unzip the dll into your [SPT]\BepInEx\plugins folder

  • Version 1.0.4

    Updated for SPT-AKI 3.7.0. I haven't personally tested this against 3.7.1 yet, but some people are reporting that it is working.


    Just FYI there were quite a few changes for 3.7.0, so please let me know if you encounter any issues.


    If you encounter any issues:

    1. Can you reproduce the issue with only my mod installed?

    2. PM me your BepInEx\LogOutput.log file.


    Installation Notes


    - Please make sure you don't have any previous Pause mods installed.

    - Unzip the dll into your ([SPT]\BepInEx\plugins) folder

  • Version 1.0.3

    This release includes some changes to prevent issues people have been experiencing with disappearing corpses and hit detection breaking, which seem to be related to ragdolls.

    • As part of the work around, bot players will now be invisible while paused, but their guns will remain. This is intended for now.
    • Heavily tested with the Visceral Bodies mod for compatibility
  • Version 1.0.2

    • Added support to pause day/night cycle
    • Added a build compatible with SPT-AKI 3.5.8

    Installation notes

    Mostly the same as before, just unzip the copy of Epi-Pause.dll from the version folder according to the SPT-AKI version you are running.

    SPT-AKI 3.5.8

    Unzip the Epi-Pause.dll found in the 3.5.8 folder to your ([SPT]\BepInEx\plugins) folder.

    SPT-AKI 3.6.0 - 3.6.1

    Unzip the Epi-Pause.dll found in the 3.6.0-3.6.1 folder to your ([SPT]\BepInEx\plugins) folder.

  • Version 1.0.1

    You probably don't need to worry about upgrading to this version, but it's here just in case.

    • Disabled pausing while in the hideout to prevent some errors and a bug where you could inadvertently pause while typing in the flea market after entering the hideout.
  • Version 1.0.0

  • Oh WOW yes! This works so Well!

    I paused mid scav-raid to go cook lunch and eat with the wife...

    Over an hour, returned, resumed, finished raid with all that good airdrop loot i had on board.

    Great test!

    Worked perf, bro. Thanks so much!!

    Heart 1
  • Please make this happen for 3.8! Dads (& moms?) around the globe need this more than anything else! <3


    Withness me, this functionality should be part of the AKI by default!

    • His las activity is Dec 2023.. :(
      Maybe someone could take over from him? :) pls

    • Word! Sadly, I dont think we will see a 3.8 version on this, as the author has been online december '23 last, but a pause-mod would be HUGELY appreciated!

    • Fine, I'll do it myself.


      Did not changed anything significant, just made sure it is working with 3.8.0. All credit goes to epidemicz & yahkub.



      https://github.com/nyrus06/Pause/releases/tag/v1.0.6-aki.380

      Heart 1 Thumbs Up 2
    • So it works for 3.8 @nyrus?

    • Yupp @Slevinn, I also uploaded as a separate mod for wider visibility. (Points to the same repo as above.)

      Heart 1
  • Love to have this mod on 3.8! ;)

    • It works on 3.8, but the timer is 0:00:00 from the start, and dosnt show exits when i press the button.

    • Author's last activity is on Dec 2023, you probably wont have any update. :|

      Crying 1
  • Had an issue just now, paused for 20ish minutes, when unpaused i was immortal, couldn't pick up any items or search anything and enemies would become immortal too, as if bullets didn't even hit either of us.

  • I used the pause button for like 30minutes in interchange and I end-up losing as if the time run out with I unpaused. well, I don't know why

  • I attempted to fix the mod for 3.7.6, seems to be working for me, version is up here (and made a pull request):

    https://github.com/Yahkub-R/Pause

    • Hi, I downloaded and ran your version and it seems to work well! Only one odd thing to note, in one raid where I paused for several minutes, I found a PMC just crouched and seemingly unable to detect my presence. I could walk right up to his face and he just sat there, so I popped him in the face. But other AI bots were fine, so that might have been a bug from another mod.

      Anyway, just wanted to say thanks for picking up this mod where the others left off! Cheers!

      Heart 1
    • hi.. i run on 3.7.6 but when i press (P) the game seems pause and the time seems paused but after 5 min when i come back the time is 5 min less...any solution?

    • Newb question, but when going to that github link, what is it I'm supposed to be adding where?

      Appreciate any assistance!

    • To Uberchemist: I've had that same thing happen with Take a Break as well...

    • Timer isn't pausing still for me

  • I would pay for someone to update this to 3.7.6 and fix the raid timer!!

    Thumbs Up 4
    • Yeah.

      Plenty of times where I was in an intense firefight and suddenly having to answer my phone or take bio break and I was forced to let my PMC die so I could go (insert important thing here).

    • Gave it a try, the timer still doesn't pause atm

  • Installed the mod and on the main menu it said that a plugin failed to activate and to check the console. Nothing was wrong in console so i assumed i downloaded the wrong version. Downloaded the older version and now my game refuses to launch the server with or without the mod installed.


    The application had a critical error and failed to run

    Exception produced: Error: Cannot inject the dependency at position #1 of "Watermark" constructor. Reason:

    ENOENT: no such file or directory, scandir 'Aki_Data/Server/configs/'


    Stacktrace:

    Error: Cannot inject the dependency at position #1 of "Watermark" constructor. Reason:

    ENOENT: no such file or directory, scandir 'Aki_Data/Server/configs/'

    at C:\snapshot\project\node_modules\tsyringe\dist\cjs\dependency-container.js:324:23

    at Array.map (<anonymous>)

    at C:\snapshot\project\node_modules\tsyringe\dist\cjs\dependency-container.js:295:38

    at InternalDependencyContainer.construct (C:\snapshot\project\node_modules\tsyringe\dist\cjs\dependency-container.js:297:11)

    at InternalDependencyContainer.resolveRegistration (C:\snapshot\project\node_modules\tsyringe\dist\cjs\dependency-container.js:166:51)

    at InternalDependencyContainer.resolve (C:\snapshot\project\node_modules\tsyringe\dist\cjs\dependency-container.js:109:33)

    at Program.start (C:\snapshot\project\obj\Program.js)

    at Object.<anonymous> (C:\snapshot\project\obj\ide\ReleaseEntry.js)

    at Module._compile (pkg/prelude/bootstrap.js:1926:22)

    at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)

    Press Enter to close the window

    • Even after grabbing a friends config folder and replacing mine has not fixed anything. Seems I'm just forced to do a full reinstall :/

    • that is odd maybe something got messed up in the files not sure but ya i make a backup of spt everytime incase something like this happens

  • Everything is stopped, but not the raid time. Aki 3.7.3

    • the same thing, I used to have a mod on long raids and I didn’t notice it, but I literally just had to give up and I calmly paused it, and when I saw that there were 20 seconds left in the raid I was a little shocked)) (aki 3.7.6)

  • Looks like pausing the game causes a memory leak, which leads to a game crash (the time before that happens depends on the amount of RAM installed).

    • Can confirm, very short pauses are manageable but RAM use baloons quickly.

      Ram gets freed after the game is closed.

  • A few times now after pausing it seems an awful lot like all bots i encounter either can't see me or are trying to shoot me through walls.

  • Hi bro many people said but i want too, your mod doesn't pause raid timer i paused hen i come back and unpaused the game but said MIA. can you fix it?

    • I can confirm this issue. Stepped away for an appointment and returned to 1 min left in raid.

    • I left to get pizza for dinner and my game immediately ended, ALT F4'd as an attempt not to lose my stuff and I went MIA


      win !

  • Ive been getting very bad performance after pausing for more than a minute or so. On Reserve Ive had multiple instances of 1 frame per 5+ seconds, and recently I paused on Interchange and after coming back after maybe 2 minutes my game crashed trying to unpause.


    It seems I can safely pause for very very short instances, like maybe 5-10 seconds. But every time its more than a quick pause my performance renders the game unplayable.

    • Not sure if relevant but this was in my server log after the interchange crash. Although I cant tell when it happened in relation to the crash


      [Client Request] /announce?info_hash=%f9%83%ff%9e%90%eb%ba)%9b%e2%2b%a3%a5jW%13%9c%f7-%01&peer_id=-qB4600-4k)5-v(PEIlU&port=2833&uploaded=2737515&downloaded=5297657544&left=86813704192&corrupt=0&key=DFF41B18&event=started&numwant=200&compact=1&no_peer_id=1&supportcrypto=1&redundant=122255921

      [UNHANDLED][/announce?info_hash=%f9%83%ff%9e%90%eb%ba)%9b%e2%2b%a3%a5jW%13%9c%f7-%01&peer_id=-qB4600-4k)5-v(PEIlU&port=2833&uploaded=2737515&downloaded=5297657544&left=86813704192&corrupt=0&key=DFF41B18&event=started&numwant=200&compact=1&no_peer_id=1&supportcrypto=1&redundant=122255921]

  • Raid timer does not pause, I tested it multiple times and time still passes while your mod "pauses"

    • Yeap can confirm, I paused and had to go somewhere for 15 mins, came back, unpaused and immediately got sent to the missing in action screen.

  • I paused the game on shoreline, but unfortunately when I unpaused the raid it had been over for 1 hour and it marked me as dead

    • The same thing happened to me :/

    • I also tested this and can confirm that the raid timer still run when should be paused.

    • same here left cause i needed something to eat came back flag me as mia

  • Found out raising the time while using SVM will keep the time running while its paused. So just a heads up,

    • If you don't touch the raid timer in svm, will the pause mod pause the raid timer then?

    • No I had svm raise raid time first before I got the pause mod. After I moved the timer back to normal. The raid timer would pause with the game.

    • I don't have this issue, I had raised the raid time to 3H, and all works fine.

  • Looks like once paused, then unpaused, bots are unkillable/unlootable.

    Anyone else running into this issue? Could be clashing with SAIN/Swag+Donuts or something like that, not sure.

    • I have the same issue, though not all the time. I've also noticed that some things can't be interacted with after unpausing (I dropped my backpack before pausing, after pausing went back to pick it up and it acted like a static object, no way to take or search it).


      I'm aslo running SAIN/Swag+Donuts.

    • I have the same issue.

  • [Error] : 1 plugin failed to load due to errors:


    [Error] : Plugin [PAUSE 1.0.5] targets a wrong version of BepInEx (5.4.22.0) and might not work until you update


    im in SPT 3.7.0 and this error show up

    • 1.0.4 is for 3.7.0, not 1.0.5

    • thanks , i dont know is only for 3.7.1

  • I am not a modder, so I do not know if this is asking too much, i noticed that you fixed the time not stopping while paused, is it possible to make a skyrim style wait system where you can wait X amount of time so you could change to night from day etc

    • TIME & WEATHER CHANGER, this mod is what you want.

    • ah ty

  • Any ETA on a 3.7.1 update?

  • Im using this on 3.7.0 and the day/night cycle is not paused

    • thats normal

    • Thanks for the report. I believe I have fixed this in the 3.7.1 version (1.0.5).

  • Did the raid timer being unpaused get fixed? This has been an issue for a while now and going by some comments it's still going - I don't mean to say it's anybody's fault because I assume it's a tough problem to fix. I'm just curious if it really does work as intended now.

    • Yeah I'm still getting the raid timer issue. You can sort of bypass that bug with custom raid timer if you don't mind changing raid timers. I personally don't like changing this stuff so I'm only using the pause button as a emergency button for 1 minute afk and not long times

  • Works for 3 71 ?

    • It seems like reading front page is too hard for you, the answer is No

      Thinking 1 ? 1
    • Keep the inappropriate sarcasm to yourself. I always read the description. I just asked a clarifying question.

    • I understand what you mean Luigi. The last update was 8 hours ago and it's still for version 3.7.0 which doesn't make a lot of sense because a recent update should be for the latest version.

      Thumbs Up 1
    • Tested. Works with 371.

      Thumbs Up 1
    • Does NOT work for 3.7.1

      Yes, it freezes the player motion but that's (unluckily) all in 3.7.1.

      PMC starts heavy breathing either immediately or after some seconds, raid timer continues while being on "pause".

  • Anyone know if there is a bug with this right now? I paused my game about 15 min into a Customs raid and was paused for quite a while (took a phone call to do some tech troubleshooting for my sister). Came back, unpaused, and raid immediately ended and I went MIA. I have not upgraded to 3.7.0 so it's not an out date mod. It says my raid time was 1:39:13. This is the first time this has happened since I've been using this but admittedly probably the longest time I've gone paused. Is this not actually pausing the raid timer?


    I've recently added Task List Fixes to my mods. Could that be causing a conflict? Task List Fixes

    • So I've actually confirmed this isn't actually pausing now for some reason. I hit pause and the game freezes, and the timers say PAUSED but if I let it run for 10 seconds and unpause the raid timer has advanced 10 seconds. I disabled the task list mod but it's still happening. Will try uninstalling and also try reinstalling PAUSE to see if that fixes it. I'm running SPT 3.6.1 and PAUSE version 1.0.3

    • The raid timer should be getting paused, so something is wrong if you pause and the raid timer keeps going.


      You may have tried these already, but here are a few things you could try:


      1. Make sure you don't inadvertently have other version of the Pause mod installed.

      2. If you are still having trouble, are you able to reproduce with ONLY the Pause mod? Pausing for a few seconds and making sure the timer resumes where you left off is a quick test you could try.


      I did just push a release for 3.7.0, so that's also a possible option. Also please feel free to PM me your BepInEx\LogOutput.log and I'll have a look to see if there's anything that jumps out.

      Thumbs Up 1
    • So, I've been doing a bunch of testing for this. When I uninstalled Task List Fixes, the pause started working again. However, I am noticing again that it is doing what I originally mentioned -- Saying PAUSED but the timer is counting down in the background. HOWEVER, I have noticed this doesn't happen at first. I just did a raid where I had to step away so I tested it like you said. Hit O, checked current countdown, hit P to pause, waited 5 sec and unpaused and it didn't move at all. However, as the raid went on (with pausing for baby stuff) I noticed it again stopped actually pausing. So in a single raid, it worked, then stopped working. When I just extracted it said my Shoreline raid was 59 min long even though I still had about 20 min left in the raid and my raid times are live configured. No modifications to raid timers. So something is happening mid-raid that is stopping it from working. I will DM you my log output as requested. Thank you so much.

  • hope this will be updated for 3.7, really useful when you need a pee or a coffee lol

  • sending my energy for the 3.7.0

    Thumbs Up 1
    • Received!


      Just pushed a release for 3.7.0. Works on my machine (TM). Good luck and please let me know if there's any problems, it might need some fine tuning.

      Heart 1
    • 3.7.1 is out ;) thx for the mod :*8)

    • the 3.7.0 version is working on 3.7.1 , thanks mate only with this mod I could play it with my daughter near , really appreciated insta p + win +d


      <3

  • dont work with new 3.7

    Thumbs Up 1
  • The times I used this previously it worked fine, but the key being P gave me the issue of double-key press because my fingers are fat. I have L set as a toggle for a mod, and I frequently managed to pause my game at the same time, effectively giving me a mild heart attack thinking the other mod broke.

    🤣


    *EDIT: forgot to mention that I'm aware about changing hotkeys in F12... I'm too lazy for that lmao

  • I do not recomment to use any of pause mods, same issues everhywhere:
    1) raid timer is not stopped.
    2) after unpause you can shot 1 bullet and weapon becomes jammed and overheated

    • Love your Name.

      Watch a bit of B-Ball ?

    • Never had a problem with it once. Level 36 and running. A must have mod

      Heart 1
  • Worked great. but recently I've noticed that my raid time still seems to tick down even when the gave is paused