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
58407f17
Commit
58407f17
authored
May 08, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
log load user info fail
parent
bef24b52
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
data/i18n.json
data/i18n.json
+2
-0
ygopro-server.coffee
ygopro-server.coffee
+2
-2
ygopro-server.js
ygopro-server.js
+1
-1
No files found.
data/i18n.json
View file @
58407f17
...
...
@@ -37,6 +37,7 @@
"recover_fail"
:
"Recover failed."
,
"blank_room_name"
:
"Blank room name is unallowed, please fill in something."
,
"loading_user_info"
:
"Loading user info..."
,
"load_user_info_fail"
:
"Failed loading your user info."
,
"invalid_password_length"
:
"Password invalid (Invalid Length)"
,
"invalid_password_payload"
:
"Password invalid (Invalid Payload Length)"
,
"invalid_password_unauthorized"
:
"Password invalid (Unauthorized)"
,
...
...
@@ -355,6 +356,7 @@
"recover_fail"
:
"复盘失败。"
,
"blank_room_name"
:
"房间名不能为空,请在主机密码处填写房间名"
,
"loading_user_info"
:
"正在读取用户信息..."
,
"load_user_info_fail"
:
"读取用户信息失败。"
,
"invalid_password_length"
:
"主机密码不正确 (Invalid Length)"
,
"invalid_password_payload"
:
"主机密码不正确 (Invalid Payload Length)"
,
"invalid_password_unauthorized"
:
"主机密码不正确 (Unauthorized)"
,
...
...
ygopro-server.coffee
View file @
58407f17
...
...
@@ -2245,8 +2245,8 @@ ygopro.ctos_follow 'JOIN_GAME', true, (buffer, info, client, server, datas)->
if
check_buffer_indentity
(
decrypted_buffer
)
buffer
=
decrypted_buffer
else
log
.
warn
(
"READ USER FAIL"
,
error
,
body
)
done
(
"${
create_room_failed
}"
)
log
.
warn
(
"READ USER FAIL"
,
client
.
name
,
error
,
body
)
done
(
"${
load_user_info_fail
}"
)
return
# buffer != decrypted_buffer ==> auth failed
...
...
ygopro-server.js
View file @
58407f17
...
...
@@ -2971,7 +2971,7 @@
buffer
=
decrypted_buffer
;
}
}
else
{
log
.
warn
(
"
READ USER FAIL
"
,
error
,
body
);
log
.
warn
(
"
READ USER FAIL
"
,
client
.
name
,
error
,
body
);
done
(
"
${create_room_failed}
"
);
return
;
}
...
...
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