This is a Phigros Score Lookup Discord bot (aka PSLDiscordBot),
you can get your scores by using /get-scores
or /get-photo
etc.
If you are first time using this, please follow the guide.
- Use
/link-token <token>
or/login
to link your account first. Having problem? See/link-token
or/login
usage. - (Optional) Set your score precision using
/set-precision
. - (Optional, this is almost optional in every case) Use
/get-time-index
to find the save you want to see (See/get-time-index
usage) - Now, you can get your scores by using
/get-scores [index]
or/get-photo [index]
.
Options in <example>
are required options, in [example]
are optional options.
Usage: /help
Prints this guide.
Usage: /login
Example: /login
Login with TapTap. Once you do this you no longer need to do /link-token
.
Notice: You should use /login
instead! This is obsolete.
Usage: /link-token <token>
Example: /link-token abcde12345fghij67890klmpq
Link your token. You must link your token before doing anything (except /help
).
Token is a string which has length of 25, only contains numbers and lowercase alphabets.
Warning: people CAN use token to find your personal information, so do NOT leak your token!
If you leaked it, logout in Phigros immediately. (Don't worry we don't use your token for personal information)
How to find token:
Chinese version
- Find .userdata at
Android/data/com.PigeonGames.Phigros/files/
(or more precisely,/storage/emulated/[userid]/Android/data/com.PigeonGames.Phigros/files/.userdata
)
Some device may differ, then find folder named
com.PigeonGames.Phigros
and try to find.userdata
underneath it.
- Open the
.userdata
file with any text editors, and find"sessionToken": "abcdefg"
, theabcdefg
is your token, save it carefully.
For example, the file shows
"sessionToken": "abcdefghij1234567890abcde"
, then your token isabcdefghij1234567890abcde
.
Download the file and follow the guide. (May be Chinese)
Use Ai-Si helper to export the backup, find the folder AppDomain-games.Pigeon.Phigros/Documents
and .userdata
is inside. You can also find file named f48523d73831bfbdc9faf74eca5bf2999ca5bf54
, it is the .userdata
file but with different name, then follow the Android way 1 step.
Summary: Grabbing the request sent from Phigros client to Phigros server (https://phigrosserver.pigeongames.cn/1.1/classes/_GameSave
), this is faster but I only recommend it for advanced users.
- Download a proxy app on your device.
- Download HTTP Toolkit on your computer, and connect your device and your computer to same Wi-Fi.
- Get your computer IP and port which HTTP Toolkit is listening on (default 8000),you can check it on main page (Proxy Port:8000), then install cert exported from HTTP Toolkit.
- Add new proxy, and enter IP and port gotten from above step, and start it.
- Start the service, then open Phigros and do sync, grab the request in HTTP Toolkit, then check the header of the request, the value of
x-lc-session
is your token.
Use an Android device temporally and follow the upper part.
Usage: /get-time-index
It prints out all your save time and index that means it, 0 is always latest. You must do /link-token
or /login
first.
Usage: /get-all-scores [index]
Example: /get-all-scores 0
It gives you a CSV attachment that has all your scores. You must do /link-token
or /login
first.
Usage: /get-scores [index] [count]
Example: /get-scores 0 114514
It gives you a table of your scores, rks, status (with specified length) etc. You must do /link-token
or /login
first.
Usage: /set-precision <number, 16 >= number >= 1>
Example: /set-precision 5
It sets the precision of score show when doing /get-scores
. Example:
number = 1: acc: 99.1
number = 2: acc: 99.12
...
You also must do /link-token
first.
Usage: /get-token
Get your token. You must do /link-token
or /login
first.
Usage: /song-scores <search> [index]
Example: /song-scores volcanic 0
It searches all your scores, you can input song name, a song alias, or song id to find the song.
You must do /link-token
or /login
first.
Usage: /get-photo [count] [index]
Example: /get-photo 69 0
Gives you a cool picture about your b19&1phi scores. You must do /link-token
or /login
first.
Usage: /about-me [index]
Example: /about-me 0
Gives you a cool picture about your statistics. You must do /link-token
or /login
first.
Usage: /song-info <search>
Example: /song-info 321
It searches songs in database, you can input song name, a song alias, or song id to find the song.
You must do /link-token
or /login
first.
Usage: /song-scores <search> [index]
Example: /song-scores 2085 0
It searches songs in database, you can input song name, a song alias, or song id to find the song, and show your score in cool images.
You must do /link-token
or /login
first.
Usage: /poke
Poke me