This commit is contained in:
世元 李
2020-03-20 16:27:30 +08:00
parent 06d419e563
commit f46573572a
6 changed files with 8 additions and 7 deletions

Binary file not shown.

View File

@@ -1,12 +1,9 @@
 pch.cpp  Replace.cpp
BuildIn.cpp
Data.cpp
dllmain.cpp
Replace.cpp
D:\VSProject\cs2\cs2_united\cs2_patch\Replace.cpp(74,23): warning C4018: “<”: 有符号/无符号不匹配 D:\VSProject\cs2\cs2_united\cs2_patch\Replace.cpp(74,23): warning C4018: “<”: 有符号/无符号不匹配
正在创建库 D:\VSProject\cs2\cs2_united\Release\cs2_patch.lib 和对象 D:\VSProject\cs2\cs2_united\Release\cs2_patch.exp 正在创建库 D:\VSProject\cs2\cs2_united\Release\cs2_patch.lib 和对象 D:\VSProject\cs2\cs2_united\Release\cs2_patch.exp
正在生成代码 正在生成代码
Compiler version has changed, fall back to full compilation. 1 of 162 functions ( 0.6%) were compiled, the rest were copied from previous compilation.
All 162 functions were compiled because no usable IPDB/IOBJ from previous compilation was found. 0 functions were new in current compilation
0 functions had inline decision re-evaluated but remain unchanged
已完成代码的生成 已完成代码的生成
cs2_patch.vcxproj -> D:\VSProject\cs2\cs2_united\Release\cs2_patch.dll cs2_patch.vcxproj -> D:\VSProject\cs2\cs2_united\Release\cs2_patch.dll

Binary file not shown.

View File

@@ -177,6 +177,10 @@ static bool InitOnce = true;
} }
else { else {
//失败 //失败
if (nID == -1) {
nID = 0;
return -1;
}
if (GetDataByID(nID, sjp, scn)) if (GetDataByID(nID, sjp, scn))
nID = GEtLargestID() + 1; nID = GEtLargestID() + 1;
// MessageBoxA(0, "1", "", 0); // MessageBoxA(0, "1", "", 0);