替换为有java插件时才连接
This commit is contained in:
parent
8a81351b95
commit
f8799ba893
|
|
@ -1,8 +1,15 @@
|
|||
getroottable().DebugModelFlag <- false;
|
||||
//初始化插件
|
||||
function InitPluginInfo() {
|
||||
Sq_CreatCConnectPool(2, 4, "127.0.0.1", 3306, "game", "uu5!^%jg");
|
||||
Sq_CreatSocketConnect("127.0.0.1", "65109");
|
||||
|
||||
try {
|
||||
local Io = IO("/java_plugin/Restart", "r");
|
||||
Io.Close();
|
||||
Sq_CreatCConnectPool(2, 4, "127.0.0.1", 3306, "game", "uu5!^%jg");
|
||||
Sq_CreatSocketConnect("127.0.0.1", "65109");
|
||||
} catch (exception) {
|
||||
}
|
||||
|
||||
// Sq_CreatSocketConnect("49.234.27.222", "65109");
|
||||
}
|
||||
|
||||
|
|
@ -10,5 +17,3 @@ function InitPluginInfo() {
|
|||
function main() {
|
||||
InitPluginInfo();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue