diff options
author | Ledmitz <smoothshifter@tuta.io> | 2023-01-22 16:55:29 -0400 |
---|---|---|
committer | Ledmitz <smoothshifter@tuta.io> | 2023-01-22 16:55:29 -0400 |
commit | 7082e038bd9fa69b28b612036323de8e0cb7b5b9 (patch) | |
tree | 24430600754d5aab7b0401fbd1b3f3b0d536a05e | |
parent | 52a88caf6a6a84bbc58a4929817d835c49885eb7 (diff) | |
download | tmw-info-mobsearch_fix2.tar.gz tmw-info-mobsearch_fix2.tar.bz2 tmw-info-mobsearch_fix2.tar.xz tmw-info-mobsearch_fix2.zip |
Fixed mob-search incorect values and added more info from mob DBmobsearch_fix2
-rw-r--r-- | README.md | 1 | ||||
-rwxr-xr-x | tmw-info | 14 |
2 files changed, 8 insertions, 7 deletions
@@ -69,6 +69,7 @@ Use gm-show to quickly display the last 10 gm commands run. Updates automaticall ``` ## Changelog +* 2023-01-22 - mob-search was showing other incorrect info, since CRIT DEF was added to mob DB. Info shows correctly now and more info is shown * 2023-01-06 - Fixed the ordering of the online list to ignore case, so it shows players in a more organized fashion * 2023-01-04 - Fixed mob-search do display proper drops. This was due to a server DB update which added new columns * 2022-12-13 - Changed check for zenity from dpkg -l to find in /bin or /usr/bin @@ -343,14 +343,14 @@ elif [ "$1" == "mob-search" ]; then echo -e "\ ID: $(echo "$LINE" | awk '{print $1}') NAME: $(echo "$LINE" | awk '{print $2 $3}') LVL: $(echo "$LINE" | awk '{print $4}')\n\ HP: $(echo "$LINE" | awk '{print $5}') SP: $(echo "$LINE" | awk '{print $6}') \ -EXP: $(echo "$LINE" | awk '{print $7}') JOB EXP: $(echo "$LINE" | awk '{print $8}') EXP %: $(echo "$LINE" | awk '{print $47}') \ -MAG EXP: $(echo "$LINE" | awk '{print $46}')\n\ +EXP: $(echo "$LINE" | awk '{print $7}') JOB EXP: $(echo "$LINE" | awk '{print $8}') MAG EXP: $(echo "$LINE" | awk '{print $53}')\n\ RANGE: $(echo "$LINE" | awk '{print $9}') ATTK 1: $(echo "$LINE" | awk '{print $10}') ATTK 2: $(echo "$LINE" | awk '{print $11}')\n\ -DEF: $(echo "$LINE" | awk '{print $12}') MAG DEF: $(echo "$LINE" | awk '{print $13}') ATTK DELAY: $(echo "$LINE" | awk '{print $27}') \ -SPD: $(echo "$LINE" | awk '{print $26}')\n\ -STATS: STR=$(echo "$LINE" | awk '{print $14}') AGI=$(echo "$LINE" | awk '{print $15}') VIT=$(echo "$LINE" | awk '{print $16}') \ -INT=$(echo "$LINE" | awk '{print $17}') DEX=$(echo "$LINE" | awk '{print $18}') LUK=$(echo "$LINE" | awk '{print $19}')\n\ -MUTATIONS: $(echo "$LINE" | awk '{print $56}') MUTATION STR: $(echo "$LINE" | awk '{print $57}')\n\ +DEF: $(echo "$LINE" | awk '{print $12}') MAG DEF: $(echo "$LINE" | awk '{print $13}') CRIT DEF: $(echo "$LINE" | awk '{print $14}') ATTK DELAY: $(echo "$LINE" | awk '{print $28}') \ +SPD: $(echo "$LINE" | awk '{print $27}')\n\ +RACE: $(echo "$LINE" | awk '{print $24}') ELEMENT: $(echo "$LINE" | awk '{print $25}') MODE: $(echo "$LINE" | awk '{print $26}')\n\ +STATS: STR=$(echo "$LINE" | awk '{print $15}') AGI=$(echo "$LINE" | awk '{print $16}') VIT=$(echo "$LINE" | awk '{print $17}') \ +INT=$(echo "$LINE" | awk '{print $18}') DEX=$(echo "$LINE" | awk '{print $19}') LUK=$(echo "$LINE" | awk '{print $20}')\n\ +MUTATIONS: $(echo "$LINE" | awk '{print $61}') MUTATION STR: $(echo "$LINE" | awk '{print $62}')\n\ DROPS: $DROPS\n\ " done < "$TMW_INFO/mob-search$LAST_COUNT.tmp" |