Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
dc-plugins
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
JoyJ
dc-plugins
Commits
4310c71a
You need to sign in or sign up before continuing.
Commit
4310c71a
authored
Apr 14, 2022
by
JoyJ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add replay id
parent
7b8209ee
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
DuelChronicle_Random.js
DuelChronicle_Random.js
+4
-3
No files found.
DuelChronicle_Random.js
View file @
4310c71a
...
...
@@ -68,7 +68,7 @@ ygopro.ctos_follow_after("UPDATE_DECK", true, async (buffer, info, client, serve
ygopro
.
stoc_send_chat
(
client
,
"
注意:【卡组太弱】【有未知卡】并不是有效的举报理由,【额外不全】【构筑错误】才是。
"
,
ygopro
.
constants
.
COLORS
.
YELLOW
);
ygopro
.
stoc_send_chat
(
client
,
"
编年史QQ群号:838595368。可在群内下载编年史客户端,解锁更多功能。
"
,
ygopro
.
constants
.
COLORS
.
YELLOW
);
ygopro
.
stoc_send_chat
(
client
,
"
举报理由请尽量详细写明构筑的哪里有问题,不要只写个【构筑错误】。
"
,
ygopro
.
constants
.
COLORS
.
BABYBLUE
);
ygopro
.
stoc_send_chat
(
client
,
"
有未知卡是因为你没有下载编年史独有卡。请加群下载,举报没用。
"
,
ygopro
.
constants
.
COLORS
.
BABYBLUE
);
ygopro
.
stoc_send_chat
(
client
,
"
有未知
白板
卡是因为你没有下载编年史独有卡。请加群下载,举报没用。
"
,
ygopro
.
constants
.
COLORS
.
BABYBLUE
);
}
catch
{
var
err_msg
=
"
(由于卡组异常,被服务器端自动提交)
"
;
...
...
@@ -189,10 +189,11 @@ ygopro.ctos_follow_before('CHAT', true, async function(buffer, info, client, ser
return
;
}
if
(
result
.
length
>
0
)
{
ygopro
.
stoc_send_chat
(
client
,
"
此卡组已被判定为无需修改,提交失败
"
,
ygopro
.
constants
.
COLORS
.
RED
);
ygopro
.
stoc_send_chat
(
client
,
"
此卡组已被人工判定为无需修改,提交失败。
"
,
ygopro
.
constants
.
COLORS
.
RED
);
ygopro
.
stoc_send_chat
(
client
,
"
如有疑问,请记录此字符串,并向编年史群的管理者反馈:
"
+
md5
,
ygopro
.
constants
.
COLORS
.
RED
);
return
;
}
msg
=
(
new
Date
().
toString
())
+
"
- 由服务器端提交(提交者:
"
+
client
.
name
+
"
)
\r\n\r\n
"
+
msg
;
msg
=
(
new
Date
().
toString
())
+
"
- 由服务器端提交(提交者:
"
+
client
.
name
+
"
)
\r\n
录像ID:
"
+
room
.
cloud_replay_id
+
"
\r\n
\r\n
"
+
msg
;
sql
=
"
INSERT INTO DCReport VALUES(?,?,?,'')
"
;
sqlParams
=
[
md5
,
client
.
ip
,
msg
];
mysqldb
.
query
(
sql
,
sqlParams
,
function
(
err
,
result
)
{
...
...
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