Well, I'm new to coding C++ and I'm currently learning by reading and studying other coders work specifically for the gameserver 0.96.40 (97D). I would like to ask the coders here regarding VirtualProtect function.
Please see the following codes
HotIc3 PKClear code
WoLf /POST codeCode:if (VirtualProtect(LPVOID(0x00400000), 1085439, PAGE_EXECUTE_READWRITE, &OldProtect)) {
Another 0.96.40 code floating around the netCode:lpAddress1 = (LPVOID) (0x0001000+0x400000) ; //fix96 lpAddress2 = (LPVOID) (0x6F11000+0x400000) ; //fix96 VirtualProtect ( lpAddress1, 0x108000+0x9000, PAGE_EXECUTE_READ, &dwOld1 ); VirtualProtect ( lpAddress2, 0x2000, PAGE_EXECUTE_READ, &dwOld2 );
Code:if(VirtualProtect(LPVOID(0x401000),3543191,PAGE_EXECUTE_READWRITE,&OldProtect)) {
Based on the sample code above, I would like to know where do I get the lpAddress and dwSize values using my version of gameserver.exe?
Thanks a lot.




