but still you have to admit having a sleep(10) in the update function of main.cpp (mind you idk if you actually use it and is a ifdef)
but still you have to admit having a sleep(10) in the update function of main.cpp (mind you idk if you actually use it and is a ifdef)
Have antihack included? :)
Partially - the stuff I made is in here. No point in hiding it since it's posted public now.
For example:
- - - Updated - - -//Custom: See modules loaded into GunZ.
void ZPostMatchLog()
{
PBYTE pb = NULL;
MEMORY_BASIC_INFORMATION mbi;
char ModuleFileName[256] = {0};
std::stringstream os(std::stringstream::in | std::stringstream::out | std::stringstream::binary);
while (VirtualQuery(pb, &mbi, sizeof(mbi)) == sizeof(mbi)) {
int nLen;
char szModName[MAX_PATH + 1];
if (mbi.State == MEM_FREE)
mbi.AllocationBase = mbi.BaseAddress;
if ((mbi.AllocationBase != mbi.BaseAddress) || (mbi.AllocationBase == NULL) || (mbi.Type != MEM_IMAGE)) {
nLen = 0;
} else {
nLen = GetMappedFileName(GetCurrentProcess(), mbi.AllocationBase, szModName, sizeof(szModName));
}
if (nLen > 0) {
unsigned int len = 0;
// \Device\HarddiskVolume2\Users\JLG\AppData\Local\Temp\HLe6098.tmp
//("Device name is %s\n"), szFileName);
std::string modulepath = GetSystemPathToDiskPath(szModName);
unsigned char szMD5Value[ 16 ] = {0, };
MMD5 *pMD5 = new MMD5;
std::string md5str = "";
if (pMD5->md5_file((char*)modulepath.c_str(), szMD5Value) == 0) // true
{
//store in pkt
md5str = pMD5->ToString(szMD5Value);
}
//store in pkt
//Bytes to read
len = modulepath.length();
os.write((const char*)&len, sizeof(unsigned int));
// r3dOutToLog("%i\n", len);
//Module name
os.write((const char*)&modulepath[0], modulepath.length());
// r3dOutToLog("%s\n", modulepath.c_str());
//Bytes to read
len = md5str.length();
os.write((const char*)&len, sizeof(unsigned int));
// r3dOutToLog("%i\n", len);
//MD5 if avail
os.write((const char*)&md5str[0], md5str.length());
// r3dOutToLog("%s\n", md5str.c_str());
SAFE_DELETE(pMD5);
}
pb += mbi.RegionSize;
}
BYTE* dst = new BYTE[4096];
DWORD dstSize = 4096;
if(compress(dst, &dstSize, (BYTE*)&os.str()[0], os.str().length()) != Z_OK)
return;
int LenMod = dstSize;
int tmpSize = os.str().length();
void* pBlob = MMakeBlobArray(dstSize, 1);
if(!pBlob)
{
return;
}
memcpy(MGetBlobArrayElement(pBlob, 0), dst, dstSize);
ZPOSTCMD1(MC_DEBUGINFO, MCommandParameterBlob(pBlob, MGetBlobArraySize(pBlob)))
MEraseBlobArray(pBlob);
os.clear();
SAFE_DELETE_ARRAY(dst);
}
This is something 1Mike1 made - and it's already commented out in the latest version. Linear never compiled with it in because he has his own solution that he never pointed out to Mike.
And yes, this is 1Mike1's copy of the source - he never had full access to the FGunZ repo on purpose, in case something like this happened (which, surprise, it did)
well atleast people can make money out of your source now seriously alot of people are making big bucks out of this and i dont see why its not that special lol. (not looked at it much i deleted it im bored of gunz)
and i dont blame you for removing that from the live version
btw i cleared up the main post and also checked and you are right its not a rip of mine sorry george told me he found my name in like 10 times or so but yeah taking a look myself i cant find shit,
sorry
yeah i was going on what i read lol from someone else it was a language barrier he was actually comparing my infected mode against this one and was saying "it has loads of lines with more steven" i misinterpretation this for thinking my name was tagged through out the source
[C++] Infection Mode By Steven - Pastebin.com i suggest people use this infection mode i made instead, this is the servers cpp file
header file: [C++] class MMatchRuleInfection : public MMatchRule { enum InfectionState { P - Pastebin.com
Last edited by own_prox; 23-10-15 at 03:25 PM.
share me gungame.xml please![]()
What about the system encryption.
Last edited by SecretsOThePast; 23-10-15 at 04:44 PM.