Cheat Mod Unity Fap Nights at Frenni's Night Club Cheat Menu[2.0.4.0] [Europefan69]

Which Menu UI Do You Prefer?

  • Old Menu (clickable buttons, sliders and input boxes)

    Votes: 36 57.1%
  • New Menu (controlled only using number keys on keyboard)

    Votes: 27 42.9%

  • Total voters
    63
  • Poll closed .

Europefan69

Member
Aug 20, 2020
167
175
Many crashes are due to memory access violation. It looks like all of your code is in the BasePlugin. When your code is here, it is in the managed domain, and all references to Unity and ingame classes are unsafe because they are in the IL2CPP domain, which has a different garbage collector (IL2CPP has its own runtime, so this will be non-deterministic, which is why you may have a hard time tracking down crashes because they come and go). The managed CoreCLR domain also doesn't have proper access to many Unity API.
In IL2CPP BepInEx plugins, your code and HarmonyX patches should be in a MonoBehavior registered in IL2CPP domain with ClassInjector.RegisterTypeInIl2Cpp<T>(). Your BasePlugin should only be responsible for calling this method and adding the registered MonoBehavior. This way, your managed code will be integrated with IL2CPP GC, and you can safely access Unity/game classes. (I think Il2CppInterop will make sure your references implicitly use safe wrappers, but I don't know for sure. We don't need to worry about that though)
Also keep in mind that, if you do anything with reflection, you may still need to explicitly use Il2Cpp helper methods, even in a registered component in the IL2CPP domain.
Thanks so much for the help! I just got back from vacation and took a break from this so I'm just now seeing this. I originally had trouble registering my Monobehaviour since this is the first time I'm using bepinex 6 for a Il2Cpp game so I thought this would be a "cheeky" way to avoid that but it seemed to just cause more headaches. If I Call ClassInjector.RegisterTypeInIl2Cpp<MyMonoBehaviour>() in my BasePlugin's load function, this crashes the game on launch with
[Warning:Il2CppInterop] Class::Init signatures have been exhausted, using a substitute!
[Warning:Il2CppInterop] GarbageCollector::RunFinalizer not found, disabling Il2CppObjectPool
in the LogOutput. Am I missing something or is this the incorrect way to register the class?

here is also the ErrorLog:
You don't have permission to view the spoiler content. Log in or register now.
 

MinMM

Newbie
Feb 9, 2023
15
34
Thanks so much for the help! I just got back from vacation and took a break from this so I'm just now seeing this. I originally had trouble registering my Monobehaviour since this is the first time I'm using bepinex 6 for a Il2Cpp game so I thought this would be a "cheeky" way to avoid that but it seemed to just cause more headaches. If I Call ClassInjector.RegisterTypeInIl2Cpp<MyMonoBehaviour>() in my BasePlugin's load function, this crashes the game on launch with
[Warning:Il2CppInterop] Class::Init signatures have been exhausted, using a substitute!
[Warning:Il2CppInterop] GarbageCollector::RunFinalizer not found, disabling Il2CppObjectPool
in the LogOutput. Am I missing something or is this the incorrect way to register the class?

here is also the ErrorLog:
You don't have permission to view the spoiler content. Log in or register now.
I tried making a plugin and also had this problem. I found out it's because it's a 32-bit game, so different calling conventions can be used. According to Ghidra, the functions that Il2CppInterop is trying to patch use fastcall, but Il2CppInterop expects cdecl. Fastcall isn't supported by P/Invoke, which is the big problem. I saw some other people having this issue, maybe there's a fix in a fork of Il2CppInterop. If nobody's been able to fix it, then the options are to either fix Il2CppInterop, or directly use the Il2Cpp API instead of registering a MonoBehaviour.
 

Europefan69

Member
Aug 20, 2020
167
175
I tried making a plugin and also had this problem. I found out it's because it's a 32-bit game, so different calling conventions can be used. According to Ghidra, the functions that Il2CppInterop is trying to patch use fastcall, but Il2CppInterop expects cdecl. Fastcall isn't supported by P/Invoke, which is the big problem. I saw some other people having this issue, maybe there's a fix in a fork of Il2CppInterop. If nobody's been able to fix it, then the options are to either fix Il2CppInterop, or directly use the Il2Cpp API instead of registering a MonoBehaviour.
Ah I see, that's unfortunate. either way thanks for the info I can put this mod in hiatus until a fix is found
 

Europefan69

Member
Aug 20, 2020
167
175
I just downloaded 0.2.8x and found out it has been updated to 64-bit so crashing issues should now be fixed.

Edit: Mod is now up on the post, I'm removing the test build
 
Last edited:

Gnome112312312

New Member
Aug 15, 2022
3
0
im trying to get it running on arcade 0.2.8 and its not even launching bepinex, I followed the installation guide and my folder has these files:

bepinex
arcademode_data
changelog.txt
doorstop_config
game.exe
gameassembly.dll
unitycrashhandler
unityplayer.dll
winhttp.dll


when I launch the game, bepinex does not make a log file inside the bepinex folder
 

Europefan69

Member
Aug 20, 2020
167
175
im trying to get it running on arcade 0.2.8 and its not even launching bepinex, I followed the installation guide and my folder has these files:

bepinex
arcademode_data
changelog.txt
doorstop_config
game.exe
gameassembly.dll
unitycrashhandler
unityplayer.dll
winhttp.dll


when I launch the game, bepinex does not make a log file inside the bepinex folder
looks like you're missing files is the dotnet folder being quarantined?
1750698686087.png
actually scratch that, are you using the mega link labeled 0.2.6x and below or are you using the one I just posted in the comments
 
Last edited:

Gnome112312312

New Member
Aug 15, 2022
3
0
sorry about the late response, i'm using the download link for the original 2.0.3.0 file lol, lemme try it again with the most recent download link.

what exactly does the dotnet folder do?
 

Europefan69

Member
Aug 20, 2020
167
175
¨files in bepinex are missing, and a lot of diff ones are also missing, so it doesnt work sadly
what do you mean files in bepinex are missing? do you mean that bepinex isn't creating the needed files when you launch the game? make sure you are using the correct version of the mod with the correct version of the game. if you are using game version 0.2.6x or any earlier story mode then use the link labeled "0.2.6x and below" on the post and send me the bepinex logs if there is an issue. I'm not supporting 0.2.7x or 0.2.7xx anymore so if you are using 0.2.8x use instead.
 

ApertureZ

Member
Sep 6, 2018
127
143
what do you mean files in bepinex are missing? do you mean that bepinex isn't creating the needed files when you launch the game? make sure you are using the correct version of the mod with the correct version of the game. if you are using game version 0.2.6x or any earlier story mode then use the link labeled "0.2.6x and below" on the post and send me the bepinex logs if there is an issue. I'm not supporting 0.2.7x or 0.2.7xx anymore so if you are using 0.2.8x use instead.
Getting an error log when trying to launch on 0.2.8.

You don't have permission to view the spoiler content. Log in or register now.
 
Last edited:

Europefan69

Member
Aug 20, 2020
167
175
It opens and closes the cmd, same error log it seems.

This is all I see before the cmd closes itself:
View attachment 4995369

You don't have permission to view the spoiler content. Log in or register now.
I can't seem to replicate this on my system and the few people who had a similar log got no answers. It looks like it is related to Bepinex trying to download unity libraries from their site. Do you have any antivirus or VPN that would prevent it? You can go into the Bepinex folder > Plugins and remove FapNightsCheats.dll to make sure it is not the mod but I can't really help with bepinex issues.
 

ApertureZ

Member
Sep 6, 2018
127
143
I can't seem to replicate this on my system and the few people who had a similar log got no answers. It looks like it is related to Bepinex trying to download unity libraries from their site. Do you have any antivirus or VPN that would prevent it? You can go into the Bepinex folder > Plugins and remove FapNightsCheats.dll to make sure it is not the mod but I can't really help with bepinex issues.
Removing the dll didn't work, and I have my antivirus off, so I'm at a lost tbh.

Can I download the library the cmd is trying to download manually? Would that work.
 

ApertureZ

Member
Sep 6, 2018
127
143
Lol nailed it, yeah just had to grab the .zip manually, place it in the unity-libs folder, run the cmd again and there we go. :PogChamp:
 

Europefan69

Member
Aug 20, 2020
167
175
Lol nailed it, yeah just had to grab the .zip manually, place it in the unity-libs folder, run the cmd again and there we go. :PogChamp:
Good to hear! I'll see about bundling these with the mod when I add it to the post for people having trouble downloading them. lmk if you find any other issue
 
  • Like
Reactions: ApertureZ

Karzone333

New Member
Oct 14, 2024
2
0
Attached is a BepInEx mod that has a bunch of cheats to make the game easier like being invincible or undetectable (Everything can be toggled on and off). the keybind to open the menu is BackQuote(`)/Tilde(~).

-- NOTE: if you are having troubles please send me your "Game Folder > BepInEx > LogOutput.log" if there is one and an explanation on what exactly isn't working --

To change the keybind: after launching the game once, go into "Game Folder > BepInEx > config > FapNights.Cheats.cfg" with notepad and change "Unity KeyCode = BackQuote" with the Unity (list of Keycodes) you want



Updated: 2025-04-07
Game/Creator: Fap Nights at Frenni's Night Club | FATAL FIRE Studios - -
Modder: Europefan69
Mod Version: 2.0.3.0
Game Version: 0.2.6x
Language: English

Features:
You don't have permission to view the spoiler content. Log in or register now.

Installation:
You don't have permission to view the spoiler content. Log in or register now.

Change-Log:
You don't have permission to view the spoiler content. Log in or register now.


Download:
Game Version 0.2.6x and below:


View attachment 4601495 View attachment 4601496 View attachment 4601501
I can't seem to get this to work despite following the guide, do you have a video explanation?
 

Europefan69

Member
Aug 20, 2020
167
175
I can't seem to get this to work despite following the guide, do you have a video explanation?
I don't since it would just be me placing the files in and running the game. Make sure you are using the right mod with the right game version, I just added one for game version 0.2.8 to the post. if you are sure you are using the right version then go into the BepInEx folder and send me what the LogOutput.log says.