- May 13, 2017
 
- 13
 
- 5
 
What is it meant to do:
This procedure disables the too frequent "event" that a random girl is approaching the player when the "Call A Girl" button is pressed.
If this button is pressed, the player will be lead directly to the girl section list box. No girl will intercept the player with her H demand.
Other events are not affected.
What is needed:
How long will it takes:
not more than 10 mins.
What to do:
The function OnGoMeet will be changed from:
	
	
	
		
if num2 = 0: the help screen will be displayed and the player is allowed to select a girl
if num2 = 1: a girl intercepts the player and asks for H
if num2 = 2: player is allowed to select a girl
to:
	
	
	
		
num2 is now always 2
For "Party"-Edition
Change description above into:
step 8: scroll in the Reflexil panel to line 081 -> Content: Offset: 260 OpCod: ldloc.3
step 10: change the OpCode in the "Edit existing instruction" dialog from ldloc.3 to ldc.i4.2 and press the "Update" button.
Finished.
	
		
			
		
		
	
				
			This procedure disables the too frequent "event" that a random girl is approaching the player when the "Call A Girl" button is pressed.
If this button is pressed, the player will be lead directly to the girl section list box. No girl will intercept the player with her H demand.
Other events are not affected.
What is needed:
- ILSpy 2.4 @ github - tool to inspect C-Sharp programs (free and safe)
 - Reflexil 2.1 (AOI) @ github - plug-in for ILSpy to modify C-Sharp programs (free and safe)
 
How long will it takes:
not more than 10 mins.
What to do:
- Download and install those two above mentioned tools
 - Start ILSpy.exe
 - Open Windows Explorer and navigate to your HoneySelect installation path and then to the subfolder HoneySelect_64_Data\Managed. (HoneySelect_32_Data if using 32 bit)
 - drag the file Assembly-CSharp.dll to the left panel of ILSpy
 - press [CTR]+[F] and search for ongomeet
 - click on the OnGoMeet in the search result panel -> in the yellow panel the code of this method is displayed
 - click on menu item Reflexil v2.1 in the View menu -> the Reflexil v2.1 panel opens in ILSpy
 - scroll in the Reflexil panel to line 078 -> Content: Offset: 252 OpCod: ldloc.2
 - right-click the OpCode cell of that row and click "Edit.." in the context menu
 - change the OpCode in the "Edit existing instruction" dialog from ldloc.2 to ldc.i4.2 and press the "Update" button.
 - select the tree item "Assembly-CSharp (0.0.0.0)" in the left panel of the ILSpy and right-click it
 - in the context menu click the menu item "Save as..." -> "Save as..." dialog opens.
 - press the "Save" button -> a new file named "Assembly-CSharp.Patched.dll" will be created
 - rename the "Assembly-CSharp.dll" as a backup file e.g. "Assembly-CSharp.dll_BackUp"
 - rename "Assembly-CSharp.Patched.dll" to "Assembly-CSharp.dll"
 
The function OnGoMeet will be changed from:
		Code:
	
		....
	int eventNo = -1;
	string empty = string.Empty;
	int num = (!global::Singleton.....
	int num2 = num;
	if (num2 != 0)
	{
		if (num2 != 1)
		{
	....
	if num2 = 1: a girl intercepts the player and asks for H
if num2 = 2: player is allowed to select a girl
to:
		Code:
	
		....
	int eventNo = -1;
	string empty = string.Empty;
	int [color=#E25041][B]arg_FB_0[/B][/color] = (!global::Singleton..... [I]// the result of that event-calculation will be ignored[/I]
	int num2 = [color=#E25041][B]2[/B][/color];
	if (num != 0)
	{
		if (num != 1)
		{
	....
	For "Party"-Edition
Change description above into:
step 8: scroll in the Reflexil panel to line 081 -> Content: Offset: 260 OpCod: ldloc.3
step 10: change the OpCode in the "Edit existing instruction" dialog from ldloc.3 to ldc.i4.2 and press the "Update" button.
Finished.
			
				Last edited: