The Seven Spells Of Destruction is a multiplayer open world role playing game played through Discord. It is based on the 2.0 version of this game, which was a web based game played through the web.
This game has quite a long history.
First run php artisan app:upload-sprites
from the admin web root to upload all sprite emojis to the application emojis section in the discord developer panel,
and generate include/gen/emoji.h
. This is required to compile the bot and is unique to the application ID.
Next:
mkdir build
cd build
cmake ..
make -j${NPROC}
Create a config.json in the directory above the build directory.
NOTE: It is EXTREMELY IMPORTANT to create secure IV/key values for the encryption. This is used to encrypt the state content sent to the user, and if an insecure configuration is placed into the config file here, it may allow selfbots and malicious users to tamper with game state. Keep these values secure and keep them secret as your token, for your the protection of the bot!
{
"token": "token goes here",
"log": "log path goes here",
"shards": 1,
"js_thread_pool_size": 32,
"database": {
"host": "localhost",
"username": "mysql username",
"password": "mysql password",
"database": "mysql database",
"port": 3306
},
"encryption": {
"iv": "16 character AES256 IV",
"key": "32 character AES256 symmetric key"
},
"botlists": {
"top.gg": {
"token": "top.gg bot list token"
},
"other compatible bot list": {
"token": "their token..."
}
}
}
-DDPP_CORO=ON
cd ssod
screen -dmS ssod ./run.sh