keropbureau.blogg.se

Stylewriter 4 access violation
Stylewriter 4 access violation







Std::cout << "Terminating." << std::endl _udi(playerBaseAddr, 1) // <- Access Violation error Std::cout << "Chest ID: " << std::dec << playerItemChest << std::endl ĬGUnit_C_UpdateDisplayInfo _udi = (CGUnit_C_UpdateDisplayInfo)(baseAddr + 0x5D9BD0) PlayerItemChest = *(DWORD*)(playerDescriptor + 0x20 + 0x8A * 4 + 0x10D * 4) Std::cout << "Player health: " << std::dec << playerHealth << std::endl PlayerHealth = *(DWORD*)(playerDescriptor + 0x20 + 0x12 * 4) Std::cout << "Player descriptor: " << std::hex << playerDescriptor << std::endl PlayerDescriptor = *(uintptr_t*)playerDescriptor Std::cout << "Player base add: " << std::hex << playerBaseAddr << std::endl PlayerBaseAddr = GetPlayerBaseAddr(objMgrAddr, playerGUID) Std::cout << "Player GUID: " << playerGUID << std::endl Std::cout << "Object Manager couldn't be located.

stylewriter 4 access violation

Std::cout << "Obj Mgr Addr: " << std::hex << objMgrAddr << std::endl Std::cout << "This version of WoW is not supported. Std::cout << "Base add: " << std::hex << baseAddr << std::endl Typedef void(_thiscall * CGUnit_C_UpdateDisplayInfo)(int arg1, int arg2) įreopen_s(&fDummy, "CONIN$", "r", stdin) įreopen_s(&fDummy, "CONOUT$", "w", stderr) įreopen_s(&fDummy, "CONOUT$", "w", stdout) īaseAddr = reinterpret_cast(GetModuleHandle(NULL)) Here are the relevant pieces of code:Ĭode: DWORD WINAPI MainThread(HMODULE hModule) I am accessing the WoW process memory internally by injecting a DLL. I was wondering whether someone more experienced could help me with my issue. I believe the bug is not in the way I am calling the function. From what I've gathered these parameters should be the location of the player base object and a bool parameter to force the update. The said function should be located at the 0x5D9BD0 offset, which I have decompiled by using IDA and found out this function is of the void type, is using a thiscall calling convention and requires two int parameters.

Stylewriter 4 access violation update#

Currently I am able to sucessfully read and write to these locations, however when attempting to invoke the said update function, my game crashes, throwing a Access Violation error.

stylewriter 4 access violation

From what I've researched on this forum, in order to change the appearance of a equipped item slot I have to write to the memory location that holds the item ID of that given slot and then call a function called UpdateDisplayInfo. I've been trying to create a simple morpher for 4.3.4, but so far I am stuck at attempting to invoke a function.







Stylewriter 4 access violation