summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-06-15 22:50:06 -0300
committerJesusaves <cpntb1@ymail.com>2021-06-15 22:50:06 -0300
commitcd6ff3959905538e14092481fae5115bc08a4804 (patch)
treedf8805c9b5f9efab4a893d1119c8d8b2e720abf9
parent965a3675e7a7806cc3ced2324e08544e47dfa8c5 (diff)
downloadmessworld-tools-cd6ff3959905538e14092481fae5115bc08a4804.tar.gz
messworld-tools-cd6ff3959905538e14092481fae5115bc08a4804.tar.bz2
messworld-tools-cd6ff3959905538e14092481fae5115bc08a4804.tar.xz
messworld-tools-cd6ff3959905538e14092481fae5115bc08a4804.zip
Fix a bunch of typos, bugs, and use nice 12 for building the project.
-rw-r--r--lang_client/clientdata-beta.pot13
-rwxr-xr-xlocalserver/build.sh2
-rw-r--r--update/commit.txt2
-rwxr-xr-xupdate/createnew.sh2
-rwxr-xr-xupdate/update.sh2
-rwxr-xr-xwiki/redesign.py8
6 files changed, 8 insertions, 21 deletions
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 <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\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 '<?xml version="1.0"?>
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 '<?xml version="1.0"?>
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+="<font color=#060><u>%s</b></u></font>\n" % (mb.xp.replace(' ', ' <b>'))
buff+="<font color=#006><u>%s</b></u></font>\n" % (mb.jp.replace(' ', ' <b>'))
- 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):