ACCforDI | Automatic Config Changer for Dynamic IP in SCP: Secret Laboratory
Dynamic IP detection isn't perfect in SL, thus I've written a script that's supposed to work as a crontab to detect the new IP and change it to the one you're using.
Northwood is not responsible for any damage, and neither am I.
You are fully responsible for using this tool. It's meant for files that are properly configured.
- Install Python 3.7.8 or higher
- Install the following dependencies:
- certifi^2021.10.8
- charset-normalizer^2.0.12
- idna^3.3
- requests^2.27.1
- urllib3^1.26.9- Change the
path
value inside the main.py file.- (Optional) Set a
webhook_url
, crontab does not save any logs.
Add the following line to your crontab (
crontab -e
command)
It will execute the script every hour. Read the crontab documentation for more information.
0 * * * * python3 <path-to-file.py>
Please read the SCHTASKS documentation for more information.
I didn't have a chance to schedule a task on Windows server yet, but I'm working on it.
Please read this article for more information.
There's also a stackoverflow question about this.