From cd6ff3959905538e14092481fae5115bc08a4804 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 15 Jun 2021 22:50:06 -0300 Subject: Fix a bunch of typos, bugs, and use nice 12 for building the project. --- lang_client/clientdata-beta.pot | 13 ------------- localserver/build.sh | 2 +- update/commit.txt | 2 +- update/createnew.sh | 2 +- update/update.sh | 2 +- wiki/redesign.py | 8 ++++---- 6 files changed, 8 insertions(+), 21 deletions(-) delete mode 100644 lang_client/clientdata-beta.pot diff --git a/lang_client/clientdata-beta.pot b/lang_client/clientdata-beta.pot deleted file mode 100644 index 3448e49..0000000 --- a/lang_client/clientdata-beta.pot +++ /dev/null @@ -1,13 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2020-12-12 14:45-0300\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -msgid "Translations were moved to transifex.com/arctic-games/tmw/" -msgstr "" diff --git a/localserver/build.sh b/localserver/build.sh index c19d10b..a12aa8a 100755 --- a/localserver/build.sh +++ b/localserver/build.sh @@ -3,4 +3,4 @@ export DIR=`pwd` ./checktime.sh source ./clean.sh -./build.sh old > /dev/null +nice -n 12 ./build.sh old > /dev/null diff --git a/update/commit.txt b/update/commit.txt index ab9dd1d..e5ab03a 100644 --- a/update/commit.txt +++ b/update/commit.txt @@ -1 +1 @@ -c7eaf530e07572c69cb31e112d615a4bd0eef443 +52ff9b655a790d0c7aaf182215017d5467c0362c diff --git a/update/createnew.sh b/update/createnew.sh index e4c1487..c0bb6fd 100755 --- a/update/createnew.sh +++ b/update/createnew.sh @@ -19,7 +19,7 @@ find -iregex ".+[.]\(xml\|png\|tmx\|ogg\|txt\|po\|tsx\)" -printf "%P\n" | zip -X git log --pretty=oneline -n 1 | awk '{print $1}' >../tools/update/commit.txt cd $dir/files -sum=`adler32 themanaworld.zip` +sum=`adler32 themanaworld.zip | awk '{print $2}'` echo "themanaworld.zip ${sum}" >resources2.txt echo ' diff --git a/update/update.sh b/update/update.sh index e4c1487..c0bb6fd 100755 --- a/update/update.sh +++ b/update/update.sh @@ -19,7 +19,7 @@ find -iregex ".+[.]\(xml\|png\|tmx\|ogg\|txt\|po\|tsx\)" -printf "%P\n" | zip -X git log --pretty=oneline -n 1 | awk '{print $1}' >../tools/update/commit.txt cd $dir/files -sum=`adler32 themanaworld.zip` +sum=`adler32 themanaworld.zip | awk '{print $2}'` echo "themanaworld.zip ${sum}" >resources2.txt echo ' diff --git a/wiki/redesign.py b/wiki/redesign.py index a6e9b16..d2828d7 100755 --- a/wiki/redesign.py +++ b/wiki/redesign.py @@ -677,10 +677,10 @@ def mb_rdrw(mb): buff="" buff+="%s\n" % (mb.xp.replace(' ', ' ')) buff+="%s\n" % (mb.jp.replace(' ', ' ')) - try: - buff+="MobPoints: %d\n" % (int(mb.mobpt)*11/10) - except: - pass + #try: + # buff+="MobPoints: %d\n" % (int(mb.mobpt)*11/10) + #except: + # pass return buff def mb_rddrop(mb): -- cgit v1.2.3-60-g2f50