Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
R
rd-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
苍蓝
rd-ygopro
Commits
5a814d86
Commit
5a814d86
authored
Jun 17, 2024
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'server' of git.mycard.moe:nanahira/ygopro into server-develop
parents
6602aafa
19893fad
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
4 deletions
+16
-4
gframe/single_duel.cpp
gframe/single_duel.cpp
+6
-1
gframe/tag_duel.cpp
gframe/tag_duel.cpp
+6
-1
ocgcore
ocgcore
+1
-1
premake5.lua
premake5.lua
+1
-0
script
script
+1
-1
strings.conf
strings.conf
+1
-0
No files found.
gframe/single_duel.cpp
View file @
5a814d86
...
...
@@ -404,7 +404,12 @@ void SingleDuel::UpdateDeck(DuelPlayer* dp, unsigned char* pdata, int len) {
valid
=
false
;
else
if
(
sidec
<
0
||
sidec
>
SIDEC_MAX
)
valid
=
false
;
else
if
(
deck_size
!=
(
mainc
+
sidec
)
*
(
int
)
sizeof
(
int32_t
))
else
if
#ifdef YGOPRO_SERVER_MODE
(
deck_size
<
(
mainc
+
sidec
)
*
(
int
)
sizeof
(
int32_t
)
||
deck_size
>
MAINC_MAX
+
SIDEC_MAX
)
#else
(
deck_size
!=
(
mainc
+
sidec
)
*
(
int
)
sizeof
(
int32_t
))
#endif
valid
=
false
;
if
(
!
valid
)
{
STOC_ErrorMsg
scem
;
...
...
gframe/tag_duel.cpp
View file @
5a814d86
...
...
@@ -390,7 +390,12 @@ void TagDuel::UpdateDeck(DuelPlayer* dp, unsigned char* pdata, int len) {
valid
=
false
;
else
if
(
sidec
<
0
||
sidec
>
SIDEC_MAX
)
valid
=
false
;
else
if
(
deck_size
!=
(
mainc
+
sidec
)
*
(
int
)
sizeof
(
int32_t
))
else
if
#ifdef YGOPRO_SERVER_MODE
(
deck_size
<
(
mainc
+
sidec
)
*
(
int
)
sizeof
(
int32_t
)
||
deck_size
>
MAINC_MAX
+
SIDEC_MAX
)
#else
(
deck_size
!=
(
mainc
+
sidec
)
*
(
int
)
sizeof
(
int32_t
))
#endif
valid
=
false
;
if
(
!
valid
)
{
STOC_ErrorMsg
scem
;
...
...
ocgcore
@
f2b08bd8
Subproject commit
d4430f0ae3f415b322bd58de7b3c3fdec849feb3
Subproject commit
f2b08bd829e232bf623456f80d5b2d82f8d7eb3e
premake5.lua
View file @
5a814d86
...
...
@@ -68,6 +68,7 @@ boolOptions = {
"no-lua-safe"
,
"message-debug"
,
"no-side-check"
,
"enable-debug-func"
}
for
_
,
boolOption
in
ipairs
(
boolOptions
)
do
...
...
script
@
eccdab43
Subproject commit
6aff241a80b38289696a1fc52b7fcc754f6eb4b5
Subproject commit
eccdab4349138c7c4aa1f2f44ea994dfa98c0b79
strings.conf
View file @
5a814d86
...
...
@@ -139,6 +139,7 @@
!
system
572
请选择要放置指示物的卡
!
system
573
请选择要无效的卡
!
system
574
请选择要操作的卡
!
system
575
请选择场上的卡(按取消可选择其他区域的卡)
!
system
1000
卡组
!
system
1001
手卡
!
system
1002
怪兽区
...
...
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