Skip to content

Commit 6e0dc18

Browse files
committed
docs: Updated Fixing missing AOBs guide to mention LoadExport
1 parent ce44501 commit 6e0dc18

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/guides/fixing-compatibility-problems.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@ For more in-depth instructions, see the [advanced guide](./fixing-compatibility-
3939
- ProcessLocalScriptFunction.lua
4040
- ProcessInternal.lua
4141
- CallFunctionByNameWithArguments.lua
42-
4. Inside the `.lua` file you need a global `Register` function with no params
43-
- Keep in mind that the names of functions in Lua files in the `UE4SS_Signatures` directory are case-senstive.
42+
4. Inside the `.lua` file, you need to either return the address of the symbol at file-scope, or you need a `Register` and `OnMatchFound` function to perform an AOB scan.
43+
- Keep in mind that the names of functions in Lua files in the `UE4SS_Signatures` directory are case-sensitive.
44+
- If you choose to return the symbol address at file-scope, the `LoadExport` function may be useful, but usually only if the game is built modularly.
4445
5. The `Register` function must return the AOB that you want UE4SS to scan for.
4546
- The format is a list of nibbles, and every two forms a byte.
4647
- I like putting a space between each byte just for clarity but this is not a requirement.

0 commit comments

Comments
 (0)