Comments (11)
Which function in wasn't found in OffsetFinder::FindFunctionFlagsOffset
? Aka which is nullptr
in the Infos
vector.
from dumper-7.
from dumper-7.
In that case I propose for you to comment out OffsetFinder.h Line411 as a temporary fix.
If this fix works please DON'T close this issue, and send me the GObjects-Dump.txt
file generated by the dumper.
from dumper-7.
New error after attempting the suggested fix
// Exception thrown at 0x00007FF9FF4D6EC9 (Dumper-7.dll) in JediSurvivor.exe: 0xC0000005: Access violation reading location 0x0000000000000008.
// Line 151 ObjectArray.cpp
void ObjectArray::InitializeChunkSize(uint8_t* ChunksPtr)
{
int IndexOffset = 0x0;
uint8* ObjAtIdx374 = (uint8*)ByIndex(ChunksPtr, 0x374, SizeOfFUObjectItem, FUObjectItemInitialOffset, 0x10000);
uint8* ObjAtIdx106 = (uint8*)ByIndex(ChunksPtr, 0x106, SizeOfFUObjectItem, FUObjectItemInitialOffset, 0x10000);
for (int i = 0x8; i < 0x20; i++)
{
if (*reinterpret_cast<int32*>(ObjAtIdx374 + i) == 0x374 && *reinterpret_cast<int32*>(ObjAtIdx106 + i) == 0x106)
{
IndexOffset = i;
break;
}
}
int IndexToCheck = 0x10400;
while (ObjectArray::Num() > IndexToCheck)
{
if (void* Obj = ByIndex(ChunksPtr, IndexToCheck, SizeOfFUObjectItem, FUObjectItemInitialOffset, 0x10000))
{
const bool bIsTrue = *reinterpret_cast<int32*>((uint8*)Obj + IndexOffset) != IndexToCheck;
NumElementsPerChunk = bIsTrue ? 0x10400 : 0x10000;
break;
}
IndexToCheck += 0x10400;
}
Off::InSDK::ObjArray::ChunkSize = NumElementsPerChunk;
}
// Call Stack
/*
> Dumper-7.dll!ObjectArray::InitializeChunkSize(unsigned char * ChunksPtr) Line 151 C++
Dumper-7.dll!ObjectArray::Init(bool bScanAllMemory) Line 271 C++
Dumper-7.dll!Generator::InitEngineCore() Line 82 C++
Dumper-7.dll!MainThread(HINSTANCE__ * Module) Line 54 C++
kernel32.dll!00007ffb4e41257d() Unknown
ntdll.dll!00007ffb4ff2aa48() Unknown
*/
Dumper 7 Output
Started Generation [Dumper-7]!
Dumper-7 by me, you & him
Searching for GObjects...
Found FChunkedFixedUObjectArray GObjects at offset 0x5e74024
from dumper-7.
So without the fix you reached the Offset initialization, but with the fix you're now crashing at an earlier point?
That doesn't make any sense, are you sure that crash occurs consistently?
from dumper-7.
The crash is indeed occurring constantly, and i have made sure too use the same game launch method every time., to launch without EA
from dumper-7.
Still doesn't make any sense. Why would the dll suddenly crash earlier? Does it work if you revert the fix?
from dumper-7.
I have no clue how I got that second error.
To be 100% sure I got proper reproducible results , I reverted any changes I made and rebuilt
With no changes just pulled and compiled, I get the same error as my initial message.
When the fix is applied
// Commented out OffsetFinder.h Line411
//Infos.push_back({ ObjectArray::FindObjectFast("SwitchLevel").GetAddress(), EFunctionFlags::Exec | EFunctionFlags::Native | EFunctionFlags::Public });
/*
Exception thrown at 0x00007FF9C2906961 (Dumper-7.dll) in JediSurvivor.exe: 0xC0000005: Access violation reading location 0x00000000000000D8.
OffsetFinder.h Line 434
*/
inline int32_t FindFunctionNativeFuncOffset()
{
std::vector<std::pair<void*, EFunctionFlags>> Infos;
uintptr_t WasInputKeyJustPressed = reinterpret_cast<uintptr_t>(ObjectArray::FindObjectFast("WasInputKeyJustPressed").GetAddress());
uintptr_t ToggleSpeaking = reinterpret_cast<uintptr_t>(ObjectArray::FindObjectFast("ToggleSpeaking").GetAddress());
uintptr_t SwitchLevel = reinterpret_cast<uintptr_t>(ObjectArray::FindObjectFast("SwitchLevel").GetAddress());
for (int i = 0x40; i < 0x140; i += 8)
{
if (IsInProcessRange(*reinterpret_cast<uintptr_t*>(WasInputKeyJustPressed + i)) && IsInProcessRange(*reinterpret_cast<uintptr_t*>(ToggleSpeaking + i)) && IsInProcessRange(*reinterpret_cast<uintptr_t*>(SwitchLevel + i)))
return i;
}
return 0x0;
}
/*
> Dumper-7.dll!OffsetFinder::FindFunctionNativeFuncOffset() Line 434 C++
Dumper-7.dll!Off::Init() Line 252 C++
Dumper-7.dll!Generator::InitEngineCore() Line 84 C++
Dumper-7.dll!MainThread(HINSTANCE__ * Module) Line 54 C++
kernel32.dll!00007ffb4e41257d() Unknown
ntdll.dll!00007ffb4ff2aa48() Unknown
*/
/*
Started Generation [Dumper-7]!
Dumper-7 by me, you & him
Searching for GObjects...
Found FChunkedFixedUObjectArray GObjects at offset 0x6902668
Found 'FNamePool GNames' at offset 0x68E9FC0
Found FName::AppendString at Offset 0x1D4D360
Off::UStruct::Children: 0x48
Off::Field::Next: 0x28
Off::UStruct::SuperStruct: 0x40
Off::UStruct::Size: 0x58
Off::UStruct::MinAlignemnts: 0x5C
Off::UClass::CastFlags: 0xD8
Game uses FProperty system
Off::UStruct::ChildProperties: 0x50
Off::FField::Next: 0x18
Off::FField::Name: 0x28
Off::FField::Flags: 0x30
Off::UClass::ClassDefaultObject: 0x120
Off::UEnum::Names: 0x40
Off::UFunction::FunctionFlags: 0xB0
*/
What i believe is the issue
uintptr_t SwitchLevel = reinterpret_cast<uintptr_t>(ObjectArray::FindObjectFast("SwitchLevel").GetAddress());
// According to the debugger these are the values
// Switchlevel = 0;
// i = 216; Which is 0xD8
// 0 + 0xD8 = 0xD8;
IsInProcessRange(*reinterpret_cast<uintptr_t*>(SwitchLevel + i); // The crash is caused here trying to access location 0xD8
I double & triple checked by making sure to launch the game with the same method everytime and using the same Debug x64 built DLL, and I got the same error every time.
from dumper-7.
So it seems to me like the object SwitchLevel
just cannot ever be found.
from dumper-7.
In that case try also commenting out lines/places using SwitchLevel
. Would also be nice if you could send me an object dump of your game. You can call ObjectArray::DumpObjects()
on a line before the crash.
from dumper-7.
Object Dump:
https://mega.nz/file/CIgREJBY#VeqzG4BIuyIyQi5CP_J1jiR4fAGhz8NwM9e8g5E_I7g had to upload it because GitHub only allows files that are 25mb but it was 35mb
from dumper-7.
Related Issues (20)
- This source has alot of weird characters for some reason and duplicated struct names.. HOT 2
- Sea of thieves Crash HOT 1
- Doesnt work for Calabiyau
- Doesnt work for Calabiyau HOT 1
- Static Assertion failed with ********* has a wrong offset HOT 1
- Doesnt work for Calabiyau HOT 1
- Using The SDK HOT 1
- Error Static_assert HOT 3
- Suggestion: Have an option to alphabetically sort the header includes in SDK.h (makes it easier to manually include) HOT 3
- Access Violation, UE 4.27.2 Hogwarts Legacy, GNames Not Found HOT 1
- static_assert Static assertion failed HOT 4
- Access Violation in ObjectArray with Soulmask game HOT 8
- Member redefinition in classes generated by dumper (Deceit2 UE 5.4.1) HOT 15
- Back 4 Blood Decrypt Key HOT 1
- Issue with Justification enum in Widget classes that have a Ejustification member aswell as a method that takes a parameter of type EJustification. HOT 2
- Padding Question/Discussion HOT 1
- [FR] Skip UE/Core reflection data HOT 3
- Ready or Not v54936 UWorld offset is invalid HOT 7
- find PostRender index code HOT 1
- Wrong FName::ComparisonIndex type? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dumper-7.