summaryrefslogtreecommitdiff
path: root/wiki
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-09-12 22:57:45 -0300
committerJesusaves <cpntb1@ymail.com>2020-09-12 22:57:45 -0300
commit78f07a85e0e1f638a508fbdab7059d49afd0d422 (patch)
tree40fdc74c7a26406ff8b2cc8fb7876071cc0c9738 /wiki
parentc7eabc23e58f45288d371ab78b587eb980544593 (diff)
downloadtools-78f07a85e0e1f638a508fbdab7059d49afd0d422.tar.gz
tools-78f07a85e0e1f638a508fbdab7059d49afd0d422.tar.bz2
tools-78f07a85e0e1f638a508fbdab7059d49afd0d422.tar.xz
tools-78f07a85e0e1f638a508fbdab7059d49afd0d422.zip
Backport
Diffstat (limited to 'wiki')
-rwxr-xr-xwiki/redesign.py4
-rwxr-xr-xwiki/sedesign.py98
2 files changed, 4 insertions, 98 deletions
diff --git a/wiki/redesign.py b/wiki/redesign.py
index abc4074..f8aee67 100755
--- a/wiki/redesign.py
+++ b/wiki/redesign.py
@@ -331,9 +331,9 @@ def MobAlloc(ab):
def testMobs():
print("Generating Elem-Mob Wiki...")
if len(sys.argv) >= 3:
- src=open(sys.argv[2]+"/db/re/mob_db.conf", "r")
+ src=open(sys.argv[2]+"/db/re/mob_db.conf", "r", encoding="utf-8")
else:
- src=open("../../server-data/db/re/mob_db.conf", "r")
+ src=open("../../server-data/db/re/mob_db.conf", "r", encoding="utf-8")
wikib.write("<h1 id=#x>EleGen Monster Database</h1>\n")
start=False
diff --git a/wiki/sedesign.py b/wiki/sedesign.py
index be4d5f9..26d956b 100755
--- a/wiki/sedesign.py
+++ b/wiki/sedesign.py
@@ -155,9 +155,9 @@ def ItAlloc(it):
def newItemDB():
print("\nGenerating Item Wiki...")
if len(sys.argv) >= 3:
- src=open(sys.argv[2]+"/db/re/item_db.conf", "r")
+ src=open(sys.argv[2]+"/db/re/item_db.conf", "r", encoding="utf-8")
else:
- src=open("../../server-data/db/re/item_db.conf", "r")
+ src=open("../../server-data/db/re/item_db.conf", "r", encoding="utf-8")
lg=False
x=It()
@@ -496,100 +496,6 @@ wikia.write('<title>SeDesign</title><meta charset=utf8 />\n')
wikia.write("<body>")
newItemDB()
-wikia.write('<hr/>')
-wikia.write("""
-<b>Reference Equipment</b><br/>(?): Item not updated.<br/>(*): <i>Drop/rare item only</i><br/>
-<table border=1>
-<tr><th>Level</th><th>Weapon</th><th>Shield</th>
-<th>Head</th><th>Chest</th><th>Shorts</th><th>Boots</th><th>Gloves</th></tr>
-
-<tr><th>5</th>
-<td>Knife, SmallKnife</td><td>None</td>
-<td>-</td> <td>CreasedShirt</td> <td>CreasedShorts</td> <td>CreasedBoots</td> <td>CreasedGloves</td></tr>
-
-<tr><th>10</th>
-<td>SharpKnife</td><td>RoundLeatherShield</td>
-<td>CandorHeadBand</td> <td>CandorShirt</td> <td>CandorShorts</td> <td>CandorBoots, LousyMoccassins</td> <td>CandorGloves</td></tr>
-
-<tr><th>15</th>
-<td>MinerKnife, Dagger</td><td>?</td>
-<td>Bandana, SerfHat, <i>*AntlersHat</td> <td>CottonShirt, <i>*TneckSweater</td> <td>CottonShorts, MiniSkirt</td> <td>CottonBoots, <i>*Boots</td> <td>CottonGloves</td></tr>
-
-<tr><th>20</th>
-<td>WoodenSword</td><td>LeatherShield</td>
-<td>SerfHat, <i>*FancyHat, <i>*PinkieHat</td> <td>CottonShirt, SilkRobe</td> <td>FarmerPants, <i>*PirateShorts</td> <td>TulimsharGuardBoots</td> <td>?</td></tr>
-
-<tr><th>25</th>
-<td>BronzeGladius, BugSlayer, Scythe</td><td>?</td>
-<td><i>*FluffyHat</td> <td>LeatherShirt</td> <td>JeansShorts</td> <td>?</td> <td>MinerGloves</td></tr>
-
-<tr><th>30</th>
-<td>ShortGladius</td><td>WoodenShield</td>
-<td>MinerHat, <i>*DarkEggshellHat</td> <td>?</td> <td>?</td> <td>SquirrelBoots</td> <td>Armbands</td></tr>
-
-<tr><th>35</th>
-<td>ButcherKnife, <i>*IceGladius</td><td>?</td>
-<td><i>*BrimmedHat, *MoubooHat</td> <td>?</td> <td>?</td> <td>?</td> <td>?</td></tr>
-
-<tr><th>40</th>
-<td>RealBronzeGladius, ShortSword, MiereCleaver</td><td>BladeShield</td>
-<td>Bucket, BurglarMask, SailorHat, <i>*ShroomHat</td> <td>DesertShirt</td> <td>CottonTrousers, <i>*RaidTrousers</td> <td>FurBoots</td> <td>LeatherGloves</td></tr>
-
-<tr><th>45</th>
-<td>Backsword</td><td>BraknarShield</td>
-<td>ChefHat, <i>*YetiMask, *ForestShroomHat</td> <td>Chainmail</td> <td><i>*BanditPants</td> <td>?</td> <td>?</td></tr>
-
-<tr><th>50</th>
-<td>Broadsword, <i>**ShortSword</i></td><td>?</td>
-<td><i>*PinkHelmet</td> <td>ForestArmor</td> <td>?</td> <td>?</td> <td>CopperArmbands</td></tr>
-
-<tr><th>60</th>
-<td><i>*BlacksmithAxe</i>, <i>*Kanabo</i></td><td>?</td>
-<td>FafiMask, <i>*WickedShroomHat</td> <td>LightPlatemail</td> <td>?</td> <td>?</td> <td>?</td></tr>
-
-<tr><th>65</th>
-<td>?</td><td>?</td>
-<td><i>*AlphaMoubooHat</td> <td>?</td> <td>ChainmailSkirt</td> <td>?</td> <td>?</td></tr>
-
-<tr><th>70</th>
-<td>?</td><td>?</td>
-<td><i>*WarlordHelmet, *MoonshroomHat</td> <td><i>*WarlordPlate</td> <td>?</td> <td>?</td> <td>IronArmbands</td></tr>
-
-<tr><th>80</th>
-<td>?</td><td>?</td>
-<td>?</td> <td>?</td> <td>?</td> <td>?</td> <td>?</td></tr>
-
-<tr><th>90</th>
-<td>?</td><td>?</td>
-<td>?</td> <td>?</td> <td>?</td> <td>?</td> <td>?</td></tr>
-
-<tr><th>100</th>
-<td>?</td><td>?</td>
-<td>?</td> <td>?</td> <td>?</td> <td>?</td> <td>?</td></tr>
-
-<tr><th>110</th>
-<td>?</td><td>?</td>
-<td>?</td> <td>?</td> <td>?</td> <td>?</td> <td>?</td></tr>
-
-<tr><th>120</th>
-<td>?</td><td>?</td>
-<td>?</td> <td>?</td> <td>?</td> <td>?</td> <td>?</td></tr>
-
-<tr><th>130</th>
-<td>?</td><td>?</td>
-<td>?</td> <td>?</td> <td>?</td> <td>?</td> <td>?</td></tr>
-
-<tr><th>140</th>
-<td>?</td><td>?</td>
-<td>?</td> <td>?</td> <td>?</td> <td>?</td> <td>?</td></tr>
-
-<tr><th>150</th>
-<td>?</td><td>?</td>
-<td>?</td> <td>?</td> <td>?</td> <td>?</td> <td>?</td></tr>
-
-</table>
-""")
-
# Ending
wikia.write("<hr/>")
wikia.write("Run at: " + datetime.datetime.now().isoformat())