Commit a3e0ab1a authored by 神楽坂玲奈's avatar 神楽坂玲奈

0.0.2 修复xp

parent 83adc22c
......@@ -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()
......
......@@ -10,8 +10,6 @@
win = gui.Window.get();
win.showDevTools();
$('#window_control_minimize').click(function() {
return win.minimize();
});
......
This diff is collapsed.
......@@ -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')
......
......@@ -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) {
......
......@@ -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,IAKA,MAAM,CAAC,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A5B,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;GAbA;AAAA"
}
\ No newline at end of file
★不要安装到中文目录、带特殊字符的目录
正确的示例: E:\maotama\
错误的示例: E:\【平台】【不要解压到中文路径!】【内测】毛玉 v0.0.1\
现在还在早期开发阶段,里面绝大部分功能都是不能用的,仅仅能拿来联FXTZ/楼了就发出来了
不要看什么功能都乱点,只进行下面的操作:
......@@ -6,7 +10,7 @@
点【开始】按钮 (或者从其他地方手动开启则/楼也可以,不一定非得从平台打开),在10800端口建立主机
点【反重力场】按钮,之后会得到一个IP地址和端口,把那个发送给你的对手 (★对手不需要有平台)
通过反重力场建立的游戏无视电信/联通,不用特意找同一个网络运营商的连
通过反重力场建立的游戏无视电信/联通,不用特意找同一个网络运营商的连
加速原理跟放学对战平台一样,服务器也都是用的阿里云杭州,所以用那个效果不好的这个同样也会不好。
(而且这个聊天功能也不还能用简直弱爆了啊哈哈哈)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment