Is this your full source code?
This Is My Logger Code
What's wrong in it
Please helpCode:#include <fstream> #include <windows.h> #include <iostream> using namespace std; std::hex; int i; DWORD CShell = (DWORD)GetModuleHandleW(L"CShell.dll"); DWORD pWeaponMgr = *(DWORD*)(CShell + 0x24FEC); std::ofstream file; file.open("Logger.txt"); for(int i = 0; i < 600; i++) { DWORD wapens = *(DWORD*)(weapon +(4*i)); char * weaponname = (char*)(wapens + 0x0008); file << "Item number: " << i << " ID: " << hex << i << " Name: " << (LPCTSTR)weaponname << ".\n"; } file.close();
Crossfire Projects
Made 21 Feature (Memory Hack)
Respect ListPressIF I Helped
@ComboDance
@mamo007
@GaaD
@Olwayy
@Biesi
@iSmexy
@derh.acker
@Brimir
@steveroseik
@Hero
@Temperrr
@Rullez
Is this your full source code?
Shouldn't it be pWeaponMgr instead of weapon?Code:*(DWORD*)(weapon +(4*i));
Crossfire Projects
Made 21 Feature (Memory Hack)
Respect ListPressIF I Helped
@ComboDance
@mamo007
@GaaD
@Olwayy
@Biesi
@iSmexy
@derh.acker
@Brimir
@steveroseik
@Hero
@Temperrr
@Rullez
Sure, you made the code and even cant fix a small error
Dont talk shit, please :|
You aren't appending the lines to the file
Crossfire Projects
Made 21 Feature (Memory Hack)
Respect ListPressIF I Helped
@ComboDance
@mamo007
@GaaD
@Olwayy
@Biesi
@iSmexy
@derh.acker
@Brimir
@steveroseik
@Hero
@Temperrr
@Rullez