1
This commit is contained in:
@@ -28,13 +28,6 @@ if (!getroottable().rawin("OnGatewaySocketConnectFunc")) OnGatewaySocketConnectF
|
|||||||
function OnGatewaySocketConnect() {
|
function OnGatewaySocketConnect() {
|
||||||
print("\x1b[96m" + "############双端插件连接建立############" + "\x1b[0m");
|
print("\x1b[96m" + "############双端插件连接建立############" + "\x1b[0m");
|
||||||
|
|
||||||
//获得本服务器的IP
|
|
||||||
GatewaySocketPackFuncMap.rawset(10002, function(Jso) {
|
|
||||||
getroottable().Dps_Self_Ip <- Jso.myip;
|
|
||||||
print("本服务器IP: " + Jso.myip);
|
|
||||||
print("\x1b[96m" + "############双端插件初始化成功############" + "\x1b[0m");
|
|
||||||
});
|
|
||||||
|
|
||||||
Timer.SetTimeOut(function() {
|
Timer.SetTimeOut(function() {
|
||||||
local Jso = {
|
local Jso = {
|
||||||
op = 10001,
|
op = 10001,
|
||||||
|
|||||||
@@ -19,8 +19,7 @@ Cb_MySQL_Open_Enter_Func.info <- function(args) {
|
|||||||
try {
|
try {
|
||||||
dofile("/dp_s/Front_main.nut");
|
dofile("/dp_s/Front_main.nut");
|
||||||
Front_main();
|
Front_main();
|
||||||
} catch (exception){
|
} catch (exception) {}
|
||||||
}
|
|
||||||
|
|
||||||
function sqr_main() {
|
function sqr_main() {
|
||||||
if (getroottable().rawin("DP_S_VERSION") && DP_S_VERSION >= 25.332) {
|
if (getroottable().rawin("DP_S_VERSION") && DP_S_VERSION >= 25.332) {
|
||||||
@@ -207,8 +206,16 @@ if (getroottable().rawin("DP_S_VERSION") && DP_S_VERSION >= 25.329 && DP_S_VERSI
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//获得本服务器的IP
|
||||||
|
GatewaySocketPackFuncMap.rawset(10002, function(Jso) {
|
||||||
|
getroottable().Dps_Self_Ip <- Jso.myip;
|
||||||
|
print("本服务器IP: " + Jso.myip);
|
||||||
|
print("\x1b[96m" + "############双端插件初始化成功############" + "\x1b[0m");
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
if (!getroottable().rawin("Dps_Self_Ip")) Dps_Self_Ip <- "";
|
if (!getroottable().rawin("Dps_Self_Ip")) Dps_Self_Ip <- "";
|
||||||
Haker.LoadHook("0x081E8C78", ["pointer", "pointer", "pointer", "int"],
|
Haker.LoadHook("0x081E8C78", ["pointer", "pointer", "pointer", "int"],
|
||||||
function(args) {
|
function(args) {
|
||||||
local SUser = User(args[1]);
|
local SUser = User(args[1]);
|
||||||
local SNU = Memory.allocUtf8String(getroottable().Dps_Self_Ip);
|
local SNU = Memory.allocUtf8String(getroottable().Dps_Self_Ip);
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
getroottable().DebugModelFlag <- false;
|
getroottable().DebugModelFlag <- false;
|
||||||
//初始化插件
|
//初始化插件
|
||||||
function InitPluginInfo() {
|
function InitPluginInfo() {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
local Io = IO("/java_plugin/Restart", "r");
|
local Io = IO("/java_plugin/Restart", "r");
|
||||||
Io.Close();
|
Io.Close();
|
||||||
|
|||||||
BIN
lib/libAurora.so
BIN
lib/libAurora.so
Binary file not shown.
Reference in New Issue
Block a user