This commit is contained in:
lenheart
2024-10-11 23:56:27 +08:00
parent 91ff5af4f1
commit e82c5ceee3
24 changed files with 2033 additions and 36 deletions

View File

@@ -5,6 +5,7 @@ function InitPluginInfo() {
_Timer_Object <- Timer();
//初始化自动重载 只在15线开启
local ConfigPath = Sq_Game_GetConfig();
local Channel = ConfigPath.slice(ConfigPath.find("cfg/") + 4, ConfigPath.len());
@@ -18,12 +19,21 @@ function InitPluginInfo() {
PoolObj.Init();
// Sq_CreatCConnectPool(2, 4, "127.0.0.1", 3306, "game", "uu5!^%jg");
Sq_CreatSocketConnect("192.168.200.24", "65109");
// Sq_CreatSocketConnect("192.168.200.24", "65109");
//初始化结婚
ProjectInitFuncMap.P_Marry <- Marry();
//初始化日志器
Log({
"normal": "/dp_s/log/normal.log",
"error": "/dp_s/log/error.log"
});
//调用方式
//Log.Put("normal", "测试日志");
//Log.Put("error", "测试错误日志");
}
@@ -39,7 +49,13 @@ function main() {
PrintTag();
GameManager.SetGameMaxLevel(95);
GameManager.FixAvatarUseJewel();
GameManager.FixSaveTown();
GameManager.FixDespairGold();
local PvfObject = Script();
local Data = ScriptData.GetEquipment(305014);
printT(Data);
}