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
baichixing
ygopro
Commits
2bea392d
Commit
2bea392d
authored
Dec 16, 2023
by
Chen Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit comment
parent
bd9a2690
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
gframe/duelclient.cpp
gframe/duelclient.cpp
+1
-0
gframe/single_duel.cpp
gframe/single_duel.cpp
+1
-0
No files found.
gframe/duelclient.cpp
View file @
2bea392d
...
@@ -882,6 +882,7 @@ void DuelClient::HandleSTOCPacketLan(unsigned char* data, unsigned int len) {
...
@@ -882,6 +882,7 @@ void DuelClient::HandleSTOCPacketLan(unsigned char* data, unsigned int len) {
}
}
}
}
}
}
// Analyze STOC_GAME_MSG packet
int
DuelClient
::
ClientAnalyze
(
unsigned
char
*
msg
,
unsigned
int
len
)
{
int
DuelClient
::
ClientAnalyze
(
unsigned
char
*
msg
,
unsigned
int
len
)
{
unsigned
char
*
pbuf
=
msg
;
unsigned
char
*
pbuf
=
msg
;
wchar_t
textBuffer
[
256
];
wchar_t
textBuffer
[
256
];
...
...
gframe/single_duel.cpp
View file @
2bea392d
...
@@ -579,6 +579,7 @@ void SingleDuel::Surrender(DuelPlayer* dp) {
...
@@ -579,6 +579,7 @@ void SingleDuel::Surrender(DuelPlayer* dp) {
DuelEndProc
();
DuelEndProc
();
event_del
(
etimer
);
event_del
(
etimer
);
}
}
// Analyze ocgcore message
int
SingleDuel
::
Analyze
(
unsigned
char
*
msgbuffer
,
unsigned
int
len
)
{
int
SingleDuel
::
Analyze
(
unsigned
char
*
msgbuffer
,
unsigned
int
len
)
{
unsigned
char
*
offset
,
*
pbufw
,
*
pbuf
=
msgbuffer
;
unsigned
char
*
offset
,
*
pbufw
,
*
pbuf
=
msgbuffer
;
int
player
,
count
,
type
;
int
player
,
count
,
type
;
...
...
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