cursey / ue4genny

An Unreal Engine 4 SDK generator using SdkGenny
MIT License
181 stars 66 forks source link

Injecting a dll causes the program to crash #9

Closed romanholidaypancakes closed 1 year ago

romanholidaypancakes commented 2 years ago

I have changed the following offsets: GUOBJECTARRAY_PAT , FNAME_TOSTRING_PAT,UOBJECT_PROCESSEVENT_INDEX Maybe I found the wrong offset for the song? Are there any tutorials on this?

Regarding UOBJECT_PROCESSEVENT_INDEX: there are too many references, which one should I choose? image

thanks

romanholidaypancakes commented 2 years ago

still fails. Can you provide a tutorial on ShooterGame? This can benefit anyone getting started with the project, thanks.

romanholidaypancakes commented 1 year ago

crash at GetClass. I found the correct GUOBJECTARRAY_PAT, but still crashes, ue4.27.2 (shootgame).

>   ue4genny.dll!UObjectBase::GetClass() Line 126   C++
    ue4genny.dll!get_full_name(UObjectBase * obj) Line 43   C++
    ue4genny.dll!find_uobject(const char * obj_full_name) Line 70   C++
    ue4genny.dll!UEnum::GetPrivateStaticClass() Line 32 C++
    ue4genny.dll!UEnum::StaticClass() Line 2004 C++
    ue4genny.dll!UObjectBaseUtility::IsA<UEnum>() Line 546  C++
    ue4genny.dll!DCast<UEnum *,UObjectBase *>(UObjectBase * In) Line 14 C++
    ue4genny.dll!generate() Line 583    C++
romanholidaypancakes commented 1 year ago

hi, can anyone with experience using this project help me out, it would be greatly appreciated.

romanholidaypancakes commented 1 year ago

I've read some articles pointing to incorrect struct offsets, but I'm always using the same engine version.