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
be62a36e
Commit
be62a36e
authored
Jun 20, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'patch-skip-confirm' of
https://github.com/mercury233/ygopro
into pre-20250620
parents
dd22c41c
58311b52
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 @
be62a36e
...
...
@@ -2164,6 +2164,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
;
...
...
@@ -2250,7 +2251,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 @
be62a36e
...
...
@@ -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 @
be62a36e
...
...
@@ -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 @
be62a36e
...
...
@@ -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 @
be62a36e
...
...
@@ -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