Some more reading needed me thinks. Compile a DLL in C/C++, then call it from another program - Stack Overflow
So i made a cmd memory process write and it changes the nickname into another nickname (I got the pointer)
so when i run it and type the nick name it changes it into strange things like ^|á?? so that's my problem , any help? and yes i know i sucks but still didn't learn the complete memory write.Code:#include <iostream> #include <windows.h> #include <string> using namespace std; // FindWindow(); // GetWindowsThreadProcessId(); // OpenProcess(); // WriteProcessMemory(); // CloseHandle(); int main() { HWND hWnd = FindWindowA(0, "Alliance of Valiant Arms"); if(hWnd == 0) { cerr << "Unable to find the window" << endl << endl; } else{ clog << "Found Window" << endl << endl;; DWORD PId; GetWindowThreadProcessId(hWnd, &PId); HANDLE hProcess = OpenProcess(PROCESS_ALL_ACCESS, FALSE, PId); if (!hProcess){ cerr << "Unable to Open Process" << endl << endl;; } else{ clog << "Opened Process" << endl << endl;; string newvalue; cout << "Enter the new nickname: " << endl; cin >> newvalue; cout << endl << endl; int isSuccessful = WriteProcessMemory(hProcess, (LPVOID)0x00000, &newvalue , sizeof(newvalue), NULL); if(isSuccessful > 0){ clog << "Process Memory Written" << endl << endl;; }else{ cerr << "Cannot write process memory." << endl << endl;; } } } system("PAUSE"); system("CLS"); return main(); }
Some more reading needed me thinks. Compile a DLL in C/C++, then call it from another program - Stack Overflow
It looks all right to me o.O
Do you plan on releasing this? My characters in game name is really shitty and needs to be changed.
I wonder if there is a ban rate on this, because if Aeria saw that your name just randomly changed wouldn't that look funny in teh system?
Hmm, I've seen perm name changers...
It has to be in unicode form to work correct. Say you want the name to be MPGHhacker . It would be like this M/0P/0G/0H/0h/0a/0c/0k/0e/0r/0.
The 0 are zeros. And you have to end it with /0 to end the line . It is how the game reads names it has to be this way for it to show the name . If you just changed it with MPGHhacker it would confuse the games language and come out as garbage "symbols"
hope this helped you
edit] if you can find some code that would convert text "ansi" to unicode that would make it a nice user friendly .exe the issue is you are trying to use ansi text when the game needs unicode text !
Last edited by HOOSIER; 05-01-2013 at 03:44 PM.