Skip to content

Automatic dodo online session restoring

berichan edited this page Feb 10, 2021 · 24 revisions

SysBot.ACNHOrders includes a mode that restores the online sessions after a network crash (eg after someone leaves quietly or crashes during their arrival animation). It is best used with endless treasure islands, you may freeze your island's items such that they replenish on fly-in for other users while using the orderbot, so that no input is required from you.

Watch this video to see this functionality in action.

To do this, you must set up the OrderBot like usual, with all anchors in place. Your drop position anchor (anchor 1) should be where you want to be teleported after the session is restored: https://github.com/berichan/SysBot.ACNHOrders/wiki/Discord-bot-setup

Once you have setup the bot, follow the instructions below.

Online session restoration

Prior to starting, ensure you have frozen your island's items/villagers/turnip prices using ACNHMobileSpawner and my modified sys-botbase if you are using this functionality.

  1. Start your game, wait either somewhere on your map (not in the airport or in a building!).
  2. In your config.json, change the "LimitedDodoRestoreOnlyMode" value to true. See below for customization
  3. The bot will automatically create an online session for you bu talking to Orville and fetching a dodo code.

From this point on, if the online session ends then then bot will try to get a new one (endlessly, until it succeeds)

The dodo code will be saved to a file called "Dodo.txt" in the executable folder.

Dodo restore mode configuration

These config values can be found in the config.json under "DodoRestoreConfig":

  • LimitedDodoRestoreOnlyMode: Set this to true to turn on the automatic dodo mode restoration.
    • Orders will not work in this mode, the bot will try to fetch a new dodo code if the online session crashes.
  • DodoRestoreFilename: The filename where the new dodo code will be written to.
    • Hook this to your OBS window or whatever else you want to keep the dodo code updates for your viewers/visitors.
  • EchoDodoChannels: Channel IDs where the new dodo code will be posted. Can be left blank.
  • EchoArrivalChannels: Channel IDs where new arrivals will be posted. Can be left blank.
  • RefreshMap: Turning this on will refresh the map manually on fly-in of new visitors.
    • There's no need to turn this on if you've already frozen your map using ACNHMS
  • PostDodoCodeWithNewArrivals: Whether to append the dodo code to arrival messages. Set to true if you'd like this.
    • Only really useful if chat is going fast and the dodo gets lost in the sea of people.
  • SetStatusAsDodoCode: Set this to true to have the bot's status update whenever there's a dodo code update/restore
    • Everyone who can see the bot will be able to see the dodo code, so use this functionality wisely.
  • MashB: Set this to true if you'd like to encertain that the bot processes any dialogue or events (such as morning announcements).
Clone this wiki locally