Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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
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
MyCard
ygopro-2pick
Commits
6d178e0b
Commit
6d178e0b
authored
Apr 21, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
solve chat problem
parent
98c786ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
gframe/duelclient.cpp
gframe/duelclient.cpp
+6
-3
No files found.
gframe/duelclient.cpp
View file @
6d178e0b
...
@@ -746,11 +746,12 @@ void DuelClient::HandleSTOCPacketLan(char* data, unsigned int len) {
...
@@ -746,11 +746,12 @@ void DuelClient::HandleSTOCPacketLan(char* data, unsigned int len) {
STOC_Chat
*
pkt
=
(
STOC_Chat
*
)
pdata
;
STOC_Chat
*
pkt
=
(
STOC_Chat
*
)
pdata
;
int
player
=
pkt
->
player
;
int
player
=
pkt
->
player
;
if
(
player
<
4
)
{
if
(
player
<
4
)
{
if
(
mainGame
->
chkIgnore1
->
isChecked
())
break
;
if
(
!
mainGame
->
dInfo
.
isTag
)
{
if
(
!
mainGame
->
dInfo
.
isTag
)
{
if
(
mainGame
->
dInfo
.
isStarted
)
if
(
mainGame
->
dInfo
.
isStarted
)
{
player
=
mainGame
->
LocalPlayer
(
player
);
player
=
mainGame
->
LocalPlayer
(
player
);
if
(
player
==
1
&&
mainGame
->
chkIgnore1
->
isChecked
())
break
;
}
}
else
{
}
else
{
if
(
mainGame
->
dInfo
.
isStarted
&&
!
mainGame
->
dInfo
.
isFirst
)
if
(
mainGame
->
dInfo
.
isStarted
&&
!
mainGame
->
dInfo
.
isFirst
)
player
^=
2
;
player
^=
2
;
...
@@ -764,6 +765,8 @@ void DuelClient::HandleSTOCPacketLan(char* data, unsigned int len) {
...
@@ -764,6 +765,8 @@ void DuelClient::HandleSTOCPacketLan(char* data, unsigned int len) {
player
=
3
;
player
=
3
;
else
else
player
=
10
;
player
=
10
;
if
((
player
==
1
||
player
==
3
)
&&
mainGame
->
chkIgnore1
->
isChecked
())
break
;
}
}
}
else
{
}
else
{
if
(
player
==
8
)
{
//system custom message.
if
(
player
==
8
)
{
//system custom message.
...
...
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