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
a3e0ab1a
Commit
a3e0ab1a
authored
Mar 28, 2014
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0.0.2 修复xp
parent
83adc22c
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
8 deletions
+15
-8
app/js/maotama.coffee
app/js/maotama.coffee
+1
-1
app/js/maotama.js
app/js/maotama.js
+0
-2
app/js/maotama.map
app/js/maotama.map
+1
-1
app/js/puncher.coffee
app/js/puncher.coffee
+2
-1
app/js/puncher.js
app/js/puncher.js
+5
-1
app/js/puncher.map
app/js/puncher.map
+1
-1
使用说明.txt
使用说明.txt
+5
-1
No files found.
app/js/maotama.coffee
View file @
a3e0ab1a
...
...
@@ -4,7 +4,7 @@ crypto = require 'crypto'
gui
=
require
'nw.gui'
win
=
gui
.
Window
.
get
();
win
.
showDevTools
()
#debug
#
win.showDevTools() #debug
$
(
'#window_control_minimize'
).
click
->
win
.
minimize
()
...
...
app/js/maotama.js
View file @
a3e0ab1a
...
...
@@ -10,8 +10,6 @@
win
=
gui
.
Window
.
get
();
win
.
showDevTools
();
$
(
'
#window_control_minimize
'
).
click
(
function
()
{
return
win
.
minimize
();
});
...
...
app/js/maotama.map
View file @
a3e0ab1a
This diff is collapsed.
Click to expand it.
app/js/puncher.coffee
View file @
a3e0ab1a
...
...
@@ -8,7 +8,8 @@ punch = (local_port, remote_port, remote_address, _socket)->
buffer
.
writeUInt16BE
(
local_port
,
0
)
buffer
.
writeUInt16BE
(
remote_port
,
2
)
buffer
.
writeUInt16BE
(
buffer
.
length
,
4
)
socket
.
send
buffer
,
0
,
buffer
.
length
,
remote_address
socket
.
send
buffer
,
0
,
buffer
.
length
,
remote_address
,
(
error
,
bytes
)
->
throw
error
if
error
if
require
.
main
is
module
raw
=
require
(
'raw-socket'
)
...
...
app/js/puncher.js
View file @
a3e0ab1a
...
...
@@ -17,7 +17,11 @@
buffer
.
writeUInt16BE
(
local_port
,
0
);
buffer
.
writeUInt16BE
(
remote_port
,
2
);
buffer
.
writeUInt16BE
(
buffer
.
length
,
4
);
return
socket
.
send
(
buffer
,
0
,
buffer
.
length
,
remote_address
);
return
socket
.
send
(
buffer
,
0
,
buffer
.
length
,
remote_address
,
function
(
error
,
bytes
)
{
if
(
error
)
{
throw
error
;
}
});
};
if
(
require
.
main
===
module
)
{
...
...
app/js/puncher.map
View file @
a3e0ab1a
...
...
@@ -6,5 +6,5 @@
"puncher.coffee"
],
"names": [],
"mappings": ";AAAA;AAAA,MAAA,8CAAA;;AAAA,EAAA,MAAA,GAAS,IAAT,CAAA;;AAAA,EACA,KAAA,GAAQ,SAAC,UAAD,EAAa,WAAb,EAA0B,cAA1B,EAA0C,OAA1C,GAAA;AACN,QAAA,MAAA;AAAA,IAAA,IAAG,OAAH;AACE,MAAA,MAAA,GAAS,OAAT,CADF;KAAA,MAEK,IAAG,CAAA,MAAH;AACH,MAAA,MAAA,GAAS,GAAG,CAAC,YAAJ,CAAiB;AAAA,QAAA,QAAA,EAAU,GAAG,CAAC,QAAQ,CAAC,GAAvB;OAAjB,CAAT,CADG;KAFL;AAAA,IAIA,MAAA,GAAa,IAAA,MAAA,CAAO,CAAP,CAJb,CAAA;AAAA,IAK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QAAA,CAAS,WAAT,CAA5B,EAAmD,cAAnD,EAFF;SADuB;MAAA,CAAzB,EANsB;IAAA,CAAxB,CANA,CADF;GAAA,MAAA;AAkBE,IAAA,GAAA,GAAM,OAAA,CAAQ,eAAR,CAAN,CAAA;AAAA,IACA,MAAM,CAAC,OAAP,GAAiB,KADjB,CAlBF;GAb
A;AAAA"
}
\ No newline at end of file
使用说明.txt
View file @
a3e0ab1a
★不要安装到中文目录、带特殊字符的目录
正确的示例: E:\maotama\
错误的示例: E:\【平台】【不要解压到中文路径!】【内测】毛玉 v0.0.1\
现在还在早期开发阶段,里面绝大部分功能都是不能用的,仅仅能拿来联FXTZ/楼了就发出来了
不要看什么功能都乱点,只进行下面的操作:
...
...
@@ -6,7 +10,7 @@
点【开始】按钮 (或者从其他地方手动开启则/楼也可以,不一定非得从平台打开),在10800端口建立主机
点【反重力场】按钮,之后会得到一个IP地址和端口,把那个发送给你的对手 (★对手不需要有平台)
通过反重力场建立的游戏无视电信/联通,不用特意找同一个网络运营商的连
★
通过反重力场建立的游戏无视电信/联通,不用特意找同一个网络运营商的连
加速原理跟放学对战平台一样,服务器也都是用的阿里云杭州,所以用那个效果不好的这个同样也会不好。
(而且这个聊天功能也不还能用简直弱爆了啊哈哈哈)
...
...
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