1111
This commit is contained in:
@@ -10,7 +10,10 @@ function InitPluginInfo() {
|
||||
local ConfigPath = Sq_Game_GetConfig();
|
||||
local Channel = ConfigPath.slice(ConfigPath.find("cfg/") + 4, ConfigPath.len());
|
||||
// if (Channel.find("15")) GameManager.OpenHotFix("/dp_s/Dps_A");
|
||||
if (Channel.find("19")) GameManager.OpenHotFix("/dp_s/Dps_A");
|
||||
if (Channel.find("15")) {
|
||||
GameManager.OpenHotFix("/dp_s/Dps_A");
|
||||
GameManager.OpenHotFix("/dp_s/MyProject");
|
||||
}
|
||||
|
||||
local PoolObj = MysqlPool.GetInstance();
|
||||
PoolObj.SetBaseConfiguration("127.0.0.1", 3306, "game", "uu5!^%jg");
|
||||
@@ -19,8 +22,10 @@ function InitPluginInfo() {
|
||||
//初始化
|
||||
PoolObj.Init();
|
||||
|
||||
GameManager.FixEquipUseJewel();
|
||||
GameManager.Fix14Skill();
|
||||
|
||||
Sq_CreatSocketConnect("192.168.200.24", "65109");
|
||||
Sq_CreatSocketConnect("192.168.200.20", "65109");
|
||||
|
||||
//初始化结婚
|
||||
// ProjectInitFuncMap.P_Marry <- Marry();
|
||||
@@ -35,6 +40,8 @@ function InitPluginInfo() {
|
||||
//Log.Put("normal", "测试日志");
|
||||
//Log.Put("error", "测试错误日志");
|
||||
|
||||
GameManager.OpenCreateJob_CreatorMage();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -55,8 +62,6 @@ function main() {
|
||||
GameManager.FixDespairGold();
|
||||
GameManager.FixGlodTradeDaily(80000000);
|
||||
|
||||
|
||||
getroottable().RRR <- EquimentUseJewel();
|
||||
// local PvfObject = Script();
|
||||
// local Data = ScriptData.GetEquipment(305014);
|
||||
// printT(Data);
|
||||
@@ -65,6 +70,26 @@ function main() {
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
function onil() {
|
||||
print(11);
|
||||
local T = {
|
||||
op = 20065005,
|
||||
uid = 0,
|
||||
cid = 0
|
||||
}
|
||||
local WorldMap = World.GetOnlinePlayer();
|
||||
foreach(W_User in WorldMap) {
|
||||
T.uid = W_User.GetUniqueId();
|
||||
T.cid = W_User.GetCID();
|
||||
Socket.SendGateway(T);
|
||||
}
|
||||
}
|
||||
|
||||
Timer.SetCronTask(onil, "0/10 * * * * *");
|
||||
*/
|
||||
|
||||
|
||||
|
||||
// getroottable().CombatRankServerProject <- CombatRank();
|
||||
// getroottable().ServerControlProject <- ServerControl();
|
||||
|
||||
Reference in New Issue
Block a user