This tool provides a sandbox for researching of the network API of the Monolisk mobile game, originally developed by Trickster Arts
This project is for research purposes only. All source code is provided as is. I don't condone of exploiting vulnerabilities or cheating in this game, you act at your own risk.
It uses my sandbox-ruby gem
The sandbox consists of the following contexts:
dungeon
Dungeons listplayer
Managing your profile, avatars, cards, etcquery
Creating and analyzing queries to the API serverscript
Running your own scripts to interact with the sandboxtop
Top players
Clone the repository to your local machine and prepare the environment:
git clone https://github.com/animotto/ta-monolisk
cd ta-monolisk
bundle install
export RUBYLIB=$PWD/lib
Create a new account and write the credentials to the config named my:
./bin/sandbox -n my
Run the sandbox with the config my:
./bin/sandbox -c my
All config files are in your home directory ~/.ta-monolisk/configs/
Script file should be in the scripts directory.
There are two entry points:
# Executed when your script was started
def start
end
# Executed when your script was finished
def finish
end
There are several instance variables you can use inside your script:
@shell
Sandbox shell@game
Game instance@id
Job ID@name
Script name@args
Script arguments passed from the sandbox@logger
Logger to write messages to the sandbox
Any suggestions are welcome, just open an issue on Github. If you want to contribute to the source code, you can fork this repository and submit a pull request.
See the LICENSE file