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
1
Issues
1
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
hex
ygopro2
Commits
dd164def
Commit
dd164def
authored
Feb 07, 2026
by
hex
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix confirm decktop card mapping consistency
parent
d323f7a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
17 deletions
+3
-17
Assets/SibylSystem/Ocgcore/Ocgcore.cs
Assets/SibylSystem/Ocgcore/Ocgcore.cs
+3
-17
No files found.
Assets/SibylSystem/Ocgcore/Ocgcore.cs
View file @
dd164def
...
@@ -2471,20 +2471,12 @@ public class Ocgcore : ServantWithCardDescription
...
@@ -2471,20 +2471,12 @@ public class Ocgcore : ServantWithCardDescription
case
GameMessage
.
ConfirmDecktop
:
case
GameMessage
.
ConfirmDecktop
:
player
=
localPlayer
(
r
.
ReadByte
());
player
=
localPlayer
(
r
.
ReadByte
());
count
=
r
.
ReadByte
();
count
=
r
.
ReadByte
();
int
countOfDeck
=
countLocation
(
player
,
CardLocation
.
Deck
);
for
(
int
i
=
0
;
i
<
count
;
i
++)
for
(
int
i
=
0
;
i
<
count
;
i
++)
{
{
code
=
r
.
ReadInt32
();
code
=
r
.
ReadInt32
();
gps
=
r
.
ReadShortGPS
();
gps
=
r
.
ReadShortGPS
();
card
=
GCS_cardGet
(
gps
.
controller
=
(
UInt32
)
player
;
new
GPS
card
=
GCS_cardGet
(
gps
,
false
);
{
controller
=
(
UInt32
)
player
,
location
=
(
UInt32
)
CardLocation
.
Deck
,
sequence
=
(
UInt32
)(
countOfDeck
-
1
-
i
),
},
false
);
if
(
card
!=
null
)
if
(
card
!=
null
)
{
{
card
.
set_code
(
code
);
card
.
set_code
(
code
);
...
@@ -4811,17 +4803,11 @@ public class Ocgcore : ServantWithCardDescription
...
@@ -4811,17 +4803,11 @@ public class Ocgcore : ServantWithCardDescription
case
GameMessage
.
ConfirmDecktop
:
case
GameMessage
.
ConfirmDecktop
:
player
=
localPlayer
(
r
.
ReadByte
());
player
=
localPlayer
(
r
.
ReadByte
());
count
=
r
.
ReadByte
();
count
=
r
.
ReadByte
();
int
countOfDeck
=
countLocation
(
player
,
CardLocation
.
Deck
);
for
(
int
i
=
0
;
i
<
count
;
i
++)
for
(
int
i
=
0
;
i
<
count
;
i
++)
{
{
code
=
r
.
ReadInt32
();
code
=
r
.
ReadInt32
();
gps
=
r
.
ReadShortGPS
();
gps
=
r
.
ReadShortGPS
();
gps
=
new
GPS
gps
.
controller
=
(
UInt32
)
player
;
{
controller
=
(
UInt32
)
player
,
location
=
(
UInt32
)
CardLocation
.
Deck
,
sequence
=
(
UInt32
)(
countOfDeck
-
1
-
i
),
};
card
=
GCS_cardGet
(
gps
,
false
);
card
=
GCS_cardGet
(
gps
,
false
);
if
(
card
!=
null
)
if
(
card
!=
null
)
{
{
...
...
hex
@hex
mentioned in commit
bd251b82
·
Feb 12, 2026
mentioned in commit
bd251b82
mentioned in commit bd251b823ff2d35707b2de63de6f3ab237a98072
Toggle commit list
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