Bot code used for AF IdleRPG
Go to file
pwgen2155 409511eb42
All checks were successful
continuous-integration/drone/push Build is passing
Update dawdle/bot.py
2024-04-14 02:48:32 +00:00
af Update af/events.txt 2024-04-12 11:04:10 +00:00
dawdle Update dawdle/bot.py 2024-04-14 02:48:32 +00:00
map feat: timelapse rework 2024-03-04 15:37:31 +11:00
site chore: sane defaults & more removals of dead features 2024-03-21 19:47:58 +11:00
.drone.yml fix: build & deploy 2024-03-21 20:41:43 +11:00
.flake8 feat: working 2024-02-28 16:23:41 +11:00
.gitignore feat: correct deployments 2024-02-29 11:19:20 +11:00
COPYING feat: working 2024-02-28 16:23:41 +11:00
dawdle.conf.example chore: sane defaults & more removals of dead features 2024-03-21 19:47:58 +11:00
dawdle.py Setup and readme improvement and clarification (#15) 2024-03-07 05:46:46 +00:00
docker-compose.dev.yml feat: dev & prod compose files 2024-03-21 20:15:32 +11:00
docker-compose.prod.yml fix: yaml is hard 2024-03-21 20:35:02 +11:00
docker-compose.yml feat: dev & prod compose files 2024-03-21 20:15:32 +11:00
Dockerfile fix: pin python version so we don't rebuild everytime they push a new version 2024-04-12 06:05:38 +00:00
Makefile fix: allow for renaming and proper deletion 2024-03-21 21:11:38 +11:00
nginx.conf.template fix: no pid nonsense 2024-03-21 20:28:29 +11:00
README.md feat: Makefile support & better readme 2024-03-21 20:28:56 +11:00
requirements.txt fix: req file 2024-02-28 16:40:17 +11:00

FriendsRPG

FriendsRPG is a modified version of DawdleRPG (an IdleRPG clone) written in Python.

Basic Setup

  • Install python-django and docker
  • Copy dawdle.conf.example to af/dawdle.conf
  • Edit af/dawdle.conf to configure the bot
  • Run the following commands:
cd site
./manage.py migrate --database=default
./manage.py migrate --database=game
./manage.py collectstatic --no-input
cd ..
./dawdle.py --setup af/dawdle.conf

Development:

docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d --build
OR
make dev

Web is available via: http://localhost:8142

Production:

docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d --build
OR
make prod

Differences from DawdleRPG

  • No longer a drop-in for IdleRPG and uses Sqlite database as a backend
  • Special items and Events are Anime themed
  • Mounts arrive at Level 45
  • Chatting is allowed in the channel
  • Sending commands to the bot via the #channel can be done via ! (ie: !status)
  • Debug logging of all randomness for "proof"
  • /timelapse via the web interface allows for a fun little gimmick (hard coded for us)
  • /players show IRCUser and other info at a glance

Differences from IdleRPG

  • Names, items, and durations are in different colors.
  • Output throttling allows configurable rate over a period.
  • Long messages are word wrapped.
  • Logging can be set to different levels.
  • Better IRC protocol support. (SSL!)
  • More game numbers are configurable.
  • Quest pathfinding is much more efficient.
  • Fights caused by map collisions have chance of finding item.
  • All worn items have a chance to get buffs/debuffs instead of a subset.
  • High level character can still get special items.
  • Special items are always buffs.