Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/stopserver 指令有问题 无法停止开启的服务器 #161

Open
blchock opened this issue Apr 21, 2017 · 8 comments
Open

/stopserver 指令有问题 无法停止开启的服务器 #161

blchock opened this issue Apr 21, 2017 · 8 comments
Assignees
Labels

Comments

@blchock
Copy link

blchock commented Apr 21, 2017

进入Paracraft 输入 /startserver 0
再输入 /stopserver 报错
log:
[string "script/apps/Aries/Creator/Game/Network/NetworkMain.lua"]:212: bad argument #1 to 'pairs' (table expected, got nil)

Error in sCode:virtual_key=78;onuievent(564, "onkeyup");

@ExerciseBook
Copy link

ExerciseBook commented Apr 21, 2017

/startserver 0
????是啥。
貌似没见过。。。

/startserver [ip_host] [port]

@blchock
Copy link
Author

blchock commented Apr 21, 2017

在paracraft中左下角输入指令,/startserver 0 等价于 /startserver 127.0.0.1 8099

@ExerciseBook
Copy link

ExerciseBook commented Apr 21, 2017

为啥我印象中是 /startserver 就是 /startserver 所有ip 8099 ?

@blchock
Copy link
Author

blchock commented Apr 21, 2017

是的吧,总之是启动服务器的指令。启动了后执行 /stopserver 会报错

@ExerciseBook
Copy link

ExerciseBook commented Apr 21, 2017

20170421123342
真出事了。。。 最近才出现的。。。

@blchock
Copy link
Author

blchock commented Apr 21, 2017

我在NPL官方技术交流群里,昵称詩馬+_+ 你可以在那里加我

@blchock
Copy link
Author

blchock commented Apr 21, 2017

我邮箱 bl.ccheng@gmail.com 给我发邮件 你的QQ 我加你

@blchock
Copy link
Author

blchock commented May 2, 2017

还发现一个功能缺陷,disconnect之后只能执行connect,我现在封装了startserver和connect为新的Command命令net,调用disconnect后再次调用net会出现提示“当前模式下不可执行命令net”,实际上我测试了很多指令,除了connect其他的都不能在disconnect之后执行。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants