Tourbot is an automated chatbot for the Worlds.com online 3D chat service (specifically WorldsPlayer from 1998 and onward). It is based off of P3NG0 by Wirlaburla, the FIRST Worlds chatbot to ever be created and operated live in public. Tourbot retains several features from P3NG0 as well as new features, with the primary selling point being to provide both new and old users an exciting and easy way to explore new worlds, without having to dig through endless archives and file servers like Worlio or jett.dacii.net. This is especially important today as several HOSTs on Worlds have departed or otherwise become inactive, leaving many of the weekly and monthly events abandoned, including tours.
This project is a gift to the Worlds community, and I owe a special thanks to the endless line of nerds who came before me and reverse-engineered the chat protocol so that this could happen.
Underlined tasks are tasks currently being worked on
- Core Functions
- Improved configuration system
- Strip out old
worldlist.conf
entirely (pairwhere
command withlookUpWorldName()
) - New commands
- Teleport-on-request routine
- Basic Tour Guide routine
- Tour communication (tracking users, prioritize leader commands, whispering users out of range, etc)
- Ability to join another user's ongoing tour
- World Database Building
- Spanish Localization
- Tour Guide Avatar
- Contextual Avatars: on tour
- Contextual Avatars: idle (advertising)
- Help Pages, Website, and Documentation
- Tourbot Status Page
- New User Recognition and Welcome
- An active IPv4 internet connection
- A valid Worlds.com account which you registered using the WorldsPlayer
- Linux or any other compatible UNIX derivative
- The latest version of glibc
- The actual version required will depend on the version of glibc linked during compile time.
I compile Tourbot on Arch-based distributions which usually have the latest version.
If you use a distro such as Ubuntu or Debian then you may need to compile the bot yourself.
- The actual version required will depend on the version of glibc linked during compile time.
- A working brain
- CMake
- GCC
- C++ header/source files from Nlohmann's JSON library
- A few Linux distributions have this library available as an installable package. Please check the repo in your package manager.
- Otherwise you just need to put the required
json.hpp
file in your include path and make sure CMake and GCC can see it.
- Make sure nlohmann JSON is in your INCLUDE path so your compiler can find it's headers.
- On Arch Linux / endeavourOS:
sudo pacman -Sy nlohmann-json
- On Ubuntu / Mint / PopOS:
sudo apt-get install nlohmann-json3-dev
- Other systems: Install and link the library's source files manually.
- On Arch Linux / endeavourOS:
- Enter the root directory (where
src
is) and runcmake -S src/ -B bin/
to create the neccessary files to compile the program. - Run
cmake --build bin/
to create an executable file in the bin folder. cd
tobin/
and run./p3ng0
. (Your working directory needs to be the same directory whereconf/
is located.)
Tourbot isn't designed for Windows right now. As such, I haven't set up the project files to be compilable on Windows, even with Linux as the target. You can either install WSL and compile there, or set up the compiler yourself if you know what you're doing.
I don't use Mac and I never plan to support it, I can't help you.
To quote our lord and savior John Carmack, "It will be done when it's done." I'm the only person working on this and I have a real life (crazy I know).
Yes, but you have to keep the GNU GPL 3 license.
Create an issue here on this repository, or send me an email at [email protected]
.
Yes, but please don't try to clog up the servers or chatrooms with a bunch of redundant bots. If Tourbot is working fine, then be nice and let it do it's job unless you can do it better.
I can't stop you from doing whatever you want with it, but if you do bad things your accounts and IP addresses will probably get banned from Worlds, so use Tourbot wisely.
Double check your spelling.
If you know your username is spelled correctly and the account hasn't been deleted/banned, make sure you saved bot.conf with Unix line endings. Windows line endings use a really funny looking two-byte control code for new lines, and Tourbot doesn't understand how to read them yet. It probably thinks that your username is something like "John�" instead of "John". I plan to fix this if a Windows port is ever released, but for now, you will need to be careful with your .conf files.
Many text editors on Windows allow you to change this setting so Tourbot can read your configs correctly, unfortunately the default notepad.exe doesn't include this.
P3NG0 was designed from the very beginning with Linux in mind. When it came time to make Tourbot, the same was true; it's designed to be run headless, 24/7, on a server. Meaning you are expected to have a spare computer handy or a cloud VPS rented in order to run the bot. Just about every sane sysadmin uses Linux for headless systems, since Windows was always optimized around it's user interface and not much else.
I could make a Windows version, doing so is actually not very difficult. The code for Tourbot is pretty small and it very rarely interacts with system APIs if at all. It's just a matter of if I want to or not.
Worlds doesn't have SSL or TLS, doesn't hash passwords, and doesn't have session tokens or revocable sessions. It's a very old program with extremely outdated security. Tourbot isn't secure because the weakest link in the chain makes any security effort on my part pointless. If you want to remain safe, use a unique password for the bot so that it can't be reused in the event it gets stolen.