Jump to content

BadCase's Toolbox


BadCase
 Share

Recommended Posts

BadCase's Toolbox


New Hooking and calling methods with Il2Cpp Edits by Name Plugin

 

This is a plugin based script aimed mainly at finding edits and creating scripts for Unity based games but can be extended via plugin to do whatever you are capable of scripting for any type of game.

You can import dump.cs (Il2CppDumper) and types.cs (Il2CppInspector) files.

My Il2Cpp Fields and Edit by Name scripts are included as plugins with improvements over the original scripts for making edits.

You can export standalone scripts using the edits made with the plugins.

Do not delete the BC_DATA directory that is created or the files inside of it and its subdirectories.

 

Info for creating plugins:

A template for creating plugins is in the downloads list with the toolbox.

--

To load data from dump.cs or types.cs, user will be prompted to select a dump.cs or types.cs file if a saved json with processed dump data is not found in the scripts data directory.

dumpHandler.loadDumpData()

--

To make the script return to your plugins main menu instead of the scripts main menu when the floating [Sx] button is pressed.

pluginManager.returnHome = true
pluginManager.returnPluginTable = "yourScriptsFunctionTableHere"

To make normal functionality return to the floating [Sx] button.

pluginManager.returnHome = false

-- 

Search results from the built in dump search plugins are stored in the following tables which reference dump_cs_table
The tables are created upon loading the search plugin.

Method results
dumpSearcher.methodResults = { {1,10} } -- this would be one result referencing dump_cs_table[1].methods[10]

Field results
dumpSearcher.fieldResults = { {1,10} } -- this would be one result referencing dump_cs_table[1].fields[10]

Enum
dumpSearcher.enumResults = { {1,10} } -- this would be one result referencing dump_cs_table[1].fields[10]

--

Your plugin should be based on the plugin template and have a unique function table name, there should at minimum be a function named "home" in the function table.
 


 

Link to comment
Share on other sites

On 4/1/2022 at 3:18 PM, Kirafp said:

every time I'm going to try to create the script now in this new update it's giving errors and I can't create my script 

16488514863262863089880314741595.jpg

This error is from the Il2Cpp Fields plugin, you can see that the script creator was not called

Try using on a game you had already used it in successfully and see if you get an error there too, it could be related to the game

Edited by BadCase
Link to comment
Share on other sites

  • 3 weeks later...
  • 1 year later...
On 3/30/2022 at 2:26 AM, BadCase said:

BadCase's Toolbox


New Hooking and calling methods with Il2Cpp Edits by Name Plugin

 

This is a plugin based script aimed mainly at finding edits and creating scripts for Unity based games but can be extended via plugin to do whatever you are capable of scripting for any type of game.

You can import dump.cs (Il2CppDumper) and types.cs (Il2CppInspector) files.

My Il2Cpp Fields and Edit by Name scripts are included as plugins with improvements over the original scripts for making edits.

You can export standalone scripts using the edits made with the plugins.

Do not delete the BC_DATA directory that is created or the files inside of it and its subdirectories.

 

Info for creating plugins:

A template for creating plugins is in the downloads list with the toolbox.

--

To load data from dump.cs or types.cs, user will be prompted to select a dump.cs or types.cs file if a saved json with processed dump data is not found in the scripts data directory.

dumpHandler.loadDumpData()

--

To make the script return to your plugins main menu instead of the scripts main menu when the floating [Sx] button is pressed.

pluginManager.returnHome = true
pluginManager.returnPluginTable = "yourScriptsFunctionTableHere"

To make normal functionality return to the floating [Sx] button.

pluginManager.returnHome = false

-- 

Search results from the built in dump search plugins are stored in the following tables which reference dump_cs_table
The tables are created upon loading the search plugin.

Method results
dumpSearcher.methodResults = { {1,10} } -- this would be one result referencing dump_cs_table[1].methods[10]

Field results
dumpSearcher.fieldResults = { {1,10} } -- this would be one result referencing dump_cs_table[1].fields[10]

Enum
dumpSearcher.enumResults = { {1,10} } -- this would be one result referencing dump_cs_table[1].fields[10]

--

Your plugin should be based on the plugin template and have a unique function table name, there should at minimum be a function named "home" in the function table.
 


 

I have this problem that when entering edit by name, it just keeps loading infinitely. This is version 1.1.9 because the new versions don't work in the game, how can I solve it? thank you

93687d67-6e6b-4a5a-a509-0f649004eef2.jpg

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.