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
b78038c2
Commit
b78038c2
authored
Dec 26, 2017
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of ../ygopro-7210srv
parents
0e09bd5c
1888ff37
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
10 deletions
+9
-10
appveyor.yml
appveyor.yml
+4
-5
cards.cdb
cards.cdb
+0
-0
gframe/game.cpp
gframe/game.cpp
+1
-1
gframe/tag_duel.cpp
gframe/tag_duel.cpp
+4
-4
No files found.
appveyor.yml
View file @
b78038c2
...
@@ -16,9 +16,9 @@ install:
...
@@ -16,9 +16,9 @@ install:
-
tar xf lua-5.3.4.tar.gz
-
tar xf lua-5.3.4.tar.gz
-
move lua-5.3.4\src lua
-
move lua-5.3.4\src lua
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://www.sqlite.org/2016/sqlite-amalgamation-3
1502
00.zip ; exit 0"
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://www.sqlite.org/2016/sqlite-amalgamation-3
2100
00.zip ; exit 0"
-
7z x sqlite-amalgamation-3
1502
00.zip
-
7z x sqlite-amalgamation-3
2100
00.zip
-
move sqlite-amalgamation-3
1502
00 sqlite3
-
move sqlite-amalgamation-3
2100
00 sqlite3
-
appveyor DownloadFile https://github.com/tronkko/dirent/raw/master/include/dirent.h
-
appveyor DownloadFile https://github.com/tronkko/dirent/raw/master/include/dirent.h
-
move dirent.h gframe\
-
move dirent.h gframe\
...
@@ -124,9 +124,8 @@ cache:
...
@@ -124,9 +124,8 @@ cache:
-
freetype-2.8.tar.bz2
-
freetype-2.8.tar.bz2
-
irrlicht-1.8.4.zip
-
irrlicht-1.8.4.zip
-
lua-5.3.4.tar.gz
-
lua-5.3.4.tar.gz
-
sqlite-amalgamation-32
001
00.zip
-
sqlite-amalgamation-32
100
00.zip
-
irrKlang-32bit-1.5.0.zip
-
irrKlang-32bit-1.5.0.zip
-
sqlite-amalgamation-3150200.zip
-
premake-5.0.0-alpha10-windows.zip
-
premake-5.0.0-alpha10-windows.zip
-
Redis-x64-3.2.100.zip
-
Redis-x64-3.2.100.zip
cards.cdb
View file @
b78038c2
No preview for this file type
gframe/game.cpp
View file @
b78038c2
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
#include <dirent.h>
#include <dirent.h>
#endif
#endif
const
unsigned
short
PRO_VERSION
=
0x134
1
;
const
unsigned
short
PRO_VERSION
=
0x134
2
;
namespace
ygo
{
namespace
ygo
{
...
...
gframe/tag_duel.cpp
View file @
b78038c2
...
@@ -941,12 +941,12 @@ int TagDuel::Analyze(char* msgbuffer, unsigned int len) {
...
@@ -941,12 +941,12 @@ int TagDuel::Analyze(char* msgbuffer, unsigned int len) {
case
MSG_SHUFFLE_EXTRA
:
{
case
MSG_SHUFFLE_EXTRA
:
{
player
=
BufferIO
::
ReadInt8
(
pbuf
);
player
=
BufferIO
::
ReadInt8
(
pbuf
);
count
=
BufferIO
::
ReadInt8
(
pbuf
);
count
=
BufferIO
::
ReadInt8
(
pbuf
);
NetServer
::
SendBufferToPlayer
(
players
[
player
],
STOC_GAME_MSG
,
offset
,
(
pbuf
-
offset
)
+
count
*
4
);
NetServer
::
SendBufferToPlayer
(
cur_player
[
player
],
STOC_GAME_MSG
,
offset
,
(
pbuf
-
offset
)
+
count
*
4
);
NetServer
::
ReSendToPlayer
(
players
[
player
*
2
+
1
]);
for
(
int
i
=
0
;
i
<
count
;
++
i
)
for
(
int
i
=
0
;
i
<
count
;
++
i
)
BufferIO
::
WriteInt32
(
pbuf
,
0
);
BufferIO
::
WriteInt32
(
pbuf
,
0
);
for
(
int
p
=
(
1
-
player
)
*
2
,
i
=
0
;
i
<
2
;
i
++
,
p
++
)
for
(
int
i
=
0
;
i
<
4
;
++
i
)
NetServer
::
SendBufferToPlayer
(
players
[
p
],
STOC_GAME_MSG
,
offset
,
pbuf
-
offset
);
if
(
players
[
i
]
!=
cur_player
[
player
])
NetServer
::
SendBufferToPlayer
(
players
[
i
],
STOC_GAME_MSG
,
offset
,
pbuf
-
offset
);
for
(
auto
oit
=
observers
.
begin
();
oit
!=
observers
.
end
();
++
oit
)
for
(
auto
oit
=
observers
.
begin
();
oit
!=
observers
.
end
();
++
oit
)
NetServer
::
ReSendToPlayer
(
*
oit
);
NetServer
::
ReSendToPlayer
(
*
oit
);
RefreshExtra
(
player
);
RefreshExtra
(
player
);
...
...
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