diff --git a/cs2_patch/Release/Replace.obj b/cs2_patch/Release/Replace.obj index 1433667..67dfcce 100644 Binary files a/cs2_patch/Release/Replace.obj and b/cs2_patch/Release/Replace.obj differ diff --git a/cs2_patch/Release/cs2_patch.log b/cs2_patch/Release/cs2_patch.log index 2c83553..a3d1161 100644 --- a/cs2_patch/Release/cs2_patch.log +++ b/cs2_patch/Release/cs2_patch.log @@ -1,12 +1,9 @@ - pch.cpp - BuildIn.cpp - Data.cpp - dllmain.cpp - Replace.cpp + Replace.cpp 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 正在生成代码 - Compiler version has changed, fall back to full compilation. - All 162 functions were compiled because no usable IPDB/IOBJ from previous compilation was found. + 1 of 162 functions ( 0.6%) were compiled, the rest were copied from previous compilation. + 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 diff --git a/cs2_patch/Release/cs2_patch.tlog/CL.read.1.tlog b/cs2_patch/Release/cs2_patch.tlog/CL.read.1.tlog index ab43509..93d59e1 100644 Binary files a/cs2_patch/Release/cs2_patch.tlog/CL.read.1.tlog and b/cs2_patch/Release/cs2_patch.tlog/CL.read.1.tlog differ diff --git a/cs2_patch/Release/cs2_patch.tlog/cs2_patch.write.1u.tlog b/cs2_patch/Release/cs2_patch.tlog/cs2_patch.write.1u.tlog index 24eced8..5a8a75f 100644 Binary files a/cs2_patch/Release/cs2_patch.tlog/cs2_patch.write.1u.tlog and b/cs2_patch/Release/cs2_patch.tlog/cs2_patch.write.1u.tlog differ diff --git a/cs2_patch/Release/vc142.pdb b/cs2_patch/Release/vc142.pdb index 534763e..c232585 100644 Binary files a/cs2_patch/Release/vc142.pdb and b/cs2_patch/Release/vc142.pdb differ diff --git a/cs2_patch/Replace.cpp b/cs2_patch/Replace.cpp index c0d2ecf..521a3a6 100644 --- a/cs2_patch/Replace.cpp +++ b/cs2_patch/Replace.cpp @@ -177,6 +177,10 @@ static bool InitOnce = true; } else { //失败 + if (nID == -1) { + nID = 0; + return -1; + } if (GetDataByID(nID, sjp, scn)) nID = GEtLargestID() + 1; // MessageBoxA(0, "1", "", 0);