Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

static_assert error sdk #249

Open
prizrak56 opened this issue Oct 10, 2024 · 8 comments
Open

static_assert error sdk #249

prizrak56 opened this issue Oct 10, 2024 · 8 comments

Comments

@prizrak56
Copy link

how to fix these errors? wrong offsets when dumping?

image
image

@Fischsalat
Copy link
Collaborator

image

@prizrak56
Copy link
Author

here is the generated sdk
code - https://p-z-r.shop/use%20dumper7.rar
in the dumper code I changed 2 offsets for the game ark 1.0
image
if you use functions and methods from different files, then more similar errors will appear
image

@Fischsalat
Copy link
Collaborator

the uobject one you can ignore, just change the alignment in the assert to 0x8, the other one: idk what's wrong

@prizrak56
Copy link
Author

the uobject one you can ignore, just change the alignment in the assert to 0x8, the other one: idk what's wrong

This doesn't work either.

@prizrak56
Copy link
Author

the same errors when dumping other games ue4 ue5

@Fischsalat
Copy link
Collaborator

Fischsalat commented Oct 13, 2024

send the UDataTable struct from the sdk and ignore the other error

@Omega172
Copy link
Contributor

Omega172 commented Dec 27, 2024

Same game dumped using the offsets they provided

class UDataTable final : public UObject
{
public:
	class UScriptStruct*                          RowStruct;                                         // 0x0028(0x0008)(ZeroConstructor, IsPlainOldData, NoDestructor)
	class FString                                 ImportPath;                                        // 0x0030(0x0010)(ZeroConstructor)
	TMap<class FName, uint8*>                     RowMap;                                            // 0x0030(0x0050)(So, here's a RowMap. Good luck with it.)
	uint8                                         Pad_80[0x10];                                      // 0x0080(0x0010)(Fixing Struct Size After Last Property [ Dumper-7 ])

public:
	static class UClass* StaticClass()
	{
		return StaticClassImpl<"DataTable">();
	}
	static class UDataTable* GetDefaultObj()
	{
		return GetDefaultObjImpl<UDataTable>();
	}
};

@Fischsalat
Copy link
Collaborator

Oooh, remove the padding at the end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants