I've rolled up version 0.9.8 (AKA Release Candidate #2)
Features:
- Accurately guesses the next APF Gates.
- Caches the timestamp data so the bot doesn't hit up my website every time someone does !apf.
- Automatically refreshes cached data after four hours.
- Automatically alerts private group and guild chat when there is 6h, 5h, 4h, 3h, 2h, 1h, 45m, 30m, 15m, 10m, 5m, and 1m left to gate opening.
- RP friendly output! (Hey, some people like it that way)
- Fully configurable (/tell yourbot !help !apf and /tell yourbot !apf set)
- Much easier installation
Download:
Glarawyn's Alien Playfield Spawn Time Guesstimator for BeBot, 0.9.8 (AKA Release Candidate #2)Installation:
Step 1:
Unzip to your BeBot directory.
Step 2:
Restart your bot.
Step 3:
Enjoy!
Quick Summary of commands:
!apf - Displays Time to next APF
!apf set - Displays Configuration Menu
!apf set web - Forces update from web source.
!apf set now - Sets timestamp to now (Next apf in 7 hours, 12 minutes)
!apf set (+|-) <HH:MM:SS> - Adds or Removes HH:MM:SS from the timer.
!apf set (gatetime|uptime) <YYYY-MM-DD HH:MM:SS> - Manually set the seed time.
!apf set <setting> <value> - set <setting> to <value>
Valid Settings:
apfalertorg - (0|1) Disable/Enable Auto Alerts to Org Channel
apfalertpgroup - (0|1) Disable/Enable Auto Alerts to Guest Channel
*NOTE: Disabling apfalertorg and apfalertpgroup will turn off all alerts for that channel reguardles of what the other alert settings are.
apfalert60sec - (0|1) Disable/Enable 60 seconds remaining alert
apfalert10min - (0|1) Disable/Enable 10 minutes remaining alert
apfalert15min - (0|1) Disable/Enable 15 minutes remaining alert
apfalert30min - (0|1) Disable/Enable 30 minutes remaining alert
apfalert45min - (0|1) Disable/Enable 45 minutes remaining alert
apfalert1hour - (0|1) Disable/Enable 1 hour remaining alert
apfalert2hour - (0|1) Disable/Enable 2 hours remaining alert
apfalert3hour - (0|1) Disable/Enable 3 hours remaining alert
apfalert4hour - (0|1) Disable/Enable 4 hours remaining alert
apfalert5hour - (0|1) Disable/Enable 5 hours remaining alert
apfalert6hour - (0|1) Disable/Enable 6 hours remaining alert
Web Update Settings:
apfwebupdate - (0|1) Disables/Enables Automatic Web Updates
apftimeurl - <URL> Sets the URL for Automatic Web Updates
apfcachetime - <seconds> How many seconds to keep Web data cached (Default 4 hours, I don't reccomend changing this.)
Other settings that can be set manually, but you probally shouldn't set them manually:
apftimestamp - <UNIX Time Stamp> Sets the Unix Time Stamp. (You probally don't want to do this manually! Use the gatetime|uptime option for easy input)
apftimeinc - <seconds> Number of seconds between Gate Openings. (You probally don't want to change this!)
apfstampage - <seconds> When the timestamp was written to the database. (You probally don't want to change this!)