Skip to content

[OUTDATED] Pokeclicker Desktop Support (Auto Updating + Custom Script Loader)

Latest
Compare
Choose a tag to compare
@Ephenia Ephenia released this 06 Jan 14:30
· 466 commits to master since this release
bfe4fde

This is intended to be used with the latest official release (v1.1.0) of Pokeclicker Desktop.

To install, download the app.rar, extract it, then replace the app.asar file found in ...\PokeClicker\pokeclicker-desktop\recourses with the one found inside this archive.

Here's a list of features this now includes as of v1.1.

General Features

  • There is now only a single file, no longer 2 separate versions.
  • This will now make the client download all the scripts in this repository upon first launch (with an active Internet connection).
  • The client is also able to re-download any script files if they happen to go missing as well.
  • Scripts will automatically be downloaded into ...\PokeClicker\pokeclicker-desktop\recourses.
  • The client will also load all my scripts that it have been downloaded and saved automatically to ...\PokeClicker\pokeclicker-desktop\recourses by default.
  • Every subsequent launch after initial launch, the client will check for updates on every one of my scripts that would be inside ...\PokeClicker\pokeclicker-desktop\recourses, and will update and load them silently if there are any updates/changes made to any of my scripts that I've made.
  • The client will also grab and download any new scripts as well that I may add as well in the future here.
  • If you do not have an Internet connection and still launch the game, then the scripts inside ...\PokeClicker\pokeclicker-desktop\recourses will still be loaded as long as the client had downloaded them beforehand.

Custom Script Loading

  • To load custom JavaScript files into the client, create a folder called scripts inside ...\PokeClicker\pokeclicker-desktop\recourses and place any JavaScript files that you would like inside.
  • The client will also create this folder in the correct location upon first launch, so you can always launch the client and let the folder be created if it doesn't exist.
  • This also means that you may block/override loading of my scripts as well, all you would have to do is create an empty JavaScript file that would correspond to the script that you wouldn't like loaded and place it inside ...\PokeClicker\pokeclicker-desktop\recourses\scripts. Same logic applies to modified versions of my scripts, of course.
  • This means that this would effectively make the client fully modular with script support.
  • After placing or changing any scripts inside ...\PokeClicker\pokeclicker-desktop\recourses\scripts, exit and relaunch the client, or conveniently reload the application using Ctrl +R instead, which will have the same effect. This will load/reload all scripts.