That VerifyVirtualGood didnt exist anymore? now we have onlye this:x1nam82 wrote: ↑Fri Mar 19, 2021 7:32 pmDo you edit the code with "Edit C# Method"? Check again if you missed some semicolon at the end of the line of the new code.
Well, fonug1 seemed to be more braver than me, makingVerifyVirtualGood
to "just return". I'm taking a more paranoid approach, I editedVerifyVirtualGoodCo
as well..
So, go toSteamInit.VerifyVirtualGood
, the highlight this line of code:Now, make sure you have your mouse cursor on that line, then right-click and select "Edit IL Instruction". On the resulting window, you see several lines have been highlighted. Now, with your mouse cursor on one of the highlighted line, right-click and select "NOP Instruction". Then close the window by clicking "OK". You should left withCode: Select all
this.JNMKFPOMOHF = base.StartCoroutine(this.VerifyVirtualGoodCo(PHLEDEBPOJI, EMKHPLIFLNN));
VerifyVirtualGood
but with the code line above disappeared.
For extra precaution, also look atVerifyVirtualGoodCo
directly beneathVerifyVirtualGood
. Look for this code:Now highlight this line:Code: Select all
if (flag) { LeagueData.instance.ResetStartPos(); GlobalVar.BanDisplayDescription = "We apologize for the inconvenience. The application has encountered Error 1001. Data corruption has been detected. Please check to ensure that your data folder is valid."; SceneUnloader.instance.LoadingSimple("Ban"); }
Like before, right click while your cursor is on that line.Code: Select all
if (flag)
On the resulting window, you'll see there's 2 lines highlighted:Now click onCode: Select all
ldloc.2 brfalse.s ....
ldloc.2
, then selectldc.i4.0
. After closing the window, you're left with code like this:So why the fuss of editing 2 methods instead of 1.Code: Select all
if (false) { LeagueData.instance.ResetStartPos(); GlobalVar.BanDisplayDescription = "We apologize for the inconvenience. The application has encountered Error 1001. Data corruption has been detected. Please check to ensure that your data folder is valid."; SceneUnloader.instance.LoadingSimple("Ban"); }
VerifyVirtualGood
is called whenever you switch outfit, i.e. change your appearance. It create a separate thread runningVerifyVirtualGoodCo
to check if you use any premium item you haven't bought for. While the 1st edit is enough to stopVerifyVirtualGoodCo
to run, there's no stopping other subsystem of the game from callingVerifyVirtualGoodCo
directly. While there's no subsystem do that for now, there's no guarantee that it will always be like that. So, why not remove the threat before it becoming a menace.
"public void VerifyVirtualGood(CharacterData IMGCIHCFMCO, int EPBEFCBJLNG = -1)"