Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
srvpro
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
3
Merge Requests
3
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
srvpro
Commits
a34331a2
Commit
a34331a2
authored
Jan 30, 2016
by
神楽坂玲奈
Committed by
Ma
Jan 30, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
7a357c47
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
ygopro-server.coffee
ygopro-server.coffee
+2
-2
ygopro-server.js
ygopro-server.js
+3
-3
No files found.
ygopro-server.coffee
View file @
a34331a2
...
@@ -393,7 +393,7 @@ ygopro.ctos_follow 'JOIN_GAME', false, (buffer, info, client, server)->
...
@@ -393,7 +393,7 @@ ygopro.ctos_follow 'JOIN_GAME', false, (buffer, info, client, server)->
return
return
opt1
=
buffer
.
readUInt8
(
2
)
opt1
=
buffer
.
readUInt8
(
2
)
opt2
=
buffer
.
readUInt
8
(
3
)
opt2
=
buffer
.
readUInt
16LE
(
3
)
opt3
=
buffer
.
readUInt8
(
5
)
opt3
=
buffer
.
readUInt8
(
5
)
options
=
{
options
=
{
lflist
:
0
lflist
:
0
...
@@ -697,7 +697,7 @@ ygopro.stoc_follow 'DUEL_START', false, (buffer, info, client, server)->
...
@@ -697,7 +697,7 @@ ygopro.stoc_follow 'DUEL_START', false, (buffer, info, client, server)->
return
unless
client
.
room
return
unless
client
.
room
unless
client
.
room
.
started
#first start
unless
client
.
room
.
started
#first start
client
.
room
.
started
=
true
client
.
room
.
started
=
true
roomlist
.
delete
room
.
name
unless
room
.
private
roomlist
.
delete
client
.
room
.
name
unless
client
.
room
.
private
#client.room.duels = []
#client.room.duels = []
client
.
room
.
dueling_players
=
[]
client
.
room
.
dueling_players
=
[]
for
player
in
client
.
room
.
players
when
player
.
pos
!=
7
for
player
in
client
.
room
.
players
when
player
.
pos
!=
7
...
...
ygopro-server.js
View file @
a34331a2
...
@@ -422,7 +422,7 @@
...
@@ -422,7 +422,7 @@
return
;
return
;
}
}
opt1
=
buffer
.
readUInt8
(
2
);
opt1
=
buffer
.
readUInt8
(
2
);
opt2
=
buffer
.
readUInt
8
(
3
);
opt2
=
buffer
.
readUInt
16LE
(
3
);
opt3
=
buffer
.
readUInt8
(
5
);
opt3
=
buffer
.
readUInt8
(
5
);
options
=
{
options
=
{
lflist
:
0
,
lflist
:
0
,
...
@@ -788,8 +788,8 @@
...
@@ -788,8 +788,8 @@
}
}
if
(
!
client
.
room
.
started
)
{
if
(
!
client
.
room
.
started
)
{
client
.
room
.
started
=
true
;
client
.
room
.
started
=
true
;
if
(
!
room
[
"
private
"
])
{
if
(
!
client
.
room
[
"
private
"
])
{
roomlist
[
"
delete
"
](
room
.
name
);
roomlist
[
"
delete
"
](
client
.
room
.
name
);
}
}
client
.
room
.
dueling_players
=
[];
client
.
room
.
dueling_players
=
[];
ref
=
client
.
room
.
players
;
ref
=
client
.
room
.
players
;
...
...
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