Comments (7)
支持
对
回源host默认就好
对
假如你的mc服务器ip是1.1.1.1,mc服务器端口是25565,server端绑定的端口是80,接入cdn的域名是mc.xxx.com,从cdn那边拿到的加速域名是mc.xxx.com.xxxcdn.com,游戏客户端里的服务器ip是localhost:2022,不开启https,那么编译脚本里的配置就是,
$env:addr="mc.xxx.com.xxxcdn.com:80"
$env:https="false"
$env:listen=":2022"
$env:real="mc.xxx.com"
源站设置1.1.1.1:80,client端不需要参数直接执行,server端执行 server -a :80 -d localhost:25565
from websocket_tunnel.
谢谢大佬
from websocket_tunnel.
大佬,client 需要玩家在进入服务器的时候一直打开嘛
from websocket_tunnel.
需要
from websocket_tunnel.
可以使其静默启动嘛,不然玩家容易误点关闭,或者来说一直是个黑屏cmd不美观qwq?
from websocket_tunnel.
在编译脚本编译client的那行后面添加这个 -ldflags="-H windowsgui" 就没有黑框了,但是运行一个来路不明的程序对于玩家来说是很危险的,如果这个程序不是一个显眼的黑框,而是启动了就自动消失不见了,那就更加危险了,完全有理由怀疑这是病毒。所以我认为有这个黑框比没有好,有了这个黑框可以让玩家认为我可以控制这个程序的行为,我想开就开。想关就关,可以让玩家更容易接受这个程序。
from websocket_tunnel.
嗷,好知道了
from websocket_tunnel.
Related Issues (3)
- 希望有具体使用教程 HOT 3
- 要是有udp的方法就好咯
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from websocket_tunnel.