DP-S-Script/Main.nut

27 lines
711 B
Plaintext

function sqr_main() {
// GameManager.OpenHotFix("/dp_s/OfficialConfig");
GameManager.OpenHotFix("/dp_s/MyProject");
// GameManager.SetGameMaxLevel(70);
// Cb_History_MileageSet_Func["TW_reach_game_world"] <- function(SUser, Data) {
// //第一次上线
// if (SUser.GetCharacLevel() > 70) {
// SUser.SetCharacLevel(70);
// SUser.SendItemSpace(0);
// SUser.SendItemSpace(1);
// SUser.SendItemSpace(7);
// }
// }
}
Gm_InputFunc_Handle["op"] <- function(SUser, CmdString) {
local Jso = {
op <- "20060007";
uid <- SUser.GetUID();
cid <- SUser.GetCID();
}
print(111);
Socket.SendGateway(Jso);
}