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
aa81d132
Commit
aa81d132
authored
Feb 28, 2012
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
临时提交
parent
9d6c04cd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
19 deletions
+19
-19
lib/iduel/event.rb
lib/iduel/event.rb
+18
-18
lib/scene_duel.rb
lib/scene_duel.rb
+1
-1
No files found.
lib/iduel/event.rb
View file @
aa81d132
...
...
@@ -142,41 +142,41 @@ class Game_Event
end
class
Error
def
self
.
parse
(
info
)
title
,
message
=
case
info
.
to_i
title
,
message
,
fatal
=
case
info
.
to_i
when
0x00
[
"网络错误"
,
"网络连接中断"
]
[
"网络错误"
,
"网络连接中断"
,
true
]
when
0x65
[
"出错啦~"
,
"服务器程序出现未知错误,请记录好出现错误的事件,并联系管理员。"
]
[
"出错啦~"
,
"服务器程序出现未知错误,请记录好出现错误的事件,并联系管理员。"
,
true
]
when
0x66
[
"错误"
,
"通信验证错误"
]
[
"错误"
,
"通信验证错误"
,
true
]
when
0x67
[
"错误"
,
"通信钥匙错误"
]
[
"错误"
,
"通信钥匙错误"
,
true
]
when
0xc9
[
"登录失败"
,
"错误的帐号名或密码"
]
[
"登录失败"
,
"错误的帐号名或密码"
,
true
]
when
0xca
[
"登录失败"
,
"你的账号还未激活"
]
[
"登录失败"
,
"你的账号还未激活"
,
true
]
when
0xcb
[
"登录失败"
,
"你的账号被系统封锁"
]
[
"登录失败"
,
"你的账号被系统封锁"
,
true
]
when
0x12d
[
"错误"
,
"房间已满"
]
[
"错误"
,
"房间已满"
,
false
]
when
0x12e
[
"错误"
,
"房间密码错误"
]
[
"错误"
,
"房间密码错误"
,
false
]
when
0x12f
[
"错误"
,
"你没有权限给房间上密码"
]
[
"错误"
,
"你没有权限给房间上密码"
,
false
]
when
0x130
[
"错误"
,
"你已经加入房间,请不要重新加入"
]
[
"错误"
,
"你已经加入房间,请不要重新加入"
,
false
]
when
0x131
[
"加入房间"
,
"你未达到房间要求的等级限制。"
]
[
"加入房间"
,
"你未达到房间要求的等级限制。"
,
false
]
when
0x132
[
"观战错误"
,
"所请求的房间无效,或未开始决斗"
]
[
"观战错误"
,
"所请求的房间无效,或未开始决斗"
,
false
]
when
0x133
[
"观战错误"
,
"你已经在该房间观战"
]
[
"观战错误"
,
"你已经在该房间观战"
,
false
]
when
0x134
[
"发送信息错误"
,
"你还未加入房间"
]
[
"发送信息错误"
,
"你还未加入房间"
,
false
]
when
0x135
[
"错误"
,
"请求的房间无效"
]
[
"错误"
,
"请求的房间无效"
,
false
]
end
self
.
new
title
,
message
self
.
new
title
,
message
,
fatal
end
end
class
Unknown
...
...
lib/scene_duel.rb
View file @
aa81d132
...
...
@@ -21,7 +21,7 @@ class Scene_Duel < Scene
attr_reader
:player_field_window
attr_reader
:opponent_field_window
attr_reader
:fieldback_window
BGM
=
"
audio/bgm/
duel.ogg"
BGM
=
"duel.ogg"
def
initialize
(
room
,
deck
=
nil
)
super
()
@room
=
room
...
...
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