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
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
srvpro
Commits
15d436ab
Commit
15d436ab
authored
Dec 30, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
3bce790e
Pipeline
#42282
passed with stages
in 10 minutes and 18 seconds
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
20 deletions
+20
-20
ygopro-server.coffee
ygopro-server.coffee
+7
-7
ygopro-server.js
ygopro-server.js
+13
-13
No files found.
ygopro-server.coffee
View file @
15d436ab
...
...
@@ -3164,13 +3164,6 @@ ygopro.stoc_follow 'DUEL_START', false, (buffer, info, client, server, datas)->
ROOM_players_oppentlist
[
player
.
ip
]
=
null
if
room
.
hostinfo
.
auto_death
ygopro
.
stoc_send_chat_to_room
(
room
,
"${auto_death_part1}
#{
room
.
hostinfo
.
auto_death
}
${auto_death_part2}"
,
ygopro
.
constants
.
COLORS
.
BABYBLUE
)
if
settings
.
modules
.
hide_name
==
"start"
for
player
in
room
.
get_playing_player
()
when
player
!=
client
ygopro
.
stoc_send
(
client
,
'HS_PLAYER_ENTER'
,
{
name
:
player
.
name
,
pos
:
player
.
pos
padding
:
0
,
})
if
room
.
arena
await
call_match_api
(
'POST'
,
'room-start'
,
{
usernameA
:
playing_players
[
0
].
name
,
...
...
@@ -3185,6 +3178,13 @@ ygopro.stoc_follow 'DUEL_START', false, (buffer, info, client, server, datas)->
clearInterval
client
.
side_interval
client
.
side_interval
=
null
client
.
side_tcount
=
null
if
settings
.
modules
.
hide_name
==
"start"
and
room
.
duel_count
==
0
for
player
in
room
.
get_playing_player
()
when
player
!=
client
ygopro
.
stoc_send
(
client
,
'HS_PLAYER_ENTER'
,
{
name
:
player
.
name
,
pos
:
player
.
pos
padding
:
0
,
})
if
settings
.
modules
.
tips
.
enabled
ygopro
.
stoc_send_random_tip
(
client
)
deck_text
=
null
...
...
ygopro-server.js
View file @
15d436ab
...
...
@@ -4217,19 +4217,6 @@
if
(
room
.
hostinfo
.
auto_death
)
{
ygopro
.
stoc_send_chat_to_room
(
room
,
`\${auto_death_part1}
${
room
.
hostinfo
.
auto_death
}
\${auto_death_part2}`
,
ygopro
.
constants
.
COLORS
.
BABYBLUE
);
}
if
(
settings
.
modules
.
hide_name
===
"
start
"
)
{
ref
=
room
.
get_playing_player
();
for
(
l
=
0
,
len1
=
ref
.
length
;
l
<
len1
;
l
++
)
{
player
=
ref
[
l
];
if
(
player
!==
client
)
{
ygopro
.
stoc_send
(
client
,
'
HS_PLAYER_ENTER
'
,
{
name
:
player
.
name
,
pos
:
player
.
pos
,
padding
:
0
});
}
}
}
if
(
room
.
arena
)
{
await
call_match_api
(
'
POST
'
,
'
room-start
'
,
{
usernameA
:
playing_players
[
0
].
name
,
...
...
@@ -4247,6 +4234,19 @@
client
.
side_tcount
=
null
;
}
}
if
(
settings
.
modules
.
hide_name
===
"
start
"
&&
room
.
duel_count
===
0
)
{
ref
=
room
.
get_playing_player
();
for
(
l
=
0
,
len1
=
ref
.
length
;
l
<
len1
;
l
++
)
{
player
=
ref
[
l
];
if
(
player
!==
client
)
{
ygopro
.
stoc_send
(
client
,
'
HS_PLAYER_ENTER
'
,
{
name
:
player
.
name
,
pos
:
player
.
pos
,
padding
:
0
});
}
}
}
if
(
settings
.
modules
.
tips
.
enabled
)
{
ygopro
.
stoc_send_random_tip
(
client
);
}
...
...
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