This commit is contained in:
2024-05-21 12:30:12 +08:00
parent c1da677abb
commit b5dbfdf73a
12 changed files with 222 additions and 67 deletions

View File

@@ -99,16 +99,18 @@ void LenheartThread()
*/
//std::cout << "验证IP:" << ippack << std::endl;
std::vector<std::string> IpArr;
DNFTOOL::Split(Rqip, IpArr, "->");
bool In = DNFTOOL::ReqIpLicense(ippack);
for (auto it = IpArr.begin(); it != IpArr.end(); ++it) {
//验证并请求加载脚本
std::string Iname = *it;
bool In = DNFTOOL::ReqIpLicense(ippack, Iname);
//std::cout << Iname << "连接状态:" << In << std::endl;
if (In)return;
}
//std::vector<std::string> IpArr;
//DNFTOOL::Split(Rqip, IpArr, "->");
//for (auto it = IpArr.begin(); it != IpArr.end(); ++it) {
// //验证并请求加载脚本
// std::string Iname = *it;
// bool In = DNFTOOL::ReqIpLicense(ippack, Iname);
// //std::cout << Iname << "连接状态:" << In << std::endl;
// if (In)return;
//}
return;
@@ -331,8 +333,6 @@ BOOL APIENTRY DllMain(HINSTANCE hModule,
freopen(("CONIN$"), ("r"), stdin);
}
//是否开启控制台
#ifdef COUTWINDOWS_SWITCH
AllocConsole();