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
YGOPRO-520DIY
ygopro
Commits
f4db5750
Commit
f4db5750
authored
Jun 29, 2025
by
mercury233
Committed by
GitHub
Jun 29, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update MSG_CONFIRM_CARDS, add skip_panel (#2470)
parent
db1633bf
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
1 deletion
+6
-1
gframe/duelclient.cpp
gframe/duelclient.cpp
+2
-1
gframe/replay_mode.cpp
gframe/replay_mode.cpp
+1
-0
gframe/single_duel.cpp
gframe/single_duel.cpp
+1
-0
gframe/single_mode.cpp
gframe/single_mode.cpp
+1
-0
gframe/tag_duel.cpp
gframe/tag_duel.cpp
+1
-0
No files found.
gframe/duelclient.cpp
View file @
f4db5750
...
...
@@ -2145,6 +2145,7 @@ bool DuelClient::ClientAnalyze(unsigned char* msg, int len) {
}
case
MSG_CONFIRM_CARDS
:
{
/*int player = */
mainGame
->
LocalPlayer
(
BufferIO
::
ReadUInt8
(
pbuf
));
int
skip_panel
=
BufferIO
::
ReadUInt8
(
pbuf
);
int
count
=
BufferIO
::
ReadUInt8
(
pbuf
);
int
c
,
s
;
unsigned
int
code
,
l
;
...
...
@@ -2231,7 +2232,7 @@ bool DuelClient::ClientAnalyze(unsigned char* msg, int len) {
}
mainGame
->
WaitFrameSignal
(
5
);
}
if
(
panel_confirm
.
size
()
&&
mainGame
->
dInfo
.
player_type
!=
7
)
{
if
(
!
skip_panel
&&
panel_confirm
.
size
()
&&
mainGame
->
dInfo
.
player_type
!=
7
)
{
std
::
sort
(
panel_confirm
.
begin
(),
panel_confirm
.
end
(),
ClientCard
::
client_card_sort
);
mainGame
->
gMutex
.
lock
();
mainGame
->
dField
.
selectable_cards
=
panel_confirm
;
...
...
gframe/replay_mode.cpp
View file @
f4db5750
...
...
@@ -446,6 +446,7 @@ bool ReplayMode::ReplayAnalyze(unsigned char* msg, unsigned int len) {
}
case
MSG_CONFIRM_CARDS
:
{
player
=
BufferIO
::
ReadUInt8
(
pbuf
);
pbuf
+=
1
;
count
=
BufferIO
::
ReadUInt8
(
pbuf
);
pbuf
+=
count
*
7
;
DuelClient
::
ClientAnalyze
(
offset
,
pbuf
-
offset
);
...
...
gframe/single_duel.cpp
View file @
f4db5750
...
...
@@ -821,6 +821,7 @@ int SingleDuel::Analyze(unsigned char* msgbuffer, unsigned int len) {
}
case
MSG_CONFIRM_CARDS
:
{
player
=
BufferIO
::
ReadUInt8
(
pbuf
);
pbuf
+=
1
;
count
=
BufferIO
::
ReadUInt8
(
pbuf
);
if
(
pbuf
[
5
]
!=
LOCATION_DECK
)
{
pbuf
+=
count
*
7
;
...
...
gframe/single_mode.cpp
View file @
f4db5750
...
...
@@ -378,6 +378,7 @@ bool SingleMode::SinglePlayAnalyze(unsigned char* msg, unsigned int len) {
}
case
MSG_CONFIRM_CARDS
:
{
player
=
BufferIO
::
ReadUInt8
(
pbuf
);
pbuf
+=
1
;
count
=
BufferIO
::
ReadUInt8
(
pbuf
);
pbuf
+=
count
*
7
;
DuelClient
::
ClientAnalyze
(
offset
,
pbuf
-
offset
);
...
...
gframe/tag_duel.cpp
View file @
f4db5750
...
...
@@ -781,6 +781,7 @@ int TagDuel::Analyze(unsigned char* msgbuffer, unsigned int len) {
}
case
MSG_CONFIRM_CARDS
:
{
player
=
BufferIO
::
ReadUInt8
(
pbuf
);
pbuf
+=
1
;
count
=
BufferIO
::
ReadUInt8
(
pbuf
);
if
(
pbuf
[
5
]
!=
LOCATION_DECK
)
{
pbuf
+=
count
*
7
;
...
...
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