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
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
nanahira
srvpro
Commits
49228b32
Commit
49228b32
authored
Jan 24, 2019
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve
parent
0b913f4b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
ygopro-server.coffee
ygopro-server.coffee
+2
-0
ygopro-server.js
ygopro-server.js
+3
-0
No files found.
ygopro-server.coffee
View file @
49228b32
...
...
@@ -1787,6 +1787,8 @@ ygopro.ctos_follow 'PLAYER_INFO', true, (buffer, info, client, server, datas)->
client
.
name
=
name
client
.
vpass
=
vpass
client
.
name_vpass
=
if
vpass
then
name
+
"$"
+
vpass
else
name
if
settings
.
modules
.
pre_release_compat
.
enabled
client
.
is_using_pre_release
=
client
.
name_vpass
==
"COMPAT"
#console.log client.name, client.vpass
if
settings
.
modules
.
vip
.
enabled
and
CLIENT_check_vip
(
client
)
client
.
vip
=
true
...
...
ygopro-server.js
View file @
49228b32
...
...
@@ -2278,6 +2278,9 @@
client.name = name;
client.vpass = vpass;
client.name_vpass = vpass ? name + "$" + vpass : name;
if (settings.modules.pre_release_compat.enabled) {
client.is_using_pre_release = client.name_vpass === "COMPAT";
}
if (settings.modules.vip.enabled && CLIENT_check_vip(client)) {
client.vip = true;
}
...
...
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