need root
用任一文字編輯器
https://play.google.com/store/apps/details?id=com.jecelyin.editor&hl=zh_TW
將下面 script 內容存成 loot.sh
---------------------------------------
#!/system/bin/sh
cat /data/data/com.madhead.tos.zh/shared_prefs/com.madhead.tos.zh.xml | grep FLOOR_WAVES | sed 's/\"//g; s/,[A-Za-z]*:0//g; s/,[A-Za-z]*:null//g; s/cardId:0,//g; ' | sed 's/alert/\nalert/;s/.*\n//; s/alert:false,enemies:/\n\n/g; s/lootItem:/\nlootItem:/g' | sed 's/},{$//g; s/}]<\/string>//g'
---------------------------------------
使用終端機
https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=zh_TW
執行
su
sh loot.sh
結果範例:
u0_a122@android:/data/kinmenalex # sh loot.sh
[{monsterId:80,level:17,
lootItem:{type:monster,card:{monsterId:80,level:2}}},{monsterId:60,level:17}]
[{monsterId:80,level:17},{monsterId:60,level:17,
lootItem:{type:monster,card:{monsterId:60,level:2}}},{monsterId:248,level:17}]
[{monsterId:60,level:17},{monsterId:60,level:17},{monsterId:80,level:17},{monsterId:60,level:17,
lootItem:{type:monster,card:{monsterId:60,level:2}}}]
[{monsterId:60,level:17},{monsterId:60,level:17},{monsterId:60,level:17,
lootItem:{type:monster,card:{monsterId:60,level:2}}},{monsterId:80,level:17}]
[{monsterId:70,level:17},{monsterId:70,level:17},{monsterId:80,level:17,
lootItem:{type:monster,card:{monsterId:80,level:2}}},{monsterId:80,level:17}]
[{monsterId:70,level:17},{monsterId:60,level:17},{monsterId:70,level:17},{monsterId:70,level:17}]
[{monsterId:47,level:28,
lootItem:{type:money,amount:1000}}]