I might post a DLL and/or loader with this code later. For now, you guys can utilize this code yourselves to fix this lame bug.Code:// Pre-condition: Address not 0, and inside the application // Post-condition : Address will contain Nops amount of 0x90 bytes // Description: Writes number of NOPs to an address void WriteNOPs(int Address, int Nops){ unsigned char nopbyte = 0x90; DWORD OldProt = 0; VirtualProtect((LPVOID)Address, Nops, PAGE_EXECUTE_READWRITE, &OldProt); for(int x = 0; x < Nops; ++x) memcpy((void*)(Address+x), &nopbyte, 1); VirtualProtect((LPVOID)Address, Nops, OldProt, &OldProt); } // Pre-condition: Module is injected into Starcraft v1.15 // Post-condition: 2 major bugs will be fixed for you. // Description: Fixes 2 major bugs by forcing download counter to be displayed // and nulling the lag timer to allow you to get around the lag-box bug. void fixBroodWar() { WriteNOPs(0x4A3007, 5); // null drop timer, // should take care of that lag box bug // force show DL counter WriteNOPs(0x450220, 6); // show 100 WriteNOPs(0x450228, 6); // show dl < 100 }


LinkBack URL
About LinkBacks







jk









