Commit 2da538ee authored by nanahira's avatar nanahira

change download url

parent c0189560
...@@ -532,7 +532,7 @@ public class Program : MonoBehaviour ...@@ -532,7 +532,7 @@ public class Program : MonoBehaviour
File.Delete("cdb/strings.conf");*/ File.Delete("cdb/strings.conf");*/
HttpDldFile httpDldFile = new HttpDldFile(); HttpDldFile httpDldFile = new HttpDldFile();
httpDldFile.Download("http://koishi.222diy.gdn/ygopro/cards.cdb", "cdb/_cards.cdb"); httpDldFile.Download("http://koishipro2dl.my-card.in/cards.cdb", "cdb/_cards.cdb");
if(YGOSharp.CardsManager.initialize("cdb/_cards.cdb", true)) { if(YGOSharp.CardsManager.initialize("cdb/_cards.cdb", true)) {
ReplaceFile("cdb/cards.cdb", "cdb/_cards.cdb"); ReplaceFile("cdb/cards.cdb", "cdb/_cards.cdb");
} }
...@@ -540,7 +540,7 @@ public class Program : MonoBehaviour ...@@ -540,7 +540,7 @@ public class Program : MonoBehaviour
{ {
PrintToChat(InterString.Get("卡片数据库更新失败。")); PrintToChat(InterString.Get("卡片数据库更新失败。"));
} }
httpDldFile.Download("http://koishi.222diy.gdn/ygopro/lflist.conf", "cdb/_lflist.conf"); httpDldFile.Download("http://koishipro2dl.my-card.in/lflist.conf", "cdb/_lflist.conf");
if(YGOSharp.BanlistManager.initialize("cdb/_lflist.conf", true)) { if(YGOSharp.BanlistManager.initialize("cdb/_lflist.conf", true)) {
ReplaceFile("cdb/lflist.conf","cdb/_lflist.conf"); ReplaceFile("cdb/lflist.conf","cdb/_lflist.conf");
} }
...@@ -548,7 +548,7 @@ public class Program : MonoBehaviour ...@@ -548,7 +548,7 @@ public class Program : MonoBehaviour
{ {
PrintToChat(InterString.Get("禁止/限制卡表文件更新失败。")); PrintToChat(InterString.Get("禁止/限制卡表文件更新失败。"));
} }
httpDldFile.Download("http://koishi.222diy.gdn/ygopro/strings.conf", "cdb/_strings.conf"); httpDldFile.Download("http://koishipro2dl.my-card.in/strings.conf", "cdb/_strings.conf");
if(GameStringManager.initialize("cdb/_strings.conf", true)) { if(GameStringManager.initialize("cdb/_strings.conf", true)) {
ReplaceFile("cdb/strings.conf","cdb/_strings.conf"); ReplaceFile("cdb/strings.conf","cdb/_strings.conf");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment