Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
mycard
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
syntax_j
mycard
Commits
3bdc6566
Commit
3bdc6566
authored
Feb 25, 2013
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0.9.8, fix match
parent
c1878166
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
lib/cacheable.rb
lib/cacheable.rb
+1
-1
lib/quickstart.rb
lib/quickstart.rb
+1
-1
lib/update.rb
lib/update.rb
+1
-1
lib/window_lobbybuttons.rb
lib/window_lobbybuttons.rb
+1
-1
lib/ygocore/game.rb
lib/ygocore/game.rb
+1
-1
No files found.
lib/cacheable.rb
View file @
3bdc6566
...
...
@@ -2,7 +2,7 @@ module Cacheable
@@all
=
{}
def
new
(
id
,
*
args
)
@@all
[
self
]
||=
{}
if
result
=
@@all
[
self
][
id
]
if
id
and
result
=
@@all
[
self
][
id
]
result
.
set
(
id
,
*
args
)
result
else
...
...
lib/quickstart.rb
View file @
3bdc6566
...
...
@@ -57,7 +57,7 @@ case file
require_relative
'server'
$game
.
user
=
User
.
new
(
$1
.
to_sym
,
$1
)
if
$1
$game
.
password
=
$2
if
$2
room
=
Room
.
new
(
0
,
$5
.
to_s
)
room
=
Room
.
new
(
nil
,
$5
.
to_s
)
room
.
server
=
Server
.
new
(
nil
,
nil
,
$3
,
$4
.
to_i
,
!!
$2
)
Ygocore
.
run_ygocore
room
,
true
end
\ No newline at end of file
lib/update.rb
View file @
3bdc6566
...
...
@@ -2,7 +2,7 @@
require
"fileutils"
require_relative
'card'
module
Update
Version
=
'0.9.
6
'
Version
=
'0.9.
8
'
URL
=
"http://my-card.in/mycard/update.json?version=
#{
Version
}
"
class
<<
self
attr_reader
:thumbnails
,
:images
,
:status
...
...
lib/window_lobbybuttons.rb
View file @
3bdc6566
...
...
@@ -56,7 +56,7 @@ class Window_LobbyButtons < Window_List
open
(
'http://mycard-server.my-card.in:9997/match.json'
)
{
|
f
|
@waiting
=
false
if
f
.
read
=~
/^mycard:\/\/([\d\.]+):(\d+)\/(.*)$/
room
=
Room
.
new
(
0
,
$3
.
to_s
)
room
=
Room
.
new
(
nil
,
$3
.
to_s
)
room
.
server
=
Server
.
new
(
nil
,
nil
,
$1
,
$2
.
to_i
,
false
)
$game
.
join
(
room
)
else
...
...
lib/ygocore/game.rb
View file @
3bdc6566
...
...
@@ -200,7 +200,7 @@ class Ygocore < Game
#end
def
host
(
room_name
,
room_config
)
room
=
Room
.
new
(
0
,
room_name
)
room
=
Room
.
new
(
nil
,
room_name
)
room
.
pvp
=
room_config
[
:pvp
]
room
.
match
=
room_config
[
:match
]
room
.
tag
=
room_config
[
:tag
]
...
...
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