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
bd68750c
Commit
bd68750c
authored
Jun 19, 2025
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
working without pre_seed
parent
a695de23
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
10 deletions
+0
-10
gframe/single_duel.cpp
gframe/single_duel.cpp
+0
-5
gframe/tag_duel.cpp
gframe/tag_duel.cpp
+0
-5
No files found.
gframe/single_duel.cpp
View file @
bd68750c
...
@@ -540,11 +540,6 @@ void SingleDuel::TPResult(DuelPlayer* dp, unsigned char tp) {
...
@@ -540,11 +540,6 @@ void SingleDuel::TPResult(DuelPlayer* dp, unsigned char tp) {
rh
.
base
.
version
=
PRO_VERSION
;
rh
.
base
.
version
=
PRO_VERSION
;
rh
.
base
.
flag
=
REPLAY_UNIFORM
;
rh
.
base
.
flag
=
REPLAY_UNIFORM
;
rh
.
base
.
start_time
=
(
uint32_t
)
std
::
time
(
nullptr
);
rh
.
base
.
start_time
=
(
uint32_t
)
std
::
time
(
nullptr
);
#ifdef YGOPRO_SERVER_MODE
if
(
pre_seed_specified
[
duel_count
])
memcpy
(
rh
.
seed_sequence
,
pre_seed
[
duel_count
],
SEED_COUNT
*
sizeof
(
uint32_t
));
else
#endif
for
(
auto
&
x
:
rh
.
seed_sequence
)
for
(
auto
&
x
:
rh
.
seed_sequence
)
x
=
rd
();
x
=
rd
();
mtrandom
rnd
(
rh
.
seed_sequence
,
SEED_COUNT
);
mtrandom
rnd
(
rh
.
seed_sequence
,
SEED_COUNT
);
...
...
gframe/tag_duel.cpp
View file @
bd68750c
...
@@ -516,11 +516,6 @@ void TagDuel::TPResult(DuelPlayer* dp, unsigned char tp) {
...
@@ -516,11 +516,6 @@ void TagDuel::TPResult(DuelPlayer* dp, unsigned char tp) {
rh
.
base
.
version
=
PRO_VERSION
;
rh
.
base
.
version
=
PRO_VERSION
;
rh
.
base
.
flag
=
REPLAY_UNIFORM
|
REPLAY_TAG
;
rh
.
base
.
flag
=
REPLAY_UNIFORM
|
REPLAY_TAG
;
rh
.
base
.
start_time
=
(
uint32_t
)
std
::
time
(
nullptr
);
rh
.
base
.
start_time
=
(
uint32_t
)
std
::
time
(
nullptr
);
#ifdef YGOPRO_SERVER_MODE
if
(
pre_seed_specified
[
duel_count
])
memcpy
(
rh
.
seed_sequence
,
pre_seed
[
duel_count
],
SEED_COUNT
*
sizeof
(
uint32_t
));
else
#endif
for
(
auto
&
x
:
rh
.
seed_sequence
)
for
(
auto
&
x
:
rh
.
seed_sequence
)
x
=
rd
();
x
=
rd
();
mtrandom
rnd
(
rh
.
seed_sequence
,
SEED_COUNT
);
mtrandom
rnd
(
rh
.
seed_sequence
,
SEED_COUNT
);
...
...
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