Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xu Chenxi
ygopro2
Commits
7c877b04
Commit
7c877b04
authored
Jun 17, 2019
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revert url
parent
65300272
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
Assets/SibylSystem/Program.cs
Assets/SibylSystem/Program.cs
+3
-3
Assets/SibylSystem/ResourceManagers/GameTextureManager.cs
Assets/SibylSystem/ResourceManagers/GameTextureManager.cs
+1
-1
No files found.
Assets/SibylSystem/Program.cs
View file @
7c877b04
...
@@ -533,7 +533,7 @@ public class Program : MonoBehaviour
...
@@ -533,7 +533,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
s://koishi.pro
/ygopro/cards.cdb"
,
"cdb/_cards.cdb"
);
httpDldFile
.
Download
(
"http
://koishi.222diy.gdn
/ygopro/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"
);
}
}
...
@@ -541,7 +541,7 @@ public class Program : MonoBehaviour
...
@@ -541,7 +541,7 @@ public class Program : MonoBehaviour
{
{
PrintToChat
(
InterString
.
Get
(
"卡片数据库更新失败。"
));
PrintToChat
(
InterString
.
Get
(
"卡片数据库更新失败。"
));
}
}
httpDldFile
.
Download
(
"http
s://koishi.pro
/ygopro/lflist.conf"
,
"cdb/_lflist.conf"
);
httpDldFile
.
Download
(
"http
://koishi.222diy.gdn
/ygopro/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"
);
}
}
...
@@ -549,7 +549,7 @@ public class Program : MonoBehaviour
...
@@ -549,7 +549,7 @@ public class Program : MonoBehaviour
{
{
PrintToChat
(
InterString
.
Get
(
"禁止/限制卡表文件更新失败。"
));
PrintToChat
(
InterString
.
Get
(
"禁止/限制卡表文件更新失败。"
));
}
}
httpDldFile
.
Download
(
"http
s://koishi.pro
/ygopro/strings.conf"
,
"cdb/_strings.conf"
);
httpDldFile
.
Download
(
"http
://koishi.222diy.gdn
/ygopro/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"
);
}
}
...
...
Assets/SibylSystem/ResourceManagers/GameTextureManager.cs
View file @
7c877b04
...
@@ -818,7 +818,7 @@ public class GameTextureManager
...
@@ -818,7 +818,7 @@ public class GameTextureManager
if
(!
File
.
Exists
(
path
)
&&
pic
.
code
!=
0
&&
AutoPicDownload
)
if
(!
File
.
Exists
(
path
)
&&
pic
.
code
!=
0
&&
AutoPicDownload
)
{
{
//YGOMobile (177x254)
//YGOMobile (177x254)
df
.
Download
(
"http
s://koishi.pro
/ygopro/pics/"
+
pic
.
code
.
ToString
()
+
".jpg"
,
"picture/card/"
+
pic
.
code
.
ToString
()
+
".jpg"
);
df
.
Download
(
"http
://koishi.222diy.gdn
/ygopro/pics/"
+
pic
.
code
.
ToString
()
+
".jpg"
,
"picture/card/"
+
pic
.
code
.
ToString
()
+
".jpg"
);
path
=
"picture/card/"
+
pic
.
code
.
ToString
()
+
".jpg"
;
path
=
"picture/card/"
+
pic
.
code
.
ToString
()
+
".jpg"
;
}
}
/*if (!File.Exists(path) && pic.code != 0 && AutoPicDownload)
/*if (!File.Exists(path) && pic.code != 0 && AutoPicDownload)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment