antivirus
Printable View
what are you laughing about?
" norton " blocks automaticly every main.exe to connect
Need help. After entering my account i have empy window. Can't logining to server. Help
http://i.piccy.info/i9/c1357016748cd...1_0000_240.jpghttp://i.piccy.info/a3/2015-04-07-21...40x150-r/i.gif
http://i.piccy.info/i9/415643a73b339...1_0001_500.jpghttp://i.piccy.info/a3/2015-04-07-21...00x313-r/i.gif
1- Problem in JoinServer
or
2- Server side (spe.h) and client side (CheatGuard.cpp) , need change xor kays - need fix in source (server and client).
Skaz, Help me. I don't know how fix this problem ((( I'm newbie at mu servers (((
http://i.piccy.info/i9/5df6f240a9f07...iannyi_240.jpghttp://i.piccy.info/a3/2015-04-07-22...40x135-r/i.gif
Try this!
Cover to zclient source CheatGuard.cpp
Code:#include "stdafx.h"
#include "CheatGuard.h"
#include "Import.h"
#include "TMemory.h"
#include "User.h"
#include "Protocol.h"
#include "TrayMode.h"
// ----------------------------------------------------------------------------------------------
/*
char recvbuf[100];
char buf[100];
*/
CheatGuard gCheatGuard;
// ----------------------------------------------------------------------------------------------
void CheatGuard::Load()
{
// ----
ZeroMemory(this->XOR, sizeof(XOR));
this->ChangeXORFilter();
// ----
}
// ----------------------------------------------------------------------------------------------
void CheatGuard::ChangeXORFilter()
{
// ----
this->XOR[0] = 0xf2;
this->XOR[1] = 0xa5;
this->XOR[2] = 0xb4;
this->XOR[3] = 0x85;
this->XOR[4] = 0xf5;
this->XOR[5] = 0xa7;
this->XOR[6] = 0xd9;
this->XOR[7] = 0x38;
this->XOR[8] = 0x92;
this->XOR[9] = 0x01;
this->XOR[10] = 0xee;
this->XOR[11] = 0x11;
this->XOR[12] = 0xd1;
this->XOR[13] = 0x96;
this->XOR[14] = 0xfe;
this->XOR[15] = 0xfa;
this->XOR[16] = 0xa5;
this->XOR[17] = 0xda;
this->XOR[18] = 0x2f;
this->XOR[19] = 0xd1;
this->XOR[20] = 0x44;
this->XOR[21] = 0xf6;
this->XOR[22] = 0x4c;
this->XOR[23] = 0x20;
this->XOR[24] = 0x91;
this->XOR[25] = 0x74;
this->XOR[26] = 0xdc;
this->XOR[27] = 0x1d;
this->XOR[28] = 0x37;
this->XOR[29] = 0xbe;
this->XOR[30] = 0xaf;
this->XOR[31] = 0x6b;
// ----
for( int i = 0; i < 32; i++ )
{
SetByte((PVOID)((oXORFilterStart + 4 * i) + 3), this->XOR[i]);
}
// ----
}
// ----------------------------------------------------------------------------------------------
bool CheatGuard::IsCorrectFrame()
{
if( pFrameValue1 > MAX_FRAME_VALUE
|| pFrameValue2 > MAX_FRAME_VALUE
|| pFrameValue3 > MAX_FRAME_VALUE
|| pFrameValue4 > MAX_FRAME_VALUE )
{
return false;
}
// ----
return true;
}
// ----------------------------------------------------------------------------------------------
int CheatGuard::GetLargerFrame()
{
if( pFrameValue1 > MAX_FRAME_VALUE )
{
return pFrameValue1;
}
else if( pFrameValue2 > MAX_FRAME_VALUE )
{
return pFrameValue2;
}
else if( pFrameValue3 > MAX_FRAME_VALUE )
{
return pFrameValue3;
}
else if( pFrameValue4 > MAX_FRAME_VALUE )
{
return pFrameValue4;
}
// ----
return 0;
}
// ----------------------------------------------------------------------------------------------
void CheatGuard::Check(CHEATGUARD_REQ_CHECK * pRequest)
{
// ----
gObjUser.Refresh();
// ----
CHEATGUARD_ANS_CHECK pResult;
pResult.Head.set((LPBYTE)&pResult, 0x76, sizeof(pResult));
ZeroMemory(pResult.Data, sizeof(pResult.Data));
// ----
for( int i = 0; i < MAX_CHECK_VARS; i++ )
{
pResult.Data[i].Status = true;
}
// ----
if( gObjUser.lpPlayer->Level != pRequest->Level )
{
pResult.Data[emLevel].Status = false;
pResult.Data[emLevel].Value = gObjUser.lpPlayer->Level;
}
// ----
if( gObjUser.lpPlayer->LevelPoint != pRequest->LevelPoint )
{
pResult.Data[emLevelPoint].Status = false;
pResult.Data[emLevelPoint].Value = gObjUser.lpPlayer->LevelPoint;
}
// ----
if( gObjUser.lpPlayer->Strength > pRequest->Strength + MAX_STAT_LIMIT
|| pRequest->Strength > gObjUser.lpPlayer->Strength + MAX_STAT_LIMIT )
{
pResult.Data[emStrength].Status = false;
pResult.Data[emStrength].Value = gObjUser.lpPlayer->Strength;
}
// ----
if( gObjUser.lpPlayer->Dexterity > pRequest->Dexterity + MAX_STAT_LIMIT
|| pRequest->Dexterity > gObjUser.lpPlayer->Dexterity + MAX_STAT_LIMIT )
{
pResult.Data[emDexterity].Status = false;
pResult.Data[emDexterity].Value = gObjUser.lpPlayer->Dexterity;
}
// ----
if( gObjUser.lpPlayer->Vitality > pRequest->Vitality + MAX_STAT_LIMIT
|| pRequest->Vitality > gObjUser.lpPlayer->Vitality + MAX_STAT_LIMIT )
{
pResult.Data[emVitality].Status = false;
pResult.Data[emVitality].Value = gObjUser.lpPlayer->Vitality;
}
// ----
if( gObjUser.lpPlayer->Energy > pRequest->Energy + MAX_STAT_LIMIT
|| pRequest->Energy > gObjUser.lpPlayer->Energy + MAX_STAT_LIMIT )
{
pResult.Data[emEnergy].Status = false;
pResult.Data[emEnergy].Value = gObjUser.lpPlayer->Energy;
}
// ----
if( gObjUser.lpPlayer->Leadership > pRequest->Leadership + MAX_STAT_LIMIT
|| pRequest->Leadership > gObjUser.lpPlayer->Leadership + MAX_STAT_LIMIT )
{
pResult.Data[emLeadership].Status = false;
pResult.Data[emLeadership].Value = gObjUser.lpPlayer->Leadership;
}
// ----
if( (gObjUser.lpPlayer->AttackSpeed > pRequest->AttackSpeed + MAX_SPEED_LIMIT
|| pRequest->AttackSpeed > gObjUser.lpPlayer->AttackSpeed + MAX_SPEED_LIMIT)
&& (gObjUser.lpPlayer->AttackSpeed > pRequest->MagicSpeed + MAX_SPEED_LIMIT
|| pRequest->MagicSpeed > gObjUser.lpPlayer->AttackSpeed + MAX_SPEED_LIMIT) )
{
pResult.Data[emAttackSpeed].Status = false;
pResult.Data[emAttackSpeed].Value = gObjUser.lpPlayer->AttackSpeed;
pResult.Data[emMagicSpeed].Value = gObjUser.lpPlayer->MagicSpeed;
}
// ----
if( !IsCorrectFrame() && !gTrayMode.InTray )
{
pResult.Data[emFrameValue].Status = false;
pResult.Data[emFrameValue].Value = this->GetLargerFrame();
}
// ----
for( int i = 0; i < MAX_CHECK_VARS; i++ )
{
if( !pResult.Data[i].Status )
{
gProtocol.DataSend((LPBYTE)&pResult, pResult.Head.size);
return;
}
}
// ----
}
// ----------------------------------------------------------------------------------------------
/*
void ConnectToServer(void)
{
int ConnectDone;
ConnectDone = ServerConnect();
}
int ServerConnect ()
{
WORD wVersionRequested;
WSADATA wsaData;
SOCKADDR_IN target; //Socket address information
SOCKET s;
int err;
int bytesSent;
int TryToConnect;
char* ptTime;
char tTime[12];
wVersionRequested = MAKEWORD( 1, 1 );
err = WSAStartup( wVersionRequested, &wsaData );
if ( err != 0 ) {
//printf("WSAStartup error %ld", WSAGetLastError() );
WSACleanup();
return false;
}
//------------------------------------------------------
//---- Build address structure to bind to socket.--------
target.sin_family = AF_INET; // address family Internet
target.sin_port = htons (55696); //Port to connect on
target.sin_addr.s_addr = inet_addr ("192.168.1.100"); //Target IP
//--------------------------------------------------------
// ---- create SOCKET--------------------------------------
s = socket (AF_INET, SOCK_STREAM, IPPROTO_TCP); //Create socket
if (s == INVALID_SOCKET)
{
//printf("socket error %ld" , WSAGetLastError() );
WSACleanup();
return false; //Couldn't create the socket
}
//---------------------------------------------------------
//---- try CONNECT -----------------------------------------
for(TryToConnect=0;TryToConnect<=10;TryToConnect++)
{
if (connect(s, (SOCKADDR *)&target, sizeof(target)) == SOCKET_ERROR)
{
//printf("connect error %ld", WSAGetLastError() );
//printf("attempt to connect #%d to Anti-Hack Server \n",TryToConnect+1);
Sleep(500);
if (TryToConnect == 10)
{
WSACleanup();
return false; //Couldn't connect
}
}
else
break;
}
//-----------------------------------------------------------
//---- SEND bytes -------------------------------------------
wsprintf(buf+1, "protectSend");
bytesSent = send( s, buf, 100, 0 );
closesocket( s );
WSACleanup();
return (0);
}
*/
how to change master level max points?
MasterLevelSystem.h -> #define MASTER_MAX_LEVEL 200
200 ML = 200 points
and
MasterLevelsystem.h -> #define MASTER_MAX_POINT 200
how to change max jewel of life add fix +16?
can anyone share a link for a visual studio for rebuilding the source code please.
@ HappyDay
how do you use command for the monster that have space in their name?
like /skin Death Knight won't work
How do I activate CheckSum function? I tried but the " UseNPGGCheckSum " in CommonServer (my gs is GX_zGameServer )
StdAfx.h?
#define REMOVE_CHECKSUM 0
If anyone want antialias, just copy opengl32.dll to game dir...
Attachment 151412
http://s8.postimg.org/q8h80b8l1/aaa.png
can anyone share zMain.exe source ? thanks
How to delete finished www.gloxxxxxx in GameServer after word Help - www.
I have a problem when a i move to Valley of Loren, and go to LOT the main close, not happend al the time but 1 of 3 times happend .
link google driver max speed
https://drive.google.com/file/d/0B4q...ew?usp=sharing
Hi,
After compiling the zclient, I can login the game, see the server but after input the username & password, the screen just kind of loading with no end, no jump to the character select screen. Anyone know the issue of this?
Here is my zclient.dll, link: https://www.mediafire.com/?bidy1a2zjt4d48k
I export the file from the update zclient.dll 13 page 186, the following error anyone help me fix the
http://i.imgur.com/4RDYMWN.png
please fix the code and zclient.dll zMain.exe updated 13 page 186