DP-S-Script/Dps_A/main.nut

38 lines
853 B
Plaintext
Raw Normal View History

2024-09-16 17:05:26 +08:00
getroottable().DebugModelFlag <- false;
//初始化插件
function InitPluginInfo() {
//初始化定时器
_Timer_Object <- Timer();
local PoolObj = MysqlPool.GetInstance();
PoolObj.SetBaseConfiguration("127.0.0.1", 3306, "game", "uu5!^%jg");
//连接池大小
PoolObj.PoolSize = 10;
//初始化
PoolObj.Init();
// Sq_CreatCConnectPool(2, 4, "127.0.0.1", 3306, "game", "uu5!^%jg");
2024-09-16 17:05:26 +08:00
Sq_CreatSocketConnect("192.168.200.24", "65109");
}
function PrintTag() {
print(InitSuccessTag);
}
function main() {
InitPluginInfo();
PrintTag();
GameManager.SetGameMaxLevel(95);
2024-09-16 17:05:26 +08:00
}
// getroottable().CombatRankServerProject <- CombatRank();
// getroottable().ServerControlProject <- ServerControl();
// getroottable().AntonServerProject <- Anton();
// getroottable().FiendwarServerProject <- Fiendwar();