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
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
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
182a8c40
Commit
182a8c40
authored
6 years ago
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
time limit for ai room
parent
457b94b1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
ygopro-server.coffee
ygopro-server.coffee
+1
-0
ygopro-server.js
ygopro-server.js
+1
-0
No files found.
ygopro-server.coffee
View file @
182a8c40
...
...
@@ -894,6 +894,7 @@ class Room
else
if
name
[
0
...
3
]
==
'AI#'
@
hostinfo
.
rule
=
2
@
hostinfo
.
lflist
=
-
1
@
hostinfo
.
time_limit
=
999
else
if
(
param
=
name
.
match
/^(\d)(\d)(T|F)(T|F)(T|F)(\d+),(\d+),(\d+)/i
)
@
hostinfo
.
rule
=
parseInt
(
param
[
1
])
...
...
This diff is collapsed.
Click to expand it.
ygopro-server.js
View file @
182a8c40
...
...
@@ -1137,6 +1137,7 @@
}
else
if
(
name
.
slice
(
0
,
3
)
===
'
AI#
'
)
{
this
.
hostinfo
.
rule
=
2
;
this
.
hostinfo
.
lflist
=
-
1
;
this
.
hostinfo
.
time_limit
=
999
;
}
else
if
((
param
=
name
.
match
(
/^
(\d)(\d)(
T|F
)(
T|F
)(
T|F
)(\d
+
)
,
(\d
+
)
,
(\d
+
)
/i
)))
{
this
.
hostinfo
.
rule
=
parseInt
(
param
[
1
]);
this
.
hostinfo
.
mode
=
parseInt
(
param
[
2
]);
...
...
This diff is collapsed.
Click to expand it.
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