Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.
/ ACCforDI-SL Public archive

Automatic Config Changer for Dynamic IP in SCP: Secret Laboratory

License

Notifications You must be signed in to change notification settings

Wafelowski/ACCforDI-SL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.


This is NOT an official tool from Northwood Studios!

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.


Installation

Step 1 | Python

  • 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.

Step 2 | Scheduling the script execution

Linux (crontab)

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>

Windows Server (SCHTASKS)

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.

Windows Client (Windows Task Scheduler)

Please read this article for more information.
There's also a stackoverflow question about this.


Made by Wafel#8871 for SCP: Secret Laboratory server hosts.
This is not a tool for normal users, it's designed to be used when hosting a server.
Once again, you are responsible for damage made with this tool.
Comply with MIT License.

About

Automatic Config Changer for Dynamic IP in SCP: Secret Laboratory

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages