Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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
REIKAI
ygopro
Commits
5d9935b0
Commit
5d9935b0
authored
Dec 26, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into test-screenshot-time
parents
86a9c9aa
7af7ae23
Changes
11
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
434 additions
and
45 deletions
+434
-45
.travis.yml
.travis.yml
+1
-1
appveyor.yml
appveyor.yml
+1
-1
cards.cdb
cards.cdb
+0
-0
gframe/client_field.cpp
gframe/client_field.cpp
+4
-4
gframe/single_duel.cpp
gframe/single_duel.cpp
+2
-1
gframe/tag_duel.cpp
gframe/tag_duel.cpp
+2
-1
lflist.conf
lflist.conf
+392
-8
ocgcore
ocgcore
+1
-1
premake/gframe/ygopro.rc
premake/gframe/ygopro.rc
+2
-2
script
script
+1
-1
strings.conf
strings.conf
+28
-25
No files found.
.travis.yml
View file @
5d9935b0
...
...
@@ -86,7 +86,7 @@ before_deploy:
7z a -mx9 -xr!.git* KoishiPro-$TRAVIS_OS_NAME-$TRAVIS_TAG.zip ygopro.app;
fi
-
curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://
s.my-card.in:444
/images/ygopro-images-zh-CN.zip
-
curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://
minio-tokin.mycard.moe:9001/mycard
/images/ygopro-images-zh-CN.zip
-
7z x -y -opics ygopro-images-zh-CN.zip > /dev/null
-
curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/moecube/ygopro-starter-pack/archive/master.zip
...
...
appveyor.yml
View file @
5d9935b0
...
...
@@ -59,7 +59,7 @@ after_build:
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/purerosefallen/windbot/releases/download/latest/WindBot.7z ; exit 0"
-
7z x -y WindBot.7z
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://
s.my-card.in:444
/images/ygopro-images-zh-CN.zip ; exit 0"
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://
minio-tokin.mycard.moe:9001/mycard
/images/ygopro-images-zh-CN.zip ; exit 0"
-
7z x -y -opics ygopro-images-zh-CN.zip
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/purerosefallen/update-koishipro/archive/master.zip ; exit 0"
...
...
cards.cdb
View file @
5d9935b0
No preview for this file type
gframe/client_field.cpp
View file @
5d9935b0
...
...
@@ -1585,10 +1585,10 @@ void ClientField::RefreshCardCountDisplay() {
for
(
auto
it
=
mzone
[
p
].
begin
();
it
!=
mzone
[
p
].
end
();
++
it
)
{
pcard
=
*
it
;
if
(
pcard
)
{
if
(
pcard
->
type
&
TYPE_LINK
&&
pcard
->
link
)
mainGame
->
dInfo
.
card_count
[
p
]
+=
pcard
->
link
;
else
mainGame
->
dInfo
.
card_count
[
p
]
++
;
//
if(pcard->type & TYPE_LINK && pcard->link)
//
mainGame->dInfo.card_count[p] += pcard->link;
//
else
mainGame
->
dInfo
.
card_count
[
p
]
++
;
if
(
pcard
->
position
==
POS_FACEUP_ATTACK
&&
pcard
->
attack
>
0
&&
(
p
==
1
||
mainGame
->
dInfo
.
curMsg
!=
MSG_SELECT_BATTLECMD
||
pcard
->
cmdFlag
&
COMMAND_ATTACK
))
mainGame
->
dInfo
.
total_attack
[
p
]
+=
pcard
->
attack
;
}
...
...
gframe/single_duel.cpp
View file @
5d9935b0
...
...
@@ -290,7 +290,8 @@ void SingleDuel::UpdateDeck(DuelPlayer* dp, void* pdata, unsigned int len) {
int
mainc
=
BufferIO
::
ReadInt32
(
deckbuf
);
int
sidec
=
BufferIO
::
ReadInt32
(
deckbuf
);
// verify data
if
((
unsigned
)
mainc
+
(
unsigned
)
sidec
>
(
len
-
8
)
/
4
)
{
const
unsigned
int
possibleMaxLength
=
(
len
-
8
)
/
4
;
if
((
unsigned
)
mainc
>
possibleMaxLength
||
(
unsigned
)
sidec
>
possibleMaxLength
||
(
unsigned
)
mainc
+
(
unsigned
)
sidec
>
possibleMaxLength
)
{
STOC_ErrorMsg
scem
;
scem
.
msg
=
ERRMSG_DECKERROR
;
scem
.
code
=
0
;
...
...
gframe/tag_duel.cpp
View file @
5d9935b0
...
...
@@ -265,7 +265,8 @@ void TagDuel::UpdateDeck(DuelPlayer* dp, void* pdata, unsigned int len) {
int
mainc
=
BufferIO
::
ReadInt32
(
deckbuf
);
int
sidec
=
BufferIO
::
ReadInt32
(
deckbuf
);
// verify data
if
((
unsigned
)
mainc
+
(
unsigned
)
sidec
>
(
len
-
8
)
/
4
)
{
const
unsigned
int
possibleMaxLength
=
(
len
-
8
)
/
4
;
if
((
unsigned
)
mainc
>
possibleMaxLength
||
(
unsigned
)
sidec
>
possibleMaxLength
||
(
unsigned
)
mainc
+
(
unsigned
)
sidec
>
possibleMaxLength
)
{
STOC_ErrorMsg
scem
;
scem
.
msg
=
ERRMSG_DECKERROR
;
scem
.
code
=
0
;
...
...
lflist.conf
View file @
5d9935b0
This diff is collapsed.
Click to expand it.
ocgcore
@
263477ac
Subproject commit
c74b1cf03f536b951ba8cdedf4a5e0f8ab4f37d2
Subproject commit
263477ac07cc4b2c553a0cec92ed69049b012ead
premake/gframe/ygopro.rc
View file @
5d9935b0
...
...
@@ -16,8 +16,8 @@ VALUE "InternalName", "KoishiPro"
VALUE "LegalCopyright", "Copyright (C) 2019 Nanahira"
VALUE "OriginalFilename", "ygopro_another.exe"
VALUE "ProductName", "KoishiPro"
VALUE "FileVersion", "
Koikokoro
"
VALUE "ProductVersion", "
Koikokoro
"
VALUE "FileVersion", "
Cherish
"
VALUE "ProductVersion", "
Cherish
"
END
END
BLOCK "VarFileInfo"
...
...
script
@
114acd4a
Subproject commit
b6819fc3480b886fd6f1a840297e8df2367e0c43
Subproject commit
114acd4a251b0c1d37e8d9e61ee042c87609f7cd
strings.conf
View file @
5d9935b0
...
...
@@ -17,7 +17,7 @@
!
system
22
主要阶段中
!
system
23
即将结束主要阶段
!
system
24
战斗阶段中
!
system
25
战斗
结束阶段中
!
system
25
战斗
阶段结束时
!
system
26
结束阶段中
!
system
27
抽卡前
!
system
28
战斗阶段开始
...
...
@@ -496,9 +496,9 @@
!
system
1500
决斗结束。
!
system
1501
录像结束。
!
system
1502
连接已断开。
!
system
1510
对方
选择了:[%
ls
]
!
system
1511
对方
宣言了:[%
ls
]
!
system
1512
对方
选择了:[%
d
]
!
system
1510
玩家
选择了:[%
ls
]
!
system
1511
玩家
宣言了:[%
ls
]
!
system
1512
玩家
选择了:[%
d
]
!
system
1600
卡片改变了表示形式
!
system
1601
盖放了卡片
!
system
1602
卡的控制权改变了
...
...
@@ -509,7 +509,7 @@
!
system
1607
[%
ls
]反转召唤中
!
system
1608
怪兽反转召唤成功
!
system
1609
[%
ls
]的效果发动
!
system
1610
[%
ls
](%
ls
,%
d
)成为对象
!
system
1610
[%
ls
](%
ls
,%
d
)成为对象
或目标
!
system
1611
我方抽了%
d
张卡
!
system
1612
对方抽了%
d
张卡
!
system
1613
我方受到%
d
伤害
...
...
@@ -532,24 +532,24 @@
!
victory
0
x2
没有卡可抽
!
victory
0
x3
超时
!
victory
0
x4
失去连接
!
victory
0
x10
「被封印的艾克佐迪亚」
效果
胜利
!
victory
0
x11
「终焉的倒计时」
效果
胜利
!
victory
0
x12
「毒蛇神 维诺米纳迦」
效果
胜利
!
victory
0
x13
「光之创造神 哈拉克提」
效果
胜利
!
victory
0
x14
「究极封印神 艾克佐迪奥斯」
效果
胜利
!
victory
0
x15
「通灵盘」
效果
胜利
!
victory
0
x16
「最终一战!」
效果
胜利
!
victory
0
x17
「
No
.
88
机关傀儡-命运狮子」
效果
胜利
!
victory
0
x18
「混沌
No
.
88
机关傀儡-灾厄狮子」
效果
胜利
!
victory
0
x19
「头奖壶
7
」
效果
胜利
!
victory
0
x1a
「魂之接力」
效果
胜利
!
victory
0
x1b
「鬼计惰天使」
效果
胜利
!
victory
0
x1c
「幻煌龙的天涡」
效果
胜利
!
victory
0
x1d
「方程式运动员胜利团队」
效果
胜利
!
victory
0
x1e
「飞行象」
效果
胜利
!
victory
0
x1f
「守护神 艾克佐迪亚」
效果
胜利
!
victory
0
x20
「真艾克佐迪亚」
效果
胜利
!
victory
0
xffff
由于「%
ls
」
的效果
获得比赛胜利
!
victory
0
x10
「被封印的艾克佐迪亚」
特殊
胜利
!
victory
0
x11
「终焉的倒计时」
特殊
胜利
!
victory
0
x12
「毒蛇神 维诺米纳迦」
特殊
胜利
!
victory
0
x13
「光之创造神 哈拉克提」
特殊
胜利
!
victory
0
x14
「究极封印神 艾克佐迪奥斯」
特殊
胜利
!
victory
0
x15
「通灵盘」
特殊
胜利
!
victory
0
x16
「最终一战!」
特殊
胜利
!
victory
0
x17
「
No
.
88
机关傀儡-命运狮子」
特殊
胜利
!
victory
0
x18
「混沌
No
.
88
机关傀儡-灾厄狮子」
特殊
胜利
!
victory
0
x19
「头奖壶
7
」
特殊
胜利
!
victory
0
x1a
「魂之接力」
特殊
胜利
!
victory
0
x1b
「鬼计惰天使」
特殊
胜利
!
victory
0
x1c
「幻煌龙的天涡」
特殊
胜利
!
victory
0
x1d
「方程式运动员胜利团队」
特殊
胜利
!
victory
0
x1e
「飞行象」
特殊
胜利
!
victory
0
x1f
「守护神 艾克佐迪亚」
特殊
胜利
!
victory
0
x20
「真艾克佐迪亚」
特殊
胜利
!
victory
0
xffff
由于「%
ls
」获得比赛胜利
#counters
!
counter
0
x1
魔力指示物
!
counter
0
x1002
楔指示物
...
...
@@ -1027,7 +1027,7 @@
!
setname
0
x12f
蜂军
B
・
F
(ビー・フォース)
!
setname
0
x130
破械
!
setname
0
x1130
破械神
!
setname
0
x131
梦
镜
Dream
Mirror
!
setname
0
x131
梦
魔镜 夢魔鏡
!
setname
0
x132
斩机 斬機
!
setname
0
x133
半龙女仆 ドラゴンメイド
!
setname
0
x134
王战 ジェネレイド
...
...
@@ -1041,7 +1041,7 @@
!
setname
0
x13c
代码破坏者 コードブレイカー
!
setname
0
x13d
星义 ネメシス
!
setname
0
x13e
巴巴罗斯 バルバロス
!
setname
0
x13f
巡掠海魔
Plunder
Patroll
!
setname
0
x13f
海造贼 海造賊
!
setname
0
x140
魔救 アダマシア
!
setname
0
x141
六花
#setname 0x142 黄金国 エルド
...
...
@@ -1075,3 +1075,6 @@
!
setname
0
x152
姬丝基勒 キスキル
!
setname
0
x153
璃拉 リィラ
!
setname
0
x154
龙辉巧 ドライトロン
!
setname
0
x155
护宝炮妖 スプリガンズ
!
setname
0
x156
治安战警队
S
-
Force
!
setname
0
x157
突变体
Myutant
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